cvs commit: src/release/alpha dokern.sh drivers.conf
Daniel C. Sobral
dcs at tcoip.com.br
Wed May 21 04:28:14 PDT 2003
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 at tco.net.br
Daniel.Sobral at tcoip.com.br
dcs at tcoip.com.br
Outros:
dcs at newsguy.com
dcs at freebsd.org
capo at notorious.bsdconspiracy.net
NEWARK has been REZONED!! DES MOINES has been REZONED!!
More information about the cvs-src
mailing list