Getting started

Previous Topic Next Topic
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view

Getting started

Hi all,

I'm trying to get started with an overo with a summit board.  My end goal is to get SPI working, and most internet resources I've looked at tell me I need to patch the kernel somehow.  My problems is, I have no idea what I even need to do and get set up before I can get started.  I'm not too familiar with linux, bitbake, openembedded etc.  Can anyone point me in the right direction?  I'm happy to just get a list of tutorials and get cracking, but like I said I'm not even sure what I'm supposed to crack :-P

I can boot the gumstix and navigate its file systems, and even compile code.  I can't currently connect to the internet (working on it...).  I have a Debian box lying around that will probably become my gumstix-to-computer interfacing box, but what to install on it and why I do not know.

Does anyone have any good resources?

Reply | Threaded
Open this post in threaded view

Re: Getting started

Scott Ellis
I have some notes here for one way to go about it

Once you've built a system once, you'll want to go back and make a two
line change to the kernel defconfig file to allow use of the SPI CS lines.

Then rebuild the kernel and image. It will go fast the second time.

If you used those instructions, the defconfig file is here


The two changes you want are

+# CONFIG_TOUCHSCREEN_ADS7846 is not set


Then rebuild the kernel and console image like so

bitbake -c cleansstate virtual/kernel
bitbake -c cleansstate console-image
bitbake virtual/kernel
bitbake console-image

Now you will have userland access to the stock kernel spidev
device driver which will show up as


You can google spidev to find out more.

There is a compiler on the Gumstix images I've described.

You can write C or C++ programs and build directly on the Gumstix
to send and receive SPI messages.

If you need help with the C code, I have examples.

Reply | Threaded
Open this post in threaded view

Re: Getting started

This is a great help, thanks so much!