barebox tftp to 2k pagesize NAND

Eric Bénard eric at
Tue May 25 08:14:15 EDT 2010


while running barebox on a i.MX25 which has 2k pagesize nand, I noticed 
it's not possible to do a tftp directly to NAND (tftp barebox.bin 
/dev/nand0.barebox for example).

tftp try to write 512bytes packets to the NAND thus we get :
offset 0x00000200 not page aligned
when it tries to write the second packet.

The workaround is :
tftp to ram
cp ram => nand

Do you have any idea on how tof ix this problem ?


More information about the barebox mailing list