Hi,
there are several legacy tables that PCBIOS writes, eg. about the io-ports of the various serial ports.
We probably need a place for them to be generated, as some clients might rely on the presence of these tables.
Grub2 definitely needs the serial port's ioport written at 0x400 (which the attached patch does) to support serial console, but I'm not sure if that's a good place to collect such configuration or where to put it instead. So please consider this patch an attempt to start a discussion... :-)
Regards, Patrick Georgi
On Mon, Aug 20, 2007 at 08:29:16PM +0200, Patrick Georgi wrote:
- *(u32*)(0x400)=TTYSx_BASE;
It's actually an u16 per port.
I don't like where this is going.
I don't want LB to be BIOS-compatible, I think that would be a regression.
What happened with the lbtable and the device tree?
//Peter
Dear friends,
I have one GEODE GX533@1W mother thats i need some help to change memory sharing with on board video card.
Please is possible do this ? Today in bios share 8mb with video card, and we need share 64mb or 32 mb of ram memory, I try per many times talk with AMD, and no success :( .
Angelini
angelini wrote:
Dear friends,
I have one GEODE GX533@1W mother thats i need some help to change
memory sharing with on board video card.
Please is possible do this ? Today in bios share 8mb with video card, and we need share 64mb or 32 mb of ram memory, I try per many times talk with AMD, and no success :( .
Angelini
What BIOS are you using? It should be a BIOS setting. Please be more descriptive about your failure.
Marc
* Peter Stuge peter@stuge.se [070821 02:44]:
On Mon, Aug 20, 2007 at 08:29:16PM +0200, Patrick Georgi wrote:
- *(u32*)(0x400)=TTYSx_BASE;
It's actually an u16 per port.
Hah. you gotta love little endian :-)
I don't like where this is going.
I agree that this needs to be done a little more generic, and we want to capsulate it in a seperate function.
I don't want LB to be BIOS-compatible, I think that would be a regression.
This is not BIOS compatibility. It is broken OS compatibility.
In the specific grub2 case we could possibly fix this in the grub code though,
term/i386/pc/serial.c: serial_hw_get_port (const unsigned short unit) might indeed read the lbtable rather than 0x400 in case it is running on LinuxBIOS.
Stefan