From 5812ca1e629ea66b9a27a074be9a70f1ef313807 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 29 Sep 2017 16:27:02 -0300 Subject: wic: Move all wks files to root layer directory The wic looks for wks files in many places. The root layer directory is one of those and makes much easier to find the wks files for reference and use. Signed-off-by: Otavio Salvador --- wic/imx-uboot-spl.wks | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 wic/imx-uboot-spl.wks (limited to 'wic/imx-uboot-spl.wks') diff --git a/wic/imx-uboot-spl.wks b/wic/imx-uboot-spl.wks new file mode 100644 index 00000000..d32afc90 --- /dev/null +++ b/wic/imx-uboot-spl.wks @@ -0,0 +1,17 @@ +# short-description: Create SD card image with a boot partition +# long-description: +# Create an image that can be written onto a SD card using dd for use +# with i.MX SoC family. +# It uses SPL and u-boot +# +# The disk layout used is: +# - ----- --------- -------------- +# | | SPL | u-boot | rootfs | +# - ----- --------- -------------- +# ^ ^ ^ ^ ^ +# | | | | | +# 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 / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 -- cgit v1.2.3-54-g00ecf