From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Sat, 11 Sep 2010 08:41:27 +0200 Subject: [U-Boot] U-boot issue with Intel StrataFlash P30. In-Reply-To: <1284154219.13384.13.camel@parana.digitel.com.br> References: <1284154219.13384.13.camel@parana.digitel.com.br> Message-ID: <201009110841.27562.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 Moratelli, On Friday 10 September 2010 23:30:19 Carlos Roberto Moratelli wrote: > I am porting the u-boot to a MPC8536E custom board and I am facing an > issue with flash. When u-boot tries to detect the flash (INTEL > STRATAFLASH P30) it just freeze. The u-boot is started from the same > flash. > > The problem happen when the CFI Driver tries a read from flash > (flash_read8()) for the first time. Please, see the log bellow. > > Has someone faced this kind of issue? Are there some tip to solve the > problem? Might be that you have problems with byte access to this most likely 16bit wide flash device. I suggest you try setting this in your board config header: #define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT 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