Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: votroto on February 21, 2023, 11:01:17 PM

Title: Enabling LCD on Alpine Linux
Post by: votroto on February 21, 2023, 11:01:17 PM
Hello, what would be required to enable LCD output on an unofficial distribution such as Alpine Linux?

I have the A20 Lime2 with the official 7" LCD and a working installation of Alpine Linux. The HDMI works fine, but I have no idea what is needed to make the LCD work.

I know there used to be some CONFIG_FB_SUNXI kernel modules which needed to be compiled according to the atrociously confusing and out of date Sunxi wiki, but those don't seem to exist any more. There is also a mention of u-boot parameters, but who knows how out of date those are...

Thank you
Title: Re: Enabling LCD on Alpine Linux
Post by: LubOlimex on February 22, 2023, 10:11:04 AM
Probably the Alpine community would be of more help but you should explore our GitHub with the Olimage projects to see what we've done to enable them. We take mainline then apply some patches and changes, so maybe patches and changes can be applied to your image too.

Here for example:

https://github.com/OLIMEX/olinuxino-overlays

More links and build info can be found at the end of this document:

https://github.com/OLIMEX/OLINUXINO/blob/master/DOCUMENTS/OLIMAGE/Olimage-guide.pdf

Title: Re: Enabling LCD on Alpine Linux
Post by: votroto on February 22, 2023, 05:38:37 PM
Alpine was just an example, but I can't imagine they'd be too excited to help me find device tree files and kernel configs for an obscure LCD module :D.

Aha, an overlay repo! I'll see what I can glean from it.

Thank You!