I am working on am62xx based custom board. I got u-boot source code ported and verified for custom board from other vendor with 08.05.00.00 sdk.
I got a board with a rootfs on EMMC flash with single partition.
I need to create a partition schema to support RFS Upgrade, which contains for partitions (boot, rootfs1,rootfs2,Upgrade).
I did a USB DFU boot and fallowing below steps to create two partitions (i.e Boot, Rootfs).
software-dl.ti.com/.../UG-Memory.html
=> setenv uuid_gpt_disk 714a8708-1c94-4c89-97a7-b2f2ad5256e1
=> setenv uuid_gpt_rootfs 10b6fe01-dfcd-4efd-baad-ea9a256d4dc5
=> gpt write mmc 0 ${partitions}
Writing GPT: success!
mmc part command not showing the newly created partions but showing old partition.
=> mmc part
Partition Map for MMC device 0 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00000022 0x01d59fde "rootfs"
attrs: 0x0000000000000000
type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
guid: 10b6fe01-dfcd-4efd-baad-ea9a256d4dc5
=>
if i do mmc erase and created partitions again still showing old partition.
Need help in creating emmc partitions from u-boot.
How to update/expand dfu_alt_info_emmc env variable to update emmc using dfu tool from host.