All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tolunay Orkun <listmember@orkun.us>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Spansion flash not detected by CFI driver
Date: Wed, 18 Apr 2007 21:06:20 -0500	[thread overview]
Message-ID: <4626CE9C.4000709@orkun.us> (raw)
In-Reply-To: <f3cea0230704171842q1cf27c98tf64d51aae769c4b0@mail.gmail.com>

Shiju Mathew wrote:
> Hello,
> Forwarding again since the initial mail didn't reach the mailing list.

I got your 2 other emails as well but I was unable to check the mails 
yesterday...
>
> I have a spansion flash (S71WS256ND0BFWEP) on my board (Freescale imx31
> ADS).I use CFI driver with the below configuration. But I get the
> following error(debug message). Could someone help me to resolve the
> problem.
>
> #define CFG_FLASH_BASE 0xa0000000
> #define CFG_MAX_FLASH_BANKS 1
> #define CFG_MAX_FLASH_SECT 128
This is not correct for your chip. You should have this set not less 
than the total number of ease units (blocks) on your chip.

For what I could find on the net this chip seems to have the following 
interesting geometry:

4 x 32kB
254 x 128kB
4 x 32kB

So, the total should be at least 4 + 254 + 4 = 262

Please fix this and provide the logs again...

Tolunay

  reply	other threads:[~2007-04-19  2:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-18  1:42 [U-Boot-Users] Spansion flash not detected by CFI driver Shiju Mathew
2007-04-19  2:06 ` Tolunay Orkun [this message]
2007-04-19 15:46   ` Shiju
2007-04-19 16:51     ` Shiju
2007-04-19 21:13       ` Shiju
2007-04-19 22:13         ` Tolunay Orkun
2007-04-19 22:25           ` Shiju
2007-04-19 23:52             ` Tolunay Orkun
  -- strict thread matches above, loose matches on Subject: below --
2007-04-18 14:48 Shiju
2007-04-18 15:24 ` Wolfgang Denk
2007-04-18 15:59   ` Shiju
2007-04-17 23:15 Shiju Mathew

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=4626CE9C.4000709@orkun.us \
    --to=listmember@orkun.us \
    --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.