Thread (9 messages) flat view 9 messages, 4 authors, 2006-10-17

Re: Linux on custom Xilinx board with PPC405 hangs on boot

From: Peter N. Andreasen <hidden>
Date: 2006-09-21 07:40:15

Liu, Linas, list
Thanks a lot for the answers. It helped me to review the hardware
configuration again.
The problem was the definition of the Flash size.
It turns out that the Xilinx generated header files define the size of the
Flash. But the kernel also has a configuration option: Memory Technology
Devices / Mapping Drivers for Chip Access / Physical Length of Chip Mapping
My arch/ppc/platforms/xilinx_ocp/xparameters_ml300.h defines this as 4Mbyte,
but the option in the kernel was set to 64 Mbyte (an extra 0 which I had not
seen)
thanks again
Peter




On 9/21/06, Liu Dave-r63238 [off-list ref] wrote:
<snip>
quoted
quoted
Instruction machine check in kernel mode.
Oops: machine check, sig: 7
NIP: C00A2960 XER: 40000000 LR: C009CBD8 SP: C04D9D90 REGS:
c04d9ce0 TRAP:
quoted
0200    Not tainted
MSR: 00009030 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
Machine checks happen when some hunk of hardware is wired to
the machine-check pin of the cpu chip, and that bit of
hardware decides to raise the wire.  I'd say the first step
is to figure ou what hardware is wired up this way, and what
would make it unhappy enough to assert a machine check.

SRR1 has bits that state what caused he machine check. -- e.g
partity error on data or address bus, "transfer error", or MC signal.
The PPC405 has different registers for machine check. Unlike classic
powerpc.

-Dave
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help