From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Gehrlein Date: Mon, 30 Jun 2008 13:03:30 +0200 Subject: [U-Boot-Users] TQM823L flash recognition problem In-Reply-To: <200806271508.05150.tmaenner@aehr.com> References: <200806271508.05150.tmaenner@aehr.com> Message-ID: <4868BD82.20407@tqs.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Thomas, Thomas Maenner schrieb: > Hi Everybody, > > trying to use the u-boot V1.3.3 on a TQ Module: > TQM823L-AF Rev.311 > > which had u-boot v1.1.4 running without a problem, I now get this on two > modules: > -------------------- > U-Boot 1.3.3 (Jun 27 2008 - 14:45:35) > > CPU: PPC823EZTnnB2 at 50 MHz: 16 kB I-Cache 8 kB D-Cache > Board: TQM823LDB0A3-E50I.311 > DRAM: 16 MB > FLASH: ## Unknown FLASH on Bank 2 - Size = 0x00000000 = 0 MB > 4 MB > In: serial > Out: serial > Err: serial > Net: SCC ETHERNET > PCMCIA: No Card found > ------------------- > > The module has four AMD L160DB90VI onboard. > Compiled u-boot after "make TQM823L_config" without modifications. > > - Anything I'm missing here? > - Was this answered before? > > Thanks much for your help to point me in the right direction. > > Tom Could you please change TQM823L.h: -#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE } +#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE, CFG_FLASH_BASE + 0x400000 } and try again? There was a switch-over to use the CFI driver (see git history of file TQM823L.h). AFAIK the CFI driver needs a list with fix start addresses of each bank to start the CFI query on. Best Regards, Jens