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.
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
Hello Jason,
Unfortunately booting from eMMC boot partition (boot0/boot1) is not supported by AM335x ROM.
One option is formatting eMMC UDA as FAT (MLO/u-boot...) + EXT4 (kernel+ root_fs...).
I'm closing the e2e as it looks the same as the following one.
e2e.ti.com/.../am3358-am3358-emmc-boot-failed
Best,
-Hong