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 <[email protected]>
---

 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
-- 
2.14.1

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to