storing barebox to flash /dev/nand0

Belisko Marek marek.belisko at
Fri Sep 10 05:01:30 EDT 2010


I'm porting barebox to mini2440 board. I can boot barebox from SDRAM
by loading to TEXT_BASE address.
I would like to test also booting from NAND flash but I can't find a
way how to store barebox loaded in RAM
to flash.

I try tftp barebox.bin /dev/nand0 but if failed with:

TFTP from server ('barebox.bin' -> '/dev/nand0')
        offset 0x00000200 not page aligned
write: Invalid argument

tftp failed: error -22

How can I properly store to flash?

Thank's in advance,


as simple and primitive as possible
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086

More information about the barebox mailing list