Hi!
This is most certainly incredible easy for some but I feel lost in the dark! :) I want to use linuxbios on a custom system board based on the broadcom blast. It boots like a charm but most of the IRQs are wrong. The default is wrong and the getpir generated table is bogus and after filling the irq_table.c manually there is still no change! It seems as it doesn't matter what I put in the irq_tables.c. I got the tip that if linuxbios is compiled with mptable enabled it might override the irq_tables.c. I acted on that and set the "default HAVE_MP_TABLE=0" in mainbrd Options.lb. this resulted in a system hang. So I tried to make the irq assignment in mptable.c but I don't understand how it works, which numbers go where?
Stefan talked about doing ACPI tables, did you mean APIC tables? How do they look and where do they go?
It is so frustrating to have a working system that can't do anything because of the missing irqs, how do you guys do it? I have'nt found anyone with a similar problem on the list!
On Wednesday 30 May 2007 15:34, Thomas Ekstrand wrote:
Hi!
This is most certainly incredible easy for some but I feel lost in the dark! :) I want to use linuxbios on a custom system board based on the broadcom blast. It boots like a charm but most of the IRQs are wrong. The default is wrong and the getpir generated table is bogus and after filling the irq_table.c manually there is still no change! It seems as it doesn't matter what I put in the irq_tables.c.
How did you try it? With Linux? Does Linux support your interrupt router? When I tried to create a valid irq_table it took me hours to see, Linux didn't know my router. After adding this support it worked immediately.
It is so frustrating to have a working system that can't do anything because of the missing irqs, how do you guys do it? I have'nt found anyone with a similar problem on the list!
Did you tried with "irqpoll" as kernel parameter? Maybe it could help to find the real interrupt routing.
Juergen
2007/5/30, Juergen Beisert juergen127@kreuzholzen.de:
On Wednesday 30 May 2007 15:34, Thomas Ekstrand wrote:
Hi!
This is most certainly incredible easy for some but I feel lost in the dark! :) I want to use linuxbios on a custom system board based on the broadcom blast. It boots like a charm but most of the IRQs are wrong. The default is wrong and the getpir generated table is bogus and after filling the irq_table.c manually there is still no change! It seems as it doesn't matter what I put in the irq_tables.c.
How did you try it? With Linux? Does Linux support your interrupt router? When I tried to create a valid irq_table it took me hours to see, Linux didn't know my router. After adding this support it worked immediately.
I believe it is known, the OS is built for the board :)
It is so frustrating to have a working system that can't do anything because of the missing irqs, how do you guys do it? I have'nt found anyone with a similar problem on the list!
Did you tried with "irqpoll" as kernel parameter? Maybe it could help to find the real interrupt routing.
Juergen
Stupidest thing not to think about that...! Thanks for the tip! Now at least 3 out of 5 network ports are working. not the ones i'd like to work ofcourse :P (the onboard Gb in HT2000) but still it is progress.
funny thing though, the irq_table that was read out of the standard bios is an exact match of the one that getpir now produce when booted from linuxbios. previously the whole table was zeroed exept for the usb device, no matter what i put in the table. :P
Second most common problem. how complex is the board again?
ron
A good explanation on the wiki of where and how the IRQ assignment is done would be nice. Also good to know is how the board specific files can be customized to fit your needs like irq_tables.c and mptable.c Maybe even some tips on how to proceed in troubleshooting these problems. I'd still like to know to how to change my configuration for it work without passing the irqpoll parameter.
I Don't really know the difference between it and a standard blast, but um... how complex can it be? ;)
Thomas
side question: While trying to fix this i tried compiling without mptable but the this resulted in a system hang at "Firmware type: LinuxBIOS" straight after etherboot downloaded the .elf image and before the command line appears on screen. how come?
On Thursday 31 May 2007 14:12, Thomas Ekstrand wrote:
2007/5/30, Juergen Beisert juergen127@kreuzholzen.de:
On Wednesday 30 May 2007 15:34, Thomas Ekstrand wrote:
Hi!
This is most certainly incredible easy for some but I feel lost in the dark! :) I want to use linuxbios on a custom system board based on the broadcom blast. It boots like a charm but most of the IRQs are wrong. The default is wrong and the getpir generated table is bogus and after filling the irq_table.c manually there is still no change! It seems as it doesn't matter what I put in the irq_tables.c.
How did you try it? With Linux? Does Linux support your interrupt router? When I tried to create a valid irq_table it took me hours to see, Linux didn't know my router. After adding this support it worked immediately.
I believe it is known, the OS is built for the board :)
"believe"? On my system linux states that it found the CS5530 IRQ router and everything seemed all right. But the final function to set the real values into the chip failed. Do know where the router registers of your chipset are? Check them after Linux "thinks" the routing setup is done...
It is so frustrating to have a working system that can't do anything because of the missing irqs, how do you guys do it? I have'nt found anyone with a similar problem on the list!
Did you tried with "irqpoll" as kernel parameter? Maybe it could help to find the real interrupt routing.
Juergen
Stupidest thing not to think about that...! Thanks for the tip! Now at least 3 out of 5 network ports are working. not the ones i'd like to work ofcourse :P (the onboard Gb in HT2000) but still it is progress.
Can you see some changes in /proc/interrupts when the devices generate interrupts? Is the channel assignment correct?
Juergen
Hi Thomas,
On Thursday 31 May 2007 14:12, Thomas Ekstrand wrote:
A good explanation on the wiki of where and how the IRQ assignment is done would be nice.
Maybe my article would help? http://www.linuxbios.org/Creating_Valid_IRQ_Tables
Juergen
On 5/30/07, Thomas Ekstrand thomas.ekstrand@gmail.com wrote:
It is so frustrating to have a working system that can't do anything because of the missing irqs, how do you guys do it? I have'nt found anyone with a similar problem on the list!
Second most common problem. how complex is the board again?
ron