Hi,
I am trying to create a GPT based partition table using WIC for my imx6qsabresd board.
In the meta-freescale layer, I could see that all the partition specifications in .wks file are for the --ptable msdos and not GPT.
Example wks file from meta-freescale, (imx-uboot.wks)
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
And when specifying the ptable as GPT in WKS as "bootloader --ptable gpt", the board never boots.
After some analysis, I came to know that the imx6 boards have a condition that the bootloader should always boot from 1k address, and obviously since the GPT partition table/header is bigger than that it doesn't boot.
So, Is there any way we can create a GPT based partition scheme within WKS for imx6?
I think we may need to split the protective MBR, GPT primary header and array in order to fit the bootloader at 1k. An example or reference for this would help...
Thank you.
@gusarambula