summaryrefslogtreecommitdiffstats
path: root/scripts
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 /scripts
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 'scripts')
-rw-r--r--scripts/lib/wic/canned-wks/imx-barebox.wks17
-rw-r--r--scripts/lib/wic/canned-wks/imx-uboot-spl.wks17
-rw-r--r--scripts/lib/wic/canned-wks/imx-uboot.wks16
3 files changed, 0 insertions, 50 deletions
diff --git a/scripts/lib/wic/canned-wks/imx-barebox.wks b/scripts/lib/wic/canned-wks/imx-barebox.wks
deleted file mode 100644
index 0672cbb2..00000000
--- a/scripts/lib/wic/canned-wks/imx-barebox.wks
+++ /dev/null
@@ -1,17 +0,0 @@
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 barebox
6#
7# The disk layout used is:
8# - --------- ------------ --------------
9# | | barebox | bareboxenv | rootfs |
10# - --------- ------------ --------------
11# ^ ^ ^ ^ ^
12# | | | | |
13# 0 512B 512kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB)
14#
15part barebox --source rawcopy --sourceparams="file=barebox.bin,skip=512" --ondisk mmcblk --no-table
16part bareboxenv --source rawcopy --sourceparams="file=bareboxenv.bin" --ondisk mmcblk --no-table --align 512
17part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096
diff --git a/scripts/lib/wic/canned-wks/imx-uboot-spl.wks b/scripts/lib/wic/canned-wks/imx-uboot-spl.wks
deleted file mode 100644
index d32afc90..00000000
--- a/scripts/lib/wic/canned-wks/imx-uboot-spl.wks
+++ /dev/null
@@ -1,17 +0,0 @@
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 SPL and u-boot
6#
7# The disk layout used is:
8# - ----- --------- --------------
9# | | SPL | u-boot | rootfs |
10# - ----- --------- --------------
11# ^ ^ ^ ^ ^
12# | | | | |
13# 0 1kiB 69kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB)
14#
15part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1
16part u-boot --source rawcopy --sourceparams="file=u-boot.img" --ondisk mmcblk --no-table --align 69
17part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096
diff --git a/scripts/lib/wic/canned-wks/imx-uboot.wks b/scripts/lib/wic/canned-wks/imx-uboot.wks
deleted file mode 100644
index d3609771..00000000
--- a/scripts/lib/wic/canned-wks/imx-uboot.wks
+++ /dev/null
@@ -1,16 +0,0 @@
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