mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Holger Schurig <holgerschurig@gmail.com>
Cc: Barebox List <barebox@lists.infradead.org>
Subject: Re: [PATCH] ARM: i.MX: xload: implement esdhc xload for i.MX6
Date: Thu, 30 Jul 2015 11:59:05 +0200	[thread overview]
Message-ID: <20150730095905.GM18700@pengutronix.de> (raw)
In-Reply-To: <CAOpc7mFskW0iFB9V5Xyjxcr-N9Lx_FFyS5HjxXVpfPUA97b9QA@mail.gmail.com>

Hi Holger,

On Thu, Jul 30, 2015 at 11:31:38AM +0200, Holger Schurig wrote:
> 2015-07-29 9:47 GMT+02:00 Sascha Hauer <s.hauer@pengutronix.de>:
> > + * imx6_esdhc_start_image - Load and start an image from USDHC controller
> > + * @instance: The USDHC controller instance (0..4)
> > + *
> > + * This uses imx6_esdhc_load_image() to load an image from SPI NOR flash.
> 
> Hmm, either it's from USDHC or from SPI-NOR :-)

Right, will fix.

> 
> 
> Question: does this load an image from an eMMC boot partition (e.g.
> the tiny ones that some of them have?)

Hm, I don't know. The partition must actively be switched. I know that
the i.MX6 boot ROM actually loads the image from the boot partition
configured in the eMMC. imx6_esdhc_load_image() relies on the
initialization done by the boot ROM, so if the boot ROM just leaves
the eMMC in the state it is before jumping to barebox then barebox
should automatically load the image from the correct place. I haven't
tested it though.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2015-07-30  9:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-29  7:47 Sascha Hauer
2015-07-30  9:31 ` Holger Schurig
2015-07-30  9:59   ` Sascha Hauer [this message]

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=20150730095905.GM18700@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=holgerschurig@gmail.com \
    /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