diff options
| author | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-04-07 12:37:10 -0700 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-04-07 12:37:10 -0700 |
| commit | 016390eabb11a15630922678bf9fa25bf2404832 (patch) | |
| tree | 901c40c37bf9da35c072d4759784ce223546eccd /files/wic | |
| parent | 670d1a4f554fb17051c3e1069786666336012b47 (diff) | |
| download | meta-freescale-016390eabb11a15630922678bf9fa25bf2404832.tar.gz | |
wic: wic need to be moved to files/wic within the layer to be found/used
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'files/wic')
| -rw-r--r-- | files/wic/imx-imx-boot-bootpart.wks.in | 20 | ||||
| -rw-r--r-- | files/wic/imx-imx-boot.wks.in | 19 | ||||
| -rw-r--r-- | files/wic/imx-uboot-bootpart.wks.in | 19 | ||||
| -rw-r--r-- | files/wic/imx-uboot-mxs-bootpart.wks.in | 19 | ||||
| -rw-r--r-- | files/wic/imx-uboot-mxs.wks.in | 18 | ||||
| -rw-r--r-- | files/wic/imx-uboot-spl-bootpart.wks.in | 20 | ||||
| -rw-r--r-- | files/wic/imx-uboot-spl.wks.in | 19 | ||||
| -rw-r--r-- | files/wic/imx-uboot.wks | 18 | ||||
| -rw-r--r-- | files/wic/ls104x-uboot-bootpart.wks.in | 21 |
9 files changed, 173 insertions, 0 deletions
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 @@ | |||
| 1 | # short-description: Create SD card image with a boot partition | ||
| 2 | # long-description: | ||
| 3 | # Create an image that can be written onto a SD card using dd for use | ||
| 4 | # with i.MX SoC family | ||
| 5 | # It uses u-boot + other binaries gathered together on imx-boot file | ||
| 6 | # | ||
| 7 | # The disk layout used is: | ||
| 8 | # - ---------- -------------- -------------- | ||
| 9 | # | | imx-boot | boot | rootfs | | ||
| 10 | # - ---------- -------------- -------------- | ||
| 11 | # ^ ^ ^ ^ ^ | ||
| 12 | # | | | | | | ||
| 13 | # 0 | 8MiB 264MiB 264MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | ||
| 14 | # ${IMX_BOOT_SEEK} 32 or 33kiB, see reference manual | ||
| 15 | # | ||
| 16 | part u-boot --source rawcopy --sourceparams="file=imx-boot.tagged" --ondisk mmcblk --no-table --align ${IMX_BOOT_SEEK} | ||
| 17 | part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 8192 --fixed-size 256 | ||
| 18 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 8192 | ||
| 19 | |||
| 20 | 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 @@ | |||
| 1 | # short-description: Create SD card image with a boot partition | ||
| 2 | # long-description: | ||
| 3 | # Create an image that can be written onto a SD card using dd for use | ||
| 4 | # with i.MX SoC family | ||
| 5 | # It uses u-boot + other binaries gathered together on imx-boot file | ||
| 6 | # | ||
| 7 | # The disk layout used is: | ||
| 8 | # - ---------- -------------- | ||
| 9 | # | | imx-boot | rootfs | | ||
| 10 | # - ---------- -------------- | ||
| 11 | # ^ ^ ^ ^ | ||
| 12 | # | | | | | ||
| 13 | # 0 | 8MiB 8MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | ||
| 14 | # ${IMX_BOOT_SEEK} 32 or 33kiB, see reference manual | ||
| 15 | # | ||
| 16 | part u-boot --source rawcopy --sourceparams="file=imx-boot.tagged" --ondisk mmcblk --no-table --align ${IMX_BOOT_SEEK} | ||
| 17 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 8192 | ||
| 18 | |||
| 19 | 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 @@ | |||
| 1 | # short-description: Create SD card image with a boot partition | ||
| 2 | # long-description: | ||
| 3 | # Create an image that can be written onto a SD card using dd for use | ||
| 4 | # with i.MX SoC family | ||
| 5 | # It uses u-boot | ||
| 6 | # | ||
| 7 | # The disk layout used is: | ||
| 8 | # - --------- -------------- -------------- | ||
| 9 | # | | u-boot | boot | rootfs | | ||
| 10 | # - --------- -------------- -------------- | ||
| 11 | # ^ ^ ^ ^ | ||
| 12 | # | | | | | ||
| 13 | # 0 1kiB 4MiB 16MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | ||
| 14 | # | ||
| 15 | part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}.tagged" --ondisk mmcblk --no-table --align 1 | ||
| 16 | part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 16 | ||
| 17 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 | ||
| 18 | |||
| 19 | 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 @@ | |||
| 1 | # short-description: Create SD card image with a boot partition | ||
| 2 | # long-description: | ||
| 3 | # Create an image that can be written onto a SD card using dd for use | ||
| 4 | # with i.MX SoC family | ||
| 5 | # It uses u-boot | ||
| 6 | # | ||
| 7 | # The disk layout used is: | ||
| 8 | # - --------- -------------- -------------- | ||
| 9 | # | | u-boot | boot | rootfs | | ||
| 10 | # - --------- -------------- -------------- | ||
| 11 | # ^ ^ ^ ^ | ||
| 12 | # | | | | | ||
| 13 | # 0 1kiB 4MiB 16MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | ||
| 14 | # | ||
| 15 | part u-boot --source rawcopy --sourceparams="file=${IMAGE_LINK_NAME}.uboot-mxsboot-sdcard" --ondisk mmcblk --align 1024 | ||
| 16 | part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 16 | ||
| 17 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 | ||
| 18 | |||
| 19 | 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 @@ | |||
| 1 | # short-description: Create SD card image without a boot partition | ||
| 2 | # long-description: | ||
| 3 | # Create an image that can be written onto a SD card using dd for use | ||
| 4 | # with i.MX SoC family | ||
| 5 | # It uses u-boot | ||
| 6 | # | ||
| 7 | # The disk layout used is: | ||
| 8 | # - --------- -------------- | ||
| 9 | # | | u-boot | rootfs | | ||
| 10 | # - --------- -------------- | ||
| 11 | # ^ ^ ^ ^ | ||
| 12 | # | | | | | ||
| 13 | # 0 1kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | ||
| 14 | # | ||
| 15 | part u-boot --source rawcopy --sourceparams="file=${IMAGE_LINK_NAME}.rootfs.uboot-mxsboot-sdcard" --ondisk mmcblk --align 1024 | ||
| 16 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 | ||
| 17 | |||
| 18 | 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 @@ | |||
| 1 | # short-description: Create SD card image with a boot partition | ||
| 2 | # long-description: | ||
| 3 | # Create an image that can be written onto a SD card using dd for use | ||
| 4 | # with i.MX SoC family. | ||
| 5 | # It uses SPL and u-boot | ||
| 6 | # | ||
| 7 | # The disk layout used is: | ||
| 8 | # - ----- --------- -------------- -------------- | ||
| 9 | # | | SPL | u-boot | boot | rootfs | | ||
| 10 | # - ----- --------- -------------- -------------- | ||
| 11 | # ^ ^ ^ ^ ^ | ||
| 12 | # | | | | | | ||
| 13 | # 0 1kiB 69kiB 4MiB 16MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | ||
| 14 | # | ||
| 15 | part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1 | ||
| 16 | part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}.tagged" --ondisk mmcblk --no-table --align 69 | ||
| 17 | part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 16 | ||
| 18 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 | ||
| 19 | |||
| 20 | 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 @@ | |||
| 1 | # short-description: Create SD card image with a boot partition | ||
| 2 | # long-description: | ||
| 3 | # Create an image that can be written onto a SD card using dd for use | ||
| 4 | # with i.MX SoC family. | ||
| 5 | # It uses SPL and u-boot | ||
| 6 | # | ||
| 7 | # The disk layout used is: | ||
| 8 | # - ----- --------- -------------- | ||
| 9 | # | | SPL | u-boot | rootfs | | ||
| 10 | # - ----- --------- -------------- | ||
| 11 | # ^ ^ ^ ^ ^ | ||
| 12 | # | | | | | | ||
| 13 | # 0 1kiB 69kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | ||
| 14 | # | ||
| 15 | part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1 | ||
| 16 | part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}.tagged" --ondisk mmcblk --no-table --align 69 | ||
| 17 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 | ||
| 18 | |||
| 19 | 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 @@ | |||
| 1 | # short-description: Create SD card image with a boot partition | ||
| 2 | # long-description: | ||
| 3 | # Create an image that can be written onto a SD card using dd for use | ||
| 4 | # with i.MX SoC family | ||
| 5 | # It uses u-boot | ||
| 6 | # | ||
| 7 | # The disk layout used is: | ||
| 8 | # - --------- -------------- | ||
| 9 | # | | u-boot | rootfs | | ||
| 10 | # - --------- -------------- | ||
| 11 | # ^ ^ ^ ^ | ||
| 12 | # | | | | | ||
| 13 | # 0 1kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | ||
| 14 | # | ||
| 15 | part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}.tagged" --ondisk mmcblk --no-table --align 1 | ||
| 16 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 | ||
| 17 | |||
| 18 | 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 @@ | |||
| 1 | # short-description: Create SD card image with a boot partition | ||
| 2 | # long-description: | ||
| 3 | # Create an image that can be written onto a SD card using dd for use | ||
| 4 | # with Layerscape lx1043a/ls1046a family. | ||
| 5 | # It uses u-boot. | ||
| 6 | # | ||
| 7 | # The disk layout used is: | ||
| 8 | # - ----- --------- -------------- -------------------- | ||
| 9 | # | | PBL | FIP | FMAN-UCODE | boot + rootfs | | ||
| 10 | # - ----- --------- -------------- -------------------- | ||
| 11 | # ^ ^ ^ ^ ^ | ||
| 12 | # | | | | | | ||
| 13 | # 0 4kiB 1MiB 9MiB 16MiB | ||
| 14 | # | ||
| 15 | part PBL --source rawcopy --sourceparams="file=${IMAGE_FILE_PBL_SD}" --ondisk mmcblk --no-table --align ${IMAGE_OFFSET_PBL} | ||
| 16 | part FIP --source rawcopy --sourceparams="file=${IMAGE_FILE_FIP_UBOOT}" --ondisk mmcblk --no-table --align ${IMAGE_OFFSET_FIP} | ||
| 17 | part FMAN-UCODE --source rawcopy --sourceparams="file=${FMAN_UCODE}" --ondisk mmcblk --no-table --align ${IMAGE_OFFSET_FMAN_UCODE} | ||
| 18 | part /boot --source bootimg-partition --ondisk mmcblk --fstype=ext4 --label boot --active --align 16384 --extra-space 0 | ||
| 19 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label rootfs --align 16384 | ||
| 20 | |||
| 21 | bootloader --ptable msdos | ||
