Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2009 17:22:48 +0100
From:      Rafal Jaworowski <raj@semihalf.com>
To:        Aleksey V Fedorov <alexf@vsi.ru>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: boot process
Message-ID:  <49A81358.3080309@semihalf.com>
In-Reply-To: <Pine.GSO.4.62.0902271806250.12296@serv1>
References:  <Pine.GSO.4.62.0902212141241.25932@serv1> <49A2704F.4060703@semihalf.com> <Pine.GSO.4.62.0902241839390.12361@serv1> <49A42369.600@freebsd.org> <Pine.GSO.4.62.0902241944380.12361@serv1> <49A511E5.1010705@semihalf.com> <Pine.GSO.4.62.0902262112580.21452@serv1> <49A7DBD7.7010103@semihalf.com> <Pine.GSO.4.62.0902271806250.12296@serv1>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49A81358.3080309>