diff options
author | Joris Offouga <offougajoris@gmail.com> | 2019-07-11 07:43:07 +0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2019-07-11 14:51:13 -0300 |
commit | 7f92a041728ad401f3b4a6025f96e493a20b229a (patch) | |
tree | 384cb5f7b17a34dd8800214cc798a3bda9aaa88f | |
parent | 2980eea559337b1be0d6de126022f89266deabab (diff) | |
download | meta-freescale-7f92a041728ad401f3b4a6025f96e493a20b229a.tar.gz |
wic: Fix image generation for i.MX with SPL and U-Boot
Some boards expects a specific binary name.
Example : Pico i.MX7D required the u-boot-dtb.img file (instead of u-boot.img).
Signed-off-by: Joris Offouga <offougajoris@gmail.com>
-rw-r--r-- | wic/imx-uboot-spl-bootpart.wks.in (renamed from wic/imx-uboot-spl-bootpart.wks) | 2 | ||||
-rw-r--r-- | wic/imx-uboot-spl.wks.in (renamed from wic/imx-uboot-spl.wks) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/wic/imx-uboot-spl-bootpart.wks b/wic/imx-uboot-spl-bootpart.wks.in index 4e16ec35..8062c51e 100644 --- a/wic/imx-uboot-spl-bootpart.wks +++ b/wic/imx-uboot-spl-bootpart.wks.in | |||
@@ -13,7 +13,7 @@ | |||
13 | # 0 1kiB 69kiB 4MiB 16MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | 13 | # 0 1kiB 69kiB 4MiB 16MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) |
14 | # | 14 | # |
15 | part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1 | 15 | part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1 |
16 | part u-boot --source rawcopy --sourceparams="file=u-boot.img" --ondisk mmcblk --no-table --align 69 | 16 | part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}" --ondisk mmcblk --no-table --align 69 |
17 | part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 16 | 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 | 18 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 |
19 | 19 | ||
diff --git a/wic/imx-uboot-spl.wks b/wic/imx-uboot-spl.wks.in index e7b3beed..db2f89dd 100644 --- a/wic/imx-uboot-spl.wks +++ b/wic/imx-uboot-spl.wks.in | |||
@@ -13,7 +13,7 @@ | |||
13 | # 0 1kiB 69kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | 13 | # 0 1kiB 69kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) |
14 | # | 14 | # |
15 | part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1 | 15 | part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1 |
16 | part u-boot --source rawcopy --sourceparams="file=u-boot.img" --ondisk mmcblk --no-table --align 69 | 16 | part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}" --ondisk mmcblk --no-table --align 69 |
17 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 | 17 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 |
18 | 18 | ||
19 | bootloader --ptable msdos | 19 | bootloader --ptable msdos |