Enable interrupt on Uboot

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Enable interrupt on Uboot

Enable interrupt on Uboot

When I am planing to develop some features in Uboot, I found it has lots limitation without interrupt. For example, to have camera preview in Uboot. Polling in Uboot results non sync when camera preview and hard to keep code simple and clean. I decided to take some time survey interrupt and it is time to share it.

 

This patch (shown as attachment) is to enable the interrupt. It also has the sample code to set GPIO interrupt as well. The test below showed Uboot can get the interrupt when pressing Volume up key. Special thanks for Anson Huang for patient discussing with me on this.

 

irqinfo is the command to enable Volume up interrupt.

The log do_irq is print when Uboot got the interrupt.

 

10133_10133.pngpastedImage_0.png

Original Attachment has been moved to: 0001-Enable-interrupt-on-i.MX6Q-SabreSD.patch.zip

评论

Dear JayTu,

Thank you for your post, however please consider moving it to the right community place for better visibility.

For details please see general advice https://community.freescale.com/docs/DOC-99909

Thank you for using Freescale Community.

Regards,

Wlodek_D.

Hi Wlodek,

Thanks for your reminder. But I can't see the "Freeshare Community". I then moved it to i.MX Community.

Another question, how can I see the space my document resident currently?

capture.PNG.png

无评分
版本历史
最后更新:
‎03-06-2014 10:18 PM
更新人: