Jump to content

Minh Tiến Nguyễn

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Minh Tiến Nguyễn

  1. Sorry for late reply Currently i only use this display to show content which already in the board The touch is not so reliable and it seem with the same config it still not working the same for each flash new image, i still need to change the touch matrix value. But for now i think i can accept it Actually I now wonder that maybe color is reversed because of speed of SPI. Because when i set in init command 0x1000036 0x08 or 0x48 or 0x28 it already have BGR bit 3 (as i share the image in document above. ) is 1. Also can i ask you about How to build armbian image for this board Orange pi zero 2w, i want to improve security for this project, so i want to have configure more about init boot, kernel, ... I heard someone use buildroot, someone use https://github.com/orangepi-xunlong/orangepi-build in here for H616, someone use OS Manjiro..., Have you ever try one, which do you suggest most ?
  2. Hi @robertoj Yes thank you for helping me For this board, i am using armbian follow this link https://www.armbian.com/orange-pi-zero-2w/ which is Armbian 25.5.1 Kernel: 6.12.23 Yes i use my 5 different sd card to back up and try so many os (at first i want the OS using fb_ili9486 to make it work just like raspberry pi 4) Yes after modify the device tree and add calib configuration, i just plug and play, for the orange pi zero 2w it look like this
  3. Thank you so much for sharing me the thread, i finally make the screen true color follow dts of user wdr_s Here is my dts file The thing i change compare with dts in https://github.com/dev-null2019/orangepizero2w35tft : 1. spi-max-frequency from 48000000 to 16000000 (I think it due to speed of spi on the board) 2. And in init, i change both value of 0x1000036 0x48 I test on Debian Bookworm, Armbian it work ok Note that, with this device tree, i got reversed touch screen (up to down work ok, but left to right is reversed) so i need to change the calib matrix Here is the content of /usr/share/X11/xorg.conf.d/80-calibration.conf Once again, Thank you very much. I stuck in this problem 3 days, and try so many device tree, and try full supported os from orange pi but it not work, until follow your thread.
  4. About wrong color i think the driver cause it. Driver for render image in this kernel sunxi is ili9486drmtft. I get right color in raspberry pi 4 but raspberry pi 4 use fb_ili9486. On this orangepi zero 2 w, i try 3 different OS but still get same wrong color after adding dts for ili9486 1. Orangepi OS Kernel 6.1 2. Armbian OS Kernel 6.1 3. Debian Bookworm 12 Kernel 6.1 All using ili9486drmtft and get wrong color I also try to change bgr value in dts, but it only create change in .../spi@1.0.../bgr not the color on screen I try to get source code https://github.com/orangepi-xunlong/linux-orangepi/tree/orange-pi-6.1-sun50iw9 to change the bgr field in driver, but i can't insmod the module i build. It say invalid symbol I see someone comment that after kenel 5.4 in repo sunxi remove fbtft_device, so we can't add the fb_ili9486 . The Offical OS supported by Orangepi has Kernel 5.4 Debian, i use it, but after add overlays and reboot, it seem wrong setup, ethernet not working, and i don't know why.
  5. Hello @robertoj I think i have the same problem with @RimYT above about wrong color with ili9486, i'm using screen MPI3501 which is clone screen of waveshare tft35 I apply the same device tree and guide in https://github.com/dev-null2019/orangepizero2w35tft. The screen work but i wrong color, it seem revered Red. —> blue Green —> red Blue. —> green I also write detail in here I know my problem not totally related to your topic, but can you suggest me what i should to check more
  6. Hi everyone, I have wrong color in screen MPI3501 , when i test to output buffer to color red,green, blue, it seem like Red. —> blue Green —> red Blue. —> green Here is how i test (i need to stop lightdm service before this) (when boot the image should be orange not green) I am using display MPI3501 http://www.lcdwiki.com/3.5inch_RPi_Display which i heard that is a clone of waveshare 3,5 inch https://www.waveshare.com/3.5inch-RPi-LCD-C.htm I'm using Debian Bookworm. I know that it not the same as Armbian, but the config kinda the same. About driver for ili9486, here is the info To use this screen i create overlay-user. and and ili9486.dts. Here is the content of it and I add this overlay to /boot/orangepiEnv.txt Note that i think the field "bgr" and "init" not working, i try to change it to make bgr from 0x00 to 0x01, or send init different at 0x10000036 but nothing change. Also note that, i also try to cat raw data from /dev/fb0 and using ffmpeg --> It is true color Also here is the dmesg log Is anyone here familiar with this problem, or ever try to change bgr field of this ili9486 ? Best Regard !!
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines