Connection and Setup of Nokia 6100 Knockoff

Components

 * Basix 400xm
 * GPSstix (AudioStix2 or Breakout would work also)
 * Sparkfun Nokia Knockoff LCD
 * Sparkfun LCD Carrier Board

Connecting the LCD
I got some nifty headers and sockets from digikey to make it easy to unplug SPI devices from the Gumstix. It takes a little more work but I thought it was worth it. Soldering your hook-up wire to the boards will work just as well. This setup uses the NSSP breakout on the back of the GPSstix.

Software
Add summery

Enabling SSP in the Kernal
In order to compile the kernel module you need to enable SSP in the Kconfig file. I lifted instructions on how to do that from an email int he archives from Dave Hylands.
 * Note: Add locations for the current kernel

So the kernel has these configuration files, normally called Kconfig. As a driver writer, you would normally add an entry into this file for your new driver. If you wanted to arbitrarily enable PXA_SSP for a gumstix, then I would edit the build_arm_nofpu/linux-2.6.15gum/arch/arm/Kconfig [gumstix-buildroot/build_arm_nofpu/linux-2.6.21gum/arch/arm/mach-pxa/Kconfig] file, find the following entry

config ARCH_GUMSTIX bool "Gumstix Platform" depends on ARCH_PXA

and change it to:

config ARCH_GUMSTIX bool "Gumstix Platform" depends on ARCH_PXA select PXA_SSP

Now, when you use "make ARCH=arm menuconfig", it will add the entry

CONFIG_PXA_SSP=y

build_arm_nofpu/linux-2.6.15gum/.config file. For more infomation on the kernel configuration stuff, this files in build_arm_nofpu/linux-2.6.15gum/Documentation/kbuild would be worthwhile reading.

Enable the SPI Kernel Module
Use 'make ARCH=arm menuconfig' Go To: Device Drivers-->SPI Support-->

Select:
 * SPI Support
 * Bitbanging SPI Master
 * PXA2xx SSP SPI Master

Save your changes, recompile the kernel and reflash the gumstix (or whatever process you use to update your kernel)

Compiling Test Kernel Module
I have managed to get a test graphic displayed using this kernel module code by Dan Taylor as reference. http://www.logicalgenetics.com/forums/viewtopic.php?p=6418

Download the test package.

Nokia_Screen_Test.tar.gz

Extract in the same location as your buildroot. If you don't you will have to edit the Makefile to point make at the buildroot. Make the module and get it onto your gumstix. On the gumstix do 'insmod sspscreen.ko' if everything is ok you will get a test pattern on the LCD.

Next Steps
That is it for now. Its a small start but a start none the less. Write a proper driver. Write a framebuffer driver. (Please feel free to help out as I am still new to kernel programming)