This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: eMMC boot

Part Number: AM5728

Tool/software: Linux

Hi,

I am trying to boot from eMMC. Here is what I did.

1, boot from SD, use fdisk to reformat emmc (mmcblk1) (found that it was formatted already, but don't know why there were in total 3 partitions, mmcblk1p1 is bootable format FAT32,70m, mmcblk1p2 is Linux, 1G, mmcblk1p3 is linux,2.4G). I combined mmcblk1p2 and mmcblk1p3 so that it is big enough to hold fs (2.6G copied from sd card image). I formated mmcblk1p2 to ext3

2, Mount mmcblk1p1 and 1p2, copy "boot" from sd card to 1p1, copy rootfs from sd to 1p2

3, (with the sd inserted), reboot to uboot.

4a, setenv mmcroot /dev/mmcblk1p2 (I have tried 1p1 and 1p2)

4b, mmc dev 0/1 (I have tried both)

4c, saveenv

5, shutdown and remove sd card

6, turn on, nothing happens, power shutdown by itself after a few seconds.

Did I do something wrong here?

Thank you.

Peter