My BPI-R3 Mini wont boot from nand

Hi all ,

I did clean install of openwrt in emmc earlier using nand as second boot. Now when i try the seond boot nand is wont log me in

,

Can you show bootlog from debug uart?

Never reached this deep in my life but i just got my USB TO TTL cable. To fix my nand should i boot from emmc or nand?

make sure the uart cable has 3.3v ttl and then boot from nand (which was not booting completely) to see errors

ugh well, after checking the specifications, its 5v not 3.3v guess im getting new one tomorrow

It might be necessary to start from the EMMC and then re-use the dd command to burn the image onto the NAND.

As you can read on the forum on several posts, the ft232 is recommended.

The one i ordered 2 days ago has PL2303TA, hows that?

Profilic chips are mostly unstable…sometimes strange chars in output till complete scrambled text. You can try of course,but reports i got were worse.

Wasnt aware of these stuff tbh, but i can try it and see

hey frank and @ericwoud , luckily my UART with PL2303TA works fine , no corrupted texts.

heres bootlog message

F0: 102B 0000
FA: 1040 0000
FA: 1040 0000 [0200]
F9: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 2400 0041 [0000]
G0: 1190 0000
EC: 0000 0000 [1000]
T0: 0000 021E [010F]
Jump to BL

NOTICE:  BL2: v2.6(release):
NOTICE:  BL2: Built : 20:18:14, May  7 2023
NOTICE:  WDT: disabled
NOTICE:  CPU: MT7986 (2000MHz)
NOTICE:  EMI: Using DDR4 settings
NOTICE:  EMI: Detected DRAM size: 2048MB
NOTICE:  EMI: complex R/W mem test passed
NOTICE:  SPI_NAND parses attributes from parameter page.
NOTICE:  SPI_NAND Detected ID 0xef
NOTICE:  Page size 2048, Block size 131072, size 134217728
NOTICE:  Initializing NMBM ...
NOTICE:  NMBM management region starts at block 960 [0x07800000]
NOTICE:  NMBM has been initialized in read-only mode
ERROR:   BL2: Failed to load image id 3 (-2)

Ok,seems your fip (uboot) is broken,maybe because of openwrt from emmc have overwritten nand partitions with ubi volume and the stock was on properitary nmbm.

You can install openwrt also to nand following the instructions on openwrt wiki.

https://openwrt.org/toh/sinovoip/bananapi_bpi_r3_mini#installation_instructions_for_nand_done_via_lan_port_ssh

ughh, moved images to tmp using winscp and wanted to proceed to second step my first command returned an error , any idea?

mtd write /tmp/openwrt-24.10.4-mediatek-filogic-bananapi_bpi-r3-mi
ni-snand-preloader.bin /dev/mtd0
Could not open mtd device: /dev/mtd0
Can't open device for writing!
root@Rivia:~#

Should be this

insmod mtd-rw.ko i_want_a_brick=1

Is described on that page :slight_smile:

yeah but now second command is refusing lol

0
root@Rivia:~# ubidetach -m 1
ubidetach: error!: cannot detach mtd1
           error 16 (Resource busy)
root@Rivia:~#

maybe installing bananwrt on emmc was a mistake after all

Then there is any access on it…maybe ubifs is mounted?

having really tough times sigh now my nand boot through uart is on loop i cant even catch uboot

been fighting with this bad boy for days but its finally up and running on both emmc and nand,

[   24.630107] br-lan: port 1(eth0) entered forwarding state



BusyBox v1.36.1 (2025-10-19 16:37:45 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 24.10.4, r28959-29397011cc
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~#
root@OpenWrt:~#