<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I get DVI output working in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-get-DVI-output-working/m-p/637233#M97091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Weidong,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for your input, the hdmi driver was being built it, but nothing was being registered because I was missing some elements in my device tree. I have figured that part out now, but I still have some outstanding questions if you have any input on those:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) why is edid address 50? I pulled that from the SABRE SDB device tree but can't find any information on it&lt;/P&gt;&lt;P&gt;2) Where is the information about hdmi_core and hdmi_video&lt;/P&gt;&lt;P&gt;3) it seems that without hdmi_video installed the kernel hangs on boot up. Why is this? The other elements being removed allow it to boot correctly but /dev/fb0 simply doesn't exist, but without the video node the whole kernel fails to launch&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Dec 2016 05:49:53 GMT</pubDate>
    <dc:creator>michaelworster</dc:creator>
    <dc:date>2016-12-02T05:49:53Z</dc:date>
    <item>
      <title>How do I get DVI output working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-get-DVI-output-working/m-p/637230#M97088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a custom board with a DVI port on it. The board has a i.MX6DL and is loosely based on the SABRE SDB. I have read in the reference manual that the HDMI PHY of the i.MX6DL is HDMI/DVI compliant and that the HDMI/DVI electrical signals are the same, so I attempted to enable "hdmi" expecting this would work for my DVI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added video parameters into my boot command line as follows:&lt;/P&gt;&lt;P&gt;video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my device tree I've added support for the framebuffer 0 device as done in the SABRESDB&amp;nbsp; device trees as well:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxcfb1: fb@0 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;compatible = "fsl,mxc_sdc_fb";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;disp_dev = "hdmi";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;interface_pix_fmt = "RGB24";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;mode_str ="1920x1080M@60";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;default_bpp = &amp;lt;24&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;int_clk = &amp;lt;0&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;late_init = &amp;lt;0&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;status = "okay";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;aliases {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;mxcfb0 = &amp;amp;mxcfb1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once these changes were in place I booted up the board, however the log was showing that the fb wasn't being created:&lt;/P&gt;&lt;P&gt;Error opening /dev/fb0: No such file or directory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added in a bit more debug and found that during the probe of mxcfb0 it correctly pulls the options from the bootloader's command line, but in the "mxc_dispdrv_gethandle" function is appears to never enter the "list_for_each_entry(entry, &amp;amp;dispdrv_list, list)" and thus returns found=0 and the mxc display driver isn't loaded:&lt;/P&gt;&lt;P&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.234994] MIPI DSI driver module loaded&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.235609] mxc_sdc_fb fb.15: mxcfb_probe enter&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.235624] mxcfb_get_of_property&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.235638] mxc_sdc_fb fb.15: get of property mode_str fail&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.235678] fb_get_options start, : mxcfb0&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.235686] fb_get_options end 0&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.235704] mxcfb_option_setup end&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.235711] calling mxcfb_dispdrv_init&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.235716] mxcfb_dispdrv_init start&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.235724] mxcfb_dispdrv_init - disp_dev: hdmi&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.235733] mxcfb_dispdrv_init - mxc_dispdrv_setting - if_fmt: 910313298&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.235740] mxcfb_dispdrv_init - mxc_dispdrv_setting - default_bpp: 32&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.235748] mxcfb_dispdrv_init - mxc_dispdrv_setting - dft_mode_str: 1920x1080M@60&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.235755] mxc_dispdrv_gethandle start&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.235762] mxc_dispdrv_gethandle locked&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.235781] mxc_dispdrv_gethandle unlock&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.235787] mxc_dispdrv_gethandle end, found: 0&lt;BR /&gt;[&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.235796] mxc_sdc_fb fb.15: NO mxc display driver found!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked my .config file and it appears I have framebuffer support included:&lt;/P&gt;&lt;P&gt;CONFIG_FB=y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on why this failing to enable the display driver?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 16:29:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-I-get-DVI-output-working/m-p/637230#M97088</guid>
      <dc:creator>michaelworster</dc:creator>
      <dc:date>2016-11-30T16:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get DVI output working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-get-DVI-output-working/m-p/637231#M97089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It turns out the mxc_dispdrv_gethandle function bombs out early because there are no drivers registered in the list, that is to say no drivers ever called mxc_dispdrv_register. The reason for *that* is because there were a few elements missing in the devicetree. In addition to the support for framebuffer0 I had to add:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;hdmi_core {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ipu_id = &amp;lt;0&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;disp_id = &amp;lt;0&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;hdmi_video {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fsl,phy_reg_vlev = &amp;lt;0x0294&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fsl,phy_reg_cksymtx = &amp;lt;0x800d&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also an entry in my I2C-2 bus:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; hdmi: edid@50 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;compatible = "fsl,imx6-hdmi-i2c";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;reg = &amp;lt;0x50&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with all that in place I now see FB0 working. I still have some outstanding questions however about the necessity of these items.&lt;/P&gt;&lt;P&gt;1) why is edid address 50? I pulled that from the SABRE SDB device tree but can't find any information on it&lt;/P&gt;&lt;P&gt;2) Where is the information about hdmi_core and hdmi_video&lt;/P&gt;&lt;P&gt;3) it seems that without hdmi_video installed the kernel hangs on boot up. Why is this? The other elements being removed allow it to boot correctly but /dev/fb0 simply doesn't exist, but without the video node the whole kernel fails to launch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 05:29:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-I-get-DVI-output-working/m-p/637231#M97089</guid>
      <dc:creator>michaelworster</dc:creator>
      <dc:date>2016-12-01T05:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get DVI output working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-get-DVI-output-working/m-p/637232#M97090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="207847" data-username="michaelworster" href="https://community.nxp.com/people/michaelworster"&gt;Michael&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Check if hdmi driver(mxc_hdmi.c) has been selected when you run "make menufig", please!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 04:46:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-I-get-DVI-output-working/m-p/637232#M97090</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2016-12-02T04:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get DVI output working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-get-DVI-output-working/m-p/637233#M97091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Weidong,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for your input, the hdmi driver was being built it, but nothing was being registered because I was missing some elements in my device tree. I have figured that part out now, but I still have some outstanding questions if you have any input on those:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) why is edid address 50? I pulled that from the SABRE SDB device tree but can't find any information on it&lt;/P&gt;&lt;P&gt;2) Where is the information about hdmi_core and hdmi_video&lt;/P&gt;&lt;P&gt;3) it seems that without hdmi_video installed the kernel hangs on boot up. Why is this? The other elements being removed allow it to boot correctly but /dev/fb0 simply doesn't exist, but without the video node the whole kernel fails to launch&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 05:49:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-I-get-DVI-output-working/m-p/637233#M97091</guid>
      <dc:creator>michaelworster</dc:creator>
      <dc:date>2016-12-02T05:49:53Z</dc:date>
    </item>
  </channel>
</rss>

