Imx6 Hdmi Problem

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

Imx6 Hdmi Problem

853 Views
emmanuelperea
Contributor III

Hello,

I am using a imx6 dual lite connectore that I made a carry board, It's working fine but I have some hdmi issues. 

I have to connect the imx6 to a monitor that use dvi to hdmi connect. 

In dtb configuration i did:

hdmi_video@020e0000 {
compatible = "fsl,imx6q-hdmi-video";
reg = <0x20e0000 0x1000>;
reg-names = "hdmi_gpr";
interrupts = <0x0 0x73 0x4>;
clocks = <0x2 0x7c 0x2 0x7b 0x2 0x8a>;
clock-names = "hdmi_isfr", "hdmi_iahb", "mipi_core";
status = "okay";
fsl,phy_reg_vlev = <0x294>;
fsl,phy_reg_cksymtx = <0x800d>;
digi,dvi_mode;
};

hdmi_audio@00120000 {
compatible = "fsl,imx6q-hdmi-audio";
clocks = <0x2 0x7c 0x2 0x7b 0x2 0x8a>;
clock-names = "hdmi_isfr", "hdmi_iahb", "mipi_core";
dmas = <0xe 0x2 0x19 0x0>;
dma-names = "tx";
status = "disabled";
linux,phandle = <0x5b>;
phandle = <0x5b>;
};

I have four boards with the same configuration, and I have four iquals monitors. One board works excelent and the others works with some issues, in the screen appears some blue and green pixeles.

I dont use hdmi audio so I desabled it from dtb and I put dvi_mode.

I have to use 1024x768 resolution but this mode is not available so I added in xorg.conf file:

My xorg.conf file is the next:

Section "Device"
                        Identifier "i.MX Accelerated Framebuffer Device"
                        Driver "vivante"
                       Option "fbdev" "/dev/fb0"
                       Option "vivante_fbdev" "/dev/fb0"
                        Option "HWcursor" "false"
EndSection

Section "Monitor"
      Identifier "Monitor"   
      HorizSync 48.3
      VertRefresh 60
EndSection

Section "Screen"
      Identifier "Screen"
      Device "i.MX Accelerated Framebuffer Device"
      Monitor "Monitor"
      DefaultDepth 16
       SubSection "Display"
         Depth 16
         Modes "1024x768"
      EndSubSection
EndSection

Section "InputClass"
      Identifier "calibration"
      MatchProduct "AD7879 TouchScreen"

EndSection
Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection

Right now I am changing HorizSync and I chek the changes, around 48.4.

I set extra_bootargs -> extra_bootargs=video=mxcfb0:dev=hdmi,1024x768,if=RGB565,bpp=16

I dont know what more i can do, if someone has some idea i will be grateful.

Thanks.

My kernel version is 4.9.

0 Kudos
1 Reply

644 Views
igorpadykov
NXP Employee
NXP Employee

Hi emmanuel

one can look at dvi issues and workarounds described on

DVI Support on i.MX6 boards - Boundary Devices 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos