public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] The command of nand write cannot write zImage to nandflash
@ 2007-05-23 14:55 zj_31529
  2007-05-24 10:43 ` Stefan Roese
  0 siblings, 1 reply; 2+ messages in thread
From: zj_31529 @ 2007-05-23 14:55 UTC (permalink / raw)
  To: u-boot

 Hi all:   I patch NAND (including boot-from-NAND via steppingstone) support to
the S3C2410 SoC code in u-boot(http://svn.openmoko.org/trunk/src/target/u-boot/patches/uboot-s3c2410-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!  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070523/96da11da/attachment.htm 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] The command of nand write cannot write zImage to nandflash
  2007-05-23 14:55 [U-Boot-Users] The command of nand write cannot write zImage to nandflash zj_31529
@ 2007-05-24 10:43 ` Stefan Roese
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2007-05-24 10:43 UTC (permalink / raw)
  To: u-boot

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
> u-boot(http://svn.openmoko.org/trunk/src/target/u-boot/patches/uboot-s3c241
>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.

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 at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-24 10:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-23 14:55 [U-Boot-Users] The command of nand write cannot write zImage to nandflash zj_31529
2007-05-24 10:43 ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox