All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Nand Erase/Write Fails with mtd error -5
@ 2011-07-11 18:51 Bouhara Kamel
  2011-07-28 13:45 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Bouhara Kamel @ 2011-07-11 18:51 UTC (permalink / raw)
  To: u-boot

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> run update_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, size 0x500000                                                                                                             
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, size 0x2836c8                             
nand_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. 

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

* [U-Boot] Nand Erase/Write Fails with mtd error -5
  2011-07-11 18:51 [U-Boot] Nand Erase/Write Fails with mtd error -5 Bouhara Kamel
@ 2011-07-28 13:45 ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2011-07-28 13:45 UTC (permalink / raw)
  To: u-boot

Dear Bouhara Kamel,

In message <1310410277.25591.YahooMailRC@web24917.mail.ird.yahoo.com> you wrote:
>
> 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> run update_all
...
> Anyone have an idea of the problem here? 

Well, v1.3.4 is 3 years old and as such hopelessly out of date.
Please do yourself (and us) a favour and update to current code, then
try again.

Best regards,

Wolfgang Denk

-- 
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
Military secrets are the most fleeting of all.
	-- Spock, "The Enterprise Incident", stardate 5027.4

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

* [U-Boot] Nand Erase/Write Fails with mtd error -5
  2014-01-23 20:30 mks
@ 2014-01-24 14:02 ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2014-01-24 14:02 UTC (permalink / raw)
  To: u-boot

Dear mks,

it would be nice if you could use a real name here...

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

-- 
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

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

* [U-Boot] Nand Erase/Write Fails with mtd error -5
@ 2014-01-23 20:30 mks
  2014-01-24 14:02 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: mks @ 2014-01-23 20:30 UTC (permalink / raw)
  To: u-boot

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> run
update_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, size
0x500000                            
                                                                               
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, size
0x2836c8                            
nand_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.

-- 
<k.bouhara@gmail.com>

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

end of thread, other threads:[~2014-01-24 14:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-11 18:51 [U-Boot] Nand Erase/Write Fails with mtd error -5 Bouhara Kamel
2011-07-28 13:45 ` Wolfgang Denk
2014-01-23 20:30 mks
2014-01-24 14:02 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.