Bienxanh Posted June 2, 2020 Posted June 2, 2020 However, Armbian is configured to provide only spidev2.0, while TinkerOS can have spidev0.0, spidev0.1, spidev2.0 and spidev2.1 all enabled at the same time as long as you disable UART4 which shares GPIO header pins with SPI0. In the TinkerOS case, there is a config tool which edits a small and straightforward text file in /boot/ containing lines such as "intf:spi0=on" or "intf:uart4=off". The corresponding Armbian file seems to be /boot/armbianEnv.txt - possibly with overlays=... lines and DTS files. There also is a tool called armbian-add-overlay to load (at runtime?) DTS files...
Recommended Posts