问题
I have created an image with yocto for raspberrypi-cm3 architecture with eMMC storage. The generated image are stored in folder tmp/deploy/images/raspberrypi-cm3/ (attached photo showing content of such directory). I have this solution to create a .img to flashed to the eMMC:
dd bs=512 count=2880 if=/dev/zero of=raspberry-cm3.img
mkfs.msdos raspberry-cm3.img
mkdir raspberrypi
sudo mount -o loop raspberry-cm3.img raspberrypi
cp -r /deploy/images/raspberry-cm3/* raspberrypi
sudo umount raspberrypi
But I am wondering shouldn't I first leave a space for the boot partition ?
来源:https://stackoverflow.com/questions/50272528/flashing-yocto-image-to-raspberrypi-cm3