diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2016-10-18 17:24:14 -0200 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-10-19 17:49:58 -0200 |
| commit | 17c06b4676b01ea93d0afc378b6ba7e6efe997ba (patch) | |
| tree | 24cdb355d264e95858e91b01a13267f2610c2646 /scripts/lib/image/canned-wks/imx-uboot-spl.wks | |
| parent | 6d2d1a15fc5b194cf63d03349692b21efef72780 (diff) | |
| download | meta-freescale-17c06b4676b01ea93d0afc378b6ba7e6efe997ba.tar.gz | |
wic: Change reference wks files to avoid /boot partition use
For the sake of user-friendness we will avoid the use of /boot
partition.
The use of wic images, using this layout, is simpler as it does not
require manual setting of IMAGE_BOOT_FILES and thus allow for generic
use across different machines.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'scripts/lib/image/canned-wks/imx-uboot-spl.wks')
| -rw-r--r-- | scripts/lib/image/canned-wks/imx-uboot-spl.wks | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/scripts/lib/image/canned-wks/imx-uboot-spl.wks b/scripts/lib/image/canned-wks/imx-uboot-spl.wks index e2bdc1452..dfe507738 100644 --- a/scripts/lib/image/canned-wks/imx-uboot-spl.wks +++ b/scripts/lib/image/canned-wks/imx-uboot-spl.wks | |||
| @@ -5,14 +5,13 @@ | |||
| 5 | # It uses SPL and u-boot | 5 | # It uses SPL and u-boot |
| 6 | # | 6 | # |
| 7 | # The disk layout used is: | 7 | # The disk layout used is: |
| 8 | # - ----- --------- --------- -------------- | 8 | # - ----- --------- -------------- |
| 9 | # | | SPL | u-boot | /boot | rootfs | | 9 | # | | SPL | u-boot | rootfs | |
| 10 | # - ----- --------- --------- -------------- | 10 | # - ----- --------- -------------- |
| 11 | # ^ ^ ^ ^ ^ ^ | 11 | # ^ ^ ^ ^ ^ |
| 12 | # | | | | | | | 12 | # | | | | | |
| 13 | # 0 1kiB 69kiB 4MiB 4MiB + 8MiB 4MiB + 8Mib + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | 13 | # 0 1kiB 69kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) |
| 14 | # | 14 | # |
| 15 | part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1 | 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 | 16 | part u-boot --source rawcopy --sourceparams="file=u-boot.imx" --ondisk mmcblk --no-table --align 69 |
| 17 | part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 8M --extra-space 0 | ||
| 18 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 | 17 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 |
