imx6, LVDS 2 port

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6, LVDS 2 port

imx6, LVDS 2 port

Hi all. 

The display does not output normally.

1. This is the screen of the problem.

display.png

2. This is a screen that should come out normally. 

display2.png

Therefore, it is necessary to review whether the settings are correct in the bootloader and the kernel.

Below are the system information and tasks.

- Hardware system

Module: Apalis iMX6, Ixora Carrier Board v1.1

LVDS 2 port : LA123WF4-SL05, 12.3”WU (1920 X RGB X 720) TFT- LCD

- Operation system

boot2qt : Boot to Qt for Embedded Linux 2.3.4

bootloader: U-Boot 2016.11-dirty

kernel : Linux version 4.1.44-2.7.5+g18717e2


- LCD timing

1279-image004.png

- Device Tree of kernel, arch/arm/boot/dts/imx6qdl-apalis.dtsi

mxcfb1: fb@0 {
compatible = "fsl,mxc_sdc_fb";

disp_dev = "ldb";

interface_pix_fmt = "RGB24";

default_bpp = <24>;

int_clk = <0>;

late_init = <0>;

status = "disabled"; // "okey" in arch/arm/boot/dts/imx6qdl-apalis-ixora-v1.1.dtsi

};

&ldb {
status = "okay";
split-mode;
// dual-mode;
lvds-channel@0 {
reg = <0>;
fsl,data-mapping = "spwg"; /* "jeida"; */
fsl,data-width = <24>;
crtc = "ipu2-di1";
primary;
status = "okay";

display-timings {
native-mode = <&timing01>;
timing01: 1920x720 {
clock-frequency = <89400000>;
hactive = <1920>;
vactive = <720>;
hback-porch = <96>;
hfront-porch = <30>;
vback-porch = <3>;
vfront-porch = <3>;
hsync-len = <2>;
vsync-len = <2>;
};
};
};
lvds-channel@1 {
reg = <1>;
fsl,data-mapping = "spwg";
fsl,data-width = <24>;
crtc = "ipu1-di0";
status = "okay";

display-timings {
timing02: 1920x720 {
clock-frequency = <89400000>;
hactive = <1920>;
vactive = <720>;
hback-porch = <96>;
hfront-porch = <30>;
vback-porch = <3>;
vfront-porch = <3>;
hsync-len = <2>;
vsync-len = <2>;
};
};
};
};

- u-boot env

vidargs=video=mxcfb0:dev=ldb,1920x720@60,if=RGB24, video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off

- kernel log

:

[ 0.244330] MIPI DSI driver module loaded

[ 0.244682] ldb 2000000.aips-bus:ldb@020e0008: split mode

[ 0.244951] ldb 2000000.aips-bus:ldb@020e0008: split mode or dual mode, ignoring second output

[ 0.245615] 20e0000.hdmi_video supply HDMI not found, using dummy regulator

[ 0.247074] mxc_sdc_fb fb@0: registered mxc display driver ldb

[ 0.262134] mxc_sdc_fb fb@0: 1920x720 h_sync,r,l: 2,30,96 v_sync,l,u: 2,3,3 pixclock=89405000 Hz

[ 0.272800] imx-ipuv3 2800000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)

[ 0.306740] mxc_sdc_fb fb@0: 1920x720 h_sync,r,l: 2,30,96 v_sync,l,u: 2,3,3 pixclock=89405000 Hz

[ 0.354510] Console: switching to colour frame buffer device 240x45

[ 0.389237] mxc_sdc_fb fb@1: mxcfb1 is turned off!

[ 0.389484] mxc_sdc_fb fb@2: mxcfb2 is turned off!

[ 0.389720] mxc_sdc_fb fb@3: mxcfb3 is turned off!
:

- Run fbset of target

root@b2qt-apalis-imx6:~# fbset

mode "1920x720-60"

# D: 89.405 MHz, H: 43.655 kHz, V: 59.966 Hz

geometry 1920 720 1920 1440 24

timings 11185 96 30 3 3 2 2

accel false

rgba 8/16,8/8,8/0,0/0

endmode

Is there anything else to check?
Thanks.

Comments

Hi.
There was a problem with the pinmap.
Now the screen comes out, but two screens are displayed instead of one screen.

1.set to split-mode

1) Timing
clock-frequency = <89400000>;
hactive = <1920>;
vactive = <720>;
hback-porch = <96>;
hfront-porch = <30>;
vback-porch = <3>;
vfront-porch = <3>;
hsync-len = <2>;
vsync-len = <2>;
 
=> Two screens, pushed to the right.

01.png
2) Timing
clock-frequency = <44700000>;
hactive = <1920>;
vactive = <720>;
hback-porch = <48>;
hfront-porch = <15>;
vback-porch = <3>;
vfront-porch = <3>;
hsync-len = <1>;
vsync-len = <2>;

02.png
3) If both of them operate in a single mode, the screen will not come out.

4) Data mapping was done with "spwg". (If you use "jeida", the colors are strange.)
 
I have to come out on one screen. Can you help me with setting up?
Thank you.

No ratings
Version history
Last update:
‎11-11-2018 02:30 AM
Updated by: