summaryrefslogtreecommitdiffstats
path: root/wic/imx-uboot.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.wks
parent2c6fb6cb7eacea124b027a21755c7e90a3a7c8b4 (diff)
downloadmeta-freescale-5812ca1e629ea66b9a27a074be9a70f1ef313807.tar.gz
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.wks')
-rw-r--r--wic/imx-uboot.wks16
1 files changed, 16 insertions, 0 deletions
diff --git a/wic/imx-uboot.wks b/wic/imx-uboot.wks
new file mode 100644
index 00000000..d3609771
--- /dev/null
+++ b/wic/imx-uboot.wks
@@ -0,0 +1,16 @@
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 | rootfs |
10# - --------- --------------
11# ^ ^ ^ ^
12# | | | |
13# 0 1kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB)
14#
15part u-boot --source rawcopy --sourceparams="file=u-boot.imx" --ondisk mmcblk --no-table --align 1
16part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096