Hi,
I failed to use SPI with the latest TI Linux : ti-sdk-am335x-evm-07 for beaglebone black
1) Config the kernel to enable SPI
2) CompileDocument/spi/spidev_test.c
3) Make node /dev/spidev c 153 32
The error is
can't open device: No such device or address
Aborted
I believe something about SPI0, SPI1, ...
What should I do ?
Thanks,
~Duy-Ky
##############################################################
Below is the details what I did
1) Kernel config
[ v ] SPI support (enable)
[ v ] Debug support for SPI
[ v ] MxSPI for OMAP
[ v ] User mode SPI
2) Run new kernel
Compile, load and run new kernel, the BBB (BeagleBone Black) appears to run new kernel
[ 0.000000] Linux version 3.12.10-ti2013.12.01 (dkn@dkn-ubuntu-10) (gcc version 4.9.1 20140505 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.05 - Linaro GCC 2014.05) ) #1 Fri Nov 7 17:18:32 PST 2014
3) Compile spidev_test.c using cross-compiler arm-linux-eabihf-gcc