[U-Boot] ERROR: too many flash sectors

Penda, Naveen Kumar pnaveen at ti.com
Sun Aug 23 18:15:31 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

 Please check your sector size CONFIG_SYS_ENV_SECT_SIZE and multiply with your CONFIG_SYS_MAX_FLASH_SECT should not cross  32MB
> 
> 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.
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 
> 


More information about the U-Boot mailing list