[meta-freescale] HDMI out : Kernel hangs on boot when cable is plugged

Jean-Michel Hautbois jhautbois at gmail.com
Thu Jul 17 06:58:40 PDT 2014


Hi all,

I have a custom board, on which HDMI part is quite the same as the sabresd.
I added the HDMI support, and mxcfb support in my dts. Here is the issue :

Without the HDMI cable, it boots correctly. When plugging the HDMI
cable, it is detected, and it shows a console.

With the cable plugged before booting, kernel stops very early :
## Booting kernel from Legacy Image at 10800000 ...
   Image Name:   Linux-3.10.17+yocto+gc657345
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5504216 Bytes = 5.2 MiB
   Load Address: 10008000
   Entry Point:  10008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 18000000
   Booting using the fdt blob at 0x18000000
   Loading Kernel Image ... OK
   Using Device Tree in place at 18000000, end 1800cd6e

Starting kernel ...


Here is the dts part for HDMI :
/ {
    aliases {
        mxcfb0 = &mxcfb1;
    };
    mxcfb1: fb at 0 {
        compatible = "fsl,mxc_sdc_fb";
        disp_dev = "hdmi";
        interface_pix_fmt = "RGB24";
        mode_str ="1920x1080M at 60";
        default_bpp = <24>;
        int_clk = <0>;
        late_init = <0>;
        status = "disabled";
    };
    v4l2_out {
        compatible = "fsl,mxc_v4l2_output";
        status = "okay";
    };
};

&hdmi_audio {
    status = "okay";
};

&hdmi_core {
    ipu_id = <0>;
    disp_id = <0>;
    status = "okay";
};

&hdmi_video {
    fsl,phy_reg_vlev = <0x0294>;
    fsl,phy_reg_cksymtx = <0x800d>;
    status = "okay";
};

&i2c2 {
    clock-frequency = <100000>;
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_i2c2_2>;
    status = "okay";

    hdmi: edid at 50 {
        compatible = "fsl,imx6-hdmi-i2c";
        reg = <0x50>;
    };
};

Any help would be appreciated !
Thanks,
JM


More information about the meta-freescale mailing list