Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: LonNic on April 16, 2016, 12:33:34 PM

Title: Olimex LCD 15.6" FHD script configuration
Post by: LonNic on April 16, 2016, 12:33:34 PM
Hi,
I'm new to this forum and also to A20 (nand).

I'm trying to setup my A20 +  Olimex Lcd 15.6" FHD +40 40 / 15 cm cable
and latest available debian release from Olimex website
https://www.olimex.com/wiki/A20-OLinuXino-MICRO#Linux (https://www.olimex.com/wiki/A20-OLinuXino-MICRO#Linux).

My A20  boots from micro sd
(A20-OLinuXino-MICRO Debian Jessie with kernel 3.4.103+ release 12)
and I can connect via eth0 remotely via ssh


I followed this guide https://linux-sunxi.org/Fex_Guide (https://linux-sunxi.org/Fex_Guide)
and I several parameters to build.fex file and script.bin file
to put into /boot/script.bin
(through git clone sunxi-tools edited script.fex)
I checked also several configurations for my 15.6" lcd
http://forum.armbian.com/index.php/topic/709-a20-lcd-olinuxino-156fhd-compatibility/ (http://forum.armbian.com/index.php/topic/709-a20-lcd-olinuxino-156fhd-compatibility/)

My A20 nand, starts regularly with my HDMI display and I can use mouse and keyboard,
but when I try to connect Lcd cable 40/40 15m  I have no response from the board
no ping to 192.168.1.254, and no other connections
(I only see a flash but display is always off/black)

these are script i have tested until now

https://tinyurl.com/h7w2wcn/ (https://tinyurl.com/h7w2wcn/)

https://tinyurl.com/jxvkoyu/ (https://tinyurl.com/jxvkoyu/)

https://tinyurl.com/gqg65tr/ (https://tinyurl.com/gqg65tr/)

https://tinyurl.com/gwroddx/ (https://tinyurl.com/gwroddx/)

https://tinyurl.com/zah49s7/ (https://tinyurl.com/zah49s7/) (tnx Andrej)

https://tinyurl.com/ham4nhw/ (https://tinyurl.com/ham4nhw/) (tnx Andrej)

https://tinyurl.com/htfvcto (https://tinyurl.com/htfvcto) (*)

https://tinyurl.com/hhwdlpw (https://tinyurl.com/hhwdlpw) (*)

              (*) this is very similar to Andrej's script


these scripts are similar differ among themselves
only for these fields:
[disp_init] and [lcd0_para] fields

Where to find exact parameters to run my LCD 15.6FHD ?

thanks in advance,
Nico

Title: Re: Olimex LCD 15.6" FHD script configuration
Post by: LubOlimex on April 20, 2016, 09:17:43 AM
Hey,

So your board stops when you attach the display, is this correct?

If it is so then the problem is not in the script only - there is something else. Probably insufficient power supply since this display alone consumes more than 1A @ 5V. In most of the cases the 15.6 inch display requires its own 5V external power supply. Make sure that the jumper at the back of the display is set properly to "PWR_JACK".

Also I can't see what happens with script in the official image? What happens when you use the script provided by Olimex? There is a ready-to-use script for changing video output in our official releases. Start it with "change_display*", where * means to press TAB for auto-complete, more info can be found here: https://www.olimex.com/wiki/A20-OLinuXino-MICRO#How_to_change_HDMI.2C_VGA_and_LCD_resolutions_in_the_official_Debian_image.3F and here: https://github.com/OLIMEX/OLINUXINO/blob/master/SOFTWARE/A20/A20-build-3.4.103-release-2/usage_and_image_description_A20-Olimex_kernel_3.4.103%2B_Jessie_rel_2_with_camera_support.txt

What happens if you boot from microSD card? Is there difference in the behavior compared to booting from NAND?

Best regards,
Lub/OLIMEX
Title: Re: Olimex LCD 15.6" FHD script configuration
Post by: LonNic on April 20, 2016, 06:52:59 PM
Ok Lub !
everything is working fine now !
the trouble was a simple jumper   (argh !)
put into the bad position. (I suggest to mention this,
in the manual instructions, next release).

My A20 is working with an external 9v pwr supply and
and it is connected through 40 40 15 cable connector
while lcd 15.6" display is using a 5v/1A (SY0605E)

I'm now using this release:

A20-OLinuXino-MICRO Debian Jessie with kernel 3.4.103+ release 12

Script is working fine

./change_display.sh command modified the original script.bin
to 1920/1080 default resolution and all it's okay !

I'm using only the external sd card (not flash nand) but later I'll try...

I'm very impressed by the high contrast/resolution of this display.

best regards
and thank you again

Nico