All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] freescale i.MX28 mxsboot NAND booting on mx28evk bad blocks
Date: Tue, 19 Mar 2013 18:23:27 -0500	[thread overview]
Message-ID: <1363735407.16671.36@snotra> (raw)
In-Reply-To: <5147B63F.4020407@acm.org> (from henson@acm.org on Mon Mar 18 19:50:07 2013)

On 03/18/2013 07:50:07 PM, Paul B. Henson wrote:
> I'm prototyping a project that's going to need to boot linux from  
> NAND on a mx28evk board.
> 
> I was able to successfully use the u-boot mxsboot utility to generate  
> a nand image and burn it, then boot from it. I noticed one anomaly  
> though, when using mxsboot/u-boot to generate and burn the bootstream  
> to NAND, when the linux kernel boots it finds bad blocks:
> 
> [    1.090000] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1  
> (Micron MT29F14
> [    1.100000] Scanning device for bad blocks
> [    1.110000] Bad eraseblock 0 at 0x000000000000
> [    1.110000] Bad eraseblock 1 at 0x000000020000
> [    1.120000] Bad eraseblock 2 at 0x000000040000
> [    1.120000] Bad eraseblock 3 at 0x000000060000
> 
> When I burn the exact same bootstream with kobs-ng, linux does not  
> find any bad blocks, so it seems to be a byproduct of either the  
> image generated by mxsboot or the u-boot burning.
> 
> I don't think this is having any functional impact, as the scrub  
> component of burning a new nand image wipes out the bad blocks,

You should not be routinely scrubbing NAND!

The manufacturers put bad block information there for a reason.

-Scott

  reply	other threads:[~2013-03-19 23:23 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-19  0:50 [U-Boot] freescale i.MX28 mxsboot NAND booting on mx28evk bad blocks Paul B. Henson
2013-03-19 23:23 ` Scott Wood [this message]
2013-03-20 21:20   ` Paul B. Henson
2013-03-20 21:24     ` Scott Wood
2013-04-04 10:09 ` Trent Piepho
2013-04-06  4:28   ` Paul B. Henson
2013-04-06  7:18     ` Trent Piepho
2013-04-11  0:20       ` Paul B. Henson
2013-04-11 12:03         ` Trent Piepho
2013-04-11 18:33           ` Paul B. Henson
2013-04-11 23:25             ` Trent Piepho
2013-04-20  1:03               ` Paul B. Henson
2013-04-20  1:22                 ` Trent Piepho
2013-04-23  0:42                   ` Paul B. Henson
2013-04-26  1:13                     ` Marek Vasut
2013-04-29 20:54                       ` Paul B. Henson
2013-04-29 21:01                         ` Marek Vasut
2013-05-04  0:08                         ` Marek Vasut
2013-05-04  6:21                           ` Trent Piepho
2013-05-04 13:20                             ` Marek Vasut
2013-04-13 14:42         ` Marek Vasut
2013-04-13 16:31           ` Trent Piepho
2013-04-13 18:26             ` Marek Vasut

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=1363735407.16671.36@snotra \
    --to=scottwood@freescale.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.