[LinuxBIOS] Booting windows 2000

Richard Smith smithbone at gmail.com
Wed Aug 24 18:24:01 CEST 2005


> > Can some one help me on serial port redirection at LILO level and OS
> > booting level also.

Look in util/ADLO/bochs/bios/rombios.c

Search for DEBUG_SERIAL and make sure

1) that it exists that way you actually have the version of rombios
with the serial output mods
2) the define is enabled 

Then all of the printf statements in rombios.c will go out the serial
port and anything that calls the bios to write a character to the
screen.  Which will include what LILO is trying to do.

Note that it also tries to the screen write bios call so if thats what
is hanging things it will still hang.
 For a true console redirection you will have to hack on the send()
routine to only call the uart_tx_byte() and not uart_tx_byte() and
wrch()

Hope this helps.

-- 
Richard A. Smith




More information about the coreboot mailing list