xref: /OK3568_Linux_fs/yocto/poky/scripts/lib/wic/canned-wks/sdimage-bootpart.wks (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# short-description: Create SD card image with a boot partition
2*4882a593Smuzhiyun# long-description: Creates a partitioned SD card image. Boot files
3*4882a593Smuzhiyun# are located in the first vfat partition.
4*4882a593Smuzhiyun
5*4882a593Smuzhiyunpart /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --size 16
6*4882a593Smuzhiyunpart / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4
7