LCD-OLinuXino-4.3TS with mainline kernel

Started by st3rk, August 08, 2015, 05:04:25 PM

Previous topic - Next topic

st3rk

Hi,

I didn't find any documentation to make work a LCD-OLinuXino-4.3TS screen with an Olimex A20 Micro and a mainline linux kernel. A full Debian image, tuned to turn the device into a digital photo frame, was made available by Jens Thiele for the Prisirah project[1], but the procedure to rebuild u-boot was not detailed. As I spent some time on this issue, I would like to share the solution.

You need to recompile u-boot adding this options:
CONFIG_VIDEO_LCD_MODE="x:480,y:272,depth:18,pclk_khz:9000,le:10,ri:5,up:3,lo:8,hs:30,vs:5,sync:3,vmode:0"
CONFIG_VIDEO_LCD_POWER="PH8"
CONFIG_VIDEO_LCD_BL_EN="PH7"
CONFIG_VIDEO_LCD_BL_PWM="PB2"


I also removed this line, but I don't know if it has any impact:
CONFIG_VIDEO_VGA=y

Then, boot using a kernel with simplefb support (available in Debian Stretch).

More detailed explanations are available here: https://github.com/st3rk/Olimex_A20/tree/master/LCD-OLinuXino-4.3TS

[1] http://karme.de/prisirah/