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 13:09:10 -0500 [thread overview]
Message-ID: <20131121180910.GP420@bill-the-cat> (raw)
In-Reply-To: <528E4976.9040702@ruggedcom.com>
On Thu, Nov 21, 2013 at 12:57:10PM -0500, Richard Retanubun wrote:
> On 21/11/13 11:49 AM, Tom Rini wrote:
> >On Wed, Nov 20, 2013 at 05:27:50PM -0500, Richard Retanubun wrote:
> >>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.
> I did try both SYSBOOT for automotive peripheral mode..
> I wished it did say something (even if it is an error message).
> My problem is that it does not display anything at all.
> So, I think I fall under the "some other problem" category. :)
>
> >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.
> >
> Thank you for the heads up. I'll watch out for this when I get to this phase.
>
> Tom, since you're both the u-boot-arm maintainer and happens to work for TI,
> do you know the e.t.a of mainlining the /drivers/mmc/spl_mmc.c and the related
> code needed to boot from eMMC in raw mode into denx-master?
>
> I rather stick with denx-master mainline if at all possible,
> but right now the functionality only exist in p-ti-u-boot-2013.04, right?
I've done RAW mode booting on my omap5_uevm as well as am335x-based
platforms, on SD card and eMMC. But in the case of eMMC it's always the
user partitions. I suspect the answer is that for automotive booting
you need silicon that supports that, much like the difference between HS
and GP devices. I'm not sure what code in p-ti-u-boot-2013.04 hasn't
been merged to mainline but if you can give me some pointers I can go
and poke some folks.
--
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/6733ae9b/attachment.pgp>
next prev parent reply other threads:[~2013-11-21 18:09 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
2013-11-21 17:57 ` Richard Retanubun
2013-11-21 18:09 ` Tom Rini [this message]
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=20131121180910.GP420@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