Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2003 08:28:05 -0300
From:      "Daniel C. Sobral" <dcs@tcoip.com.br>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/release/alpha dokern.sh drivers.conf
Message-ID:  <3ECB62C5.2070301@tcoip.com.br>
In-Reply-To: <20030520141601.GA827@sunbay.com>
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> <20030520141601.GA827@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov wrote:
> 
>>Alas, the floppy disk loader doesn't come with ficl at all. :-)
> 
> Daniel, would you please stop spreading this non-true fact now?

[checking facts]

Ooops, I did a Terry. :-)

Well, it used to be true. And I can't say I'm happy to discover I'm 
wrong, since my plans call for an increase of 40Kb on i386 for the 
loader on i386 (rather more on 64 bits archs). I counted on not being 
encumbered by floppy's loader.

> 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.

It is not. Here is loader.rc:

include /boot/device.hints
load /kernel
echo \007\007
echo Please insert MFS root floppy and press enter:
read
load -t mfs_root /mfsroot
set hint.acpi.0.disabled=1
set driver_floppy=YES
set module_path="/modules;/dist"
echo \007\007
autoboot 10

The commands are "include", "load", "echo", "read", "set" and 
"autoboot". They are all builtin commands, not ficl ones. The hints file 
itself contains only the "set" command, which is a builtin command.

So, regardless of whether FICL is present or not, it is, at the present, 
not required.

> 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} == "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} == "ia64"
> : 	@cp ${RD}/trees/base/boot/loader.efi ${RD}/image.${FSIMAGE}/boot
> : .else
> : 	@cp ${RD}/trees/base/boot/loader ${RD}/image.${FSIMAGE}/boot
> : .endif

Indeed.

-- 
Daniel C. Sobral                   (8-DCS)
Gerencia de Operacoes
Divisao de Comunicacao de Dados
Coordenacao de Seguranca
VIVO Centro Oeste Norte
Fones: 55-61-313-7654/Cel: 55-61-9618-0904
E-mail: Daniel.Capo@tco.net.br
         Daniel.Sobral@tcoip.com.br
         dcs@tcoip.com.br

Outros:
	dcs@newsguy.com
	dcs@freebsd.org
	capo@notorious.bsdconspiracy.net

NEWARK has been REZONED!!  DES MOINES has been REZONED!!



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