public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Richard Retanubun <richardretanubun@ruggedcom.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] dra7xx: booting from eMMC raw boot partition
Date: Wed, 20 Nov 2013 17:27:50 -0500	[thread overview]
Message-ID: <528D3766.5010007@ruggedcom.com> (raw)

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.
-- 
-- Richard Retanubun

             reply	other threads:[~2013-11-20 22:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-20 22:27 Richard Retanubun [this message]
2013-11-20 22:39 ` [U-Boot] dra7xx: booting from eMMC raw boot partition Shankar Rao
2013-11-21  5:39 ` Michael Pratt
2013-11-21 14:02   ` Richard Retanubun
2013-11-21 16:42 ` Rao, Shankar
2013-11-21 16:49 ` Tom Rini
2013-11-21 17:57   ` Richard Retanubun
2013-11-21 18:09     ` Tom Rini
2013-11-21 18:20       ` Richard Retanubun
2013-11-21 19:02         ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=528D3766.5010007@ruggedcom.com \
    --to=richardretanubun@ruggedcom.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox