public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: SlinceArm <slincearm@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] ERROR: too many flash sectors
Date: Fri, 21 Aug 2009 19:58:44 -0700 (PDT)	[thread overview]
Message-ID: <25090177.post@talk.nabble.com> (raw)
In-Reply-To: <200908201658.07787.sr@denx.de>




Stefan Roese wrote:
> 
>>
>>  DRAM:  64 MB
>>  ERROR: too many flash sectors
>>  ERROR: too many flash sectors
> 
>>>This error is important. Searching in the source code gives you an hint.
You 
>>>should increase CONFIG_SYS_MAX_FLASH_SECT to match you hardware.
> 
>>>Cheers,
>>>Stefan
> 
> 


Stefan Roese wrote:
> 
> On Thursday 20 August 2009 16:45:28 SlinceArm wrote:
>> Hi , everyone .
>>
>> My u-boot version is 2009-01 and i try porting u-boot on pxa270
>> development
>> board.
>> when i power on my board then minicom show these information
>>
>>  DRAM:  64 MB
>>  ERROR: too many flash sectors
>>  ERROR: too many flash sectors
> 
> This error is important. Searching in the source code gives you an hint.
> You 
> should increase CONFIG_SYS_MAX_FLASH_SECT to match you hardware.
> 
> Cheers,
> Stefan
> 

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 ??
-- 
View this message in context: http://www.nabble.com/-U-Boot--ERROR%3A-too-many-flash-sectors-tp25063511p25090177.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

  reply	other threads:[~2009-08-22  2:58 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 [this message]
2009-08-23 16:15     ` Penda, Naveen Kumar
2009-08-24  8:57     ` Stefan Roese
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=25090177.post@talk.nabble.com \
    --to=slincearm@gmail.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