public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] dra7xx: booting from eMMC raw boot partition
Date: Thu, 21 Nov 2013 11:49:29 -0500	[thread overview]
Message-ID: <20131121164929.GO420@bill-the-cat> (raw)
In-Reply-To: <528D3766.5010007@ruggedcom.com>

On Wed, Nov 20, 2013 at 05:27:50PM -0500, 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).

Did you change the SYSBOOT pins to use automotive peripheral mode,
rather than user data?  If you did, you should see an error from MLO
saying that you came in from an unsupported boot device (since we don't
have the value of what ROM tells us for when we come in that way defined
in arch/arm/include/asm/arch-omap5/spl.h).  Or there is some other
problem.  Also note that U-Boot defaults to using these "boot"
partitions for storing the environment so you will need to change that
part of the config once you use these partitions for something else.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131121/fcdcb517/attachment.pgp>

  parent reply	other threads:[~2013-11-21 16:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-20 22:27 [U-Boot] dra7xx: booting from eMMC raw boot partition Richard Retanubun
2013-11-20 22:39 ` 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 [this message]
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=20131121164929.GO420@bill-the-cat \
    --to=trini@ti.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