remplacement de la creation de la carte SD via le format WIC image
This commit is contained in:
8
wic/pengwyn-yocto-verity.wks.in
Normal file
8
wic/pengwyn-yocto-verity.wks.in
Normal file
@@ -0,0 +1,8 @@
|
||||
# short-description: Create SD card image for Pengwyn Board
|
||||
# long-description: Creates a partitioned SD card image for Pengwyn Board.
|
||||
# Boot files are located in the first vfat partition.
|
||||
|
||||
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4096 --fixed-size 20 --sourceparams="loader=u-boot" --use-uuid
|
||||
part / --source rawcopy --ondisk mmcblk0 --sourceparams="file=${IMGDEPLOYDIR}/${DM_VERITY_IMAGE}-${MACHINE}.${DM_VERITY_IMAGE_TYPE}.verity"
|
||||
bootloader --append="console=ttyS0,115200"
|
||||
|
||||
11
wic/pengwyn-yocto.wks.in
Normal file
11
wic/pengwyn-yocto.wks.in
Normal file
@@ -0,0 +1,11 @@
|
||||
# short-description: Create SD card image for Pengwyn Board
|
||||
# long-description: Creates a partitioned SD card image for Pengwyn Board.
|
||||
# Boot files are located in the first vfat partition.
|
||||
|
||||
#part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --fixed-size 32 --sourceparams="loader=u-boot" --use-uuid
|
||||
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4096 --fixed-size 20 --use-uuid
|
||||
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4 --use-uuid
|
||||
bootloader --append="console=ttyS0,115200"
|
||||
|
||||
#part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4096 --size 20
|
||||
#part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4096
|
||||
Reference in New Issue
Block a user