All of lore.kernel.org
 help / color / mirror / Atom feed
From: maramaopercheseimorto@gmail.com (Alberto Panizzo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] mx31pdk: Add NAND support
Date: Thu, 25 Feb 2010 23:33:20 +0100	[thread overview]
Message-ID: <1267137200.2810.10.camel@realization> (raw)
In-Reply-To: <933005.90402.qm@web51001.mail.re2.yahoo.com>

On gio, 2010-02-25 at 14:22 -0800, Fabio Estevam wrote:
> --- On Thu, 2/25/10, Fabio Estevam <fabioestevam@yahoo.com> wrote:
> 
> ...
> 
> > > 
> > > Are you sure that this works? Don't you see a lot of
> > Bad
> > > blocks reports
> > > in boot messages?
> > 
> > I followed the same approach used on other i.MX boards.
> > This is what I see:
> > ...
> > NAND device: Manufacturer ID: 0xec, Chip ID: 0xaa (Samsung
> > NAND 256MiB 1,8V 8-bit)         
> > Scanning device for bad blocks       
> > Bad eraseblock 42 at 0x000000540000     
> > Bad eraseblock 125 at 0x000000fa0000     
> > Bad eraseblock 887 at 0x000006ee0000     
> > Bad eraseblock 1750 at 0x00000dac0000     
> > Bad eraseblock 2046 at 0x00000ffc0000     
> > Bad eraseblock 2047 at 0x00000ffe0000     
> >                
> 
> Just looked at what Redboot reported:
> 
> ++Searching for BBT table in the flash ...                                      
> .                                                                               
> Found version 1 Bbt0 at block 2047 (0xffe0000)                                  
> Block 42 is bad                                                                 
> Block 125 is bad                                                                
> Block 887 is bad                                                                
> Block 1750 is bad                                                               
> Total bad blocks: 4   
> 
> So the only mismatch is 2046 eraseblock.
> 
> Regards,
> 
> Fabio Estevam
> 

What kernel are you running? In particular, what version
of mxc_nand.c are you building?
Recently the mxc_nand.c has been updated to support newer i.MX SoC
and the problem come after this update. (add NFC_NAND V2 support)

-- 
Alberto!

        Be Persistent!
                - Greg Kroah-Hartman (FOSDEM 2010)

  reply	other threads:[~2010-02-25 22:33 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-25 22:22 [PATCH] mx31pdk: Add NAND support Fabio Estevam
2010-02-25 22:33 ` Alberto Panizzo [this message]
2010-02-25 22:52   ` Fabio Estevam
  -- strict thread matches above, loose matches on Subject: below --
2010-02-25  0:58 Fabio Estevam
2010-02-25 10:58 ` Alberto Panizzo
2010-02-25 22:09   ` Fabio Estevam
2010-02-26  9:36     ` Uwe Kleine-König
2010-02-26 10:19       ` Alberto Panizzo
2010-02-26 10:46         ` Uwe Kleine-König
2010-02-26 11:05           ` Alberto Panizzo
2010-02-26 13:14             ` Ivo Clarysse
2010-02-25 11:12 ` Alberto Panizzo
2010-02-25 21:59   ` Fabio Estevam
2010-02-25 22:19     ` Alberto Panizzo
2010-02-26  9:56     ` Juergen Beisert
2010-02-26 10:33       ` Alberto Panizzo
2010-02-26 11:48         ` Juergen Beisert
2010-02-26 13:29           ` Alberto Panizzo
2010-02-26 13:40             ` Juergen Beisert
2010-02-27  1:34 ` Fabio Estevam
2010-02-27 14:25   ` Alberto Panizzo
2010-02-27 15:38     ` Fabio Estevam
2010-02-27 16:17       ` Alberto Panizzo

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=1267137200.2810.10.camel@realization \
    --to=maramaopercheseimorto@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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.