aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoris Offouga <offougajoris@gmail.com>2019-07-11 07:43:07 +0200
committerOtavio Salvador <otavio@ossystems.com.br>2019-07-11 14:51:13 -0300
commit7f92a041728ad401f3b4a6025f96e493a20b229a (patch)
tree384cb5f7b17a34dd8800214cc798a3bda9aaa88f
parent2980eea559337b1be0d6de126022f89266deabab (diff)
downloadmeta-freescale-warrior.tar.gz
meta-freescale-warrior.tar.bz2
meta-freescale-warrior.zip
wic: Fix image generation for i.MX with SPL and U-Bootwarrior
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 @@
# 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=u-boot.img" --ondisk mmcblk --no-table --align 69
+part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}" --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
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 @@
# 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=u-boot.img" --ondisk mmcblk --no-table --align 69
+part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}" --ondisk mmcblk --no-table --align 69
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096
bootloader --ptable msdos