From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Mon, 18 Jan 2010 09:45:56 +0100 Subject: [U-Boot] U-boot running on DDR fails to detect the CFI compliant flash In-Reply-To: References: Message-ID: <201001180945.57013.sr@denx.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 Prakash, On Friday 15 January 2010 14:23:35 prakash bedge wrote: > In October 09 month, I had asked whether U-boot supports M29W128GH, a CFI > compilant chip and I got a yes reply. Please refer below URL for reference. > > http://www.mail-archive.com/u-boot at lists.denx.de/msg24531.html. Link not found. Please correct. > So I have used Uboot for my PPC440 based board. > > When I flashed U-boot on flash and then run the Uboot in DDR then U-boot > running on DDR fails to detect CFI chip M29W128GH (16M x 8 mode). > > flash_detect_cfi function gives error that flash not found. I have added > debug statements for temporary debug purpose. > Please see the below error I am getting. > > The CFI query address looks different in below code and not as per ST make > M29W128GH specs. PCIMW. What's the difference then? Please give an example. I suggest you take a look at this prelimiary patch: http://lists.denx.de/pipermail/u-boot/2009-December/065562.html Please let me know if this helps or not. 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