Author Topic: SPI on Cubieboard with mainline kernel  (Read 2137 times)

Offline dise

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
SPI on Cubieboard with mainline kernel
« on: November 29, 2015, 03:12:06 pm »
Hello, everyone.
I faced with problem, that i can't resolve by myself.
I'm trying to get worked SPI on my Cubieboard1.
Right now there is no any /dev/spi* and there are no any references about SPI in dmesg


I use mainline kernel from git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

I compiled id using following commands:
Code: [Select]
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- sunxi_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make zImage dtbs
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=/usr/src/kernel_modules make modules modules_install

Little part of my .config:
root@buildsrv:/usr/src/linux# cat .config | grep SPI | grep -v "#"
Code: [Select]
CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
CONFIG_MUTEX_SPIN_ON_OWNER=y
CONFIG_RWSEM_SPIN_ON_OWNER=y
CONFIG_LOCK_SPIN_ON_OWNER=y
CONFIG_SPI=y
CONFIG_SPI_MASTER=y
CONFIG_SPI_BITBANG=m
CONFIG_SPI_GPIO=m
CONFIG_SPI_SUN4I=y
CONFIG_SPI_SUN6I=y
CONFIG_SPI_SPIDEV=m

I have a suspicion that the problem in DTS, but i have no experience with writing it.
Saw this topic: http://www.cubieforums.com/index.php?topic=602.0 , there some words about FEX, but nothing about DTS.

Would you be so kind to help me? Thank you in advance!
and sorry for my English.