Skip to contentSkip to conversation

How to determine IRQ w/ PPC045 (Virtex II Pro)?

DISCUSSION Chris Dumoulin 3 participants 3 messages Jun 12, 2006 – Jun 13, 2006

lore
Share & tools
lore
#0 lore raw

When writing device drivers for a 2.6 linux kernel running on a PPC405, in a Virtex II Pro, how do I determine which IRQ to use in my call to request_irq? I imagine that the IRQ will be directly dependent on how my device's interrupt is connected to the interrupt controller I'm using, but I don't know how to figure out the IRQ number. Any help would be appreciated.

Regards,
Chris Dumoulin

Signature · 15 lines
*--Christopher Dumoulin--*
Software Team Leader

<http://ics-ltd.com/>
<http://ics-ltd.com/>

Interactive Circuits and Systems Ltd.
5430 Canotek Road
Ottawa, ON
K1J 9G2
(613)749-9241
1-800-267-9794 (USA only)

------------------------------------------------------------------------
This e-mail is private and confidential and is for the addressee only. If misdirected, please notify us by telephone and confirm that it has been deleted from your system and any hard copies destroyed. You are strictly prohibited from using, printing, distributing or disseminating it or any information contained in it save to the intended recipient.
#1 lore raw
Quoted 6 lines · Chris Dumoulin

When writing device drivers for a 2.6 linux kernel running on a PPC405, in a Virtex II Pro, how do I determine which IRQ to use in my call to request_irq? I imagine that the IRQ will be directly dependent on how my device's interrupt is connected to the interrupt controller I'm using, but I don't know how to figure out the IRQ number. Any help would be appreciated.

IRQ attachments are provided as #defines in the xparameters.h file generated by Xilinx EDK.

g.

Signature · 4 lines
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195
#2 lore raw

Init dies with unhandled signal 4

I am trying to move my Pico E-12 port from 2.6.15 to the current 2.6
from Linus's git tree.
Most everything moved fine, but now "/init" dies with an unhandled signal 4 which I beleive is an invalid CPU instruction.

I do not have this with 2.6.15 and Linus's tree is obviously more bleeding edge.

I am just asking whether I should be trying to track down a problem with my code or if this might be a problem in the git tree.

Signature · 8 lines
Dave Lynch 					  	    DLA Systems
Software Development:  				         Embedded Linux
717.627.3770 	       [email protected] 	  http://www.dlasys.net
fax: 1.253.369.9244 			           Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.

"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein