[U-Boot-Users] The command of nand write cannot write zImage to nandflash
sr at denx.de
Thu May 24 12:43:38 CEST 2007
On Wednesday 23 May 2007, zj_31529 wrote:
> Hi all: I patch NAND (including boot-from-NAND via steppingstone)
> support to the S3C2410 SoC code in
>0-nand.patch). The u-boot-1.1.6 print the nandflash info to DNW,and the
> command of "tftp 0x31000000 zImage" is ok,but the command of "nand
> write.jffs2 0x31000000 0x2030000 0xc0000 "cannot write the zImage of Linux
> 2.4 to the nandflash and the u-boot print "Bad block check failed". When I
> excuted the command of "nand write 0x31000000 0x2030000 0xc0000",the u-boot
> print "0 bytes writed". Can you give me a hand. Thank you very much!
What U-Boot version are you using? 1.1.6? If yes, could you please give the
current top-of-git version a try. There was a patch a few months ago, that
fixed a problem where NAND writing aborted, when bad blocks were detected. So
please give the current version a try and let me know if it helped.
I hope the patch mentioned above does apply without too much problems.
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 at denx.de
More information about the U-Boot