7000 users,
I started a new ts7400 development project My project uses
the TS SD card sarge distro on 2.4.26-ts11. It requires some
low-latency processing via internal and externally triggered interrupts.
I've posted all my simple examples on my embedded Linux trac site,
http://www.embeddedlinuxinterfacing.com/trac/wiki
Here's the module README.txt url,
http://www.embeddedlinuxinterfacing.com/trac/browser/boards/ts7400/src/modules/README.txt
I've included my notes to
1. hw development setup
2. native kernel module compile setup
3. svn checkout of module code
4. module compile instructions
5. cross compile modules
Here's a short description of completed modules.
00-template.c
A simple template file for module development.
01-prochelloworld.c
Dynamically creates r/w file /proc/helloworld during insmod.
Stores 8 incoming chars during write and returns them on read.
02-led.c
Turns board LEDs on during insmod and off during rmmod
03-hwtimerinterruptled.c
Blink LED at CPU 1Hz timer via interrupt 42
04-ioremapTShwmodel.c
Reports the TS model identification
05-hwtimerinterruptgpio.c
Toggle DIO_0-7 at CPU 1Hz timer via interrupt 42
06-hwtimer2.c
Get 10000 interrupts per second.
07-gpbusinterrupt.c
GPBUS external interrupt example.
07-gpbusinterruptdio00set.c
Sets dio00 on insmod, clears dio00 on rmmod
07-gpbusinterruptsoftwareinterrupt.c
Sets soft interrupt 33
08-portbinterrupt.c
port B interrupt example.
I also have some simple userspace code using mmap. Of interest is a
python 7400 C extension that provides pythonic 7400 object.
I tried to keep things simple as possible. Check it out.
Thanks for the all posts that have got me this far.
Craig
Dr. Craig Hollabaugh, 970 240 0509
Author of Embedded Linux: Hardware, Software and Interfacing
www.embeddedlinuxinterfacing.com
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|