I create an image from Frank-w (BPI-Router-Images):
Settings:
imgfile=bpi-r4_emmc.img.gz
skipkerneldownload=1
kernelfile=bpi-r4_6.12.32-main.tar.gz
Next:
./buildimg.sh bpi-r4 bookworm 6.12.32
I try to transfer it to EMMC:
echo 0 > /sys/block/mmcblk0boot0/force_ro
cd /mnt/sda1
dd if=bpi-r4_emmc_bl2.img of=/dev/mmcblk0boot0
gunzip -c bpi-r4_bookworm_6.12.32-main.img.gz | dd bs=512 conv=notrunc,fsync of=/dev/mmcblk0
dd if=bpi-r4_emmc_fip.bin of=/dev/mmcblk0p4
mmc bootpart enable 1 1 /dev/mmcblk0
at the same time, if I create an image from bpi-r4_sdmmc.img.gz and write it to the SD card - everything works.
How to transfer the image to EMMC correctly?