[U-Boot] ERROR: too many flash sectors

SlinceArm
2009-08-22T02:58:44Z

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