OlinuXino-Micro-A20 LCD OUTPUT ISSUE

Started by Turhan, October 22, 2021, 01:58:59 am

Previous topic - Next topic

Turhan

Hello,

I have OlinuXino-Micro Rev .J version nand 8GB board. I have installed "A20-OLinuXino-focal-base-20210821-133514" image. How can I start with LCD 7 inc screen. It starts with HDMI port only. And also I need to Update LCD GPIO ports. Output orders are not same as you design. For example Lcd was connected like that :
lcdd0 = port:PD16<2><0><default><default>
lcdd1 = port:PD17<2><0><default><default>
lcdd2 = port:PD18<2><0><default><default>
lcdd3 = port:PD19<2><0><default><default>
lcdd4 = port:PD20<2><0><default><default>
lcdd5 = port:PD21<2><0><default><default>
lcdd6 = port:PD22<2><0><default><default>
lcdd7 = port:PD23<2><0><default><default>
lcdd8 = port:PD08<2><0><default><default>
lcdd9 = port:PD09<2><0><default><default>
lcdd10 = port:PD10<2><0><default><default>
lcdd11 = port:PD11<2><0><default><default>
lcdd12 = port:PD12<2><0><default><default>
lcdd13 = port:PD13<2><0><default><default>
lcdd14 = port:PD14<2><0><default><default>
lcdd15 = port:PD15<2><0><default><default>
lcdd16 = port:PD00<2><0><default><default>
lcdd17 = port:PD01<2><0><default><default>
lcdd18 = port:PD02<2><0><default><default>
lcdd19 = port:PD03<2><0><default><default>
lcdd20 = port:PD04<2><0><default><default>
lcdd21 = port:PD05<2><0><default><default>
lcdd22 = port:PD06<2><0><default><default>
lcdd23 = port:PD07<2><0><default><default>
lcdclk = port:PD24<2><0><default><default>
lcdde = port:PD25<2><0><default><default>
lcdhsync = port:PD26<2><0><default><default>
lcdvsync = port:PD27<2><0><default><default>

My board was working with Debian-Jessie with above FEX settings. I could not find any FEX file in the image. I think that boot is starting without FEX/BIN file.

My question: How can run with a LCD which has been connected different pin order instead of HDMI.

olimex

FEX is used only in the obsolete Linux-Sunxi 3.4 Kernel
Read OLIMAGE user guide to learn how to setup GPIOs in the Mainline Linux images

Turhan

I read this guide but still i dont't have any idea that how can i run the lcd. Could you write what are the steps here ?

LubOlimex

Is the display made by Olimex? If yes, then use olinuxino-display script, we have provided easy way to change video output.

If not you would have to enable your display in the DTS, refer to chapter

"
11.1. How to build Device Tree Source (DTS) file for Olimage
"

Check how our display are defined in the sources.
Technical support and documentation manager at Olimex

Turhan

It is not Olimex-LCD however i set as Olimex 7 inc Lcd by using Olinuxino commands. Still I don't see any output on PD0-27 pins when i check them via Oscillascope.

LubOlimex

Quote from: undefinedIt is not Olimex-LCD

Quote from: undefinedIf not you would have to enable your display in the DTS, refer to chapter

"
11.1. How to build Device Tree Source (DTS) file for Olimage
"

Check how our display are defined in the sources.
Technical support and documentation manager at Olimex

Turhan

I have modified and compiled my file it is working now. However, during the boot time lcd shows only boot screen when OS(Ubuntu) is starting to desktop LCD becomes dark and also when I check with oscillascope LCD clocks and data outputs stop. HDMI cable and monitor is connected, in order is that:
First boot screen is shown on LCD and later, it is dark.
After few seconds:HDMI monitor shows Desktop.
What might be the issue ?