[U-Boot-Users] Problem with cache diag on sequoia board in PPC4xx branch for-1.3.2

Larry Johnson
2007-12-20T22:31:36Z

Hi Stefan,

In testing my merge of Korat PPC440EPx board support into PPC4xx branch
"for-1.3.2", I found problem with the "DIAG RUN CACHE" command. The
same problem occurs in the latest for-1.3.2 code for sequoia. Here is a
copy of the console output showing what happens:

=> diag run cache
Bad trap at PC: ff70220, SR: 21000, vector=1300
NIP: 0FF70220 XER: 2000005F LR: 0FF702D4 REGS: 0ff17870 TRAP: 1300 DEAR: 10000000
MSR: 00021000 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00

GPR00: 0000003F 0FF17960 7FFFFFFF 10000000 00000400 00000400 00000020 FFFFFFFF
GPR08: 0FFFBFEC 0FF6F888 0000000C 10000000 00000400 00000000 0FFABD00 0FFBA000
GPR16: 15809012 22406001 C1904012 0FF17B6A 00000001 00000000 0FF17C65 00000000
GPR24: 00000600 0000000C 00000000 00000001 0FFA6AE8 0FF17F34 0FFAC714 0FF6F7DC
Call backtrace:
0FF17A44 0FF6B0E8 0FF6B4AC 0FF734D0 0FF71270 0FF71450 0FF5ECA4
0FF5C6B8 F1FFFFFF
Exception

U-Boot 1.3.1-g76ace773 (Dec 20 2007 - 17:07:17)

CPU: AMCC PowerPC 440EPx Rev. A at 528 MHz (PLB=132, OPB=66, EBC=66 MHz)
Security/Kasumi support
Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
Internal PCI arbiter enabled, PCI async ext clock used
32 kB I-Cache 32 kB D-Cache
Board: Sequoia - AMCC PPC440EPx Evaluation Board, Rev. F, PCI=33 MHz, serial# 52149
I2C: ready
DTT: 1 is 24 C
DRAM: 256 MB
FLASH: 64 MB
NAND: 32 MiB
PCI: Bus Dev VenId DevId Class Int
In: serial
Out: serial
Err: serial
USB: Host(int phy) Device(ext phy)
Net: ppc_4xx_eth0, ppc_4xx_eth1

Type "run flash_nfs" to mount root filesystem over NFS

=>

This problem does not occur on sequoia using the latest mainline (i.e.,
master branch) code from the PPC4xx repository.

Just thought you'd like to know. :-)

Best regards,
Larry