linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* How to determine IRQ w/ PPC045 (Virtex II Pro)?
@ 2006-06-12 19:57 Chris Dumoulin
  2006-06-12 20:03 ` Grant Likely
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Dumoulin @ 2006-06-12 19:57 UTC (permalink / raw)
  To: linuxppc-embedded

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to determine IRQ w/ PPC045 (Virtex II Pro)?
  2006-06-12 19:57 How to determine IRQ w/ PPC045 (Virtex II Pro)? Chris Dumoulin
@ 2006-06-12 20:03 ` Grant Likely
  2006-06-13 21:16   ` Init dies with unhandled signal 4 David H. Lynch Jr.
  0 siblings, 1 reply; 3+ messages in thread
From: Grant Likely @ 2006-06-12 20:03 UTC (permalink / raw)
  To: Chris Dumoulin; +Cc: linuxppc-embedded

On 6/12/06, Chris Dumoulin <cdumoulin@ics-ltd.com> wrote:
> 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.

-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Init dies with unhandled signal 4
  2006-06-12 20:03 ` Grant Likely
@ 2006-06-13 21:16   ` David H. Lynch Jr.
  0 siblings, 0 replies; 3+ messages in thread
From: David H. Lynch Jr. @ 2006-06-13 21:16 UTC (permalink / raw)
  To: linuxppc-embedded

    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.






-- 
Dave Lynch 					  	    DLA Systems
Software Development:  				         Embedded Linux
717.627.3770 	       dhlii@dlasys.net 	  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-06-13 21:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-12 19:57 How to determine IRQ w/ PPC045 (Virtex II Pro)? Chris Dumoulin
2006-06-12 20:03 ` Grant Likely
2006-06-13 21:16   ` Init dies with unhandled signal 4 David H. Lynch Jr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).