AW: Antwort: AW: imx53 internal boot from NAND

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

 



>Von: guenter.gebhardt@xxxxxxx [mailto:guenter.gebhardt@xxxxxxx]
>Gesendet: Montag, 26. März 2012 16:47
>An: Matthias Fend
>Cc: barebox@xxxxxxxxxxxxxxxxxxx
>Betreff: Antwort: AW: imx53 internal boot from NAND
>
>Hello,
>
>I have some problems. May you please send me a binary produced with this tool?
>I want to inspect the flash header.

fcb.bin contains a FCB and was generated by this tool. It should instantly work with your i.mx53 barebox.
Note that the FCB image must reside within the first blocks of the NAND. The internal ROM loader will always read 4k blocks from NAND - independent of the actual NAND page size. 
The attached FCB must be located at the start of the NAND. The barebox image must be located at page 2.
Assuming a 2k page NAND you should have this:  page 0-1: 4k FCB, page 2-n: barebox.

~Matthias
>
>-- Gebhardt
>
>
>
>Von:        Matthias Fend <Matthias.Fend@xxxxxxxxxxxxxx>
>An:        "guenter.gebhardt@xxxxxxx" <guenter.gebhardt@xxxxxxx>, "barebox@xxxxxxxxxxxxxxxxxxx" <barebox@xxxxxxxxxxxxxxxxxxx>
>Datum:        26.03.2012 11:09
>Betreff:        AW: imx53 internal boot from NAND
>________________________________________
>
>
>
>Hi,
>
>For a quick start you can use the provided FCB (fcb.bin).
>This FCB was generated with the attached tool (fcbgen.c) - note that the bad block handling is disabled.
>
>Then you can "merge" your barebox image with the FCB with something like:
>cat fcb.bin barebox-image > barebox-fcb.bin
>
>This works at least on our custom i.MX53 hardware.
>
>~Matthias
>
>Von: barebox-bounces@xxxxxxxxxxxxxxxxxxx [mailto:barebox-bounces@xxxxxxxxxxxxxxxxxxx] Im Auftrag von guenter.gebhardt@xxxxxxx
>Gesendet: Montag, 26. März 2012 10:48
>An: barebox@xxxxxxxxxxxxxxxxxxx
>Betreff: imx53 internal boot from NAND
>
>Hello,
>
>I tried to use barebox in order to boot from NAND.
>
>The ROM loader needs a FCB (Firmware Configuration Block) table at the beginning of the flash (according to chapter 7.5.2.2 of the reference manual).
>I looked at the existing imx53 boards within the barebox sources but I founx that no one used this mode there.
>
>Has someone done this or can give me some advice?
>
>-- Gebhardt
>[Anhang "fcbgen.c" gelöscht von Guenter Gebhardt/Rafi] [Anhang "fcb.bin" gelöscht von Guenter Gebhardt/Rafi]

Attachment: fcb.bin
Description: fcb.bin

_______________________________________________
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