jonokoi

Members
  • Content Count

    4
  • Joined

  • Last visited

  1. Hello friend, I know it's an old discussion but I have read many posts on many forums and I couldn't find a clear answer. I have an orange pi zero and I am not sure which version of armbian is compatible with SPI LCDs. I have a chinese waveshare clone 3.5" which is working fine on raspberry pi with waveshare drivers (both lcd and touchscreen). Which armbian and kernel version should I use? You mention that we should use kenrel 3.x but you had some success with 4.x as well (on another forum). Did you manage to enable touchscreen? I read that it could be done if we unsolder the flash rom so we could use the second SPI bus with touchscreen. Is it possible? Is there any other workaround? Thank you
  2. I try to update my jessie installation on orange pi one but I get errors. My kernel version is 3.4.113-sun8i My armbian.list file is this deb http://apt.armbian.com jessie main utils jessie-desktop My sources.list file is deb http://httpredir.debian.org/debian jessie main contrib non-free #deb-src http://httpredir.debian.org/debian jessie main contrib non-free deb http://httpredir.debian.org/debian jessie-updates main contrib non-free #deb-src http://httpredir.debian.org/debian jessie-updates main contrib non-free deb http://httpredir.debian.org/debian jessie-backports main contrib non-free #deb-src http://httpredir.debian.org/debian jessie-backports main contrib non-free deb http://security.debian.org/ jessie/updates main contrib non-free #deb-src http://security.debian.org/ jessie/updates main contrib non-free When I execute 'sudo apt-get update' I get these errors Hit http://security.debian.org jessie/updates InRelease Ign http://httpredir.debian.org jessie InRelease Hit http://httpredir.debian.org jessie-updates InRelease Ign http://httpredir.debian.org jessie-backports InRelease Hit http://httpredir.debian.org jessie Release.gpg Ign http://httpredir.debian.org jessie-backports Release.gpg Ign http://apt.armbian.com jessie InRelease Get:1 http://security.debian.org jessie/updates/main armhf Packages [953 kB] Hit http://httpredir.debian.org jessie Release Hit http://download.mono-project.com wheezy InRelease Get:2 http://httpredir.debian.org jessie-updates/main armhf Packages [20 B] Ign http://apt.armbian.com jessie Release.gpg Hit http://download.mono-project.com wheezy-apache24-compat InRelease Hit https://apt.sonarr.tv master InRelease Get:3 http://httpredir.debian.org jessie-updates/contrib armhf Packages [20 B] Hit http://download.mono-project.com wheezy-libjpeg62-compat InRelease Get:4 http://httpredir.debian.org jessie-updates/non-free armhf Packages [20 B] Get:5 http://download.mono-project.com wheezy/main armhf Packages [60.5 kB] Ign http://httpredir.debian.org jessie-backports Release Ign http://apt.armbian.com jessie Release Get:6 https://apt.sonarr.tv master/main armhf Packages [85.0 kB] Get:7 http://httpredir.debian.org jessie/main armhf Packages [8,898 kB] Get:8 http://download.mono-project.com wheezy-apache24-compat/main armhf Packages [589 B] Get:9 http://download.mono-project.com wheezy-libjpeg62-compat/main armhf Packages [591 B] Get:10 http://security.debian.org jessie/updates/contrib armhf Packages [994 B] Get:11 http://security.debian.org jessie/updates/non-free armhf Packages [4,393 B] Get:12 http://apt.armbian.com jessie/jessie-desktop armhf Packages [178 B] Err http://apt.armbian.com jessie/jessie-desktop armhf Packages Get:13 http://apt.armbian.com jessie/main armhf Packages [178 B] Err http://apt.armbian.com jessie/main armhf Packages Get:14 http://apt.armbian.com jessie/utils armhf Packages [178 B] Err http://apt.armbian.com jessie/utils armhf Packages Get:15 http://apt.armbian.com jessie/jessie-desktop armhf Packages [178 B] Err http://apt.armbian.com jessie/jessie-desktop armhf Packages Get:16 http://apt.armbian.com jessie/main armhf Packages [178 B] Err http://apt.armbian.com jessie/main armhf Packages Get:17 http://apt.armbian.com jessie/utils armhf Packages [178 B] Get:18 http://apt.armbian.com jessie/jessie-desktop armhf Packages [178 B] Err http://apt.armbian.com jessie/jessie-desktop armhf Packages Get:19 http://apt.armbian.com jessie/main armhf Packages [178 B] Err http://apt.armbian.com jessie/main armhf Packages HttpError404 Get:20 http://apt.armbian.com jessie/utils armhf Packages [178 B] Err http://apt.armbian.com jessie/utils armhf Packages HttpError404 Get:21 http://apt.armbian.com jessie/jessie-desktop armhf Packages [178 B] Err http://apt.armbian.com jessie/jessie-desktop armhf Packages HttpError404 Get:22 http://httpredir.debian.org jessie/contrib armhf Packages [44.3 kB] Get:23 http://httpredir.debian.org jessie/non-free armhf Packages [74.9 kB] Err http://httpredir.debian.org jessie-backports/main armhf Packages 404 Not Found [IP: 199.232.34.133 80] Err http://httpredir.debian.org jessie-backports/contrib armhf Packages 404 Not Found [IP: 199.232.34.133 80] Err http://httpredir.debian.org jessie-backports/non-free armhf Packages 404 Not Found [IP: 199.232.34.133 80] Fetched 10.1 MB in 20s (483 kB/s) W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-backports/main/binary-armhf/Packages 404 Not Found [IP: 199.232.34.133 80] W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-backports/contrib/binary-armhf/Packages 404 Not Found [IP: 199.232.34.133 80] W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-backports/non-free/binary-armhf/Packages 404 Not Found [IP: 199.232.34.133 80] W: Failed to fetch http://apt.armbian.com/dists/jessie/main/binary-armhf/Packages HttpError404 W: Failed to fetch http://apt.armbian.com/dists/jessie/utils/binary-armhf/Packages HttpError404 W: Failed to fetch http://apt.armbian.com/dists/jessie/jessie-desktop/binary-armhf/Packages HttpError404 E: Some index files failed to download. They have been ignored, or old ones used instead. What is the issue? Is jessie not supported for updates? Could I use other sources to fix it?
  3. I followed this guide too with no luck. I only changed the dc gpio from 71 to 18. (71 doesn't exist on orange pi zero so the guide is for another board)
  4. I’m trying to use a 3.5 LCD (waveshare clone) with ILI9486 + XPT2046 with my orange pi zero. My display is like this. I installed both Debian_buster_next_4.19.59 and Ubuntu_bionic_next_4.19.57 and I followed many guides in here with no success. I edited armbianEnv.txt and added these: overlays=spi-spidev spi-add-cs1 param_spidev_spi_bus=1 param_spidev_spi_cs=1 After that I ran this sudo modprobe fbtft_device custom name=fb_ili9486 gpios=dc:18,reset:2 speed=16000000 busnum=1 rotate=90 and didn’t get any error. I figured that the reset & DC pins on orange pi zero are pin22(GPIO2) and pin18(GPIO18) but I’m not 100% sure about these. With dmesg I see these: [ 179.174013] fbtft: module is from the staging directory, the quality is unknown, you have been warned. [ 179.181645] fbtft_device: module is from the staging directory, the quality is unknown, you have been warned. [ 179.183696] spidev spi1.1: spidev spi1.1 1000kHz 8 bits mode=0x00 [ 179.184295] fbtft_device: GPIOS used by 'fb_ili9486': [ 179.184307] fbtft_device: 'dc' = GPIO18 [ 179.184314] fbtft_device: 'reset' = GPIO2 [ 179.184331] spidev spi1.1: spidev spi1.1 1000kHz 8 bits mode=0x00 [ 179.184347] spi spi1.0: fb_ili9486 spi1.0 16000kHz 8 bits mode=0x00 [ 179.202576] fb_ili9486: module is from the staging directory, the quality is unknown, you have been warned. [ 179.749873] Console: switching to colour frame buffer device 60x40 [ 179.751385] graphics fb0: fb_ili9486 frame buffer, 480x320, 300 KiB video memory, 4 KiB buffer memory, fps=20, spi1.0 at 16 MHz I tried con2fbmap 1 0 but the screen remains white What else could I try? How could I debug the issue?