Nand Erase/Write Fails with mtd error -5
Hello,
Im getting a trouble with mtd on my imx27 27 board, I can't write or erase it on U-Boot-1.3.4, here is the log :
U-Boot> runupdate_all
FEC ETHERNET: Autonegotiation
timeout
FEC ETHERNET: Link is down -
10/Half
TFTP from server 192.168.0.2; our IP address is
192.168.0.10
Filename
'apf27-linux.bin'.
Load address:0xa0000000
Loading: T T T T T T T T T
T
Retry count exceeded; starting
again
TFTP from server 192.168.0.2; our IP address is
192.168.0.10
Filename
'apf27-linux.bin'.
Load address:0xa0000000
Loading:
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
############################################################
done
Bytes transferred = 2635464 (2836c8
hex)
NAND erase: device 0 offset 0x100000, size0x500000
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
NAND 512MiB 1,8V 8-bit: MTD Erase failure:
-5
OK
NAND write: device 0 offset 0x100000, size0x2836c8nand_write_ecc: Device is write
protected
writing NAND page at offset 0x100000
failed
Data did not fit into device, due to bad
blocks
2635464 bytes written: ERROR
Anyone have an idea of the problem here?
Thanks for you help.
Signature · 1 line
<[email protected]>
Dear mks,
it would be nice if you could use a real name here...
Quoted 3 lines · In message <1310410193.3166.2.camel@debian> you wrote:
Im getting a trouble with mtd on my imx27 27 board, I can't write or erase it on U-Boot-1.3.4, here is the log :
I'm sorry, but v1.3.4 is more than 5 years old - this is hopelessly obsolete. Please do yourself (and us) a favour and upgrade to a recent version (say, v2014.01) an try again. It is pretty much likely that your error has long been fixed sice.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I can type faster than I can move a mouse, so I find menu-driven drawing packages time consuming and frustrating. - W. R. Stevens