Hello everybody!
How to install debian or ubuntu image on emmc memory? I tried to install ubuntu-24.04-server-bpi-r4-5.4-aarch64-sd-emmc.img
but it won’t boot. I have shapshot OpenWrt image installed on snand.
Can I please some tutorial?
Hello everybody!
How to install debian or ubuntu image on emmc memory? I tried to install ubuntu-24.04-server-bpi-r4-5.4-aarch64-sd-emmc.img
but it won’t boot. I have shapshot OpenWrt image installed on snand.
Can I please some tutorial?
Emmc needs bl2 in boot0 block and set partconf right to boot from boot0
Basicly like r3 (and others)…
https://wiki.fw-web.de/doku.php?id=en:bpi-r3:uboot#writing_emmc
Skip the gpt part and flash your (or mine) image to userpartition. Below that is the bl2 part (3rd code block)
BPI-R3> mmc dev 0
switch to partitions #0, OK
mmc0(part 0) is current device
#switch to boot0 block
BPI-R3> mmc partconf 0 1 1 1
BPI-R3> mmc erase 0x0 0x400
BPI-R3> fatload usb 0:1 $loadaddr bl2_emmc_usb.img
200072 bytes read in 19 ms (10 MiB/s)
BPI-R3> mmc write ${loadaddr} 0x0 0x400
MMC write: dev # 0, block # 0, count 1024 ... 1024 blocks written: OK
#switch back to user-partition
BPI-R3> mmc partconf 0 1 1 0