Hi,
We are testing custom board based on AM62A7 SOC.
We are testing booting from emmc using raw mode and using below commands u-boot is successfully loaded properly from emmc userarea.
fatload mmc 1 ${loadaddr} tiboot3-am62ax-gp-evm.bin
mmc write ${loadaddr} 0x0 0x400
fatload mmc 1 ${loadaddr} tispl.bin
mmc write ${loadaddr} 0x400 0x1000
fatload mmc 1 ${loadaddr} u-boot.img
mmc write ${loadaddr} 0x1400 0x2000
mmc partconf 0 1 7 1
we are creating partition table as below in Uboot.
editenv partitions
uuid_disk=${uuid_gpt_disk};name=rootfs,start=20MiB,size=-,uuid=${uuid_gpt_rootfs}
setenv uuid_gpt_disk 91f4e9e3-9048-486a-8897-b827290e5a83
setenv uuid_gpt_rootfs 05978e1d-ba93-4e03-9e82-faab932bdfcd
gpt write mmc 0 ${partitions}
But the partition table in emmc is getting erased after flashing the tiboot3.bin to offset 0.
How to flash all binaries to emmc userarea without erasing the partition table in emmc?