mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: Holger Schurig <holgerschurig@gmail.com>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: Booting barebox on i.MX6 from SDCARD?
Date: Thu, 26 Jun 2014 12:11:30 +0200	[thread overview]
Message-ID: <1403777490.4254.11.camel@weser.hi.pengutronix.de> (raw)
In-Reply-To: <CAOpc7mENrjdk-caJh3QA=S5_hdf21SCt_JNToQkx4p9qBnTPrg@mail.gmail.com>

Am Donnerstag, den 26.06.2014, 12:04 +0200 schrieb Holger Schurig:
> Hi all,
> 
> In the Freescale i.MX6Q Reference manual they say in "8. System Boot"
> near the end of "8.5.3.1 Expansion Device eFUSE configuration" that
> the processor can load from SDCARD, but only up to 32 MB.
> 
> Did any one of you succeeded in booting barebox from SDCARD, maybe
> with a trampoline code?  Or can the PBL do that? AFAIK U-Boot can boot
> from sdcard, at least Boundary Devices have some web pages about this
> (for Nitrogen/SabreLite) on their web page. Anyone already found out
> how U-Boot does it?  I could think about whatever U-Boot uses to load
> the "real" Barebox instead :-)

Um, we started barebox from SD-card on a lot of boards where the boot
mode strapping allows this.

Just dd the resulting *.img to an SD-card (you may skip the first 512
byte to leave your MBR in place). If you got the boot mode selection
right it should just work.

Regards,
Lucas

-- 
Pengutronix e.K.             | Lucas Stach                 |
Industrial Linux Solutions   | http://www.pengutronix.de/  |


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

  reply	other threads:[~2014-06-26 10:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-26 10:04 Holger Schurig
2014-06-26 10:11 ` Lucas Stach [this message]
2014-06-26 19:42   ` Sascha Hauer
2014-06-27  9:07     ` Holger Schurig
2014-06-27 10:33       ` Sascha Hauer
2014-06-27 11:17         ` Holger Schurig

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=1403777490.4254.11.camel@weser.hi.pengutronix.de \
    --to=l.stach@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