Rob Gillan Posted December 19, 2017 Posted December 19, 2017 Hello, Just started on the latest Neo2 Ubuntu (Armbian_5.34.171121_Nanopineo2_Ubuntu_xenial_next_4.13.14) as we were tired trying to get around the challenges of the Ubuntu Core provided by FriendlyARM. Have enabled SPI we think (armbian-config->system/hardware/spi-spidev) and rebooted, but even after full power cycle we don't see anything in /dev/spi*. Is there anything special/additional we need to do to get SPI working (which we know does from our Ubuntu Core build). Thanks Rob
Rob Gillan Posted December 19, 2017 Author Posted December 19, 2017 and in /boot/armbianEnv.txt: root@nanopineo2:/boot/dtb/allwinner/overlay# cat /boot/armbianEnv.txt verbosity=1 console=both overlay_prefix=sun50i-h5 overlays=pps-gpio spi-spidev usbhost1 usbhost2 rootdev=UUID=75d8ed70-73a7-43cc-8b06-81f884b6b711 rootfstype=ext4 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u after armbian-config, and it looks like spi-spidev should be there.
Rob Gillan Posted December 19, 2017 Author Posted December 19, 2017 OK, digging through some other H3/SPI posts here, it seems that the device overlay for SPI needs to know what bus to enable, so putting the following line: param_spidev_spi_bus=0 in /boot/armbianEnv.txt and rebooting did the trick
Recommended Posts