Jump to content

robertoj

Members
  • Posts

    398
  • Joined

  • Last visited

Everything posted by robertoj

  1. I have the ili9488 working in orange pi zero 3 with my DTS in https://forum.armbian.com/topic/47971-driving-the-ili9488-lcd-40-inch-cheap-chinese-clone/#findComment-208446 and the panel-mipi-dbi-spi.txt from https://github.com/KungfuPancake/v0_ips_touch_display?tab=readme-ov-file My DTS file uses the new panel-mipi-dbi-spi driver, which is not fbtft, it is tinydrm. Kernel 6.12, built from https://github.com/NickAlilovic/build I can use X11 completely fine, but I havent tried wayland and h264 acceleration yet. Can you try it? The only problems I see: Cursor has some "jumpiness" when pressing the touch panel (ads7846). Graphic pixel noise appears when I am dragging an X11 window with finger. But it returns to normal after the dragging event. (doesn't happen when I drag with USB mouse). I think the noise won't happen if I can make a separate soft-SPI for the touch function. Has anybody tried xrandr? I learned to use it in my laptop, but I don't have my orange pi zero 3 available. Can anyone try: $ xrandr --output SPI-1 --rotate left Then replace left with: inverted, right and normal This should take care of the touch at the same time, but someone needs to try it.
  2. I found that you can rotate the ili9488 display 180 degrees, by changing the LCD initialization command in panel-mipi-dbi-spi.txt: Change: command 0x36 0xE0 To: command 0x36 0x20 (changes memory access control row and column order from: starting from the corner near the VCC pin, to starting from the corner opposite from the VCC pin) Then, open /usr/share/X11/xorg.conf.d/99-calibration, and add: Option "InvertX" "1" Option "InvertY" "1" Reference: https://focuslcds.com/wp-content/uploads/Drivers/ILI9488.pdf https://forums.raspberrypi.com/viewtopic.php?t=173993 I hope it helps someone, or to myself in the future
  3. Can you try other armbian images (i always use minimal), and self-built armbian image? Can you change USB cable? Powering with the 0V-5V pins in the GPIO pins?
  4. My 60 MHz SPI connection is 1 m long, the cable was made with a CAT5 ethernet cable. The problem was reduced by making a 50 cm cable. Maybe I need termination resistors too. I could start with 1000ohms between MOSI and GND in the LCD wire ends. If it doesn't work, reduce the resistance, until I don't see noise.
  5. Is the A10's TV encoder much different from the H3 TV encoder? The orange pi zero LTS has a working TV-out in Armbian (at least when I tried it last year)
  6. For touch calibration, the straighforward intuitive way does not work. Try this procedure: https://forum.armbian.com/topic/44191-orangepi-zero-lts-ili9341-tft-lcd-and-later-orangepi-zero-3/#findComment-204741 The copy location /etc/X11/xorg.conf.d/ might be different. The xinput calibration text output will tell you that directory. The DTS also has some pressure and resistivity parameters, but I don't know how they work exactly.
  7. Do you use x11's evdev component? Does it make any difference of stability before and after running xcalibrate/xinput_calibrator? I find that xinput_calibrator does not do anything toward pressure sensitivity. I need to make it less sensitive... anyone knows a good way of doing this?
  8. Nicely done!! How are you going to use it? X11? Wayland? What window manger and desktop? Is your mouse cursor jumpy or stable? Is there RGB noise when you drag windows on the desktop? I have those issues. My setup: orange pi zero3, ili9488, drm, x11, openbox and idesk. I wonder if my problem comes from sharing the SPI bus with 2 chip selects... but if you have one SPI and 2 chip selects, but no noise problems, then SPI is not my problem.
  9. Differences: 20 pin IO, instead of 26 pin Wifi chip Aw859, instead of CdTech 20U5622 (aw859 is in opi 3 LTS) 1 more built-in USB port Is the wifi antenna included in the package? Is it wifi 5 or wifi 6? Under what kernel are they supporting video acceleration?
  10. Orangepi had the good idea to make the SPI pins match the Raspberry Pi pins I read somewhere that the mipi-dbi driver doesn't have the rotate/rotation parameter... I guess I need a different initialization byte sequence for the LCD to do the rotation. Or does anyone know that there's a rotation parameter?
  11. Great Does the opiz3 fit well under this LCD? Are you still going to modify the DTS to plug the LCD directly on the OPIZ3? There are 2 ways that the touch IC is connected: same SPI bus, and separate SPI bus... which one is it for this LCD? If it is the same SPI bus, refer my ili9488 thread as a base If it needs a separate SPI bus, see my ili9341 thread, and search for gpio-spi... I can't make this work in opiz3 yet, only opiz
  12. Nice progress. I think that your SPI, DC, CS, RESET configurations are correct. DONT CHANGE THOSE Regarding the ili9341 vs ili9486 driver... hopefully you will find an example using the ilitek,ili9486 driver, with a correct init parameter. (check that the init is the same as the people having success in https://forum.armbian.com/topic/11701-35-lcd-ili9486-with-orange-pi-zero/#comment-86679 ) With the correct init parameter, you configure the LCD to receive the data in the correct pixel format and ordering, to match the format sent by the CPU. Also, it configures VCOM, a key parameter that I think is electrical and not data related... read the LCD manual, I can't remember what it is for. Search for ili9486 in the raspberry pi forum. Maybne someone figured it out already. Here's how I used the mipi driver for the ili9488, based on someone's success with Raspberry Pi https://forum.armbian.com/topic/47971-driving-the-ili9488-lcd-40-inch-cheap-chinese-clone/#findComment-207964
  13. This is a very interesting topic I will try to apply it when I need a fast 3.3V output on startup. I am dealing with LCD screens right now, and I know 3 ways to display something on screen faster: * compiling the LCD driver(s) into the kernel (with the * option instead of "M" in Linux kernel config) * make uboot drive the LCD display (https://github.com/robutest/u-boot/blob/master/drivers/video/ili9341.c) * instead of compiling a DTBO to overlay after startup, add the "blob" in the main DT itself and uboot wont lose time on that (there's a discussion about that in onf of the opiz3 gpio threads) (but I haven't tried any of them)
  14. Today, I used your shrink-backup tool again It works as expected! VERY VERY USEFUL!
  15. I can't understand your situation can yoiu send a photo of the LCD, the kernel version, and do some of the tests that I wrote in this thread? Start with the DTS here: https://forum.armbian.com/topic/44191-orangepi-zero-lts-ili9341-tft-lcd-and-later-orangepi-zero-3/#findComment-205335 The bgr and rgb parameters are among the last things to fix (applies to only some LCD drivers)... do you even get a picture in the LCD with wrong colors?
  16. @Nick A Has anyone updated the NickA's v4l2/cedrus patches, to work with Linux 6.11 or greater?
  17. I don't know why you copied a dtbo to /usr/lib/linux-image... I think you only need spidev turned on in armbian-config What shows up in ls /dev/spi* ? Please show your success, if you make it work
  18. I hope it works for you I wish to have NickA's Armbian patches in Linux 6.11+, because I need to use its improvements for my new LCD screen
  19. This is the closest you can get to the ili9486... buy this LCD, study the hardware differences, and maybe you can get the ili9486 working https://forum.armbian.com/topic/47971-driving-the-ili9488-lcd-40-inch-cheap-chinese-clone/
  20. I dont have a Pine64, but I have some experience with LCD displays. Did you try the latest kernel, available by building armbian with the "Edge Linux" option? Can you roll back to the working kernel, get the LCD working again, and examine "dmesg | grep mipi"? If there's no difference, there might be more information in "armbian-monitor -u" DasFisch: in armbianEnv.txt, there is no explicit option to activate ko modules. You can activate armbian or custom user dtbos (overlays), which tell Linux what driver it may use in such port or address.
  21. For another orange pi board, someone had success with an official (but old) DTBO: https://forum.armbian.com/topic/31654-orange-pi-zero-2w/page/2/#findComment-202508 There's a very interesting discussion about GPIO troubleshooting here (and how sysfs is deprecated), I hope it helps: https://forum.armbian.com/topic/33800-orange-pi-zero-3-gpio
  22. I still havent done anything with my orange pi zero 2w, but I will be interested in trying this usb-host in the near future There's a Armbian shortcut that I use all the time with custom dts: armbian-add-overlay, but the dtbo files are kept separate in /boot/user-overlays
  23. I have never seen a dts so small. Usually, they have several "fragment" codeblocks.
  24. It would help you to also buy the 2 SBCs that are the closest to the longan pi 3H: * Orange Pi Zero 3 * Orange Pi Zero 2W Learn the differences in hardware. Figure out the differences in their DTS files. Then share those fidings here with us. If there are some things that work in these 2 Orange Pis, but don't work in the Longan Pi 3H... then raise those specific questions in the forum.
  25. Can you try building from NickA's Armbian repo? https://forum.armbian.com/topic/29794-how-to-install-armbian-in-h618/page/17/#findComment-205764 I also lost HDMI video when I compiled official main armbian on my own... but I don't keep track which Linux version gave me the problem (I am working with SPI LCDs). When I tried NickA's branch, I got HDMI video.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines