Because BPI-R3 MINI can’t support that it boot from SD, So the factory will flash one default image into Nand and EMMC Device.
Anytime please confirm that one EMMC or Nand device include one bootable image, it’s very important!!
Flashing both at the same time is a very bad idea…boot from one and flash the other. Then boot the other and flash the first one. Else you can end of none bootable and you cannot get the device running again
My solution when I tried to restore to stock from immortalwrt (If ImmortalWrt’s U-boot is still accesible)
Put stock firmware bin into USB memory
In serial console, interrupt boot proccess in U-Boot, and enter U-boot command shell
ls usb 0:1 to find the stock firmware bin
fatload usb 0:1 $loadaddr firmware.bin to load firmware
nand info? use this one to find out last address (mine was 0x8000000 I think)
Use nand erase [blockname] command to erase all blocks (like bl2, uboot…) (or nand erase 0x0 0x8000000 could work too)
nand write $loadaddr 0 0x8000000
Reboot to NAND
I didn’t write down the my solution when I recover my R3 Mini. so please check the proper command usage. The point was, ERASE NAND FIRST and write as much as NAND’s size
You have no ssh in uboot…you need uart to get into uboot and then you either boot a linux-kernel with initrd for flashing or you need to flash from uboot
But after flash eMMC, switch back and flash NAND, it can be boot. But after boot device infinity restart after few seconds. Im using Quectel RM520N-GL for connect 5G, so hard cuz stock image cannot activate 5G and after flash same error.
Thanks for response frank-w