Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jan 2004 07:13:21 +0000
From:      Bruce M Simpson <bms@spc.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        nate@root.org
Subject:   Re: Serial console only works after reboot?
Message-ID:  <20040105071321.GA63069@saboteur.dek.spc.org>
In-Reply-To: <20040105162219.A3687@gamplex.bde.org>
References:  <20040103233044.N17367@root.org> <20040104.003330.54786488.imp@bsdimp.com> <20040104150929.Y19715@root.org> <20040104.164103.03383403.imp@bsdimp.com> <20040105003803.GB59922@saboteur.dek.spc.org> <20040105162219.A3687@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 05, 2004 at 04:50:13PM +1100, Bruce Evans wrote:
> It should use BOOT_COMCONSOLE_PORT and BOOT_CONSOLE_SPEED like boot2
> does.

Ideally, yes. However an assembly language macro would be needed to stuff
the appropriate divisor value into the BIOS call used to set the speed. There
are hardly any bytes free in boot0; I had to shave strings to get enough
space as it is.

Doing sio directly bypassing the BIOS would require that the MBR be enlarged
to 1024, rather than 512, bytes. This is one of the issues I originally had
with the code being imported as-is however obrien was happy to take it anyway.

I'm all for this being added if someone is willing to provide patches.

BMS



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