From 68cc1c3686da91419ab67b2a8f879af06fb86c0b Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 29 Sep 2017 16:27:02 -0300 Subject: wic: Force the use of 'msdos' partition tables Some old SoC has problems to read GPT partition tables so we use 'msdos' as default here and if some vendor wants to override it, it can still be done in their wks files. Signed-off-by: Otavio Salvador --- wic/imx-barebox.wks | 2 ++ wic/imx-uboot-spl.wks | 2 ++ wic/imx-uboot.wks | 2 ++ 3 files changed, 6 insertions(+) diff --git a/wic/imx-barebox.wks b/wic/imx-barebox.wks index 0672cbb2..596583d3 100644 --- a/wic/imx-barebox.wks +++ b/wic/imx-barebox.wks @@ -15,3 +15,5 @@ part barebox --source rawcopy --sourceparams="file=barebox.bin,skip=512" --ondisk mmcblk --no-table part bareboxenv --source rawcopy --sourceparams="file=bareboxenv.bin" --ondisk mmcblk --no-table --align 512 part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 + +bootloader --ptable msdos diff --git a/wic/imx-uboot-spl.wks b/wic/imx-uboot-spl.wks index d32afc90..e7b3beed 100644 --- a/wic/imx-uboot-spl.wks +++ b/wic/imx-uboot-spl.wks @@ -15,3 +15,5 @@ part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1 part u-boot --source rawcopy --sourceparams="file=u-boot.img" --ondisk mmcblk --no-table --align 69 part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 + +bootloader --ptable msdos diff --git a/wic/imx-uboot.wks b/wic/imx-uboot.wks index d3609771..60870c34 100644 --- a/wic/imx-uboot.wks +++ b/wic/imx-uboot.wks @@ -14,3 +14,5 @@ # part u-boot --source rawcopy --sourceparams="file=u-boot.imx" --ondisk mmcblk --no-table --align 1 part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 + +bootloader --ptable msdos -- cgit v1.2.3-54-g00ecf