public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Falcon boot breaks on DRA7 because of commit b9c8ccab "env_mmc.c: Allow environment to be used within SPL"
Date: Tue, 24 Jan 2017 10:17:46 -0500	[thread overview]
Message-ID: <20170124151746.GH22316@bill-the-cat> (raw)
In-Reply-To: <5225f6af-6a83-26d8-31db-1ab4130c389c@ti.com>

On Tue, Jan 24, 2017 at 10:26:38AM +0100, Jean-Jacques Hiblot wrote:

> Hi Tom,
> 
> I'm using a TI DRA7 platform and the falcon boot from MMC is broken
> with v2017. The reason is that the standard "boot_os" is used to
> tell whether the falcon mode should be used or not, but we can't
> access it. The root cause is that the environment is stored in a
> eMMC which is dev 1 not dev 0 on those platforms.
> 
> What is the purpose of commit b9c8ccab. Is it because we want to
> initialize only one MMC device in the SPL to reduce the boot time ?

Please note that b9c8ccaba77b has been in since April 2014, so this is
not some new behavior.  That said, we have CONFIG_SYS_MMC_ENV_DEV set
which is what the commit in question uses to know where the env is.  I
think you need to run a git bisect between v2016.11 (which I assume is
when you last tested this) and v2017.01 to see what commit changed
things.  It's possible something has changed and broken this case
requiring another tweak somewhere or another, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170124/fc751bc1/attachment.sig>

  reply	other threads:[~2017-01-24 15:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-24  9:26 [U-Boot] Falcon boot breaks on DRA7 because of commit b9c8ccab "env_mmc.c: Allow environment to be used within SPL" Jean-Jacques Hiblot
2017-01-24 15:17 ` Tom Rini [this message]
2017-01-24 15:35   ` Jean-Jacques Hiblot
2017-01-24 15:46     ` Tom Rini
2017-01-24 17:04       ` Jean-Jacques Hiblot
2017-01-24 19:11         ` Tom Rini
2017-01-25 10:21           ` Jean-Jacques Hiblot
2017-01-26 23:36             ` Tom Rini
2017-01-30 12:44               ` Jean-Jacques Hiblot
2017-01-30 22:44                 ` 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=20170124151746.GH22316@bill-the-cat \
    --to=trini@konsulko.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