mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-07-19 12:59:04 +02:00
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>
This commit is contained in:
parent
47a17a05b2
commit
6c34107a9a
|
@ -10,11 +10,11 @@
|
|||
# - ---------- -------------- --------------
|
||||
# ^ ^ ^ ^ ^
|
||||
# | | | | |
|
||||
# 0 | 4MiB 68MiB 68MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB)
|
||||
# 0 | 8MiB 72MiB 72MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB)
|
||||
# ${IMX_BOOT_SEEK} 32 or 33kiB, see reference manual
|
||||
#
|
||||
part u-boot --source rawcopy --sourceparams="file=imx-boot" --ondisk mmcblk --no-table --align ${IMX_BOOT_SEEK}
|
||||
part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 64
|
||||
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096
|
||||
part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 8192 --size 64
|
||||
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 8192
|
||||
|
||||
bootloader --ptable msdos
|
||||
|
|
Loading…
Reference in New Issue
Block a user