Hi Everyone. I'm trying to get the SPI devices working in the 4.1 kernel, but I don't really want to use the cape manager / overlays. I don't see any dtsi files for the SPI devices in the 4.1 source. The am335x-bone-spi0-spidev.dtsi and am335x-bone-spi1-spidev.dtsi are missing. I had experienced similar issues in the early days of the 3.14 kernel. Perhaps these files need to be updated for the 4.1 kernel?
On Monday, June 8, 2015 at 2:40:58 AM UTC-5, William Hermans wrote: > > https://github.com/notro/fbtft/issues/49 > > Perhaps related, but according to what they're saying * > spi_busnum_to_master(0) returned NULL == *invalid argument. Which means > perhaps the SPI bus driver is blacklisted ? > > Good luck. > > On Sun, Jun 7, 2015 at 10:53 PM, Drew Fustini <pdp7...@gmail.com > <javascript:>> wrote: > >> On Sun, Jun 7, 2015 at 9:37 PM, Robert Nelson <robert...@gmail.com >> <javascript:>> wrote: >> > https://github.com/RobertCNelson/bb-kernel/tree/am33x-v4.1 >> >> thanks, boots and loads the SPI1 cape: >> >> root@beaglebone:~# uname -a >> Linux beaglebone 4.1.0-rc6-bone6.6-00066-g75ea467 #1 Sun Jun 7 >> 23:18:32 CDT 2015 armv7l GNU/Linux >> >> root@beaglebone:~# cat /sys/devices/platform/bone_capemgr/slots >> 0: 54:PF---- -1 >> 1: 55:PF---- -1 >> 2: 56:PF---- -1 >> 3: 57:PF---- -1 >> 4: ff:P-O-L- 0 Override Board Name,00A0,Override Manuf,BB-SPIDEV1 >> >> root@beaglebone:~# ls -la /dev/spidev1.* >> crw-rw---T 1 root spi 153, 1 Mar 1 20:46 /dev/spidev1.0 >> crw-rw---T 1 root spi 153, 0 Mar 1 20:46 /dev/spidev1.1 >> >> >> I'm still trying to work out how to use fbtft in 4.1. this is where >> I've gotten so far: >> >> root@beaglebone:~# modprobe fbtft_device name=adafruit22 >> >> [ 1310.480992] fbtft: module is from the staging directory, the >> quality is unknown, you have been warned. >> [ 1310.494031] fbtft_device: module is from the staging directory, the >> quality is unknown, you have been warned. >> [ 1310.499966] fbtft_device: SPI devices registered: >> [ 1310.500017] fbtft_device: spidev spi1.1 16000kHz 8 bits mode=0x00 >> [ 1310.500044] fbtft_device: spidev spi1.0 16000kHz 8 bits mode=0x01 >> [ 1310.500061] fbtft_device: 'fb' Platform devices registered: >> [ 1310.500215] fbtft_device: spi_busnum_to_master(0) returned NULL >> [ 1310.506730] fbtft_device: failed to register SPI device >> >> >> thanks, >> drew >> >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to the Google Groups >> "BeagleBoard" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to beagleboard...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.