Hi TI
There's a question that Customer wants to clarify.
They want to configure eMMC partitions with Boot0 and Root filesystem (ext4) partitions separately.
We followed 3.1.1.5.1 below.
3.1.1.5.1. Partitioning eMMC from U-Boot
The eMMC device typically ships without any partition table. We make use of the GPT support in U-Boot to write a GPT partition table to eMMC. In this case we need to use the uuidgen program on the host to create the UUIDs used for the disk and each partition.
$ uuidgen
...first uuid...
$ uuidgen
...second uuid...
U-Boot # printenv partitions
uuid_disk=${uuid_gpt_disk};name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}
U-Boot # setenv uuid_gpt_disk ...first uuid...
U-Boot # setenv uuid_gpt_rootfs ...second uuid...
U-Boot # gpt write mmc <device num> ${partitions} /* <device num> is device index obtained from mmc list for eMMC */
A reset is required for the partition table to be visible.
But printenv partitions command shows different result as below.
=> mmc list
sdhci@4f80000: 0 (eMMC)
sdhci@4fb0000: 1
=> mmc part
Partition Map for MMC device 0 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00000022 0x01da3fde "rootfs"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 7edfc63f-c353-4544-ac70-a7721979fd09
=> printenv partitions
partitions=name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs}
Could you please let us know how to make separate partitions like SD card?
Should I follow the below link for the separate partitions with Boot0 and Ext4 Root filesyste ?