From 6458981344d2e59050df80a38ced477e9fd484ee Mon Sep 17 00:00:00 2001 From: unitexe Date: Thu, 9 Apr 2026 16:38:15 -0500 Subject: Move wic kickstart files to files/wic --- .../wic/imx-uboot-bootpart-no-tagged-suffix.wks.in | 21 +++++++++++++++++++++ .../wic/imx-uboot-bootpart-no-tagged-suffix.wks.in | 21 --------------------- .../files/wic/unit-beaglebone-yocto.wks | 7 +++++++ meta-yocto-extra/wic/unit-beaglebone-yocto.wks | 7 ------- 4 files changed, 28 insertions(+), 28 deletions(-) create mode 100644 meta-freescale-extra/files/wic/imx-uboot-bootpart-no-tagged-suffix.wks.in delete mode 100644 meta-freescale-extra/wic/imx-uboot-bootpart-no-tagged-suffix.wks.in create mode 100644 meta-yocto-extra/files/wic/unit-beaglebone-yocto.wks delete mode 100644 meta-yocto-extra/wic/unit-beaglebone-yocto.wks diff --git a/meta-freescale-extra/files/wic/imx-uboot-bootpart-no-tagged-suffix.wks.in b/meta-freescale-extra/files/wic/imx-uboot-bootpart-no-tagged-suffix.wks.in new file mode 100644 index 0000000..36f7563 --- /dev/null +++ b/meta-freescale-extra/files/wic/imx-uboot-bootpart-no-tagged-suffix.wks.in @@ -0,0 +1,21 @@ +# short-description: Create SD card image with a boot partition +# long-description: +# Create an image that can be written onto a SD card using dd for use +# with i.MX SoC family +# It uses u-boot +# +# The disk layout used is: +# - --------- -------------- -------------- +# | | u-boot | boot | rootfs | +# - --------- -------------- -------------- +# ^ ^ ^ ^ +# | | | | +# 0 1kiB 4MiB 16MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) +# +# This is almost identical to the version in meta-freescale but with the .tagged suffix dropped after ${UBOOT_BINARY} +# +part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}" --ondisk mmcblk --no-table --align 1 +part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 16 +part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 + +bootloader --ptable msdos diff --git a/meta-freescale-extra/wic/imx-uboot-bootpart-no-tagged-suffix.wks.in b/meta-freescale-extra/wic/imx-uboot-bootpart-no-tagged-suffix.wks.in deleted file mode 100644 index 36f7563..0000000 --- a/meta-freescale-extra/wic/imx-uboot-bootpart-no-tagged-suffix.wks.in +++ /dev/null @@ -1,21 +0,0 @@ -# short-description: Create SD card image with a boot partition -# long-description: -# Create an image that can be written onto a SD card using dd for use -# with i.MX SoC family -# It uses u-boot -# -# The disk layout used is: -# - --------- -------------- -------------- -# | | u-boot | boot | rootfs | -# - --------- -------------- -------------- -# ^ ^ ^ ^ -# | | | | -# 0 1kiB 4MiB 16MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) -# -# This is almost identical to the version in meta-freescale but with the .tagged suffix dropped after ${UBOOT_BINARY} -# -part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}" --ondisk mmcblk --no-table --align 1 -part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 16 -part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 - -bootloader --ptable msdos diff --git a/meta-yocto-extra/files/wic/unit-beaglebone-yocto.wks b/meta-yocto-extra/files/wic/unit-beaglebone-yocto.wks new file mode 100644 index 0000000..927892b --- /dev/null +++ b/meta-yocto-extra/files/wic/unit-beaglebone-yocto.wks @@ -0,0 +1,7 @@ +# short-description: Create SD card image for Beaglebone +# long-description: Creates a partitioned SD card image for Beaglebone with increased size to allow for use with kernel with bundled initramfs that exceeds the upstream size of 32MB +# 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 64 --sourceparams="loader=u-boot" --use-uuid +part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4 --use-uuid +bootloader --append="console=ttyS0,115200 splash video=HDMI-A-1:1024x600@60 vt.global_cursor_default=0" diff --git a/meta-yocto-extra/wic/unit-beaglebone-yocto.wks b/meta-yocto-extra/wic/unit-beaglebone-yocto.wks deleted file mode 100644 index 927892b..0000000 --- a/meta-yocto-extra/wic/unit-beaglebone-yocto.wks +++ /dev/null @@ -1,7 +0,0 @@ -# short-description: Create SD card image for Beaglebone -# long-description: Creates a partitioned SD card image for Beaglebone with increased size to allow for use with kernel with bundled initramfs that exceeds the upstream size of 32MB -# 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 64 --sourceparams="loader=u-boot" --use-uuid -part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4 --use-uuid -bootloader --append="console=ttyS0,115200 splash video=HDMI-A-1:1024x600@60 vt.global_cursor_default=0" -- cgit v1.2.3