diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2018-04-26 13:52:55 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2018-07-03 18:41:08 -0300 |
commit | ecdd93874f434fc200c811392cc83f255f26a4c9 (patch) | |
tree | 492db8c050c6a1dacf6ff68decf2589027c65553 /wic | |
parent | e9820a5de4a32b80649946cdacfec9ffa9e9fe33 (diff) | |
download | meta-freescale-ecdd93874f434fc200c811392cc83f255f26a4c9.tar.gz |
wic: Fix image generation for i.MX MXS SoC family
The image needs to use the U-Boot generated, for the uSD card, so a
dependency on that must be added to ensure the file is available prior
'wic' uses it.
Besides that, the fstype needs to be changed so it sets the partition
mark allowing the bootrom to find it.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'wic')
-rw-r--r-- | wic/imx-uboot-mxs-bootpart.wks.in (renamed from wic/imx-uboot-mxs-bootpart.wks) | 2 | ||||
-rw-r--r-- | wic/imx-uboot-mxs.wks.in (renamed from wic/imx-uboot-mxs.wks) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/wic/imx-uboot-mxs-bootpart.wks b/wic/imx-uboot-mxs-bootpart.wks.in index 0e96ab3a..8b5bdd48 100644 --- a/wic/imx-uboot-mxs-bootpart.wks +++ b/wic/imx-uboot-mxs-bootpart.wks.in | |||
@@ -12,7 +12,7 @@ | |||
12 | # | | | | | 12 | # | | | | |
13 | # 0 1kiB 4MiB 16MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | 13 | # 0 1kiB 4MiB 16MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) |
14 | # | 14 | # |
15 | part u-boot --source rawcopy --sourceparams="file=u-boot.sb" --ondisk mmcblk --no-table --align 1 | 15 | part u-boot --source rawcopy --sourceparams="file=${IMAGE_NAME}.rootfs.uboot-mxsboot-sdcard" --ondisk mmcblk --align 1024 |
16 | part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 16 | 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 | 17 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 |
18 | 18 | ||
diff --git a/wic/imx-uboot-mxs.wks b/wic/imx-uboot-mxs.wks.in index 0f5c51d4..44b6f931 100644 --- a/wic/imx-uboot-mxs.wks +++ b/wic/imx-uboot-mxs.wks.in | |||
@@ -12,7 +12,7 @@ | |||
12 | # | | | | | 12 | # | | | | |
13 | # 0 1kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | 13 | # 0 1kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) |
14 | # | 14 | # |
15 | part u-boot --source rawcopy --sourceparams="file=u-boot.sb" --ondisk mmcblk --no-table --align 1 | 15 | part u-boot --source rawcopy --sourceparams="file=${IMAGE_NAME}.rootfs.uboot-mxsboot-sdcard" --ondisk mmcblk --align 1024 |
16 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 | 16 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 |
17 | 17 | ||
18 | bootloader --ptable msdos | 18 | bootloader --ptable msdos |