Re: A simple driver for the AT91SAM9260 | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Dear Paul Kavan, Please have a look at http://linuxgazette.net/issue87/pramode.html There Mr.Pramode is explaining some GPIO functionalities. Regards, Maxin B. John On 4/13/07, Paul Kavan <pkavan@xxxxxxxxx> wrote:
Hello all: I want to thank everyone who has tried to help me with my GPIO difficulties. I am new to embedded linux, so this has been a learning experience for me. I am currently reading Linux Device Drivers, 3ed. However, I want to experiment, while I am reading, with my 9260 board. What I am wanting to do specifically is write a simple driver/module (not really sure of the terminology yet) for the two user buttons located on the evaluation kit of the AT91SAM9260. Said module would set interrupts for the buttons. When a button is pressed, I would hope an interrupt would then be generated and--from the interrupt--do something simple like print a message indicating that the button had been pressed. Another possibility is to have one button light the user LED and the other turn the LED off. I feel like if I can accomplish this in short order, I can move from there to more difficult tasks of setting up gpio pins to handle other types of IO for my project. Again, I am reading LDD, 3ed. Is there any other documentation out there that people are aware of that might help. Also, I am concerned about the build process of the code I write. I am using the buildroot system to develop my linux kernel and rfs. How do I use those toolchains to build drivers? Does anyone have a sample (and simple) makefile for their own drivers in the buildroot system that I can look to for advice? Again, thanks to all and I look forward to your comments and advice. Paul ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
[Site Home] [IETF Annouce] [Security] [Bugtraq] [Linux] [Linux ARM Kernel] [Linux MIPS] [ECOS] [Tools] [DDR & Rambus] [Monitors]