Tool/software: Linux
Hi,
We have developed a custom board with AM5718 processor and we are having a on board eMMC. Presently I am booting the device from SD card, I want to store the images in onboard eMMC and want to boot from eMMC. Since it is a custom board, I have to partition this eMMC memory, for that I am trying to do it from u-boot, but it is not working:
U-Boot# mmc list
OMAP SD/MMC: 0 (SD)
OMAP SD/MMC: 1
U-Boot# mmc dev 0
mmc_init: 0, time 65
switch to partitions #0, OK
mmc0 is current device
U-Boot# mmc dev 1
mmc_init: 0, time 298
switch to partitions #0, OK
mmc1(part 0) is current device
U-Boot# mmc part
## Unknown partition table
I tried to partition eMMC using the commands listed in the below link:
http://processors.wiki.ti.com/index.php/Linux_Core_U-Boot_User's_Guide#Partitioning_eMMC_from_U-Boot
U-Boot# uuidgen
Unknown command 'uuidgen' - try 'help'
U-Boot# gpt write mmc 1 ${partitions}
Writing GPT: set_gpt_info: lba num: 0x734000 7553024
${uuid_gpt_disk} unset.
${uuid_gpt_rootfs} unset.
error!
Please suggest how to do eMMC partition
Best Regards,
Ganesh