From owner-freebsd-arm@FreeBSD.ORG Tue Feb 15 21:48:24 2011 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 018D3106567A for ; Tue, 15 Feb 2011 21:48:24 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id AD7EC8FC21 for ; Tue, 15 Feb 2011 21:48:23 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id E92E7A7; Tue, 15 Feb 2011 22:48:21 +0100 (CET) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id EQ+fcw+HsSoM; Tue, 15 Feb 2011 22:48:18 +0100 (CET) Received: from snifi.laptop (77-254-171-62.adsl.inetia.pl [77.254.171.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id 6FB7991; Tue, 15 Feb 2011 22:48:18 +0100 (CET) From: Maciej Milewski To: freebsd-arm@freebsd.org Date: Tue, 15 Feb 2011 22:48:25 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.5.5; i386; ; ) References: <20110206181659.869861bf.torfinn.ingolfsen@broadpark.no> <20110215194313.c9141c1c.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20110215194313.c9141c1c.torfinn.ingolfsen@broadpark.no> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Message-Id: <201102152248.26276.milu@dat.pl> Cc: Subject: Re: Re: FreeBSD on a DockStar - doesn't mount root X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2011 21:48:24 -0000 Tuesday 15 of February 2011 19:43:13 Torfinn Ingolfsen napisa=B3(a): > On Sat, 12 Feb 2011 13:09:03 +0100 >=20 > crest 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