summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2020-02-11 19:03:18 -0600
committerOtavio Salvador <otavio@ossystems.com.br>2020-02-12 12:15:12 -0300
commite9d075e2e1084538a8f7e233f7982507213540e7 (patch)
tree99d5ce8d3a361f0a556eecf298fe71c3494a8375
parent53794681783466e3dd53fb420a65ecd4eff3625b (diff)
downloadmeta-freescale-e9d075e2e1084538a8f7e233f7982507213540e7.tar.gz
imx-imx-boot-bootpart.wks.in: Fix overlap of imx-boot and boot partitions
The u-boot env offset in the imx-boot partition is 4MiB, so set the boot partition alignment to 8MiB to fix the overlap. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
-rw-r--r--wic/imx-imx-boot-bootpart.wks.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/wic/imx-imx-boot-bootpart.wks.in b/wic/imx-imx-boot-bootpart.wks.in
index 9c69b1b6..b50364d1 100644
--- a/wic/imx-imx-boot-bootpart.wks.in
+++ b/wic/imx-imx-boot-bootpart.wks.in
@@ -10,11 +10,11 @@
10# - ---------- -------------- -------------- 10# - ---------- -------------- --------------
11# ^ ^ ^ ^ ^ 11# ^ ^ ^ ^ ^
12# | | | | | 12# | | | | |
13# 0 | 4MiB 68MiB 68MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) 13# 0 | 8MiB 72MiB 72MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB)
14# ${IMX_BOOT_SEEK} 32 or 33kiB, see reference manual 14# ${IMX_BOOT_SEEK} 32 or 33kiB, see reference manual
15# 15#
16part u-boot --source rawcopy --sourceparams="file=imx-boot" --ondisk mmcblk --no-table --align ${IMX_BOOT_SEEK} 16part u-boot --source rawcopy --sourceparams="file=imx-boot" --ondisk mmcblk --no-table --align ${IMX_BOOT_SEEK}
17part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 64 17part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 8192 --size 64
18part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 18part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 8192
19 19
20bootloader --ptable msdos 20bootloader --ptable msdos