This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM8148: hdmi test pattern

Hi,

Is there a way to test test apptern generation on hdmi output ?


Thanks & Regards,

--Prabhakar Lad

  • Hi Prabhakar,
    You could enable the test mode (color bars) of the driving VENC. There is no pattern generator with in HDMI.
    Regards,
    Sujith
  • Hi Sujith,

    Thanks for your response.

    But when I load the hdmi module I get 'I2C No Ack'  error, any pointers to debug on this ?

    Thanks,

    --Prabhakar Lad

  • Hi Prabhakar,

    This message indicates that HDMI could not talk to a sink (TV) to figure out its capabilities.
    Can you try connecting an TV to the HDMI interface and try?

    Regards,
    Sujith
  • Hi Sujith,

    Thanks for the response and sorry for the late response was on a holiday.

    I get ' I2C Bus Low?' message when the HDMI module is loaded, following is
    the complete log:

    [ 129.050000] TI81XXHDMI : Initializing HDMI
    [ 129.050000] TI81XXHDMI : DM814x ioremap pll-DONE hdmi.base_pll = fa1c5200
    [ 129.060000] TI81XXHDMI : HDMI Clocks enabled successfully
    [ 129.070000] TI81XXHDMI :
    [ 129.070000] 0x48140934:e0002,0x48140938:e0002,0x481409b8:60010,0x481409bc:40010,
    [ 129.080000] TI81XXHDMI : DM814x : DDC pinmux enabled successfully
    [ 129.080000] HDMI W1 rev 4.0
    [ 129.090000] HDMI CEC Spec version 1.2
    [ 129.090000] TI81XXHDMI : TI81xx_hdmi: probe
    [ 129.100000] PM: Adding info for No Bus:TI81XX_HDMI
    [ 129.100000] TI81XXHDMI :
    [ 129.100000] Enter Panel function : hdmi_set_timings()
    [ 129.110000] TI81XXHDMI : Temp_hsync = 280, temp_vsync = 45, timing_hsync = 280, timing_vsync = 45
    [ 129.120000] TI81XXHDMI : Hdmi_code = 16 mode = 1
    [ 129.130000] TI81XXHDMI : Timing Info:
    [ 129.130000] TI81XXHDMI : pixel_clk = 148500
    [ 129.130000] TI81XXHDMI : x_res = 1920
    [ 129.140000] TI81XXHDMI : y_res = 1080
    [ 129.140000] TI81XXHDMI : hfp = 88
    [ 129.150000] TI81XXHDMI : hsw = 44
    [ 129.150000] TI81XXHDMI : hbp = 148
    [ 129.150000] TI81XXHDMI : vfp = 4
    [ 129.160000] TI81XXHDMI : vsw = 5
    [ 129.160000] TI81XXHDMI : vbp = 36
    [ 129.170000] TI81XXHDMI :
    [ 129.170000] hdmi.code =10
    [ 129.170000] hdmi: Enter HDMI_W1_StopVideoFrame()
    [ 129.180000] hdmi: *** Set PHY power mode to 1
    [ 129.180000] hdmi: *** Set PHY power mode to 2
    [ 129.550000] I2C Bus Low?
    [ 129.550000]
    [ 129.550000] HDMI failed to read E-EDID
    [ 129.550000] TI81XXHDMI : Interface is 1 [0:DVI, 1:HDMI]
    [ 129.560000] hdmi: Enter HDMI_W1_GlobalInitVars()
    [ 129.910000] hdmi: Enter HDMI_Core_GlobalInitVars()
    [ 130.020000] hdmi: Enter HDMI_W1_ConfigVideoResolutionTiming()
    [ 130.020000] hdmi: Enter HDMI_W1_ConfigVideoInterface()
    [ 130.030000] hdmi: Enter DSS_HDMI_CORE_SW_RESET_ASSERT ()
    [ 130.030000] hdmi: Enter DSS_HDMI_CORE_POWER_DOWN_DISABLE()
    [ 130.040000] hdmi: Enter DSS_HDMI_CORE_SW_RESET_RELEASE()
    [ 130.040000] TI81XXHDMI : Venc 'stest' bit ON, for the test color bars
    [ 130.050000] hdmi: Enter HDMI_W1_StartVideoFrame ()
    [ 130.060000] hdmi: Irqenable 60000011
    [ 130.060000] hdmi: 40 hpd
    [ 130.060000] TI81XXHDMI : hdmi_init 1527
    Loading HDMI module
    [ 130.590000] PM: Adding info for No Bus:video1
    [ 130.590000] PM: Adding info for No Bus:video2
    [ 130.600000] PM: Adding info for No Bus:video3
    Loading Video op module


    I even tried pulling up the i2c2 pinmux to which the HDMI is connected but no luck.

    Any pointers on this would be helpful.

    Thanks,
    --Prabhakar
  • To add more I inserted the HDMI module, being connected to TV but the same issue. I have enabled the color bar test pattern generator in venc,

    and expecting it but there is no signal on the TV that is probably because of the I2c issue.