diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2018-09-28 17:02:54 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2018-10-01 09:20:35 +0000 |
commit | 1d7a1b9784aabb69babecf2a47a809cad6c9bb28 (patch) | |
tree | 921ed2344957ce49208e2b0cdcc57c8a670cc756 /meta-fsl-extras/wic | |
parent | 0d7ea04f33c2914a094c38d4810b1d1382d621d8 (diff) | |
download | meta-boot2qt-1d7a1b9784aabb69babecf2a47a809cad6c9bb28.tar.gz |
imx8: adapt to sumo
Use WIC to create the image.
Change-Id: I0413f60f96f2f4d3300dc84fdd2baabcc9bb120d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Diffstat (limited to 'meta-fsl-extras/wic')
-rw-r--r-- | meta-fsl-extras/wic/imx8-uboot-bootpart.wks | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-fsl-extras/wic/imx8-uboot-bootpart.wks b/meta-fsl-extras/wic/imx8-uboot-bootpart.wks new file mode 100644 index 0000000..33de776 --- /dev/null +++ b/meta-fsl-extras/wic/imx8-uboot-bootpart.wks | |||
@@ -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 33kiB 4MiB 32MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | ||
14 | # | ||
15 | part u-boot --source rawcopy --sourceparams="file=imx-boot-sd.bin" --ondisk mmcblk --no-table --align 33 | ||
16 | part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 32 | ||
17 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 | ||
18 | |||
19 | bootloader --ptable msdos | ||