Hello forum,
I have to disagree with the opinion expressed here that a separate 8 GB image is not necessary.
I have been trying for two days to flash my BananaPI BPI-R4 with 8 GB so that it recognizes it.
My plan was to write the SD card image to the NAND via U-Boot, then boot from the NAND and flash the NAND content to the eMMC – also via U-Boot. At least, that’s what I read in the OpenWRT forum.
But none of the advice and descriptions I found here worked, and as a result, my BPI-R4 doesn’t even boot into the U-Boot menu. It gets stuck on the message that my BPI-R4 has 0 GB of DRAM.
What did I do to get this result:
I used frank-w’s image for the 8 GB SD card bootloader (https://github.com/frank-w/u-boot/releases/download/CI-BUILD-2025-07-bpi-2025.07-2025-07-22_1719/bpi-r4_sdmmc_8GB_bl2.img) to the directory
/home/user/Downloads
Then I downloaded the latest OpenWRT 24.10.3 (https://downloads.openwrt.org/releases/24.10.3/targets/mediatek/filogic/openwrt-24.10.3-mediatek-filogic-bananapi_bpi-r4-sdcard.img.gz) for my BPI-R4 to the above download directory and unzipped it.
I flashed the OpenWRT image onto a 64 GB SD card using balenaEtcher and viewed the result with GParted:
Then, as suggested by frank-w, I wrote his bl2 image to partition 1 (/dev/sdc1):
$ cd /home/user/Downloads
$ sudo dd if=bpi-r4_sdmmc_8GB_bl2.img of=/dev/sdc1
[sudo] Password for user:
488+1 records in
488+1 records out
250190 bytes (250 KB, 244 KiB) copied, 0.123012 s, 2.0 MB/s
The output via minicom is as follows:
F0: 102B 0000
FA: 1042 0000
FA: 1042 0000 [0200]
F9: 1041 0000
F3: 1001 0000 [0200]
F3: 1001 0000
F6: 380E 5012
F5: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 0600 0041 [0000]
G0: 1190 0000
EC: 0000 0000 [3000]
MK: 0000 0000 [0000]
T0: 0000 0192 [0101]
Jump to BL
NOTICE: BL2: v2.12.0(release):a385740df-bpi-r4-sdmmc
NOTICE: BL2: Built : 10:59:19, Aug 20 2025
NOTICE: WDT: Cold boot
NOTICE: WDT: disabled
NOTICE: CPU: MT7988
NOTICE: EMI: DDR4 4BG mode
NOTICE: EMI: Using DDR unknown settings
NOTICE: EMI: Detected DRAM size: 0 MB
Not very satisfactory. And I’m probably not the only one with this problem, see for example theonlyrko…
So it would be very nice if one of the pros could create an SD card image for the 8GB version that even inexperienced users could flash right away.
Thanks in advance