Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2011 22:48:25 +0100
From:      Maciej Milewski <milu@dat.pl>
To:        freebsd-arm@freebsd.org
Subject:   Re: Re: FreeBSD on a DockStar - doesn't mount root
Message-ID:  <201102152248.26276.milu@dat.pl>
In-Reply-To: <20110215194313.c9141c1c.torfinn.ingolfsen@broadpark.no>
References:  <20110206181659.869861bf.torfinn.ingolfsen@broadpark.no> <f4649e8f0ee1ffae34204dd2046feb56@webmail.informatik.uni-bremen.de> <20110215194313.c9141c1c.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Tuesday 15 of February 2011 19:43:13 Torfinn Ingolfsen napisa=B3(a):
> On Sat, 12 Feb 2011 13:09:03 +0100
>=20
> crest <crest@informatik.uni-bremen.de> wrote:
> >  On Sat, 12 Feb 2011 00:32:03 +0100, Torfinn Ingolfsen wrote:
> > > OTOH, how does the kernel read /boot/loader.conf and the settings in
> > > there if it can't mount the disk?
> > =20
> >  The loader isn't used on the DockStar. U-boot just jumps into the
> >  kernel's entry point. Just compile it into the kernel.
>=20
> Aha. Is there no way to pass FreeBSD kernel arguments (or what you call i=
t)
> via U-Boot?
Passing args to linux kernel is done by setting environment variable named=
=20
bootargs. If you can get the u-boot prompt it can be set like:
setenv bootargs parameters_go_here
you may want to save later this environment by issuing saveenv.
I don't have any u-boot device so can't tell you if that's working with=20
=46reeBSD but if it is please inform about it.
I've found that info on http://www.denx.de/wiki/view/DULG/UBootEnvVariables

Maciej




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