A20/keybord/no-keyboard

Dag-Erling Smørgrav des at des.no
Wed Nov 24 12:47:33 GMT 2004


Danny Braniss <danny at cs.huji.ac.il> writes:
> im using hint.sio.0.flags="0x20", and still, only after i removed
> the vga from the config file did i get the console output on the
> serial line.

0x20 (COM_FORCECONSOLE) isn't enough, you have to use 0x30
(COM_FORCECONSOLE | COM_CONSOLE).  COM_FORCECONSOLE is ignored if
COM_CONSOLE isn't set.

> i'm using boot0sio, so the boot is also talking via the serial, but
> the BTX is still using the vga, compiling it to use the serial gave
> errors.

There's no need to recompile anything; the third-stage loader will
automatically use the serial console if the second-stage loader does
(i.e. /boot.config contains -h).  The reason why there are two
versions of the first-stage loader is that space constraints preclude
supporting both VGA and serial in the same code.  The second- and
third-stage loaders have no such constraints.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list