BPI-R4 issues installing OpenWRT to eMMC

Hello everyone,

I just got my BPI-R4 and am trying to install OpenWRT from the firmware selector. I am able to boot from the SD card, install and boot from NAND okay. Installing to eMMC purports to succeed, but the system halts when I set it to boot from there.

EXT_CSD[179], PARTITION_CONFIG:
BOOT_ACK: 0x0
BOOT_PARTITION_ENABLE: 0x0
PARTITION_ACCESS: 0x0
switch to partitions #0, OK
mmc0(part 0) is current device
Set to BOOT_BUS_WIDTH = 0x0, RESET = 0x0, BOOT_MODE = 0x0
Saving Environment to UBI... UBI partition 'ubi' already selected
Writing to redundant UBI... done
OK
Saving Environment to UBI... UBI partition 'ubi' already selected
Writing to UBI... done
OK
Press ENTER to return to menu 



F0: 102B 0000                                                                                                                                 
FA: 1042 0000                                                                                                                                 
FA: 1042 0000 [0200]                                                                                                                          
F9: 1041 0000                                                                                                                                 
F3: 4000 0036 [0200]                                                                                                                          
F3: 4000 0036                                                                                                                                 
F6: 102C 0000                                                                                                                                 
F5: 1026 0000                                                                                                                                 
00: 1005 0000                                                                                                                                 
FA: 1042 0000                                                                                                                                 
FA: 1042 0000 [0200]                                                                                                                          
F9: 1041 0000                                                                                                                                 
F3: 4000 0036 [0200]                                                                                                                          
F3: 4000 0036                                                                                                                                 
F6: 102C 0000                                                                                                                                 
01: 102A 0001                                                                                                                                 
02: 1005 0000                                                                                                                                 
BP: 0200 00C0 [0001]                                                                                                                          
EC: 0000 0000 [2000]                                                                                                                          
MK: 0000 0000 [0000]                                                                                                                          
T0: 0000 01B0 [0101]                                                                                                                          
System halt!                                                                                                                                  
                                                                                                                                              
                 

Any ideas what I'm doing wrong? I'm trying to make sure I'm not missing something basic.

Thanks,
Alex

seen Banana BPi-R4 EMMC image? - #7 by Levitating ?

I've seen that but I think it's different from my issue. I'm using the official sdcard image from https://firmware-selector.openwrt.org/?version=SNAPSHOT&target=mediatek%2Ffilogic&id=bananapi_bpi-r4, and installing and booting from the device's nand works fine.

and I assume you also pulled the SD card before trying to boot ?
https://openwrt.org/inbox/toh/sinovoip/bananapi_bpi-r4#installation

Yeah, I get the same error with the microSD plugged out or in. I just tried it again with the SD card unplugged to verify.

Here's the menu I get when I boot from NAND for reference.


        ( ( ( OpenWrt ) ) )  [SPI-NAND]       U-Boot 2024.10-OpenWrt-r27783-f20893a6bc (Oct 16 2024 - 11:56:27 +0000)

      1. Run default boot command.
      2. Boot system via TFTP.
      3. Boot production system from NAND.
      4. Boot recovery system from NAND.
      5. Load production system via TFTP then write to NAND.
      6. Load recovery system via TFTP then write to NAND.
      7. Load BL31+U-Boot FIP via TFTP then write to NAND.
      8. Load BL2 preloader via TFTP then write to NAND.
      9. Install bootloader, recovery and production to eMMC.
      a. Reboot.
      b. Reset all settings to factory defaults.
      0. Exit


  Press UP/DOWN to move, ENTER to select, ESC to quit

Today I tried again with the lastest snapshot r27788. Followed the same procedure, and got a much more detailed output when I installed to eMMC this time.

I don't know why all those installation steps got skipped yesterday. Maybe snapshot r27783 was just broken. Nevertheless, my issue is now fixed on r27788.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.