storing barebox to flash /dev/nand0

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

 



Hi,

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 10.146.1.21 ('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,

Marek

-- 
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
web: http://open-nandra.com

_______________________________________________
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