crazyquark Posted March 18, 2020 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.
Igor Posted March 18, 2020 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 ...
crazyquark Posted March 19, 2020 Author 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.
martinayotte Posted March 19, 2020 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.
crazyquark Posted March 19, 2020 Author Posted March 19, 2020 Ok, switched to nightly, patched the DTB and now I have /dev/spidev0.0 and 0.1. Thanks, guys! 1
linux baba Posted March 19, 2020 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.
Recommended Posts