Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2009 13:25:59 +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:  <49A7DBD7.7010103@semihalf.com>
In-Reply-To: <Pine.GSO.4.62.0902262112580.21452@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>

next in thread | previous in thread | raw e-mail | index | archive | help
Aleksey V Fedorov wrote:
> At this point I fill bootinfo from device-tree block.
> Next is to recreate boot environment passed by loader.
> Could you dump typical environment i.e. kern_envp on MPC85xx platform?

Sure, below is the dump of my MPC8555CDS system, as seen from the running kernel:

cds# kenv
LINES="24"
boot.netif.gateway="10.0.0.1"
boot.netif.hwaddr="00:01:01:00:85:55"
boot.netif.ip="10.0.0.61"
boot.netif.netmask="255.255.0.0"
boot.nfsroot.nfshandle="X0b5976484af8d75c0c00000049f2a30092cc301f000000000000000000000000X"
boot.nfsroot.path="/nfsroot/mpc8555cds/"
boot.nfsroot.server="10.0.0.201"
bootfile="kernel"
currdev="net0:"
hw.uart.console="mm:0xfef04600"
interpret="OK"
kernel="kernel"
kernel_options=""
kernelname="boot/kernel/kernel-8-svn"
loaddev="net0:"
loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local"
mac_ifoff="NO"
module_path="/boot/kernel;/boot/modules"
prompt="loader>"
vfs.root.mountfrom="nfs:10.0.0.201:/nfsroot/mpc8555cds/"
boot.netif.name="tsec0"


The important item you should set manually is 'hw.uart.console' value (with
your actual address of course). The rest are either automatically created, or
are not critical for getting the kernel initially booting.

Rafal



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