public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] how to configure u-boot to tell me more about NAND flash?
Date: Tue, 5 Feb 2013 11:50:27 -0600	[thread overview]
Message-ID: <1360086627.26462.10@snotra> (raw)
In-Reply-To: <20130205083720.16752bc01ocd9qf4@crashcourse.ca> (from rpjday@crashcourse.ca on Tue Feb  5 07:37:20 2013)

On 02/05/2013 07:37:20 AM, Robert P. J. Day wrote:
>   a few basic questions about a board i don't have access to right  
> this minute but did yesterday and will later today.  it's an AM1808  
> experimenter kit lookalike except that it has (allegedly) had its NOR  
> flash replaced with 2G of NAND flash, and i want to figure out what i  
> can add to the current u-boot da850evm configuration to let me poke  
> around and get all the info i can on that flash because there seems  
> to be something strange about the current setup.
> 
>   first, when i let the board boot fully into linux, "dmesg" told me  
> this:
> 
> "NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND  
> 512MiB 3,3V 8-bit)"
> 
>   that appears to tell me 512M of NAND flash, not 2G.  i asked  
> someone who was initially adamant that there was 2G but promised to  
> check with the H/W folks to make absolutely sure.  is there a  
> possible reason why 2G would show up only as 512M in dmesg?  (not  
> really a u-boot question, just wondering.)

Is it possible you have 4 chips, each of which are 512 MiB?

If that's not it, probably the ID table is wrong.  Maybe they're using  
the same ID for multiple sizes now (it's not exactly a large  
numberspace), and expecting you to use ONFI or other ID bytes to  
determine the actual size.

What does U-Boot print on boot, regarding NAND?

-Scott

  parent reply	other threads:[~2013-02-05 17:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-05 13:37 [U-Boot] how to configure u-boot to tell me more about NAND flash? Robert P. J. Day
2013-02-05 14:05 ` Eric Bénard
2013-02-05 14:09   ` Robert P. J. Day
2013-02-05 15:48 ` Wolfgang Denk
2013-02-07  8:01   ` [U-Boot] [U-boot]-gdwarf option TigerLiu at viatech.com.cn
2013-02-07  9:20     ` Wolfgang Denk
2013-02-11 19:43     ` Scott Wood
2013-02-12 17:02       ` Tom Rini
2013-02-05 17:50 ` Scott Wood [this message]
2013-02-05 17:59   ` [U-Boot] how to configure u-boot to tell me more about NAND flash? Robert P. J. Day

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=1360086627.26462.10@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox