I have also been having problems getting the proper module built and running.
I started with Notro's quite handy instructions, which seem to indicate compiling on the pi itself. which takes FOREVER. I assumed that the instructions still held, but it turns out the new adafruit SD cards come with 3.6.11+ not 3.2.27.
WTF does + mean? Does it mean "we just put in whatever we wanted to" ? or this there some official release?
OK, so for the next try i loaded (cleanly) ubuntu 12.04 onto a vm, and followed the basic directions from http://bchavez.bitarmory.com/archive/20 ... ry-pi.aspx
Of course I had to substitute 3.6.y for 3.2.27. (WTF is y) is there a defined stopping point?
before compiling the kernel I took the two files pointed to by WasimKh » Wed Jun 05, 2013 3:38 pm
and put them over top of the two files which were in the kernel source tree.
I compiled and promptly got the fiq_fix_enable problem.
I modified the appropriate file to create fiq_fix_enable. The other file was already updated... SO i guess that fix went into the 3.6.11 kernel, but not the two spi driver files referenced by WasimKh... did it go into the + version? I have NO IDEA.
I was then able to compile completely, and got the resulting spi-bcm2708.ko file.
I was able to copy it over to the pi, and I have it sitting there. No matter how hard I tried I could not get the pi to load it.
the modinfo dumps on the two files were identical, EXCEPT:
mine was 3.6.11 vs the original 3.6.11+
mine had a line about parameters, ie. processmode, (which I assume is pretty good proof that the module compiled successfully, since it seemed to offer Interrupts and DMA, which is kind of the point of all of this...)
Finally I got annoyed and force unloaded the module.
insmod would NOT allow the new one to load... "No such device"
I copied the file over the old one and rebooted.
It still won't load. "No such device"
This is getting kind of comical. I'm not sure why this is so annoyingly bad, or more appropriately, why this driver didn't make it into 3.6.11(+) in the first place, but I would like to suggest that one of you guys see if we can come up with an actually coherent file set which actually works together.
Barring that, I'm happy to take suggestions. I'm probably at the point where I guess I should just copy the kernel and all of the modules to my SD card and push the button and see what happens.