<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Scott Wood schrieb:
<blockquote cite="mid:20080407161036.GA2688@loki.buserror.net"
type="cite">
<pre wrap="">On Sat, Apr 05, 2008 at 10:19:49AM +0200, André Schwarz wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Kernel starts and crashes with "unable to handle kernel paging request @
00000000".
After turning debug on in some files I can see that the initrd memory
gets reserved and the dtb is parsed correctly.
PCI memory/io spaces are set up fine.
At first I thought this is a problem with the device tree since the call
trace always points to "of_"-functions and "strcmp".
</pre>
</blockquote>
<pre wrap=""><!---->
Could you provide this call trace?
-Scott
_______________________________________________
Linuxppc-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Linuxppc-dev@ozlabs.org">Linuxppc-dev@ozlabs.org</a>
<a class="moz-txt-link-freetext" href="https://ozlabs.org/mailman/listinfo/linuxppc-dev">https://ozlabs.org/mailman/listinfo/linuxppc-dev</a>
</pre>
</blockquote>
Scott,<br>
<br>
after building a debug kernel and attaching the bdi2000 it looks like
the crash occurs during "console_init()" ...<br>
<br>
Since we're using a dtb I omit the "console=..." argument for the
kernel. Is this correct ?<br>
<br>
If "console=/dev/ttyS0,115200N8" argument is given the serial console
stops working after console_init....<br>
<br>
<br>
On other PowerPC system I could see something like this during boot :<br>
<pre wrap="">-> find_legacy_serial_port()
stdout is /soc8568@e0000000/serial@4600
legacy_serial_console = 1
default console speed = 115340
<- find_legacy_serial_port()</pre>
<br>
Should I see this message also ?<br>
Have I misconfigured anything ?<br>
<br>
<br>
<br>
u-boot prints the following dtb :<br>
<br>
...<br>
aliases {<br>
name = "aliases";<br>
ethernet0 = "/soc8343@e0000000/ethernet@24000";<br>
ethernet1 = "/soc8343@e0000000/ethernet@25000";<br>
serial0 = "/soc8343@e0000000/serial@4500";<br>
serial1 = "/soc8343@e0000000/serial@4600";<br>
pci0 = "/pci@e0008500";<br>
};<br>
cpus {<br>
name = "cpus";<br>
#address-cells = <0x00000001>;<br>
#size-cells = <0x00000000>;<br>
PowerPC,8343@0 {<br>
name = "PowerPC,8343";<br>
device_type = "cpu";<br>
reg = <0x00000000>;<br>
d-cache-line-size = <0x00000020>;<br>
i-cache-line-size = <0x00000020>;<br>
d-cache-size = <0x00008000>;<br>
i-cache-size = <0x00008000>;<br>
timebase-frequency = <0x03f940aa>;<br>
bus-frequency = <0x0fe502a8>;<br>
clock-frequency = <0x17d783fc>;<br>
};<br>
};<br>
memory {<br>
name = "memory";<br>
device_type = "memory";<br>
reg = <0x00000000 0x20000000>;<br>
};<br>
soc8343@e0000000 {<br>
name = "soc8343";<br>
#address-cells = <0x00000001>;<br>
#size-cells = <0x00000001>;<br>
device_type = "soc";<br>
compatible = "soc";<br>
ranges = [00 00 00 00 e0 00 00 00 00 10 00 00];<br>
reg = <0xe0000000 0x00000200>;<br>
bus-frequency = <0x0fe502a8>;<br>
wdt@200 {<br>
device_type = "watchdog";<br>
compatible = "mpc83xx_wdt";<br>
reg = <0x00000200 0x00000100>;<br>
};<br>
i2c@3000 {<br>
name = "i2c";<br>
#address-cells = <0x00000001>;<br>
#size-cells = <0x00000000>;<br>
cell-index = <0x00000000>;<br>
compatible = "fsl-i2c";<br>
reg = <0x00003000 0x00000100>;<br>
interrupts = <0x0000000e 0x00000008>;<br>
interrupt-parent = <0x00000001>;<br>
dfsrr;<br>
};<br>
i2c@3100 {<br>
name = "i2c";<br>
#address-cells = <0x00000001>;<br>
#size-cells = <0x00000000>;<br>
cell-index = <0x00000001>;<br>
compatible = "fsl-i2c";<br>
reg = <0x00003100 0x00000100>;<br>
interrupts = <0x0000000f 0x00000008>;<br>
interrupt-parent = <0x00000001>;<br>
dfsrr;<br>
};<br>
spi@7000 {<br>
name = "spi";<br>
cell-index = <0x00000000>;<br>
compatible = "fsl,spi";<br>
reg = <0x00007000 0x00001000>;<br>
interrupts = <0x00000010 0x00000008>;<br>
interrupt-parent = <0x00000001>;<br>
mode = "cpu";<br>
};<br>
usb@22000 {<br>
name = "usb";<br>
compatible = "fsl-usb2-mph";<br>
reg = <0x00022000 0x00001000>;<br>
#address-cells = <0x00000001>;<br>
#size-cells = <0x00000000>;<br>
interrupt-parent = <0x00000001>;<br>
interrupts = <0x00000027 0x00000008>;<br>
phy_type = "ulpi";<br>
port0;<br>
};<br>
mdio@24520 {<br>
name = "mdio";<br>
#address-cells = <0x00000001>;<br>
#size-cells = <0x00000000>;<br>
compatible = "fsl,gianfar-mdio";<br>
reg = <0x00024520 0x00000020>;<br>
ethernet-phy@0 {<br>
cell-index = <0x00000000>;<br>
interrupt-parent = <0x00000001>;<br>
interrupts = <0x00000016
0x00000008>;<br>
reg = <0x00000000>;<br>
device_type = "ethernet-phy";<br>
linux,phandle = <0x00000002>;<br>
};<br>
ethernet-phy@1 {<br>
cell-index = <0x00000001>;<br>
interrupt-parent = <0x00000001>;<br>
interrupts = <0x00000017
0x00000008>;<br>
reg = <0x00000001>;<br>
device_type = "ethernet-phy";<br>
linux,phandle = <0x00000003>;<br>
};<br>
};<br>
ethernet@24000 {<br>
cell-index = <0x00000000>;<br>
device_type = "network";<br>
model = "TSEC";<br>
compatible = "gianfar";<br>
reg = <0x00024000 0x00001000>;<br>
local-mac-address = [b6 b4 45 eb fb c0];<br>
interrupts = [00 00 00 20 00 00 00 08 00 00 00
21 00 00 00 08 00 00 00 22 00 00 00 08];<br>
interrupt-parent = <0x00000001>;<br>
phy-handle = <0x00000002>;<br>
linux,network-index = <0x00000000>;<br>
};<br>
ethernet@25000 {<br>
cell-index = <0x00000001>;<br>
device_type = "network";<br>
model = "TSEC";<br>
compatible = "gianfar";<br>
reg = <0x00025000 0x00001000>;<br>
local-mac-address = [b6 b4 45 eb fb c2];<br>
interrupts = [00 00 00 23 00 00 00 08 00 00 00
24 00 00 00 08 00 00 00 25 00 00 00 08];<br>
interrupt-parent = <0x00000001>;<br>
phy-handle = <0x00000003>;<br>
linux,network-index = <0x00000001>;<br>
};<br>
serial@4500 {<br>
cell-index = <0x00000000>;<br>
device_type = "serial";<br>
compatible = "ns16550";<br>
reg = <0x00004500 0x00000100>;<br>
clock-frequency = <0x0fe502a8>;<br>
interrupts = <0x00000009 0x00000008>;<br>
interrupt-parent = <0x00000001>;<br>
};<br>
serial@4600 {<br>
cell-index = <0x00000001>;<br>
device_type = "serial";<br>
compatible = "ns16550";<br>
reg = <0x00004600 0x00000100>;<br>
clock-frequency = <0x0fe502a8>;<br>
interrupts = <0x0000000a 0x00000008>;<br>
interrupt-parent = <0x00000001>;<br>
};<br>
pic@700 {<br>
interrupt-controller;<br>
#address-cells = <0x00000000>;<br>
#interrupt-cells = <0x00000002>;<br>
reg = <0x00000700 0x00000100>;<br>
device_type = "ipic";<br>
linux,phandle = <0x00000001>;<br>
};<br>
};<br>
....<br>
<br>
<br>
<br>
regards,<br>
Andre<br>
<BR>
MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler - Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner
<BR>
</body>
</html>