i.MX6Q Boot from NAND

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux