[U-Boot] U-boot issue with Intel StrataFlash P30.

Stefan Roese
2010-09-11T06:41:27Z

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