[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] Interrupt issue



Hi Benny,

I set the module "keypaddev" is a loadable one to prevent the kernel load
it.

When I load the module (INSMOD) and I'm able to see its IRQ shows up in
/proc/interrupts as expected.

But, when I remove the module (RMMOD) and do "cat /proc/interrupts", now it
display some old content and a lot of UNPRINTABLE char !!! I have to reboot
the target to get rid of them

Do you any idea ?

Thanks so much, Benny,

Duy-Ky

-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of Benny Chen
Sent: Monday, October 22, 2007 3:49 PM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: Re: [microblaze-uclinux] Interrupt issue

Hi Duy-Ky,

> I wrote a simple driver, loaded it, I was able to see it successfully 
> hooked to interrupt IRQ4 I wanted.
> This interrupt is associated with Press Button on Spartan 3E-1600 eva 
> board.
> But there's no response when I pressed the buttons. 
What did your /proc/interrupts say?  Did it associate your driver to irq 4?
Did the interrupt count increase when you press the button?

Regards,
Benny Chen

Duy-Ky Nguyen wrote:
> Hi,
>
> I'm using the latest Petalinux release and kernel 2.4 I'm trying to 
> test GPIO interrupt, but have failed so far.
> There's no response at all when I loaded keypaddev.o come with the 
> package.
>
> I wrote a simple driver, loaded it, I was able to see it successfully 
> hooked to interrupt IRQ4 I wanted.
> This interrupt is associated with Press Button on Spartan 3E-1600 eva 
> board.
> But there's no response when I pressed the buttons.
>
> I'm sure the board works fine with interrupt button as I tested with 
> Windows EDK code in standalone mode, ie no OS at all.
>
> Compare all relevant regosters in these 2 cases, all ENABLE regsiters 
> are the same. T the only differences are the STATUS ones because 
> there's no response to IRQ using Petalinux, but responding from 
> standalone one.
>
> I'd really appreciate your help
>
> Duy-Ky
>
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : 
> http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive : 
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/