Subject: Re: Soekris 4801 craziness: pxeboot
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: David Laight <david@l8s.co.uk>
List: tech-embed
Date: 10/15/2005 18:11:10
On Sat, Oct 15, 2005 at 10:13:25AM -0400, Steven M. Bellovin wrote:
> Still not working quite right. How do I set the serial console speed
> for pxeboot_com0? It looked like a compile-time option I wasn't sure
> where to set. For obvious reasons, I'd like to set it to whatever
> speed I'm running my Soekris console at; for equally obvious reasons,
> I'd like that as fast as possible.
Possibly just patch the header at the start of pxeboot.bin.
(Like installboot does when copying bootxx_xxfs onto the disk.)
00000000 eb 7e 89 f6 d3 b6 86 78 78 00 00 00 00 00 00 00 |.~.....xx.......|
00000010 05 00 00 00 00 00 00 00 80 25 00 00 00 00 00 00 |.........%......|
^ condev ^ baud
IIRC changing condev to 01 will make it use the serial console.
Maybe we should make a baud of zero read the divider registers...
Also installboot could have an option to patch an existing binary.
David
--
David Laight: david@l8s.co.uk