Re: Overlaping IO resource for AMD K8

2005-01-18 Thread Eric W. Biederman
Li-Ta Lo [EMAIL PROTECTED] writes: On Tue, 2005-01-11 at 16:52, Ronald G. Minnich wrote: Ollie, you did it! We should thank SciTech for their wonderful emulator. Yes. Ollie just took a big stack of video cards, some AGP and some PCI, and booted linuxbios one at a time and showed

Re: Overlaping IO resource for AMD K8

2005-01-18 Thread Li-Ta Lo
On Tue, 2005-01-18 at 04:54, Eric W. Biederman wrote: Li-Ta Lo [EMAIL PROTECTED] writes: On Tue, 2005-01-11 at 16:52, Ronald G. Minnich wrote: Ollie, you did it! We should thank SciTech for their wonderful emulator. Yes. Ollie just took a big stack of video cards, some

Re: Overlaping IO resource for AMD K8

2005-01-18 Thread Stefan Reinauer
* Li-Ta Lo [EMAIL PROTECTED] [050118 17:14]: Some of them don't have correct 0x55aa signature. All of them have wrong Class code. Then it is not a pci option rom as described by the standard. Do they have the other pci option rom structs? ___

Re: Overlaping IO resource for AMD K8

2005-01-18 Thread Ronald G. Minnich
It is weird that fuctory bios can still use them. There's gotta be a hack in fuctory bios, I would guess, something like: if (the pci card is a vga there is an option rom) callit(); i.e. I betcha that fuctory bioses will call an option rom on vga even if it violates the spec. I

Re: Overlaping IO resource for AMD K8

2005-01-18 Thread Li-Ta Lo
On Tue, 2005-01-18 at 09:29, Ronald G. Minnich wrote: It is weird that fuctory bios can still use them. There's gotta be a hack in fuctory bios, I would guess, something like: if (the pci card is a vga there is an option rom) callit(); i.e. I betcha that fuctory bioses will call

Re: Overlaping IO resource for AMD K8

2005-01-18 Thread Richard Smith
It is weird that fuctory bios can still use them. There's gotta be a hack in fuctory bios, I would guess, something like: if (the pci card is a vga there is an option rom) callit(); i.e. I betcha that fuctory bioses will call an option rom on vga even if it violates the spec.

Re: Overlaping IO resource for AMD K8

2005-01-18 Thread Li-Ta Lo
On Tue, 2005-01-18 at 10:06, Richard Smith wrote: It is weird that fuctory bios can still use them. There's gotta be a hack in fuctory bios, I would guess, something like: if (the pci card is a vga there is an option rom) callit(); i.e. I betcha that fuctory bioses will

Re: Overlaping IO resource for AMD K8

2005-01-18 Thread Richard Smith
i.e. I betcha that fuctory bioses will call an option rom on vga even if it violates the spec. I doubt that.. I've scrubbed the 0xAA55 from several VGA cards so I could plug them into a factory bios system and not have the VGA enabled. None of them ever went ahead and ran the bios. I can

Re: Overlaping IO resource for AMD K8

2005-01-18 Thread YhLu
Ollie, I fixed one bug in the class code ...in pci_rom.c. please check it. ... YH ___ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios

Re: Overlaping IO resource for AMD K8

2005-01-18 Thread Li-Ta Lo
On Tue, 2005-01-18 at 11:13, YhLu wrote: Ollie, I fixed one bug in the class code ...in pci_rom.c. please check it. ... YH Did you check in ? Ollie ___ Linuxbios mailing list Linuxbios@clustermatic.org

Re: Overlaping IO resource for AMD K8

