Jump to content

Can't get SPI interface


Go to solution Solved by Виктор Хомченко,

Recommended Posts

Posted (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?2024-06-0713-29-11.png.ad789c52c112b974429e75ee5713f4b8.png

Edited by Виктор Хомченко
Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

Posted (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 by Виктор Хомченко
Link to comment
Share on other sites

  • Solution

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines