boot process

Rafal Jaworowski raj at semihalf.com
Fri Feb 27 04:26:11 PST 2009


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


More information about the freebsd-ppc mailing list