diff options
author | Fabio Berton <fabio.berton@ossystems.com.br> | 2016-10-19 15:03:34 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-10-19 17:49:58 -0200 |
commit | 9c77a0bdf4a0b6fc3ee0c547ebcbf82f10178942 (patch) | |
tree | 3f82d7fb286169ddd122434df24f1c6681b2c56d /scripts/lib/wic | |
parent | 17c06b4676b01ea93d0afc378b6ba7e6efe997ba (diff) | |
download | meta-freescale-9c77a0bdf4a0b6fc3ee0c547ebcbf82f10178942.tar.gz |
wic: Change wks files path
WKS_SEARCH_PATH searches inside scripts/lib/wic/canned-wks, rename
scripts/lib/image/canned-wks/ to scripts/lib/wic/canned-wks/.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'scripts/lib/wic')
-rw-r--r-- | scripts/lib/wic/canned-wks/imx-barebox.wks | 17 | ||||
-rw-r--r-- | scripts/lib/wic/canned-wks/imx-uboot-spl.wks | 17 | ||||
-rw-r--r-- | scripts/lib/wic/canned-wks/imx-uboot.wks | 16 |
3 files changed, 50 insertions, 0 deletions
diff --git a/scripts/lib/wic/canned-wks/imx-barebox.wks b/scripts/lib/wic/canned-wks/imx-barebox.wks new file mode 100644 index 00000000..0672cbb2 --- /dev/null +++ b/scripts/lib/wic/canned-wks/imx-barebox.wks | |||
@@ -0,0 +1,17 @@ | |||
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 | # | ||
15 | part barebox --source rawcopy --sourceparams="file=barebox.bin,skip=512" --ondisk mmcblk --no-table | ||
16 | part bareboxenv --source rawcopy --sourceparams="file=bareboxenv.bin" --ondisk mmcblk --no-table --align 512 | ||
17 | part / --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 new file mode 100644 index 00000000..dfe50773 --- /dev/null +++ b/scripts/lib/wic/canned-wks/imx-uboot-spl.wks | |||
@@ -0,0 +1,17 @@ | |||
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 | # | ||
15 | part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1 | ||
16 | part u-boot --source rawcopy --sourceparams="file=u-boot.imx" --ondisk mmcblk --no-table --align 69 | ||
17 | part / --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 new file mode 100644 index 00000000..d3609771 --- /dev/null +++ b/scripts/lib/wic/canned-wks/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 | # | ||
15 | part u-boot --source rawcopy --sourceparams="file=u-boot.imx" --ondisk mmcblk --no-table --align 1 | ||
16 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 | ||