<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Linux starting stuck at clockevent: decrementer</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi, All,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I am new to the mailing list. First time posting.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I am trying to run Linux-2.6.28-rc5 on a board with MPC8248 processor. No PCI functions are used. The board is a known good board. It ran vxWorks sucessfully before. I based my configuration on MPC8272ADS (the Freescale board). I turned on early debugging. I use U-Boot to load Linux image to 0x800000, and load DTB to 0xB00000. Total memory is 64MB. A command line is passed to kernel for it to run NFS. Somehow, kernel starting gets stuck after printing this line:</FONT></P>
<P><FONT FACE="Courier New">clockevent: decrementer mult[444] shift[16] cpu[0]</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Does anybody have any hint?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Here is the starting printing:</FONT>
</P>
<P><FONT FACE="Courier New">Using FCC1 ETHERNET device<BR>
TFTP from server 10.15.34.196; our IP address is 172.20.16.150; sending through<BR>
gateway 172.20.16.1<BR>
Filename 'eclipse/uImage'.<BR>
Load address: 0x800000<BR>
Loading: #################################################################<BR>
#####################################<BR>
done<BR>
Bytes transferred = 1491457 (16c201 hex)<BR>
Using FCC1 ETHERNET device<BR>
TFTP from server 10.15.34.196; our IP address is 172.20.16.150; sending through<BR>
gateway 172.20.16.1<BR>
Filename 'eclipse/tr5000v2.dtb'.<BR>
Load address: 0xb00000<BR>
Loading: #<BR>
done<BR>
Bytes transferred = 2965 (b95 hex)<BR>
## Booting kernel from Legacy Image at 00800000 ...<BR>
Image Name: Linux-2.6.28-rc5-01296-g7b9a403-<BR>
Image Type: PowerPC Linux Kernel Image (gzip compressed)<BR>
Data Size: 1491393 Bytes = 1.4 MB<BR>
Load Address: 00000000<BR>
Entry Point: 00000000<BR>
Verifying Checksum ... OK<BR>
Uncompressing Kernel Image ... OK<BR>
## Flattened Device Tree blob at 00b00000<BR>
Booting using the fdt blob at 0xb00000<BR>
Loading Device Tree to 007fc000, end 007ffb94 ... OK<BR>
id mach(): done<BR>
MMU:enter<BR>
MMU:hw init<BR>
MMU:mapin<BR>
MMU:setio<BR>
MMU:exit<BR>
Using HSTX tr5000v2 machine description<BR>
Linux version 2.6.28-rc5-01296-g7b9a403-dirty (lyao01@lyao01-desktop) (gcc versi<BR>
on 4.2.2) #1 Mon Dec 8 12:02:39 EST 2008<BR>
console [udbg0] enabled<BR>
setup_arch: bootmem<BR>
tr5000v2_setup_arch()<BR>
tr5000v2_setup_arch(), finish<BR>
arch: exit<BR>
Top of RAM: 0x4000000, Total RAM: 0x4000000<BR>
Memory hole size: 0MB<BR>
Zone PFN ranges:<BR>
DMA 0x00000000 -> 0x00004000<BR>
Normal 0x00004000 -> 0x00004000<BR>
Movable zone start PFN for each node<BR>
early_node_map[1] active PFN ranges<BR>
0: 0x00000000 -> 0x00004000<BR>
On node 0 totalpages: 16384<BR>
free_area_init_node: node 0, pgdat c02fad10, node_mem_map c0323000<BR>
DMA zone: 128 pages used for memmap<BR>
DMA zone: 0 pages reserved<BR>
DMA zone: 16256 pages, LIFO batch:3<BR>
Normal zone: 0 pages used for memmap<BR>
Movable zone: 0 pages used for memmap<BR>
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256<BR>
Kernel command line: root=/dev/nfs rw nfsroot=10.15.34.196:/home/lyao01/work/tar<BR>
get_odu_100 ip=172.20.16.150:10.15.34.196:172.20.16.1:255.255.255.0:tr5000v2:eth<BR>
0:off<BR>
PID hash table entries: 256 (order: 8, 1024 bytes)<BR>
time_init: decrementer frequency = 16.666666 MHz<BR>
time_init: processor frequency = 266.666664 MHz<BR>
clocksource: timebase mult[f00000a] shift[22] registered<BR>
clockevent: decrementer mult[444] shift[16] cpu[0]</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">This is the dts file:</FONT>
</P>
<P><FONT FACE="Courier New">/dts-v1/;<BR>
/ {<BR>
model = "TR5000V2";<BR>
compatible = "fsl,tr5000v2";<BR>
#address-cells = <1>;<BR>
#size-cells = <1>; <BR>
<BR>
cpus {<BR>
#address-cells = <1>;<BR>
#size-cells = <0>;<BR>
<BR>
PowerPC,8248@0 {<BR>
device_type = "cpu";<BR>
reg = <0>;<BR>
d-cache-line-size = <32>;<BR>
i-cache-line-size = <32>;<BR>
d-cache-size = <16384>;<BR>
i-cache-size = <16384>;<BR>
timebase-frequency = <0>;<BR>
clock-frequency = <0>;<BR>
};<BR>
};<BR>
<BR>
memory {<BR>
device_type = "memory";<BR>
reg = <0 0>;<BR>
};<BR>
<BR>
soc@f0000000 {<BR>
#address-cells = <1>;<BR>
#size-cells = <1>;<BR>
compatible = "fsl,mpc8248-immr", "fsl,pq2-soc";<BR>
ranges = <0x00000000 0xf0000000 0x00053000>;<BR>
<BR>
// Temporary until code stops depending on it.<BR>
device_type = "soc";<BR>
<BR>
// Temporary -- will go away once kernel uses ranges for get_immrbase().<BR>
reg = <0xf0000000 0x00053000>;<BR>
<BR>
cpm@119c0 {<BR>
#address-cells = <1>;<BR>
#size-cells = <1>;<BR>
#interrupt-cells = <2>;<BR>
compatible = "fsl,mpc8248-cpm", "fsl,cpm2";<BR>
// This is from EP8248E, MPC8272ADS does not use, don't use either<BR>
// "simple-bus";<BR>
reg = <0x119c0 0x30>;<BR>
ranges;<BR>
<BR>
muram {<BR>
#address-cells = <1>;<BR>
#size-cells = <1>;<BR>
ranges = <0 0 0x10000>;<BR>
<BR>
data@0 {<BR>
compatible = "fsl,cpm-muram-data";<BR>
reg = <0 0x2000 0x9800 0x800>;<BR>
};<BR>
};<BR>
<BR>
brg@119f0 {<BR>
compatible = "fsl,mpc8248-brg",<BR>
"fsl,cpm2-brg",<BR>
"fsl,cpm-brg";<BR>
reg = <0x119f0 0x10 0x115f0 0x10>;<BR>
};<BR>
<BR>
/* Monitor port/SMC1 */<BR>
smc1: serial@11a80 {<BR>
device_type = "serial";<BR>
compatible = "fsl,mpc8248-smc-uart",<BR>
"fsl,cpm2-smc-uart";<BR>
reg = <0x11a80 0x20 0x87fc 2>;<BR>
interrupts = <4 8>;<BR>
interrupt-parent = <&PIC>;<BR>
fsl,cpm-brg = <7>;<BR>
fsl,cpm-command = <0x1d000000>;<BR>
linux,tr5000v2-label = "SMC1";<BR>
};<BR>
<BR>
eth0: ethernet@11300 {<BR>
device_type = "network";<BR>
compatible = "fsl,mpc8248-fcc-enet",<BR>
"fsl,cpm2-fcc-enet";<BR>
reg = <0x11300 0x20 0x8400 0x100 0x11390 1>;<BR>
local-mac-address = [ 00 00 00 00 00 00 ];<BR>
interrupts = <32 8>;<BR>
interrupt-parent = <&PIC>;<BR>
// Don't use this for now<BR>
// phy-handle = <&PHY0>; <BR>
linux,network-index = <0>;<BR>
fsl,cpm-command = <0x12000300>;<BR>
};<BR>
};<BR>
<BR>
PIC: interrupt-controller@10c00 {<BR>
#interrupt-cells = <2>;<BR>
interrupt-controller;<BR>
reg = <0x10c00 0x80>;<BR>
compatible = "fsl,mpc8248-pic", "fsl,cpm2-pic";<BR>
}; <BR>
<BR>
chosen {<BR>
linux,stdout-path = "/soc/cpm/serial@11a80";<BR>
};<BR>
};</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Attached is my .config.</FONT>
</P>
<P><FONT FACE="Arial" SIZE=2 COLOR="#000000"> <<config>> </FONT>
<BR><FONT SIZE=2 FACE="Arial">Thank you.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Lixin Yao</FONT>
</P>
</BODY>
</HTML>