From 016390eabb11a15630922678bf9fa25bf2404832 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 7 Apr 2026 12:37:10 -0700 Subject: wic: wic need to be moved to files/wic within the layer to be found/used Signed-off-by: Khem Raj --- files/wic/imx-imx-boot-bootpart.wks.in | 20 ++++++++++++++++++++ files/wic/imx-imx-boot.wks.in | 19 +++++++++++++++++++ files/wic/imx-uboot-bootpart.wks.in | 19 +++++++++++++++++++ files/wic/imx-uboot-mxs-bootpart.wks.in | 19 +++++++++++++++++++ files/wic/imx-uboot-mxs.wks.in | 18 ++++++++++++++++++ files/wic/imx-uboot-spl-bootpart.wks.in | 20 ++++++++++++++++++++ files/wic/imx-uboot-spl.wks.in | 19 +++++++++++++++++++ files/wic/imx-uboot.wks | 18 ++++++++++++++++++ files/wic/ls104x-uboot-bootpart.wks.in | 21 +++++++++++++++++++++ wic/imx-imx-boot-bootpart.wks.in | 20 -------------------- wic/imx-imx-boot.wks.in | 19 ------------------- wic/imx-uboot-bootpart.wks.in | 19 ------------------- wic/imx-uboot-mxs-bootpart.wks.in | 19 ------------------- wic/imx-uboot-mxs.wks.in | 18 ------------------ wic/imx-uboot-spl-bootpart.wks.in | 20 -------------------- wic/imx-uboot-spl.wks.in | 19 ------------------- wic/imx-uboot.wks | 18 ------------------ wic/ls104x-uboot-bootpart.wks.in | 21 --------------------- 18 files changed, 173 insertions(+), 173 deletions(-) create mode 100644 files/wic/imx-imx-boot-bootpart.wks.in create mode 100644 files/wic/imx-imx-boot.wks.in create mode 100644 files/wic/imx-uboot-bootpart.wks.in create mode 100644 files/wic/imx-uboot-mxs-bootpart.wks.in create mode 100644 files/wic/imx-uboot-mxs.wks.in create mode 100644 files/wic/imx-uboot-spl-bootpart.wks.in create mode 100644 files/wic/imx-uboot-spl.wks.in create mode 100644 files/wic/imx-uboot.wks create mode 100644 files/wic/ls104x-uboot-bootpart.wks.in delete mode 100644 wic/imx-imx-boot-bootpart.wks.in delete mode 100644 wic/imx-imx-boot.wks.in delete mode 100644 wic/imx-uboot-bootpart.wks.in delete mode 100644 wic/imx-uboot-mxs-bootpart.wks.in delete mode 100644 wic/imx-uboot-mxs.wks.in delete mode 100644 wic/imx-uboot-spl-bootpart.wks.in delete mode 100644 wic/imx-uboot-spl.wks.in delete mode 100644 wic/imx-uboot.wks delete mode 100644 wic/ls104x-uboot-bootpart.wks.in diff --git a/files/wic/imx-imx-boot-bootpart.wks.in b/files/wic/imx-imx-boot-bootpart.wks.in new file mode 100644 index 000000000..46a2a0a68 --- /dev/null +++ b/files/wic/imx-imx-boot-bootpart.wks.in @@ -0,0 +1,20 @@ +# 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 + other binaries gathered together on imx-boot file +# +# The disk layout used is: +# - ---------- -------------- -------------- +# | | imx-boot | boot | rootfs | +# - ---------- -------------- -------------- +# ^ ^ ^ ^ ^ +# | | | | | +# 0 | 8MiB 264MiB 264MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) +# ${IMX_BOOT_SEEK} 32 or 33kiB, see reference manual +# +part u-boot --source rawcopy --sourceparams="file=imx-boot.tagged" --ondisk mmcblk --no-table --align ${IMX_BOOT_SEEK} +part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 8192 --fixed-size 256 +part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 8192 + +bootloader --ptable msdos diff --git a/files/wic/imx-imx-boot.wks.in b/files/wic/imx-imx-boot.wks.in new file mode 100644 index 000000000..fdb411803 --- /dev/null +++ b/files/wic/imx-imx-boot.wks.in @@ -0,0 +1,19 @@ +# 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 + other binaries gathered together on imx-boot file +# +# The disk layout used is: +# - ---------- -------------- +# | | imx-boot | rootfs | +# - ---------- -------------- +# ^ ^ ^ ^ +# | | | | +# 0 | 8MiB 8MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) +# ${IMX_BOOT_SEEK} 32 or 33kiB, see reference manual +# +part u-boot --source rawcopy --sourceparams="file=imx-boot.tagged" --ondisk mmcblk --no-table --align ${IMX_BOOT_SEEK} +part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 8192 + +bootloader --ptable msdos diff --git a/files/wic/imx-uboot-bootpart.wks.in b/files/wic/imx-uboot-bootpart.wks.in new file mode 100644 index 000000000..4959d02df --- /dev/null +++ b/files/wic/imx-uboot-bootpart.wks.in @@ -0,0 +1,19 @@ +# 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) +# +part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}.tagged" --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/files/wic/imx-uboot-mxs-bootpart.wks.in b/files/wic/imx-uboot-mxs-bootpart.wks.in new file mode 100644 index 000000000..175499d63 --- /dev/null +++ b/files/wic/imx-uboot-mxs-bootpart.wks.in @@ -0,0 +1,19 @@ +# 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) +# +part u-boot --source rawcopy --sourceparams="file=${IMAGE_LINK_NAME}.uboot-mxsboot-sdcard" --ondisk mmcblk --align 1024 +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/files/wic/imx-uboot-mxs.wks.in b/files/wic/imx-uboot-mxs.wks.in new file mode 100644 index 000000000..8d82b7b86 --- /dev/null +++ b/files/wic/imx-uboot-mxs.wks.in @@ -0,0 +1,18 @@ +# short-description: Create SD card image without 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 | rootfs | +# - --------- -------------- +# ^ ^ ^ ^ +# | | | | +# 0 1kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) +# +part u-boot --source rawcopy --sourceparams="file=${IMAGE_LINK_NAME}.rootfs.uboot-mxsboot-sdcard" --ondisk mmcblk --align 1024 +part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 + +bootloader --ptable msdos diff --git a/files/wic/imx-uboot-spl-bootpart.wks.in b/files/wic/imx-uboot-spl-bootpart.wks.in new file mode 100644 index 000000000..be0f0fe03 --- /dev/null +++ b/files/wic/imx-uboot-spl-bootpart.wks.in @@ -0,0 +1,20 @@ +# 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 SPL and u-boot +# +# The disk layout used is: +# - ----- --------- -------------- -------------- +# | | SPL | u-boot | boot | rootfs | +# - ----- --------- -------------- -------------- +# ^ ^ ^ ^ ^ +# | | | | | +# 0 1kiB 69kiB 4MiB 16MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) +# +part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1 +part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}.tagged" --ondisk mmcblk --no-table --align 69 +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/files/wic/imx-uboot-spl.wks.in b/files/wic/imx-uboot-spl.wks.in new file mode 100644 index 000000000..c6c9aaa2c --- /dev/null +++ b/files/wic/imx-uboot-spl.wks.in @@ -0,0 +1,19 @@ +# 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 SPL and u-boot +# +# The disk layout used is: +# - ----- --------- -------------- +# | | SPL | u-boot | rootfs | +# - ----- --------- -------------- +# ^ ^ ^ ^ ^ +# | | | | | +# 0 1kiB 69kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) +# +part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1 +part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}.tagged" --ondisk mmcblk --no-table --align 69 +part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 + +bootloader --ptable msdos diff --git a/files/wic/imx-uboot.wks b/files/wic/imx-uboot.wks new file mode 100644 index 000000000..cde24798d --- /dev/null +++ b/files/wic/imx-uboot.wks @@ -0,0 +1,18 @@ +# 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 | rootfs | +# - --------- -------------- +# ^ ^ ^ ^ +# | | | | +# 0 1kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) +# +part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}.tagged" --ondisk mmcblk --no-table --align 1 +part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 + +bootloader --ptable msdos diff --git a/files/wic/ls104x-uboot-bootpart.wks.in b/files/wic/ls104x-uboot-bootpart.wks.in new file mode 100644 index 000000000..8ca231c6b --- /dev/null +++ b/files/wic/ls104x-uboot-bootpart.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 Layerscape lx1043a/ls1046a family. +# It uses u-boot. +# +# The disk layout used is: +# - ----- --------- -------------- -------------------- +# | | PBL | FIP | FMAN-UCODE | boot + rootfs | +# - ----- --------- -------------- -------------------- +# ^ ^ ^ ^ ^ +# | | | | | +# 0 4kiB 1MiB 9MiB 16MiB +# +part PBL --source rawcopy --sourceparams="file=${IMAGE_FILE_PBL_SD}" --ondisk mmcblk --no-table --align ${IMAGE_OFFSET_PBL} +part FIP --source rawcopy --sourceparams="file=${IMAGE_FILE_FIP_UBOOT}" --ondisk mmcblk --no-table --align ${IMAGE_OFFSET_FIP} +part FMAN-UCODE --source rawcopy --sourceparams="file=${FMAN_UCODE}" --ondisk mmcblk --no-table --align ${IMAGE_OFFSET_FMAN_UCODE} +part /boot --source bootimg-partition --ondisk mmcblk --fstype=ext4 --label boot --active --align 16384 --extra-space 0 +part / --source rootfs --ondisk mmcblk --fstype=ext4 --label rootfs --align 16384 + +bootloader --ptable msdos diff --git a/wic/imx-imx-boot-bootpart.wks.in b/wic/imx-imx-boot-bootpart.wks.in deleted file mode 100644 index 46a2a0a68..000000000 --- a/wic/imx-imx-boot-bootpart.wks.in +++ /dev/null @@ -1,20 +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 + other binaries gathered together on imx-boot file -# -# The disk layout used is: -# - ---------- -------------- -------------- -# | | imx-boot | boot | rootfs | -# - ---------- -------------- -------------- -# ^ ^ ^ ^ ^ -# | | | | | -# 0 | 8MiB 264MiB 264MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) -# ${IMX_BOOT_SEEK} 32 or 33kiB, see reference manual -# -part u-boot --source rawcopy --sourceparams="file=imx-boot.tagged" --ondisk mmcblk --no-table --align ${IMX_BOOT_SEEK} -part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 8192 --fixed-size 256 -part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 8192 - -bootloader --ptable msdos diff --git a/wic/imx-imx-boot.wks.in b/wic/imx-imx-boot.wks.in deleted file mode 100644 index fdb411803..000000000 --- a/wic/imx-imx-boot.wks.in +++ /dev/null @@ -1,19 +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 + other binaries gathered together on imx-boot file -# -# The disk layout used is: -# - ---------- -------------- -# | | imx-boot | rootfs | -# - ---------- -------------- -# ^ ^ ^ ^ -# | | | | -# 0 | 8MiB 8MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) -# ${IMX_BOOT_SEEK} 32 or 33kiB, see reference manual -# -part u-boot --source rawcopy --sourceparams="file=imx-boot.tagged" --ondisk mmcblk --no-table --align ${IMX_BOOT_SEEK} -part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 8192 - -bootloader --ptable msdos diff --git a/wic/imx-uboot-bootpart.wks.in b/wic/imx-uboot-bootpart.wks.in deleted file mode 100644 index 4959d02df..000000000 --- a/wic/imx-uboot-bootpart.wks.in +++ /dev/null @@ -1,19 +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) -# -part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}.tagged" --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/wic/imx-uboot-mxs-bootpart.wks.in b/wic/imx-uboot-mxs-bootpart.wks.in deleted file mode 100644 index 175499d63..000000000 --- a/wic/imx-uboot-mxs-bootpart.wks.in +++ /dev/null @@ -1,19 +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) -# -part u-boot --source rawcopy --sourceparams="file=${IMAGE_LINK_NAME}.uboot-mxsboot-sdcard" --ondisk mmcblk --align 1024 -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/wic/imx-uboot-mxs.wks.in b/wic/imx-uboot-mxs.wks.in deleted file mode 100644 index 8d82b7b86..000000000 --- a/wic/imx-uboot-mxs.wks.in +++ /dev/null @@ -1,18 +0,0 @@ -# short-description: Create SD card image without 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 | rootfs | -# - --------- -------------- -# ^ ^ ^ ^ -# | | | | -# 0 1kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) -# -part u-boot --source rawcopy --sourceparams="file=${IMAGE_LINK_NAME}.rootfs.uboot-mxsboot-sdcard" --ondisk mmcblk --align 1024 -part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 - -bootloader --ptable msdos diff --git a/wic/imx-uboot-spl-bootpart.wks.in b/wic/imx-uboot-spl-bootpart.wks.in deleted file mode 100644 index be0f0fe03..000000000 --- a/wic/imx-uboot-spl-bootpart.wks.in +++ /dev/null @@ -1,20 +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 SPL and u-boot -# -# The disk layout used is: -# - ----- --------- -------------- -------------- -# | | SPL | u-boot | boot | rootfs | -# - ----- --------- -------------- -------------- -# ^ ^ ^ ^ ^ -# | | | | | -# 0 1kiB 69kiB 4MiB 16MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) -# -part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1 -part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}.tagged" --ondisk mmcblk --no-table --align 69 -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/wic/imx-uboot-spl.wks.in b/wic/imx-uboot-spl.wks.in deleted file mode 100644 index c6c9aaa2c..000000000 --- a/wic/imx-uboot-spl.wks.in +++ /dev/null @@ -1,19 +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 SPL and u-boot -# -# The disk layout used is: -# - ----- --------- -------------- -# | | SPL | u-boot | rootfs | -# - ----- --------- -------------- -# ^ ^ ^ ^ ^ -# | | | | | -# 0 1kiB 69kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) -# -part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1 -part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}.tagged" --ondisk mmcblk --no-table --align 69 -part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 - -bootloader --ptable msdos diff --git a/wic/imx-uboot.wks b/wic/imx-uboot.wks deleted file mode 100644 index cde24798d..000000000 --- a/wic/imx-uboot.wks +++ /dev/null @@ -1,18 +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 | rootfs | -# - --------- -------------- -# ^ ^ ^ ^ -# | | | | -# 0 1kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) -# -part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}.tagged" --ondisk mmcblk --no-table --align 1 -part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 - -bootloader --ptable msdos diff --git a/wic/ls104x-uboot-bootpart.wks.in b/wic/ls104x-uboot-bootpart.wks.in deleted file mode 100644 index 8ca231c6b..000000000 --- a/wic/ls104x-uboot-bootpart.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 Layerscape lx1043a/ls1046a family. -# It uses u-boot. -# -# The disk layout used is: -# - ----- --------- -------------- -------------------- -# | | PBL | FIP | FMAN-UCODE | boot + rootfs | -# - ----- --------- -------------- -------------------- -# ^ ^ ^ ^ ^ -# | | | | | -# 0 4kiB 1MiB 9MiB 16MiB -# -part PBL --source rawcopy --sourceparams="file=${IMAGE_FILE_PBL_SD}" --ondisk mmcblk --no-table --align ${IMAGE_OFFSET_PBL} -part FIP --source rawcopy --sourceparams="file=${IMAGE_FILE_FIP_UBOOT}" --ondisk mmcblk --no-table --align ${IMAGE_OFFSET_FIP} -part FMAN-UCODE --source rawcopy --sourceparams="file=${FMAN_UCODE}" --ondisk mmcblk --no-table --align ${IMAGE_OFFSET_FMAN_UCODE} -part /boot --source bootimg-partition --ondisk mmcblk --fstype=ext4 --label boot --active --align 16384 --extra-space 0 -part / --source rootfs --ondisk mmcblk --fstype=ext4 --label rootfs --align 16384 - -bootloader --ptable msdos -- cgit v1.2.3-54-g00ecf