aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2017-09-29 16:27:02 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2017-09-30 10:28:02 -0300
commit68cc1c3686da91419ab67b2a8f879af06fb86c0b (patch)
tree279ec2eaeb4dda317e521668235ff0e673e0c619
parent5812ca1e629ea66b9a27a074be9a70f1ef313807 (diff)
downloadmeta-freescale-68cc1c3686da91419ab67b2a8f879af06fb86c0b.tar.gz
meta-freescale-68cc1c3686da91419ab67b2a8f879af06fb86c0b.tar.bz2
meta-freescale-68cc1c3686da91419ab67b2a8f879af06fb86c0b.zip
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 <otavio@ossystems.com.br>
-rw-r--r--wic/imx-barebox.wks2
-rw-r--r--wic/imx-uboot-spl.wks2
-rw-r--r--wic/imx-uboot.wks2
3 files changed, 6 insertions, 0 deletions
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