PavloPonomarov Posted September 29, 2017 Posted September 29, 2017 Hello. I have a problem with SPI interface I already tried to compile SPI interface as module in kernel config and then to turn it on, but what I get is: root@bananapi:~# modprobe -v spidev insmod /lib/modules/4.13.4-sunxi/kernel/drivers/spi/spidev.ko root@bananapi:~# lsmod | grep spidev spidev 16384 0 root@bananapi:~# dmesg | grep spidev *nothing* root@bananapi:~# ls /sys/class/spi_master/ spi32766 I found a topic about enabling SPI on Banana Pi Pro here. But after repeating same steps(I mean decompiling dtb, adding spidev and compiling it back) for Banana Pi M1 it doesn't boot any more. After U-boot the cursor blinks for about 10 seconds and the only message is "reboot: rebooting system" Linux bananapi 4.13.4-sunxi #8 SMP Fri Sep 29 09:29:20 CEST 2017 armv7l GNU/Linux
Igor Posted September 29, 2017 Posted September 29, 2017 https://docs.armbian.com/User-Guide_Allwinner_overlays/ 1
PavloPonomarov Posted September 29, 2017 Author Posted September 29, 2017 One small thing to clarify. In that article there is "/boot/dtb". Does that mean that changes should be made on running board or it means "build/cache/sources/.../arch/arm/boot/dts" on PC where I compile?
Igor Posted October 3, 2017 Posted October 3, 2017 Changes are on the board - on most recent (beta) images all is done from within armbian-config.
Wired Life Posted October 3, 2017 Posted October 3, 2017 i updated with armbian-config to newest nightly and enabled all spi overlays but still have no /dev/spi* any clue?
Recommended Posts