I need my board to only try and boot from emmc, fails if SD card is in the slot

if SDcard was formated as boot image and first boot partition locate at 32768 sector then
dd if=/dev/zero of=/dev/mmcblk0 seek=64 count=$((32768-64))

p.s. with 5.x kernels SD - /dev/mmcblk1 EMMC - /dev/mmcblk2

1 Like