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

Carlos Roberto Moratelli
2010-09-10T21:30:19Z

Hi,

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?

Thank you,

Moratelli

U-Boot 2010.06-00738-gae5b042-dirty (Sep 10 2010 - 18:02:00)

CPU: 8536E, Version: 1.1, (0x803f0091)
Core: E500, Version: 3.0, (0x80210030)
Clock Configuration:
CPU0:800 MHz,
CCB:400 MHz,
DDR:200 MHz (400 MT/s data rate) (Synchronous), LBC:25 MHz
L1: D-cache 32 kB enabled
I-cache 32 kB enabled
DRAM: lcrr: 0x20004
128 MiB
SDRAM test phase 1:
write ok.
SDRAM test phase 2:
SDRAM test passed.
Top of RAM usable for U-Boot at: 08000000
Reserving 728k for U-Boot at: 07f40000
Reserving 1032k for malloc() at: 07e3e000
Reserving 80 Bytes for Board Info at: 07e3dfb0
Reserving 80 Bytes for Global Data at: 07e3df60
Stack Pointer at: 07e3df48
New Stack Pointer is: 07e3df48
Now running in RAM - U-Boot at: 07f40000
FLASH: flash detect cfi
fwc addr e0000000 cmd f0 f0 8bit x 8 bit
fwc addr e0000000 cmd ff ff 8bit x 8 bit
fwc addr e0000055 cmd 98 98 8bit x 8 bit
is= cmd 51(Q) addr e0000010