hello everyone,
i tried flashing my own bl2 via uart uboot on a mediatek mt7986 router (uses winbond W25N02KVZEIR spi nand). after flash, board shows "System halt" on serial output.
then tried using mtk_uartboot to reflash original bl2 + fip (from same router backup), but it stops with “secure boot enabled” panic.
mtk_uartboot detects hw code 0x7986 fine, but still blocks.
any way to force into brom? maybe disable nand? i heard removing or lifting CE# might force brom. just want to write back bl2 if possible.
attached screenshots and output of uart and mtk_uartboot tool here:
- uart showing halt:
F0: 102B 0000
FA: 1040 0000
FA: 1040 0000 [0200]
F9: 3903 0041
F3: 1001 0000
F3: 1001 0000 [0200]
F5: 1026 0000
F5: 1026 0000
00: 1005 0000
FA: 1040 0000
F9: 3903 0041
F3: 1001 0000 [0200]
F3: 1001 0000
F6: 102C 0001
01: 102A 0001
02: 1005 0000
BP: 2000 02C0 [0001]
EC: 0000 0000 [1000]
TO: 0000 00AE [000F]
System halt!
- mtk_uartboot secure boot panic: Screenshot From 2025-07-17 20-05-49.png
Secure boot enabled
thread 'main' panicked at src/main.rs:56:9
pls suggest if anyone faced this or knows if pulling nand helps. trying to recover without spi programmer for now. thanks.
