[U-Boot] ERROR: too many flash sectors

SlinceArm slincearm at gmail.com
Sat Aug 22 04:58:44 CEST 2009




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.



More information about the U-Boot mailing list