Hello,
It's my first message, I'm very proud to be part of your community, Armbian is epic !
I'm trying to add a chinese screen copy to my orangepizero (H2+ cpu). This is my screen:
https://www.aliexpress.com/item/32587995145.html (copie of https://www.waveshare.com/3.5inch-rpi-lcd-a.htm)
1)
Yesterday i setup my screen on Armbian_5.91_Orangepizero_Debian_buster_next_4.19.59 with success with:
nano /boot/armbianEnv.txt :
overlays=spi-spidev spi-add-cs1
param_spidev_spi_bus=1
param_spidev_spi_cs=1
nano /etc/modules-load.d/fbtft.conf :
fbtft
fbtft_device
nano /etc/modprobe.d/fbtft.conf :
options fbtft_device rotate=90 name=piscreen speed=32000000 busnum=1 gpios=reset:2,dc:18 txbuflen=32768 fps=25
It created a framebuffer (fb0) which worked without problem.
2)
I also tried with Armbian_20.05.3_Orangepizero_buster_current_5.4.45 with success with:
nano /boot/armbianEnv.txt :
overlays=spi-spidev spi-add-cs1
param_spidev_spi_bus=1
param_spidev_spi_cs=1
Create DTS file:
And added to armbian with:
armbian-add-overlay foo.dts
After reboot, the screen worked too !
3) But with the 5.9.14 kernel, it doesn't work ! (Armbian_20.11.3_Orangepizero_buster_current_5.9.14.img)
I tried with DTS file + spi overlay in armbianEnv.txt, but nothing...
This is my "dmesg | grep spi" :
[ 3.223574] spidev@1 enforce active low on chipselect handle
[ 3.224724] spi_master spi1: cannot find modalias for /soc/spi@1c69000/spidev@1
[ 3.224759] spi_master spi1: Failed to create SPI device for /soc/spi@1c69000/spidev@1
[ 10.585918] [drm] Initialized ili9486 1.0.0 20200118 for spi1.0 on minor 0
[ 12.495270] ili9486 spi1.0: [drm] fb0: ili9486drmfb frame buffer device
This is my "ls /dev"
As we can see i have "fb0" but no "spi1.1"...
I already checked everything on the web and each topic in this forum, like that:
I hope you can help me ! Thanks you a lot !
And sorry for my poor english, maybe I made some spelling mistakes !