[U-Boot] ERROR: too many flash sectors
SlinceArm
slincearm at gmail.com
Mon Aug 24 16:39:15 CEST 2009
Stefan Roese wrote:
>
> 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
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
>
thaks your reply, Stefan .
i follow your suggestion .
increase the CONFIG_SYS_MAX_FLASH_SECT to 256.
and the Error is fixed . : )
Thanks your suggestion.
--
View this message in context: http://www.nabble.com/-U-Boot--ERROR%3A-too-many-flash-sectors-tp25063511p25117245.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
More information about the U-Boot
mailing list