
On Friday 29 February 2008, Maupin, Chase wrote:
implementation. Is this
problem in the 1.2.0 version of u-boot?
No, I don't think so. This thread was related to problem with the rewrite of the U-Boot NAND subsystem. The current implementation should handle writing images (YAFFS, JFFS2) just fine. Please make sure that you use the ".jffs2" extension.
I wrote the image by doing (my file system partition is at offset 0x460000 and my jffs2 image size is 0x288000 downloaded to 0x80700000): # nand erase 0x460000 0x288000 # nand write.jffs2 0x80700000 0x460000 0x288000
I can successfully write this same image from a booted Linux system using the "nandwrite" command.
Perhaps its a problem of the U-Boot NAND driver for your platform. Is this board/platform supported in the official U-Boot version? What platform are you using btw? And are using software or hardware ECC generation in the NAND driver?
Best regards, Stefan
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de =====================================================================