All of lore.kernel.org
 help / color / mirror / Atom feed
From: mks <k.bouhara@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Nand Erase/Write Fails with mtd error -5
Date: Thu, 23 Jan 2014 20:30:56 -0000	[thread overview]
Message-ID: <1310410193.3166.2.camel@debian> (raw)

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>

             reply	other threads:[~2014-01-23 20:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-23 20:30 mks [this message]
2014-01-24 14:02 ` [U-Boot] Nand Erase/Write Fails with mtd error -5 Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2011-07-11 18:51 Bouhara Kamel
2011-07-28 13:45 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1310410193.3166.2.camel@debian \
    --to=k.bouhara@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.