summaryrefslogtreecommitdiffstats
path: root/files/wic
diff options
context:
space:
mode:
authorJun Zhu <junzhu@nxp.com>2026-07-22 11:46:57 +0800
committerJun Zhu <junzhu@nxp.com>2026-07-22 11:46:39 +0800
commitcaff32484b25b18d12a6f61b33482d819e459657 (patch)
tree2b3981eda11b7903982969e4e3b8d918e563458d /files/wic
parentd3a0fa106f30e4f4fcfe9b5941168a9767369737 (diff)
downloadmeta-freescale-caff32484b25b18d12a6f61b33482d819e459657.tar.gz
imx-imx-boot-bootpart.wks.in: Use variable to choose ptable type
In NXP i.MX BSP, i.MX 8 & 9 is preferred to use gpt ptable: - Boot ROM Compatibility: i.MX 8/9 Boot ROM can work with both MBR and GPT - U-Boot Configuration: NXP U-Boot has configured to recognize GPT (CONFIG_EFI_PARTITION=y) - Partition Alignment: GPT first usable LBA in GPT is in sector 34 (17KB), and i.MX 8&9 has IMX_BOOT_SEEK offset (32-33KB), so no conflict - Advantages of GPT - Support for >2TB storage (not typically relevant for SD cards) - More robust with CRC32 checksums and backup partition table - Up to 128 partitions vs 4 primary partitions in MBR - Better partition naming and GUID identification Signed-off-by: Jun Zhu <junzhu@nxp.com>
Diffstat (limited to 'files/wic')
-rw-r--r--files/wic/imx-imx-boot-bootpart.wks.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/wic/imx-imx-boot-bootpart.wks.in b/files/wic/imx-imx-boot-bootpart.wks.in
index 46a2a0a68..02a7c95c3 100644
--- a/files/wic/imx-imx-boot-bootpart.wks.in
+++ b/files/wic/imx-imx-boot-bootpart.wks.in
@@ -17,4 +17,4 @@ part u-boot --source rawcopy --sourceparams="file=imx-boot.tagged" --ondisk mmcb
17part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 8192 --fixed-size 256 17part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 8192 --fixed-size 256
18part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 8192 18part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 8192
19 19
20bootloader --ptable msdos 20bootloader --ptable ${IMX_BOOTLOADER_PTABLE}