I’m running the latest BSP for the Apalis (Apalis_iMX6_LinuxImageV2.6) with an Ixora v1.1 board, and I’m unable to get stable output on an attached LVDS screen. It is clear from the output that the data to be displayed is present, as I can discern a scrambled Toradex logo and default LXDE desktop. However, I suspect something is misconfigured in the display settings and would appreciate any input anyone may have.
I’m selecting the LVDS device as preferred output with u-boot vidargs set to:
video=mxcfb0:dev=ldb video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=32M
My device tree settings are (cut out the irrelevant resolutions):
fb@0 {
compatible = "fsl,mxc_sdc_fb";
disp_dev = "ldb";
interface_pix_fmt = "RGB666";
default_bpp = <0x10>;
int_clk = <0x0>;
late_init = <0x0>;
status = "okay";
};
ldb@020e0008 {
#address-cells = <0x1>;
#size-cells = <0x0>;
gpr = <0x17>;
status = "okay";
compatible = "fsl,imx6q-ldb", "fsl,imx53-ldb";
clocks = <0x2 0x87 0x2 0x88 0x2 0x27 0x2 0x28 0x2 0x29 0x2 0x2a 0x2 0xb8 0x2 0xb9 0x2 0xd1 0x2 0xd2 0x2 0xd3 0x2 0xd4>;
clock-names = "ldb_di0", "ldb_di1", "di0_sel", "di1_sel", "di2_sel", "di3_sel", "ldb_di0_div_3_5", "ldb_di1_div_3_5", "ldb_di0_div_7", "ldb_di1_div_7", "ldb_di0_div_sel", "ldb_di1_div_sel";
lvds-channel@0 {
reg = <0x0>;
status = "okay";
fsl,data-mapping = "spwg";
fsl,data-width = <0x12>;
crtc = "ipu2-di1";
primary;
display-timings {
...
1024x768 {
clock-frequency = <0x3938700>; /* 60MHz */
hactive = <0x400>;
vactive = <0x300>;
hback-porch = <0xa0>;
hfront-porch = <0x18>;
vback-porch = <0x1d>;
vfront-porch = <0x3>;
hsync-len = <0x88>;
vsync-len = <0x6>;
hsync-active = <0x0>;
vsync-active = <0x0>;
pixelclk-active = <0x0>;
linux,phandle = <0x28>;
phandle = <0x28>;
};
...
The relevant output from boot is as follows:
[ 0.179291] mxc_sdc_fb fb.20: registered mxc display driver ldb
[ 0.187550] mxc_sdc_fb fb.20: 1024x768 h_sync,r,l: 136,24,160 v_sync,l,u: 6,3,29 pixclock=60002000 Hz
[ 0.203342] imx-ipuv3 2800000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
[ 0.240051] mxc_sdc_fb fb.20: 1024x768 h_sync,r,l: 136,24,160 v_sync,l,u: 6,3,29 pixclock=60002000 Hz
[ 0.261176] Console: switching to colour frame buffer device 128x48
[ 0.300479] mxc_sdc_fb fb.21: mxcfb1 is turned off!
[ 0.300633] mxc_sdc_fb fb.22: mxcfb2 is turned off!
[ 0.300776] mxc_sdc_fb fb.23: mxcfb3 is turned off!
and later:
[ 9.959093] mxc_sdc_fb fb.20: 1024x768 h_sync,r,l: 136,24,160 v_sync,l,u: 6,3,29 pixclock=60002000 Hz
[ 10.011625] mxc_sdc_fb fb.20: 1024x768 h_sync,r,l: 136,24,160 v_sync,l,u: 6,3,29 pixclock=60002000 Hz
[ 10.060104] mxc_sdc_fb fb.20: 1024x768 h_sync,r,l: 136,24,160 v_sync,l,u: 6,3,29 pixclock=60002000 Hz
[ 10.110463] mxc_sdc_fb fb.20: 1024x768 h_sync,r,l: 136,24,160 v_sync,l,u: 6,3,29 pixclock=60002000 Hz
[ 10.699944] mxc_sdc_fb fb.20: 1024x768 h_sync,r,l: 136,24,160 v_sync,l,u: 6,3,29 pixclock=60002000 Hz
For completeness, the screen I’m attempting to attach is the Kyocera TCG101WXLPAANN-AN20:
I’ve also attached a sample of the output I’m seeing - this flickers rapidly.
Any and all suggestions welcome, I’m out of ideas on this one.