Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: mavstuff on November 08, 2023, 06:16:10 PM

Title: A20-SOM-EVB with GLS1680 Capacitive Touchscreen
Post by: mavstuff on November 08, 2023, 06:16:10 PM
Hi!
I am trying to connect A20-SOM-EVB kit to 5 inch capacitive touchscreen driven by GLS1680. The Linux image is A20-OLinuXino-bullseye-base-20231106-081613. Also I have reconnected 4 jumpers to I2C option. Then used oluxino-display app to change to 5 inch display.
Is there any list of supported I2C controllers? Can I add GLS1680 driver?
Any help appreciated
Title: Re: A20-SOM-EVB with GLS1680 Capacitive Touchscreen
Post by: LubOlimex on November 09, 2023, 08:25:19 AM
Hey,

the oluxino-display script works out-of-the-box only for Olimex-made displays (4.3-, 5-, 7-, 10- inch ones). If you want to use another display or hardware you might need to edit both the script and the Linux image to fit your hardware. The 5 inch CTS option in olinuxino-display applies to this display exactly:

https://www.olimex.com/Products/OLinuXino/LCD/LCD-OLinuXino-5CTS/

QuoteCan I add GLS1680 driver?

You can tailor the Linux image any way you'd like, it is open source software. I recommend you to check this document for useful instructions and links to all sources:

https://github.com/OLIMEX/OLINUXINO/blob/master/DOCUMENTS/OLIMAGE/Olimage-guide.pdf
Title: Re: A20-SOM-EVB with GLS1680 Capacitive Touchscreen
Post by: mavstuff on November 09, 2023, 07:19:33 PM
Thanks for the reply and for pointing to the building guide. I was able to make Buydisplay's 5 inch touchscreen with GLS1680 driver to work on A20-SOM board.

In short, one will need to enable Silead Touchcreen module in Kernel, upload dtbo overlay for it, then upload the binary firmware for GLS1680.
For anybody ever interested in GLS1680 on A20-SOM, I wrote a more detailed manual and a few source codes here: https://github.com/mavstuff/olimex-a20-som-buydisplay-gsl1680-touch (https://github.com/mavstuff/olimex-a20-som-buydisplay-gsl1680-touch)

Artem
Title: Re: A20-SOM-EVB with GLS1680 Capacitive Touchscreen
Post by: LubOlimex on November 10, 2023, 08:46:10 AM
Amazing, thank you for the contribution.