All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] ERROR: too many flash sectors
Date: Mon, 24 Aug 2009 10:57:00 +0200	[thread overview]
Message-ID: <200908241057.00056.sr@denx.de> (raw)
In-Reply-To: <25090177.post@talk.nabble.com>

On Saturday 22 August 2009 04:58:44 SlinceArm wrote:
> Thanks for your reply , Stefan.  : )
>
> My flash is 32MB
>
> and here is my source code for flash environment
>
> #define CONFIG_SYS_FLASH_CFI
> #define CONFIG_FLASH_CFI_DRIVER	1
> #define CONFIG_FLASH_CFI_WIDTH	FLASH_CFI_32BIT
>
> #define CONFIG_SYS_MAX_FLASH_BANKS	1
> #define CONFIG_SYS_MAX_FLASH_SECT	128
>
> What code did set wrong ??

As I already mentioned, the CONFIG_SYS_MAX_FLASH_SECT value is too low. I 
suggest you increase it to 512 and give it another try.

Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de

  parent reply	other threads:[~2009-08-24  8:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-20 14:45 [U-Boot] ERROR: too many flash sectors SlinceArm
2009-08-20 14:58 ` Stefan Roese
2009-08-22  2:58   ` SlinceArm
2009-08-23 16:15     ` Penda, Naveen Kumar
2009-08-24  8:57     ` Stefan Roese [this message]
2009-08-24 14:39       ` SlinceArm

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=200908241057.00056.sr@denx.de \
    --to=sr@denx.de \
    --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.