Hi,
I'm trying to boot AM437x EVM from the eMMC. I have successfully added pinmux in u-boot and linux for eMMC and disabled NAND. Now I can partition eMMC from linux and load data to it.
So to boot from eMMC, I did the following things:
- Partition the eMMC exactly as the SDcard by looking at the create_sdcard.sh script. I confirmed that partitions on both the devices are the same.
- Copied MLO, u-boot to the boot partition. (Not bothering with linux image yet)
- Changed sys-boot[4:0] to 00001b so that MMC1 is in the boot sequence.
- Pulled the plug out and plugged it in again.
The above steps didn't boot-up for me. I referred to a couple of debrick.sh scripts and the SDCard -> eMMC programming procedure for am335x based boards before I concluded on the above steps.
My question is - Am I missing something in the above steps? Does the u-boot need to be built differently to support eMMC boot of the SPL/u-boot (not linux yet)? Can you please help me with the changes?
Kindly help.
Thanks,
Manan