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.

PROCESSOR-SDK-AM335X: AM335x flash U-boot to eMMC boot partition 0

Part Number: PROCESSOR-SDK-AM335X

Hi TI experts,

customer want to boot custom AM335x board from eMMC flash with 4bit mode.

Now, they flash eMMC with below way

1)boot custom board with on-board NAND flash

2)echo 0 > /sys/block/mmcblk0boot0/force_ro  enable write access to the emmc boot0 partition

3)dd if=MLO of=/dev/mmcblk0boot0 seek=0

4)dd if=u-boot.img of=/dev/mmcblk0boot0 seek=768

5)Reboot board and pause U-boot

6)change u-boot environment variable 

mmc bootbus 0 1 0 0 
mmc partconf 0 1 1 1
7)set board to eMMC boot mode and power again.

Could you pls check whether the operation process correct, or is there a better way to write U-boot into the boot0 partition of eMMC?
The below shows that AM335x don't support boot from boot partition?
Linux/PROCESSOR-SDK-AM335X: Boot from eMMC boot partition
So it's means that need to create boot partition on UDA area and u-boot partition format as FAT32, set the boot flag?


Thanks so much for your reply

Best regards,
Jason