EP9302 board question

If I was going to fire up Linux on one of these boards, what would it take to rig up a library to do things over the GPIO and UEXT ports on the board?

Can it be done from within the Linux on the board, or does it need to be done at a lower level than that?

I would just like to see what I’m getting into before I take the plunge, I guess…

You can use any of the internal peripherals via user space applications, however you’ll need to map physical memory to user space memory.

You can do this by using mmap on /dev/mem

http://www.simtec.co.uk/appnotes/AN0014/

Interesting, thanks!

I’ve found some other possible resources that would enable me to do some things that I’m looking into, but it’s hard to figure out what is the best way to go… I’ll come up with something though.

I can’t recall for sure, but I believe that there are included drivers for the on-chip peripherals included in the distribution of Linux provided by Cirrus (http://arm.cirrus.com). I don’t know how Olimex configures the kernel by default when it is loaded onto the 9302 at the factory, but I would imagine that these drivers would be present. There is also a link to a forum at the aforementioned site where you could ask this question and probably get a pretty good answer.