[U-Boot] dra7xx: booting from eMMC raw boot partition

Shankar Rao
2013-11-20T22:39:43Z

On 11/20/2013 04:27 PM, Richard Retanubun wrote:
> Hi Shankar and Michael,
>
> I am using the ti dra7xx_evm platform, which comes with a Micron
> MTFC4GVMEA-4M IT device that has two 16MB boot partitions.
> I want to load the MLO and uboot into the eMMC's boot partition and boot
> from it in eMMC automotive peripheral mode.
>
> I am able to write the MLO into the beginning of /dev/mmcblk1boot0 or
> /dev/mmcblk1boot1 or /dev/mmcblk1 (using dd)
> I then used mmc-utils to make sure that CONFIG_PARTITION in the eMMC's
> extcsd is set to allow booting from boot1 (with ACK).
>
> However, the CPU does not print anything back on the console...
>
> The only way I can get raw eMMC boot mode to work is if I put the MLO on
> /dev/mmcblk1 (which is the user data area).
>
> by working, I mean that it prints something like this:
>
> U-Boot SPL 2013.04-09402-gc831bca (Nov 19 2013 - 22:05:38)
> DRA752 ES1.0
> OMAP SD/MMC: 1
> ...
>
> I have tried the MLO built from both sources from both uboot master from
> denx and p-ti-u-boot-2013.04 from omapzoom.
>
> I think the SYSBOOT[5:0] settings are correct because it is able to boot
> the MLO from the eMMC's user data area.
>
> Does the MLO for raw boot mode needs to be different that the MLO for
> raw user data area?
> Is there an errata limitation with the dra7xx for booting MLO from eMMC
> boot partition?
>
> Am I missing something obvious?
>
> Thank you for everyone's time.
Hi Richard,
Are you trying to boot Android kernel or Linux kernel? Building u-boot
with android config will give you access to fastboot which can help you
partition the eMMC and boot out of it.

Regards
Shankar