Jump to content

"Orange Pi PC - OP0600" "Armbian 22.11.1 Jammy XFCE" no /dev/spi* device(s)


EddT

Recommended Posts

 

After a clean install of 22.11.1, I edit /boot/armbianEnv.txt to add:
    overlay_prefix=sun8i
    overlays=uart3 i2c0 spi-spidev
    param_spidev_spi_bus=0

and reboot.

 

After the reboot I list the /dev files of interest and there is/are no "spi*" entries:
pi@orangepipc:~$ ls /dev/i2c* /dev/spi*
ls: cannot access '/dev/spi*': No such file or directory
 /dev/i2c-0   /dev/i2c-1
pi@orangepipc:~$

 

Not sure if it makes any difference but I only have power, HDMI, and RJ45 connected to the board at this time,
and nothing connected to the GPIO pins.

 

Below are the states of two files, one from which I got the BOARDFAMILY, and the other 
into which I placed that value as "overlay_prefix", and the "overlays" and "param_spidev_spi_bus"
values.

 

Any and all help appreciated.  Thank you in advance.


pi@orangepipc:~$ cat /etc/armbian-release
# PLEASE DO NOT EDIT THIS FILE
BOARD=orangepipc
BOARD_NAME="Orange Pi PC"
BOARDFAMILY=sun8i
BUILD_REPOSITORY_URL=https://github.com/armbian/build
BUILD_REPOSITORY_COMMIT=84940abbbe3
VERSION=22.11.1
LINUXFAMILY=sunxi
ARCH=arm
IMAGE_TYPE=stable
BOARD_TYPE=conf
INITRD_ARCH=arm
KERNEL_IMAGE_TYPE=stable
BRANCH=current
pi@orangepipc:~$

pi@orangepipc:~$ cat /boot/armbianEnv.txt
verbosity=1
bootlogo=false
console=both
disp_mode=1920x1080p60
rootdev=UUID=04b4c94a-98bc-4ec6-9aa1-2ecfaecdab78
rootfstype=ext4
overlay_prefix=sun8i
overlays=uart3 i2c0 spi-spidev
param_spidev_spi_bus=0

usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
pi@orangepipc:~$
 

Link to comment
Share on other sites

Thank you, ning, for replying.

 

What I found was that /boot/armbianEnv.txt, after a clean install, already contained an overlay_prefix, which was different in value from what I found in the clean install, so I left that alone and just added the other two parameters.  

 

The devices became visible after the reboot.

 

Thanks again for the quick reply.  I am new at this and I appreciate the help of experts.

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