RV2 booting from NOR flash

Hi! I messed up my NAND flash when trying to make a new fit image with new rootfs (not OpenWRT). For some reason u-boot won’t start correctly even though I only removed volumes 3 and 4 (fit and rootfs overlay).

Anyways, how do I select booting from NOR flash? I tried disconnecting the jumpers but it did nothing, should I place them horizontally? A picture would be great, thanks!

About Nor Flash boot, we need some time to ask the silicon vendor and get some support. About your new image with new rootfs (not OpenWRT). I think that Maybe your fit image have some wrong section, I suugest that you can refer to the OpenWRT’s built image processs.

Okay, so booting from the NOR is not supported yet?

I used ubi remove 3; ubi remove 4 and then ubi create; ubi write on NAND. Is there some way I can get into u-boot and do a new ubi write?

I have a ch341a with 1.8V adapter but no wson8 pogo pin, only adapter board and I’d prefer not needing to desolder but could add last resort.

Also do you know what the correct way to put the jumpers is for NOR once you get support?

btw do you have the original nand flash image for flashing with external programmer?

Original NAND image can be found here: Banana Pi BPI-RV2 Risc-V gateway board design with Siflower SF21H8898 chip design | BananaPi Docs But this will overwrite your MAC address, so you’d better have it written somewhere.

If your NAND bootloader is intact, you might be able to flash sysupgrade firmware only from u-boot. Did you try to connect the USB-C cable, open a terminal, and stop u-boot before it tries to load firmware?

Booting from NOR happens when you cross the jumpers (i.e., horizontal instead of vertical) but at least for my unit, NOR arrived completely empty (no bootloader, no factory, obviously no firmware) so you get a bootloop. Console says:

Booting...
gmac check connect ret=0 cost time=2000 ms
    Using soft ecc in spi-nand
Using soft ecc in spi-nand
Using soft ecc in spi-nand
Using soft ecc in spi-nand
Bootloader is not available.
Reboot after 5 seconds!
************ 5 *************
************ 4 *************
************ 3 *************
************ 2 *************
************ 1 *************
************ 0 *************
Rebooting...