remplacement de la creation de la carte SD via le format WIC image

This commit is contained in:
2023-05-04 14:12:40 +00:00
parent 380a7899f3
commit 4b5f9aaf39
2 changed files with 19 additions and 0 deletions

View 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
View 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