Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: gaminn on December 22, 2015, 09:57:08 PM

Title: A20-lime2 LCD
Post by: gaminn on December 22, 2015, 09:57:08 PM
How to use LCD-OLinuXino-10TS and LCD-OLinuXino-15.6FHD displays with A20-lime2 with Debian?

I use official Debian 8 image from https://www.olimex.com/wiki/A20-OLinuXino-LIME2#Linux.

I tried to follow these instructions:

https://www.olimex.com/wiki/A20-OLinuXino-MICRO#How_to_change_HDMI.2C_VGA_and_LCD_resolutions_in_the_official_Debian_image.3F
http://www.home-automation-community.com/a20-olinuxino-lime-lcd-touch-screen-setup-howto/

Both pages mention ./change_display script in root directory, however in the official image I can't see this file.

Are there any updated instruction how to use LCDs with A20-lime2?
Title: Re: A20-lime2 LCD
Post by: Gerrit on December 22, 2015, 10:16:59 PM
you have to become root first (sudo su -l) if you do ls -l then you find a change display script the name can vary some.

if it is really not there you can get it from https://github.com/OLIMEX/OLINUXINO/blob/master/SOFTWARE/A20/A20-build-3.4.103/script_change_display_3.4.103/change_display.sh
Title: Re: A20-lime2 LCD
Post by: gaminn on December 22, 2015, 11:43:54 PM
Thanks Gerrit. I finally found the script in /usr/bin folder.
Title: Re: A20-lime2 LCD
Post by: gaminn on December 23, 2015, 01:04:12 AM
I have additional question - how can I configure display type for my own linux image built using poky and meta-sunxi layer? I can't see any fex or script.bin files in the resulting image.
Title: Re: A20-lime2 LCD
Post by: JohnS on December 23, 2015, 02:24:26 AM
What kernel ver?

John
Title: Re: A20-lime2 LCD
Post by: gaminn on December 23, 2015, 10:43:06 AM
Linux 4.1.10
Title: Re: A20-lime2 LCD
Post by: JohnS on December 23, 2015, 03:54:42 PM
So no fex.

DT - device tree - instead.

John
Title: Re: A20-lime2 LCD
Post by: gaminn on December 23, 2015, 05:11:19 PM
I don't understand device tree at the moment. I hope there is more "user friendly" way to change the settings, e.g. in meta-sunxi layer...