Folks,
I purchased a Banana Pi R3 mini in November and did the following to load the Rooter firmware on the device on eMMC:
-
Set boot switch to boot from SPI-NAND (assuming stock rom is running there).
-
copy all the files to a USB drive that gets inserted in the Banana Pi 3 Mini.
-
cd /mnt/sda1/
-
cp openwrt-mediatek-filogic-bananapi_bpi-r3-mini-emmc-gpt.bin /tmp
-
dd if=/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-mini-emmc-gpt.bin of=/dev/mmcblk0
-
Reboot (to reload partition tables)
-
cp openwrt-mediatek-filogic-bananapi_bpi-r3-mini-initramfs-recovery.itb /tmp cp openwrt-mediatek-filogic-bananapi_bpi-r3-mini-emmc-preloader.bin /tmp cp openwrt-mediatek-filogic-bananapi_bpi-r3-mini-emmc-bl31-uboot.fip /tmp cp Banana-Pi-R3-Mini-full-GO2024-11-13-upgrade.itb /tmp
-
echo 0 > /sys/block/mmcblk0boot0/force_ro dd if=/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-mini-emmc-preloader.bin of=/dev/mmcblk0boot0 dd if=/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-mini-emmc-bl31-uboot.fip of=/dev/mmcblk0p3 dd if=/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-mini-initramfs-recovery.itb of=/dev/mmcblk0p4 dd if=/tmp/Banana-Pi-R3-Mini-full-GO2024-11-13-upgrade.itb of=/dev/mmcblk0p5
sync -
Remove the device from power, set boot switch to eMMC and boot into OpenWrt. The device will come up with IP 192.168.1.1 and assume the Ethernet port closer to the USB-C power connector as LAN port.
I was able to set up the Rooter firmware, install my RM520N-GL modem and get everything working.
I have been using the R3 mini for the past month or so without issue.
I decided to boot in to NAND, but got no response from the R3 mini (no connectivity via ethernet, no wireless). I connected the UART and see the following:
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)
To make matters worse, I tried upgrading OpenWrt through Luci under the Rooter firmware. The R3 mini boots up but there is no connectvity (ethernet and wireless). Under minicom I see the following:
( ( ( OpenWrt ) ) ) [eMMC] U-Boot 2024.10-OpenWrt-r28146-52b6c92479 (Nov 21 2024 - 21:04:41 +0000)
1. Run default boot command.
2. Boot system via TFTP.
3. Boot production system from eMMC.
4. Boot recovery system from eMMC.
5. Load production system via TFTP then write to eMMC.
6. Load recovery system via TFTP then write to eMMC.
7. Load Airoha EN8811H firmware via TFTP then write to eMMC.
8. Load BL31+U-Boot FIP via TFTP then write to eMMC.
9. Load BL2 preloader via TFTP then write to eMMC.
a. Reboot.
b. Reset all settings to factory defaults.
0. Exit
Press UP/DOWN to move, ENTER to select, ESC to quit
If I select option 1, 3 or 4 the R3 mini boots up and then stops. Once I hit the “enter” key it continues to boot and brings me to an OpenWrt prompt:
BusyBox v1.36.1 (2024-11-21 21:04:41 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r28146-52b6c92479
-----------------------------------------------------
=== 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:~#
I’m not sure what I need to do to restore either the eMMC or the NAND. Any help is greatly appreciated. Thanks.
Eric