Here is my attempt at making the SPI work:
*first I compiled the 2.6.29 kernel with OE, with the following
options in the "make menuconfig" menu:
-Debug support for SPI drivers
-McSPI driver for OMAP24xx/OMAP34xx
-User mode SPI device driver support
*then I made the pin muxing in u-boot by replacing 3 lines in beagle.h
MUXVAL(CP(MMC2CLK), (IEN | PTU | DIS | M1)) /*MCSPI3CLK*/\
MUXVAL(CP(MMC2CMD), (IEN | PTU | DIS | M1)) /*MCSPI3SIMO*/\
MUXVAL(CP(MMC2DAT0), (IEN | PTU | EN | M1)) /*MCSPI3_SOMI*/\
(found in the patch attached to the 1st message in the thread
*I compiled u-boot
*I copied the u-boot.bin on my SD card, and made sure to boot from the
u-boot.bin located on the mmc (and not in the nand)
*I then launched the kernel I previously made
In /sys/class, there is a file called spidev. I guess that's good.
However, in /dev/ there are no file containing "spidev", so the spidev
test ( http://www.mjmwired.net/kernel/Documentation/spi/spidev_test.c
) will not work.
Somebody on #beagle told me to try doing 'rm /etc/dev.tar' and reboot,
but that did not change anything.
Can you tell me what I did wrong ? Also, I listed nearly everything I
did, so if there is a step missing (even if it's stupid), I probably