Hello,

I have some problems. May you please send me a binary produced with this tool?
I want to inspect the flash header.

-- Gebhardt



Von:        Matthias Fend <Matthias.Fend@wolfvision.net>
An:        "guenter.gebhardt@rafi.de" <guenter.gebhardt@rafi.de>, "barebox@lists.infradead.org" <barebox@lists.infradead.org>
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@lists.infradead.org [
mailto:barebox-bounces@lists.infradead.org] Im Auftrag von guenter.gebhardt@rafi.de
Gesendet: Montag, 26. März 2012 10:48
An: barebox@lists.infradead.org
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]