Виктор Хомченко Posted June 7 Share Posted June 7 (edited) Hello everybody! I need help: I can't turn on the SPI interface in any way so that /dev/spidev0 or /dev/spidev1 appears. In armbian-config, there are generally only 7 lines in the hardware section, in which there is nothing interesting, an attempt to register spidev in armbianEnv.txt it also does not help, in dmesg and journalctl - silence... Where did the interface go? Edited June 7 by Виктор Хомченко 0 Quote Link to comment Share on other sites More sharing options...
Виктор Хомченко Posted June 7 Author Share Posted June 7 (edited) root@proc01:/home/victor# cat /boot/armbianEnv.txt verbosity=1 extraargs=swiotlb=1024 overlay_prefix=rk3308 fdtfile=rockchip/rk3308-rock-pi-s.dtb rootdev=UUID=cc500ad0-fef5-4af1-8ed7-68c3db5f4a19 rootfstype=ext4 console=serial overlay=spi-spidev param_spidev_spi_bus=1 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u victor@proc01:~$ ls /dev/ | grep spi victor@proc01:~$ dmesg | grep spi victor@proc01:~$ Edited June 7 by Виктор Хомченко 0 Quote Link to comment Share on other sites More sharing options...
Solution Виктор Хомченко Posted June 7 Author Solution Share Posted June 7 I answer myself: the overlays are here: https://github.com/radxa/overlays/tree/main You need to take the desired overlay, compile it using dtc and put it in the /boot/dtb/rockchip/overlay folder. Next, turn on the overlay in armbian-config and voila root@proc01:/home/victor# ls /dev/ | grep spi spidev1.0 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.