kernel boot stuck at udbg_putc_cpm()

Shawn Jin shawnxjin at gmail.com
Wed Jul 7 10:17:16 EST 2010


>> That was it. The value @0xfa203bf8 is 0x20000001. The kernel certainly
>> moved forward till it stuck at the new place cpm_uart_initbd() as
>> shown below.
>
> Do you get any output from the serial port?  I'd have expected
> something by the time you get to cpm_uart_initbd() -- in fact, the
> early output will have been shut down by then to make room for the real
> serial driver.

Nothing new on the serial port. :-( Is the interrupt enabled during
the early debug stage? I'm not sure if the interrupt controller is set
properly in DTS. The same MPC875 settings are copied from the
adder875-uboot.dts.

    Memory <- <0x0 0x8000000> (128MB)
    ENET0: local-mac-address <- 00:09:9b:01:58:64
    CPU clock-frequency <- 0x7270e00 (120MHz)
    CPU timebase-frequency <- 0x393870 (4MHz)
    CPU bus-frequency <- 0x3938700 (60MHz)

    zImage starting: loaded at 0x00400000 (sp: 0x07d1ccd0)
    Allocating 0x186bdd bytes for kernel ...
    gunzipping (0x00000000 <- 0x0040c000:0x00591c30)...done 0x173b18 bytes

    Linux/PowerPC load: root=/dev/ram
    Finalizing device tree... flat tree at 0x59e300

Here is the kernel log buf dump. Anything suspicious?

<6>Using My MPC870 machine description
<5>Linux version 2.6.33.5 (shawn at ubuntu) (gcc version 4.3.3 (GCC) )
#10 Mon Jul 5 22:58:30 PDT 2010
<7>Top of RAM: 0x8000000, Total RAM: 0x8000000
<7>Memory hole size: 0MB
<4>Zone PFN ranges:
<4>  DMA      0x00000000 -> 0x00008000
<4>  Normal   0x00008000 -> 0x00008000
<4>Movable zone start PFN for each node
<4>early_node_map[1] active PFN ranges
<4>    0: 0x00000000 -> 0x00008000
<7>On node 0 totalpages: 32768
<7>free_area_init_node: node 0, pgdat c016c5b0, node_mem_map c0189000
<7>  DMA zone: 256 pages used for memmap
<7>  DMA zone: 0 pages reserved
<7>  DMA zone: 32512 pages, LIFO batch:7
<6>MMU: Allocated 72 bytes of context maps for 16 contexts
<4>Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
<5>Kernel command line: root=/dev/ram
<6>PID hash table entries: 512 (order: -1, 2048 bytes)
<6>Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
<6>Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>Memory: 128096k/131072k available (1420k kernel code, 2836k
reserved, 68k data, 74k bss, 76k init)
<6>Kernel virtual memory layout:
<6>  * 0xfffdf000..0xfffff000  : fixmap
<6>  * 0xfde00000..0xfe000000  : consistent mem
<6>  * 0xfddfa000..0xfde00000  : early ioremap
<6>  * 0xc9000000..0xfddfa000  : vmalloc & ioremap
<6>SLUB: Genslabs=12, HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
<6>Hierarchical RCU implementation.
<6>NR_IRQS:512 nr_irqs:512
<7>  alloc irq_desc for 16 on node 0
<7>  alloc kstat_irqs on node 0
<7>irq: irq 5 on host /soc at fa200000/interrupt-controller at 0 mapped to
virtual irq 16
<7>  alloc irq_desc for 17 on node 0
<7>  alloc kstat_irqs on node 0
<7>irq: irq 0 on host /soc at fa200000/cpm at 9c0/interrupt-controller at 930
mapped to virtual irq 17
<7>time_init: decrementer frequency = 3.750000 MHz
<7>time_init: processor frequency   = 120.000000 MHz
<6>clocksource: timebase mult[42aaaaab] shift[22] registered
<7>clockevent: decrementer mult[f5c28f] shift[32] cpu[0]
<7>  alloc irq_desc for 18 on node 0
<7>  alloc kstat_irqs on node 0
<7>irq: irq 4 on host /soc at fa200000/cpm at 9c0/interrupt-controller at 930
mapped to virtual irq 18

Thanks,
-Shawn.


More information about the Linuxppc-dev mailing list