aboutsummaryrefslogtreecommitdiffstats
path: root/wic/imx-uboot-spl.wks
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2017-09-29 16:27:02 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2017-09-30 10:28:01 -0300
commit5812ca1e629ea66b9a27a074be9a70f1ef313807 (patch)
treeb8d6a5689a5e0b265eedea292686866576f1a011 /wic/imx-uboot-spl.wks
parent2c6fb6cb7eacea124b027a21755c7e90a3a7c8b4 (diff)
downloadmeta-freescale-5812ca1e629ea66b9a27a074be9a70f1ef313807.tar.gz
meta-freescale-5812ca1e629ea66b9a27a074be9a70f1ef313807.tar.bz2
meta-freescale-5812ca1e629ea66b9a27a074be9a70f1ef313807.zip
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 <otavio@ossystems.com.br>
Diffstat (limited to 'wic/imx-uboot-spl.wks')
-rw-r--r--wic/imx-uboot-spl.wks17
1 files changed, 17 insertions, 0 deletions
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