Re: linuxbios on geode gx1 with sst-39SF020A and CompactFlash [PMX:#]

2005-01-11 Thread ramesh bios
Ok. So I took a look at the code to figure out why the last output that I see is Jumping to LinuxBIOS. My assembly is weak so I'd appreciate corrections to my interpretation of the asm below. decompr_end_n2b: movb $0x12, %al ; outb %al, $0x80 movl %esp, %ebp mov

mptable.c

2005-01-11 Thread Gin
Is there an utility help to generate mptable.c? I thought I saw someone saying so. Is it usable? gin ___ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios

irq_tables

2005-01-11 Thread Gin
Does linux care the PCI IRQ tables created by LinuxBios? I thought it only look at the MP-table. gin

Re: linuxbios on geode gx1 with sst-39SF020A and CompactFlash [PMX:#]

2005-01-11 Thread Ronald G. Minnich
On Mon, 10 Jan 2005, ramesh bios wrote: Just wanted to report that your suggestion was excellent. I'm now getting serial output saying Jumping to LinuxBIOS. It took only a few minutes to get this working so I was pleasantly surprised. :-) Thanks! it did not get near as far as it should

Re: linuxbios on geode gx1 with sst-39SF020A and CompactFlash [PMX:#]

2005-01-11 Thread Ronald G. Minnich
I think the RAM is misprogrammed. You need to dump the registers (lspci -xxx -s 0:0.0) for the northbridge, then dump them BEFORE jumping to linuxbios -- there are assembly functions that will let you do that. ron ___ Linuxbios mailing list

Re: irq_tables

2005-01-11 Thread Ronald G. Minnich
On Tue, 11 Jan 2005, Gin wrote: Does linux care the PCI IRQ tables created by LinuxBios? I thought it only look at the MP-table. if it is not SMP, Linux will use the irq table. It is a good idea to have a working irq table available. ron ___

Re: PCI Expansion ROM POST committed

2005-01-11 Thread Li-Ta Lo
On Mon, 2005-01-10 at 18:36, Li-Ta Lo wrote: Hello, I just committed the VGABIOS support. It works for some ATI and Nvidia card. Currently it will try to POST any PCI card it can find with PCI expansion ROM. I will add the #ifdef PCI_EXPANSION_ROM or if (class == vga_class) later. I

Re: 855gme chip set support

2005-01-11 Thread Ronald G. Minnich
On Tue, 11 Jan 2005, Bari Ari wrote: Odd how this is happening with Intel since they have an entire division dedicated to embedded computing and Linux support yet they cripple open source BIOS development. See tianocore.org. Intel's goal with BIOS is to IMPROVE the ability of vendors to

RE: Enable apic ext id to use 256 apic id for AMD64

2005-01-11 Thread Li-Ta Lo
On Mon, 2005-01-10 at 15:27, YhLu wrote: For dual core and lifting apic id, you can not just use apic id as node id. And you have to use Lapicid() 0xf Or cupid to get it. Regards YH It breaks Expansion ROM loading from PCI slot to the main memory. The old code does not have this

RE: Enable apic ext id to use 256 apic id for AMD64

2005-01-11 Thread YhLu
I don't think it is caused by the change about nodeid. In s2885, it only change lapicid() to lapicid() 0xf, and will not affect non apic lifting problem. What't the card that you are using on S2885?, and If I get time, I would try that on s2885. YH -Original Message- From: Li-Ta Lo

RE: Enable apic ext id to use 256 apic id for AMD64

2005-01-11 Thread Li-Ta Lo
On Tue, 2005-01-11 at 10:38, YhLu wrote: I don't think it is caused by the change about nodeid. In s2885, it only change lapicid() to lapicid() 0xf, and will not affect non apic lifting problem. What't the card that you are using on S2885?, and If I get time, I would try that on s2885.

Overlaping IO resource for AMD K8

2005-01-11 Thread Li-Ta Lo
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 link 0 PCI: 00:18.0 1b0 - [0x00e000 -

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
Complie error You missed sth? Tue Jan 11 10:17:11 PST 2005 FAILED! Log excerpt: /home/yhlu/xx/xx/freebios2/src/devices/emulator/biosemu.c: In function `setup_system_bios': /home/yhlu/xx/xx/freebios2/src/devices/emulator/biosemu.c:219: warning: implicit declaration of function `memset'

RE: Overlaping IO resource for AMD K8

2005-01-11 Thread YhLu
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 YH -Original Message- From: Li-Ta Lo [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 11:13 AM To: YhLu Cc: LinuxBIOS; Eric Biederman

Re: 855gme chip set support

2005-01-11 Thread Peter Karlsson
On Tue, 11 Jan 2005, Ronald G. Minnich wrote: That is an issue. AMD is very friendly, but some third parties (Nvidia, ServerWorks) are very unfriendly. It remains to be seen whether the idea of an open source BIOS is viable, in the face of such opposition from the chipset vendors. How

RE: Overlaping IO resource for AMD K8

2005-01-11 Thread Li-Ta Lo
On Tue, 2005-01-11 at 12:37, YhLu wrote: Complie error You missed sth? I don't think so. Those function are not actually used. You can try to mark them. Ollie Tue Jan 11 10:17:11 PST 2005 FAILED! Log excerpt: /home/yhlu/xx/xx/freebios2/src/devices/emulator/biosemu.c: In function

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: 855gme chip set support

2005-01-11 Thread Bari Ari
Peter Karlsson wrote: How 'friendly' is VIA? I've found VIA to be great to work with if it is a volume project. VIA also has their embedded chipsets (like the Twister) that they tend to be easier to deal with on smaller run projects. -Bari ___

PCI VGA card works too

2005-01-11 Thread Li-Ta Lo
Hello, I just made PCI vga cards works too. The problem is if the PCI card does not claim PCI IO resource, the bridge's IO enable bit in the command register is not enabled. Even with the legacy forwarding enabled in the bridge control, it still does not forward any legacy vga io. So the

Re: 855gme chip set support

2005-01-11 Thread Ronald G. Minnich
On Tue, 11 Jan 2005, Peter Karlsson wrote: How 'friendly' is VIA? At times they are very very helpful, and their docs can be used to build a linuxbios. ron ___ Linuxbios mailing list Linuxbios@clustermatic.org

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.

problem with booting SMP linux kernel

2005-01-11 Thread Gin
The system failed when booting SMP linux kernel. It complains the IDE lost interrupt. Things were working fine with the non-SMP linux kernel. Has anyone seen it before? Note that the SMP kernel image was stored in the IDE hard disk. So BIOS was able to load the kernel to be executed. After Linux

speaker beeper

2005-01-11 Thread Adam Talbot
Need some way to test if linuxbios is booting correctly. I am debugging and I have reason to believe that my problem is the super io... Does any one know how to get the pc speaker to beep in X second intervals, or some thing that simple, power LED blink... I would like to set up a speaker beeper