imx6, LVDS 2 port

Document created by BAK LEE on Nov 11, 2018
Version 1Show Document
  • View in full screen mode

Hi all. 

The display does not output normally.

1. This is the screen of the problem.

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

 

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

- 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.

Attachments

    Outcomes