Jump to content

Orange Pi Zero 3 ili9486 TFT LCD


Go to solution Solved by WDR_s,

Recommended Posts

Posted

@robertoj

Thank you very much for your reply! I sincerely apologize for any misunderstanding. When I mentioned the 16-bit option, I was referring to the selection made when setting up the Armbian image. This option is located in the same menu as the mipi_panel_dbi support option.

I mentioned this in my comment because I was a bit confused by the "but the greeter is not" part of your response. I probably just needed to enable the mipi_panel_dbi support parameter and continue building without adding any additional parameters. I use a screen with a red board on the ili9488 driver, the Chinese version for sure.

 

I'd also like to clarify with someone who's already done this, whether I'm following all the steps correctly. If that's possible, please let me know within this forum thread.

 

 

- I'm building a minimal image.

- First, I use the DTS file from the thread you provided as a response.

- After I see the image on the screen, if the colors are incorrect, I use the file provided by Pancake.

 

Please forgive me again. In the thread you provided as a solution, I don't understand the sequence of actions and where I should start. Once again, I apologize for my meticulousness.

Posted (edited)

Yes, that is the correct sequence of actions:

1. Build armbian minimal with panel-mipi-dbi kernel module

2. Use DTS so that the kernel links the GPIO, SPI to the panel-mipi-dbi kernel module

3. Use the bin file (originally provided by Kungfu pancake) <-mandatory, not optional

4. If you see console text successfully in the LCD during boot, you have successfully installed your LCD

5. Tell us here, for the next step in GUI installation

 

The "greeter" is the graphical login screen. Labwc is the wayland-based compositor and window manager (I think).

Edited by robertoj
Posted

Hi I was able to build an image with the panel-mipi-dbi module enabled. My previous image had the module disabled, so it took me a couple of days to figure it out. As I found out, for my version of the board, which uses the 618 chip, I needed to adjust a line in the bootconfig to build my board. It specified the 616 chip.

But that's probably not the reason for the success. After I built the image, applied the binary, and dts, the screen was still white after rebooting.

 

user@orangepizero3:~/v0_ips_touch_display$ cd
user@orangepizero3:~$ sudo modinfo panel-mipi-dbi
filename:       /lib/modules/6.16.8-edge-sunxi64/kernel/drivers/gpu/drm/tiny/panel-mipi-dbi.ko
license:        GPL
author:         Noralf Trønnes
description:    MIPI DBI compatible display panel driver
alias:          of:N*T*Cpanel-mipi-dbi-spiC*
alias:          of:N*T*Cpanel-mipi-dbi-spi
alias:          spi:panel-mipi-dbi-spi
depends:        drm_mipi_dbi,backlight
intree:         Y
name:           panel_mipi_dbi
vermagic:       6.16.8-edge-sunxi64 SMP preempt mod_unload aarch64
user@orangepizero3:~$ dmesg | grep spi
[    2.466658] sun6i-spi 5010000.spi: Error applying setting, reverse things back
[    2.467167] sun6i-spi 5011000.spi: cannot register SPI host
[    2.474140] sun6i-spi 5010000.spi: Error applying setting, reverse things back
[    2.474558] sun6i-spi 5011000.spi: cannot register SPI host
[    3.584770] panel-mipi-dbi-spi spi1.0: supply power not found, using dummy regulator
[    3.603713] panel-mipi-dbi-spi spi1.0: supply io not found, using dummy regulator
[    3.603960] panel-mipi-dbi-spi spi1.0: Direct firmware load for panel-mipi-dbi-spi.bin failed with error -2
[    3.603975] panel-mipi-dbi-spi spi1.0: No config file found for compatible 'panel-mipi-dbi-spi' (error=-2)
[    3.603983] panel-mipi-dbi-spi spi1.0: probe with driver panel-mipi-dbi-spi failed with error -2
[   12.001666] OF: /soc/spi@5011000/ads7846@1: Read of boolean property 'ti,swap-xy' with a value.
[   12.001860] ads7846 spi1.1: supply vcc not found, using dummy regulator
[   12.004761] ads7846 spi1.1: touchscreen, irq 77
[   12.007680] input: ADS7846 Touchscreen as /devices/platform/soc/5011000.spi/spi_master/spi1/spi1.1/input/input10
[   12.018707] spi-nor spi0.0: supply vcc not found, using dummy regulator
[   12.018953] spi-nor spi0.0: supply vdd not found, using dummy regulator
 

Posted

Can you clarify that you made a custom H618 board :) ?? (not exactly Orange Pi Zero 3?).

 

If I remember correctly, you had previous success with an ili9341 and the same linux board?

 

You need to compare the DTS that worked for you (with ilitek, ili9341, right?) and the new DTS you are trying to modify (with panel-mpi-dbi, for ili9488).

 

Make sure you haven't changed the GPIO in the DTS, and the connections in the LCD and your Linux board.

 

If the ili9341 was working for you with the H616 armbian configuration, changing to H618 might need changes in the LCD DTS from that change.... to make those SPI pins to be addressed correctly.

That previous H616 armbian configuration... what Linux board was it meant for?

 

Change back to the configuration that made your board work with the ili9341.

Posted

Good afternoon. Thank you for your reply. Unfortunately, I haven't had a positive experience. My apologies for misleading you, but my motherboard originally had a 618 processor. I tried creating an image for the 616 many times until I noticed that my processor was a 618. After several attempts, I was able to create an image for the 618.

After receiving an image for the 618 with the panel-mipi-dbi module, I tried connecting a screen with an ili9488 chip. I can say I've taken the first step toward implementing this project. Now I need to get the screen working with the resulting image.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines