大家好:
我移植linux3.0.101到IMX537上,系统可以起来,fec、uart等中断可以响应,GPIO中断不能响应,同样的GPIO驱动在linux2.6.35上可以正常使用,我不知道问题出现在哪里,希望能得到帮助。
HI:(google translate)
Hello everyone:
I transplant linux3.0.101 to IMX537, the system can be up, fec, uart and other interrupts can respond, GPIO interrupt can not respond, the same GPIO driver can be used normally on linux2.6.35, I do not know where the problem occurs, hoping to get help.
root@freescale ~$ cat /proc/interrupts
CPU0
1: 2348 MXC_TZIC mxsdhci
13: 7994 MXC_TZIC IMX-uart
39: 59680 MXC_TZIC i.MX Timer Tick
64: 14 MXC_TZIC imx-i2c
87: 64 MXC_TZIC fec
225: 0 GPIO da9052_eh
333: 0 GPIO adc_irq
Err: 0
adc-irq open
irq_no = 333
gpio_set_irq_type 333 gpio = 205>>>>>>>>>>>>>>>>>>
gpio_unmakse_irq 333 gpio = 205 [gpio / 32] = 6 gpio &0x1f = 13>>>>>>>>>>>>>>>>>>>
Hi dizhu
one can try to debug it using AN4553 Using Open Source Debugging
Tools for Linux on i.MX Processors
https://www.nxp.com/docs/en/application-note/AN4553.pdf
and sect.2.1 Interrupts attached Linux Manual
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------