crazyquark Posted March 18, 2020 Share Posted March 18, 2020 Armbianmonitor: http://ix.io/2eAZ Hi, I've been trying to enable SPI on my Odroid-C2 running Armbian Buster but I can't figure it out, I tried with overlays, modprobe-ing the modules, nothing works. I've uploaded my logs. Link to comment Share on other sites More sharing options...
Igor Posted March 18, 2020 Share Posted March 18, 2020 1 hour ago, crazyquark said: nothing works We didn't developed overlays for SPI yet, so you can't enable this feature fancy way, but we manage to add SPI support which I believe it works, but it is, as expected, disabled by default. Editing a device tree by hand and/or creating an overlay and sharing with others ... Link to comment Share on other sites More sharing options...
crazyquark Posted March 19, 2020 Author Share Posted March 19, 2020 Understood, and to enable it, one would have to re-compile the kernel? Or I can just download a patched DTS and compile it to DTB? Thanks for the prompt reply. Link to comment Share on other sites More sharing options...
martinayotte Posted March 19, 2020 Share Posted March 19, 2020 1 hour ago, crazyquark said: Or I can just download a patched DTS and compile it to DTB? Even easier than that : decompile DTB currently present on you board, edit the resulting DTS by changing "status" node of "spi-gpio" to "okay" instead of "disabled", then recompile DTS into DTB. Link to comment Share on other sites More sharing options...
crazyquark Posted March 19, 2020 Author Share Posted March 19, 2020 OK, thanks, will try this! Link to comment Share on other sites More sharing options...
crazyquark Posted March 19, 2020 Author Share Posted March 19, 2020 Ok, switched to nightly, patched the DTB and now I have /dev/spidev0.0 and 0.1. Thanks, guys! 1 Link to comment Share on other sites More sharing options...
linux baba Posted March 19, 2020 Share Posted March 19, 2020 5 hours ago, crazyquark said: Ok, switched to nightly, patched the DTB and now I have /dev/spidev0.0 and 0.1. Thanks, guys! Could you please post the steps how you did it? I am have similar issue. Link to comment Share on other sites More sharing options...
Recommended Posts