FreeBSD on a DockStar - doesn't mount root

Maciej Milewski milu at dat.pl
Tue Feb 15 21:48:24 UTC 2011


Tuesday 15 of February 2011 19:43:13 Torfinn Ingolfsen napisał(a):
> On Sat, 12 Feb 2011 13:09:03 +0100
> 
> crest <crest at 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?
> >  
> >  The loader isn't used on the DockStar. U-boot just jumps into the
> >  kernel's entry point. Just compile it into the kernel.
> 
> Aha. Is there no way to pass FreeBSD kernel arguments (or what you call it)
> via U-Boot?
Passing args to linux kernel is done by setting environment variable named 
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 
FreeBSD but if it is please inform about it.
I've found that info on http://www.denx.de/wiki/view/DULG/UBootEnvVariables

Maciej



More information about the freebsd-arm mailing list