2005-01-18 Thread YhLu
Yes. I swap the class_hi and class_lo in pci_rom.h YH -Original Message- From: Li-Ta Lo [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 18, 2005 10:31 AM To: YhLu Cc: Eric W. Biederman; Ronald G. Minnich; LinuxBIOS Subject: Re: Overlaping IO resource for AMD K8 On Tue, 2005-01-18

Re: Overlaping IO resource for AMD K8

2005-01-18 Thread Ronald G. Minnich
On Tue, 18 Jan 2005, Stefan Reinauer wrote: Also, the 0x55aa sequence has to be at any 4k boundary within the rom. Before that any data may occur. IIRC the standard does not say that the option rom image has to start at the beginning of the physical chip. I never saw that requirement

Re: Overlaping IO resource for AMD K8

2005-01-18 Thread Li-Ta Lo
On Tue, 2005-01-18 at 12:58, Ronald G. Minnich wrote: On Tue, 18 Jan 2005, Stefan Reinauer wrote: Also, the 0x55aa sequence has to be at any 4k boundary within the rom. Before that any data may occur. IIRC the standard does not say that the option rom image has to start at the beginning

RE: Overlaping IO resource for AMD K8

2005-01-11 Thread YhLu
Ollie, I recall sth about mtrr setting, I wonder if I enable the NC could affect your code. Please check cpu/x86/mtrr/mtrr.c about enable NC below 4G. YH -Original Message- From: Li-Ta Lo [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 10:21 AM To: LinuxBIOS; Eric Biederman

RE: Overlaping IO resource for AMD K8

2005-01-11 Thread Li-Ta Lo
On Tue, 2005-01-11 at 11:56, YhLu wrote: Ollie, I recall sth about mtrr setting, I wonder if I enable the NC could affect your code. Please check cpu/x86/mtrr/mtrr.c about enable NC below 4G. I think there is some problem with the resource allocation. If the vga card has PCI IO resource

RE: Overlaping IO resource for AMD K8

2005-01-11 Thread Li-Ta Lo
On Tue, 2005-01-11 at 12:02, Li-Ta Lo wrote: On Tue, 2005-01-11 at 11:56, YhLu wrote: Ollie, I recall sth about mtrr setting, I wonder if I enable the NC could affect your code. Please check cpu/x86/mtrr/mtrr.c about enable NC below 4G. I think there is some problem with the

RE: Overlaping IO resource for AMD K8

2005-01-11 Thread YhLu
PROTECTED] Sent: Tuesday, January 11, 2005 11:13 AM To: YhLu Cc: LinuxBIOS; Eric Biederman Subject: RE: Overlaping IO resource for AMD K8 On Tue, 2005-01-11 at 12:02, Li-Ta Lo wrote: On Tue, 2005-01-11 at 11:56, YhLu wrote: Ollie, I recall sth about mtrr setting, I wonder if I enable

RE: Overlaping IO resource for AMD K8

2005-01-11 Thread YhLu
Subject: RE: Overlaping IO resource for AMD K8 On Tue, 2005-01-11 at 12:02, Li-Ta Lo wrote: On Tue, 2005-01-11 at 11:56, YhLu wrote: Ollie, I recall sth about mtrr setting, I wonder if I enable the NC could affect your code. Please check cpu/x86/mtrr/mtrr.c about enable NC below 4G

RE: Overlaping IO resource for AMD K8

2005-01-11 Thread Li-Ta Lo
: warning: implicit declaration of function `X86EMU_setMemBase' make[1]: *** [biosemu.o] Error 1 -Original Message- From: Li-Ta Lo [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 11:13 AM To: YhLu Cc: LinuxBIOS; Eric Biederman Subject: RE: Overlaping IO resource for AMD K8

RE: Overlaping IO resource for AMD K8

2005-01-11 Thread Li-Ta Lo
On Tue, 2005-01-11 at 12:39, YhLu wrote: As the Nvidia card it does not have PCI IO resource so we got the 2 to 1 thing. It mean it doesn't allocate resource to it. Limitstart But why it set the resource to the HW registers? Doesn't it cause some ill side effect? Ollie

Re: Overlaping IO resource for AMD K8

2005-01-11 Thread Eric W. Biederman
Li-Ta Lo [EMAIL PROTECTED] writes: Eric, Why I got the overlaping IO resources in the 18:0 ? PCI: 00:18.0 1ba - [0x00f400 - 0x00f5ff] prefmem node 0 link2 PCI: 00:18.0 1c2 - [0x001000 - 0x001fff] io node 0 link 2 PCI: 00:18.0 1d8 - [0x002000 - 0x001fff] io node 0

RE: Overlaping IO resource for AMD K8

2005-01-11 Thread Li-Ta Lo
On Tue, 2005-01-11 at 13:16, YhLu wrote: It works on S2895 + NV (Vendor 10de, Device 00fd) card. You did a great job. Please disable the printk_debug instruction biosemu.c. YH I am still debugging PCI cards. Once I have PCI cards working I will disable these messages. Ollie

RE: Overlaping IO resource for AMD K8

2005-01-11 Thread Ronald G. Minnich
Ollie, you did it! Ollie just took a big stack of video cards, some AGP and some PCI, and booted linuxbios one at a time and showed how each video card came up. It's fantastic. now, Stefan, time for openbios payload. Then we have a desktop PC that prints an Open Boot prompt :-) ron

RE: Overlaping IO resource for AMD K8

2005-01-11 Thread Li-Ta Lo
On Tue, 2005-01-11 at 16:52, Ronald G. Minnich wrote: Ollie, you did it! We should thank SciTech for their wonderful emulator. Ollie just took a big stack of video cards, some AGP and some PCI, and booted linuxbios one at a time and showed how each video card came up. It's fantastic.