Sorry for the delay in responding, I had some education and customer issues of my own to deal with. The bottom line is that We finally got it working! Here are some clues that might help the next person. Plus a couple more questions.
What we have determined is that the /sys/class/gpio only seems to appear when using the file system from Glomation :
http://glomationinc.com/Support/9260/9260rootfs.img or the prebuilt one from at91.com :
http://ftp://www.at91.com/pub/oe/deploy/glibc/images/at91sam9263ek/Angstrom-console-image-demo-glibc.rootfs.jffs2Also you must have the uImage-2.6.30 from this thread, we have found *no* other that will present /sys/class/gpio the 2.6.27.4 kernel that is shipped on the board does not seem to present the gpio's. This is the one you want.
http://glomation.net/smf/index.php?action=dlattach;topic=27.0;attach=20IMHO I had hoped that the pre-built image from linux4sam would have worked as I really like the heartbeat pulse of the onboard LED. It makes a nice indicator to see when opening the cabinet that the board is running. Does anyone know if it is possible to write a user (non kernel) program to get this effect with the uImage-2.6.30 image? Or will there be a Glomation kernel that supports it? In any case here is the kernel that has the heartbeat:
http://ftp://www.at91.com/pub/linux/2.6.30-at91/linux-2.6.30-at91-exp-at91sam9260ek.binSo in summary you need
uImage:
http://glomation.net/smf/index.php?action=dlattach;topic=27.0;attach=20rootfs:
http://glomationinc.com/Support/9260/9260rootfs.imgThe other combinations of uImage and rootfs, including the emdebian stuff in the zip of 9260 files don't seem to present /sys/class/gpio.
~~~~~~
For those that are keen we have set up Eclipse environments to do the development in, it was fairly simple and should enable debug though nobody has needed to even try that yet. This is what works for us on Linux.
Go to
http://www.eclipse.org/downloads/ and download the version of "Eclipse IDE for C/C++ Developers (79 MB)" for your platform. Unpack it into /usr/local then add the following to your .bashrc :
export PATH=$PATH:/usr/local/eclipse
Start Eclipse and go to Help->Install_New_Software and click the Add... button.
In the dialog add Zylin CDT as the name and
http://opensource.zylin.com/zylincdt as the location. If you unpacked the archive as root then you will need to be doing this as root in order to update the files. You should then be able to install "Zylin Embedded CDT". Go ahead and install it then shutdown Eclipse.
Download the cross compiler from glomation's support page (
http://glomationinc.com/support.html):
http://glomationinc.com/download/Generic-arm_gcc-4.2.3-glibc-2.3.3.tar.bz2And unpack it to get it to end up in /usr/local as well. Then add another line to your .bashrc
export PATH=$PATH:/usr/local/arm/gcc-4.2.3-glibc-2.3.3/arm-unknown-linux-gnu/bin
Start Eclipse and create a C project. When it is created right-click on it and bring up the properties. Then in C/C++ Build->Settings change the compiler and linker from gcc to arm-unknown-linux-gnu-gcc and the assembler from as to arm-unknown-linux-gnu-as for [All Configurations]. Then go to C/C++ General->Paths and Symbols, make sure the Includes tab is selected then select C Source File. Next click add and navigate to the include directory of the cross compiler. It is /usr/local/arm/gcc-4.2.3-glibc-2.3.3/arm-unknown-linux-gnu/arm-unknown-linux-gnu/include IIRC. If you need to manually add the libraries they would be at the same level as the include I think.
Additionally, I found that you can get a free Jazz (RTC) Express-C server and clients for 10 users. So the plan is to use RTC to track this work and source.
https://jazz.net/downloads/rational-team-concert/releases/2.0.0.2?p=allDownloads#expressc ~~~~~~
Now to create an api set to manage the gpio's. With any luck our second development board will get updated to the same level of kernel and rootfs without problems as well.
m