SPI on BB xM running Ubuntu


I am a complete newbie to all of this so please bear with me.

I am running Ubuntu 12.10 and have changed the uEnv file to buddy = spidev and the files are showing up in the /dev folder.
Do I need to set up the pin mux in uBoot?

In reading all of the posts this is mentioned but some of the posts are old and I have not seen any recent posts that clarify this.

I tried to get thru Brian Hensley’s tutorial on this but I do not think I need to compile the kernel II cannot seem to get the test file.

Is there a C file I can compile and run to test the SPI?

Thanks in Advance

Check KERNEL/arch/arm/mach-omap2/board-omap3beagle.c file, as far as I know the spi mux settings are done there.