diff options
Diffstat (limited to 'wic')
-rw-r--r-- | wic/imx-imx-boot-bootpart.wks | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/wic/imx-imx-boot-bootpart.wks b/wic/imx-imx-boot-bootpart.wks new file mode 100644 index 00000000..11b90492 --- /dev/null +++ b/wic/imx-imx-boot-bootpart.wks | |||
@@ -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 33kiB 4MiB 16MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | ||
14 | # | ||
15 | part u-boot --source rawcopy --sourceparams="file=imx-boot" --ondisk mmcblk --no-table --align 33 | ||
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 | ||
20 | |||