Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2003 17:16:01 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        "Daniel C. Sobral" <dcs@tcoip.com.br>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/release/alpha dokern.sh drivers.conf
Message-ID:  <20030520141601.GA827@sunbay.com>
In-Reply-To: <3ECA2A4D.2000204@tcoip.com.br>
References:  <20030518005055.GG12759@sunbay.com> <200305192149.h4JLnUrt075384@khavrinen.lcs.mit.edu> <3EC95463.50705@btc.adaptec.com> <20030519.174801.00483404.imp@bsdimp.com> <200305192355.h4JNtx4e076037@khavrinen.lcs.mit.edu> <3EC986C6.5050800@btc.adaptec.com> <3ECA2A4D.2000204@tcoip.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help

--ikeVEW9yuYc//A+q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 20, 2003 at 10:14:53AM -0300, Daniel C. Sobral wrote:
> Scott Long wrote:
> >
> >The second step is to make it easy to package, deliver, and load driver
> >update disks.  Defining a standard floppy format can be debated of
> >course, and doesn't matter a whole lot as long as it conveys enough
> >information for the user and installer to intelligently use it.
> >However, I do assert that this is much easier to do from the installer
> >than from the loader.  With the kernel completely stripped down, it
> >should be pretty straight-forward for the installer to load and unload
> >modules at the users' request.  Doing the same from the loader is also
> >possible, but let's face it: there are few people on the planet that
> >want to program in ficl.  Let's leave that realm to tweaking hints and
>=20
> Alas, the floppy disk loader doesn't come with ficl at all. :-)
>=20
Daniel, would you please stop spreading this non-true fact now?

The boot floppies DO come with FICL support in loader(8), and it
is how we load the kernel hints file during the initial boot.
There is no code (in src/release/) that recompiles loader(8) with
-DNOFORTH, we just take the standard loader(8) from the "base"
distribution and kgzip(8) it in the i386 case, here's the relevant
code from release/Makefile:

: .if ${TARGET} =3D=3D "i386"
: 	@${WMAKEENV} kgzip -v -l ${RD}/trees/base/usr/lib/kgzldr.o \
: 	    -o ${RD}/image.${FSIMAGE}/boot/loader ${RD}/trees/base/boot/loader
: .elif ${TARGET_ARCH} =3D=3D "ia64"
: 	@cp ${RD}/trees/base/boot/loader.efi ${RD}/image.${FSIMAGE}/boot
: .else
: 	@cp ${RD}/trees/base/boot/loader ${RD}/image.${FSIMAGE}/boot
: .endif


Cheers,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

--ikeVEW9yuYc//A+q
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+yjihUkv4P6juNwoRAjBAAJ9H7vq97H67UIIg4h82G6QCbAdK8wCfX8p/
h2DZ1Bk/jEUojZ7/3q7Cjz0=
=AvPU
-----END PGP SIGNATURE-----

--ikeVEW9yuYc//A+q--



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