[meta-freescale] [PATCH 2/8] wic: Force the use of 'msdos' partition tables

Otavio Salvador otavio at ossystems.com.br
Fri Sep 29 12:27:48 PDT 2017


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 <otavio at ossystems.com.br>
---

 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



More information about the meta-freescale mailing list