On Tue, May 25, 2010 at 02:14:15PM +0200, Eric Bénard wrote: > Hi, > > 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 ? Use /dev/nand0.barebox.bb instead. You are not supposed to use the non bad block aware devices directly. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox