[parted-devel] Create GPT based partition table using parted on I.MX6 SoC

Brian C. Lane bcl at redhat.com
Tue Oct 6 00:20:38 BST 2020


On Mon, Oct 05, 2020 at 10:31:04PM +0530, Riz wrote:
> Hi Team,
> 
> I would like to create a GPT based partition for my I.MX6 device.
> The I.MX SoC family loads its bootcode from a specific fixed location -
> 0x400, which conflicts with the default GPT behavior.
> 
> Is there an option or patch available that helps creating GPT based
> partition tables on I.MX based SoC using parted?

What is the block size? The only way I could see something like this
working is if the block size was 2k or larger. Then LBA0 with the PMBR
would take up the first 512 bytes of the block, and it would have
0x400-0x7FF to use for its bootcode before the GPT header starts at LBA
1 (0x800 in the case of a 2k block device).

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart




More information about the parted-devel mailing list