There is an issue on github regarding the possibility to load custom linux made with yocto using SD Card but I somehow can not get any reply there.
However, I’ve got a reply from a person from Rock-Chip
i don’t know much about rock 5b, but meta-rockchip doesn’t limit the firmware on emmc or sdcard.
for booting from sdcard, normally need:
1/ clear the firmwares on emmc(for example, flash an empty image to the 0-1 mb area to clear partition table)
2/ make sure that the sdcard is accessable in u-boot and kernel stage(need to ask your board’s maintainer)
3/ dd the whole .wic image to sdcard on PC
I’ve tried sudo dd if=core-image-minimal-rockchip-rk3588-rock-5b.wic of=/dev/rdisk4 bs=1m
and checking with a display connected via HDMI, but it does not work.
Aparently I need to make sure that the image is accessible during u-boot and kernel stage. How do I do that?
Or what is the best way to run linux built with yocto on Rock 5b using SD card?