Hi Correia,
On Tuesday 08 May 2007 10:05, Luis Correia wrote:
> If I use irqpoll commandline switch, the system seems to work properly
> but there are still IRQ related issues.
That is fine. With a running target like this you will be able to create a
valid irq routing table. Documentation how to do I will send in a separated
mail.
> Where can I get this kernel patch?
Attached.
> > > > > doesn't work: VGA,
> > > >
> > > > Not even with geodefb?
> > >
> > > I wasn't aware of the driver existed. I loaded the driver but the
> > > VGA is still not on. I will read documents of the driver.
> > >
> > > tv:~# modprobe gx1fb
> > > gx1fb 0000:00:12.4: 4096 Kibyte of video memory at 0x40800000
> > > Console: switching to colour frame buffer device 80x30
> > > fb0: GX1 frame buffer device
> >
> > Hmmm, should work. Don't know why it fails in your system.
>
> i've given up setting up the VSA for the Geode.
> Is there any workaround or any other thing we could use to enable VGA?
Do not use any VSA. You really not need it.
> I'm lost here... :)
>
> The VGA is not a priority for me as the main function for this board
> is being a router. Only the serial port really matters and that one is
> already working.
>
> Besides, if the VGA is not enabled, the board is more power efficient
> (not that is matters, it's more like an excuse)
Sure.
> > > >> Reset(rebooting hangs the machine)
> > > >
> > > > Dunno about this one.
> > >
> > > CONFIG_X86_REBOOTFIXUPS=y in ther kernel config fixed the problem.
> >
> > Ack.
>
> My board does not reboot as well (a reset is needed) i'll investigate it
> also.
My system reboots since my first try to run LinxuBIOS on it. So I have no idea
what could be going wrong within your hardware.
> > I can send you my whole embedded project. It contains graphics (special
> > framebuffer driver and Xorg, both with acceleration), audio (not finished
> > yet), irq-routing table (but for my hardware only) and a build system to
> > build a cross compiler and the root filesystem, kernel and LinuxBIOS.
>
> I'm also interested in it, i'll contact you off list to sort out how
> I could get it.
You are welcome.
> BTW, how good is it when decoding video streams?
Due to the lack of video hardware (no NTSC/PAL decoder) in my system: No idea,
sorry.
Juergen
Subject: [PATCH 001/001] i386/pci: fix nybble permutation and add Cyrix 5530 IRQ router
From: Juergen Beisert <[EMAIL PROTECTED]>
This patch adds CYRIX_5530_LEGACY to the list of known PCI interrupt router,
to setup chipset's routing register with valid data. It seems never be a
problem if the BIOS sets up these registers. But in the presence of LinuxBios
it fails for Cyrix 5530, due to LinuxBios does not setup these registers
(it leave it at their reset values).
I have no Cyrix 5520 to check, but as the comment in the source states the
Cyrix 5520 and Cyrix 5530 do interrupt routing in the same way. But the
(pirq-1)^1 expression to set a route always sets the wrong nibble, so
INTA/INTB and INTC/INTD are permuted and do not work as expected.
Signed-off-by: Juergen Beisert <[EMAIL PROTECTED]>
Index: linux-2.6.20/arch/i386/pci/irq.c
===================================================================
--- linux-2.6.20.orig/arch/i386/pci/irq.c
+++ linux-2.6.20/arch/i386/pci/irq.c
@@ -306,12 +306,12 @@ static int pirq_opti_set(struct pci_dev
*/
static int pirq_cyrix_get(struct pci_dev *router, struct pci_dev *dev, int pirq)
{
- return read_config_nybble(router, 0x5C, (pirq-1)^1);
+ return read_config_nybble(router, 0x5C, pirq-1);
}
static int pirq_cyrix_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq)
{
- write_config_nybble(router, 0x5C, (pirq-1)^1, irq);
+ write_config_nybble(router, 0x5C, pirq-1, irq);
return 1;
}
@@ -648,6 +648,7 @@ static __init int cyrix_router_probe(str
{
switch(device)
{
+ case PCI_DEVICE_ID_CYRIX_5530_LEGACY:
case PCI_DEVICE_ID_CYRIX_5520:
r->name = "NatSemi";
r->get = pirq_cyrix_get;
--
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios