From mboxrd@z Thu Jan 1 00:00:00 1970 From: SlinceArm Date: Fri, 21 Aug 2009 19:58:44 -0700 (PDT) Subject: [U-Boot] ERROR: too many flash sectors In-Reply-To: <200908201658.07787.sr@denx.de> References: <25063511.post@talk.nabble.com> <200908201658.07787.sr@denx.de> Message-ID: <25090177.post@talk.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.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.