mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* i.MX6Q Boot from NAND
@ 2014-02-26 20:49 Michael D. Burkey
  2014-02-27  7:38 ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: Michael D. Burkey @ 2014-02-26 20:49 UTC (permalink / raw)
  To: barebox

>Hi ANdreas,
>
>On Wed, Feb 26, 2014 at 07:30:59AM +0100, andreas.willig at rafi.de wrote:
>> Hi,
>>
>> has anyone in the community successfully managed to get Barebox
>> running out of NAND on i.MX6Q/DL? I cannot find any support for BCB /
>> FCB in the BB sources and am hitting problems while migrating from
>> i.mx28 (MXS?) sources of BCB. U-Boot seems to run from NAND on i.MX6Q
>> but is not an option for our project.
>
>So far I used kobs-ng for doing this, I didn't have luck with migrating
>the i.MX28 BCB code so far. Somebody asked the same question a while
>ago, but I can't remember who it was. He didn't report success so far
>either.
>
>Sascha

Andreas,

The person Sascha remembers asking about this was probably me.

I've started working on porting the bcb generation code from kobs-ng
over to barebox but haven't gotten it working either (and haven't had
time to work on it in several weeks).

That said, barebox itself works and boots fine from NAND as long as
you use kobs-ng to put it there. The other partitions can be written
to without issue from barebox directly (i.e. kernel, environment,
root, etc).

What I do:
Boot all the way to Linux command line on the target, making sure that
my barebox-*.img file is available either on USB flash or SD.

Then from the Linux command line:

kobs-ng init barebox-(whatever).img --search_exponent=1

After this, barebox should boot up nicely from NAND.

Eventually, I may get back to finishing up porting the bcb code, but
it won't be in the near future due to other schedule constraints.

Michael Burkey

PS...
Out of curiosity, which SOM are you using that boots from NAND?
I'm currently working with Variscite's SOM -- and life would have been
much simpler if someone had just put a SPI NOR on it!

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

^ permalink raw reply	[flat|nested] 4+ messages in thread
* i.MX6Q Boot from NAND
@ 2014-02-26  6:30 andreas.willig
  2014-02-26  7:06 ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: andreas.willig @ 2014-02-26  6:30 UTC (permalink / raw)
  To: barebox

Hi,

has anyone in the community successfully managed to get Barebox running out of NAND on i.MX6Q/DL? I cannot find any support for BCB / FCB in the BB sources and am hitting problems while migrating from i.mx28 (MXS?) sources of BCB. U-Boot seems to run from NAND on i.MX6Q but is not an option for our project.



Mit freundlichen Grüßen aus Berg/ With kind regards

i.A. Andreas Willig
Dipl.-Ing. (FH)
Entwicklung Elektronik

RAFI GmbH & Co. KG
Postfach 2060
88276 Ravensburg
Tel.: +49 (0) 751 89-6142

mailto:andreas.willig@rafi.de, http://www.rafi.de

Kommanditgesellschaft: Sitz Berg, Amtsgericht Ulm, HRA 550059
Komplementär: RAFI Beteiligungs-GmbH, Sitz Berg, Amtsgericht Ulm HRB 550074
Geschäftsführer: Albert Wasmeier, Dipl.-Kfm. Gerhard Schenk
USt-Ident.-Nr.: DE 146 392 319, Steuer-Nr.: 77079/00291
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-02-27  7:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-26 20:49 i.MX6Q Boot from NAND Michael D. Burkey
2014-02-27  7:38 ` Sascha Hauer
  -- strict thread matches above, loose matches on Subject: below --
2014-02-26  6:30 andreas.willig
2014-02-26  7:06 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox