Adding custom parallel RGB display support for kernel 3.10.17

Answered
0
0

Hi there,

I read this blog post yesterday and found that the steps provided for adding support for a custom LVDS display no longer apply to kernel 3.10.17:

http://www.imx6rex.com/software/imx6-rex-basic-hw-verification-tests/#lvds

I would like to add support for a parallel RGB display instead of an LVDS display. I guess I will have to add an entry to lcdif_modedb[] in drivers/video/mxc/mxc_lcdif.c, right? That file exists in the 3.10.17 kernel sources. This one doesn’t , however: linux/arch/arm/mach-mx6/board-mx6q_sabresd.c.
So where and how do I configure my display outputs for this kernel version?

Any help would be much appreciated!

  • You must to post comments
Best Answer
1
1

Read this: https://community.freescale.com/thread/317876

This is what you may be looking for?

linux-imx/3.10.17-r0/git/arch/arm/boot/dts/imx6qdl-sabresd.dtsi

mxcfb1: fb@0 {
    compatible = "fsl,mxc_sdc_fb";
    disp_dev = "ldb";
    interface_pix_fmt = "RGB666";
    mode_str ="LDB-XGA";
    default_bpp = <16>;
    int_clk = <0>;
    late_init = <0>;
    status = "disabled";
};
  • You must to post comments
0
0

Hello Julian,

there is no parallel RGB on the iMX6 Rex module connector. LVDS should work on all kernels, there is nothing special to set (except if you have a very small display, follow the steps from the link you provided). Only what you need, you will need to somehow pass the resolution parameters to the kernel (I think, you can even set them once you boot up). I have not try yet (I will try, I am testing YOCTO), but I believe, you may be able to compile the kernel with linux command line and maybe you can add these parameters there. We did something similar for HDMI …. see this link: http://www.imx6rex.com/software/how-to-compile-imx6-linux-kernel-3-15-and-3-16/#kernel_modifications

  • You must to post comments
0
0

We dont have support for 3.10 yet, you would have to do much more … e.g. set all the pins correctly. I am working on YOCTO (it uses Linux 3.10) and will have a look how it is done there. But I believe, you need to define the hardware in something what is called device three. Have a look how Robert Nelson created support for Kernel 3.15 .. it may help you: https://github.com/RobertCNelson/imx-devel/tree/v3.15.x-rex

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.