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"

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 k

855GME

2005-01-11 Thread Adam Talbot
-LinuxBios Guy's OK, well if Intel won't play nice then i will have to see what i can do by back tracking a stock 855GME bios... Do-able, but a pain.  I am going to try to get linuxbios installed on a LV-671 motherboard... I will keep you guy's informed as to how it goes.  If you have any id

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 fantast

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: 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 http://www.clustermatic.org/mailman/li

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 pci_bus_e

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 ___ Linuxbio

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 YhLu
It works on S2895 + NV (Vendor 10de, Device 00fd) card. You did a great job. Please disable the printk_debug instruction biosemu.c. YH ___ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios

Re: Overlaping IO resource for AMD K8

2005-01-11 Thread Eric W. Biederman
Li-Ta Lo <[EMAIL PROTECTED]> writes: > 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. Limit > > > But why it set the resource to the HW registers? Does

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 > PCI: 00:18.0 1c2 <- [0x001000 - 0x001fff] io > PCI: 00:18.0 1d8 <- [0x002000 - 0x001fff] io > PCI: 00:18.0 1b0 <

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. Limit 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 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: 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 'f

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. Limitmailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 11:13 AM To: YhLu Cc: LinuxBIOS; Eric Biederman Subject: RE: Overlaping IO resource for AMD K8 On Tu

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' /home/yhlu/

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 wit

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 resourc

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 Su

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 PCI: 00:18.0 1c2 <- [0x001000 - 0x001fff] io PCI: 00:18.0 1d8 <- [0x002000 - 0x001fff] io PCI: 00:18.0 1b0 <- [0x00e000 - 0x00efff] prefmem PCI: 00:18.0

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 s

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 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 h

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: 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. >

Re: 855gme chip set support

2005-01-11 Thread Bari Ari
Ronald G. Minnich wrote: Finally, Intel web docs are so useless (this is intentional) that I just put the whole thing on the shelf until I can develop a viable reverse engineering strategy for this part, or, better yet, stop developing on Intel chipsets ever again. ron Odd how this is happening wit

Re: irq_tables

2005-01-11 Thread Ronald G. Minnich
On Tue, 11 Jan 2005, Ronald G. Minnich wrote: > if it is not SMP, Linux will use the irq table. It is a good idea to have > a working irq table available. Oh yeah, warning to all Geode users: Linux has not properly parsed a Geode IRQ table since 2.4.18 ... it's a problem. ron ___

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 ___ Lin

Re: mptable.c

2005-01-11 Thread Ronald G. Minnich
On Tue, 11 Jan 2005, Gin wrote: > Is there an utility help to generate mptable.c? > I thought I saw someone saying so. Is it usable? util/mptable/mptable.c or some such. It is usable. It is not perfect by any means. ron ___ Linuxbios mailing list Li

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 Linuxbi

Re: 855gme chip set support

2005-01-11 Thread Ronald G. Minnich
On Mon, 10 Jan 2005, Adam Talbot wrote: > Just pulled down freebios2 and found that there is now 855pm and i855pm > chips in the northbridge. Is the 855gme supported by any of those chips?? > Working on getting a Pentium M board running with linuxbios. Can any one > give me a quick status repor

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 sh

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

2005-01-11 Thread Richard Smith
--- ramesh bios <[EMAIL PROTECTED]> wrote: > Ok. So I took a look at the code to figure out why > the > last output that I see is "Jumping to LinuxBIOS". I've got a gx1 reference platform on loan for a while. Is that mostly the same hardware as what you have? Perhaps I can help you fix this up

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

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

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 $str_pre