I use the Armbian_5.45_Orangepizeroplus2-h5_Debian_stretch_next_4.14.44.img.
I want to use a sensor based on the spi protocol. In armbian-config i enable the spi ,the armbianEnv.txt like this:
verbosity=1
console=both
overlay_prefix=sun50i-h5
overlays=i2c0 i2c1 spdif-out spi-add-cs1 spi-jedec-nor spi-spidev uart1 uart2 usbhost2 usbhost3
rootdev=UUID=bb48b498-7bd1-4018-b77d-ba00fa61a33d
rootfstype=ext4
param_uart1_rtscts=1
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
But in /dev on spi-dev
root@H5:~# ls /dev/s
shm/ snd/ stderr stdin stdout
Is it because there is no code adaptation spi-dev?
if not ,I want to try to transplant the spi-dev code,Can give me some guiding advice?