boot process

Rafal Jaworowski raj at semihalf.com
Fri Feb 27 08:22:51 PST 2009


ksey V Fedorov wrote:
> Thank you.
> Now kernel start to boot.

Cool.

> transfer started .................................... transfer ok,
> time=283.76s
> setting up elf image... OK
> jumping to kernel code
> GDB: no debug ports present
> KDB: debugger backends: ddb
> KDB: current backend: ddb
> L1 D-cache enabled
> L1 I-cache enabled
> Copyright (c) 1992-2009 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>         The Regents of the University of California. All rights reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 8.0-CURRENT #6: Fri Feb 27 17:59:20 MSK 2009
>     root at servd.vsi.ru:/usr/obj/powerpc/usr/current/src/sys/MPC85XX
> WARNING: WITNESS option enabled, expect reduced performance.
> Timecounter "decrementer" frequency 0 Hz quality 0
> cpu0: Freescale e500v2 core revision 2.0
> cpu0: HID0 80000000<EMCP>
> real memory  = 520077312 (495 MB)
> Physical memory chunk(s):
> 0x01000000 - 0x1f713fff, 510738432 bytes (124692 pages)
> avail memory = 508575744 (485 MB)
> random: <entropy source, Software, Yarrow>
> mem: <memory>
> nfslock: pseudo-device
> null: <null device, zero device>
> nexus0: <MPC85xx Nexus device>
> ocpbus0: <On-Chip Peripherals bus> on nexus0
> ocpbus0: PORDEVSR=82b9ea67, PORDEVSR2=8f000079
> 
> and hang...

I quickly looked at the manual and noticed the 8548 has a different number of
local access windows than the default 8. Please try to set law_max to 10 in
ocpbus_probe().

Another thought: try not to instantiate LBC child (in ocpbus_attach()
just comment out ocpbus_mk_child(dev, OCPBUS_DEVTYPE_LBC, 0)) and let me know
if this changes anything.

> Is it normal that "decrementer" frequency is 0 ?

This isn't good, are you sure a proper value is given to decr_config()?

Rafal



More information about the freebsd-ppc mailing list