<?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>i.MX Processors中的主题 i.MX6DL devicetree problem with framebuffer after Kernel upgrade</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-devicetree-problem-with-framebuffer-after-Kernel-upgrade/m-p/985285#M146370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while updating from a Kernel 4.1.44 to a Kernel 5.2.11 (the latter taken from &lt;A class="link-titled" href="https://github.com/Freescale/linux-fslc" title="https://github.com/Freescale/linux-fslc"&gt;GitHub - Freescale/linux-fslc: Linux kernel source tree&lt;/A&gt;&amp;nbsp; branch "5.2.x+fslc") - we want to use the "etnaviv" driver and the Kernel 5.2.11 is meant to be a stepping stone towards the 5.4.x LTS Kernel) - I cannot configure the framebuffer nor the display correctly in the devicetree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the 4.1.44 Kernel both framebuffer and display are configured correctly - the cmdline of the Kernel uses "video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB666" and the devicetree has the relevant nodes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mxcfb0: fb@0 {&lt;BR /&gt; compatible = "fsl,mxc_sdc_fb";&lt;BR /&gt; disp_dev = "lcd";&lt;BR /&gt; interface_pix_fmt = "RGB666";&lt;BR /&gt;mode_str = "CLAA-WVGA";&lt;BR /&gt; default_bpp = &amp;lt;32&amp;gt;;&lt;BR /&gt; int_clk = &amp;lt;0&amp;gt;;&lt;BR /&gt; late_init = &amp;lt;0&amp;gt;;&lt;BR /&gt; status = "okay";&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lcd: lcd@0 {&lt;BR /&gt; compatible = "fsl,lcd";&lt;BR /&gt; ipu_id = &amp;lt;0&amp;gt;;&lt;BR /&gt;disp_id = &amp;lt;1&amp;gt;;&lt;BR /&gt; default_ifmt = "RGB666";&lt;BR /&gt; pinctrl-names = "default";&lt;BR /&gt; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_ipu1_lcd&amp;gt;;&lt;BR /&gt; status = "okay";&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldb: ldb@020e0008 {&lt;BR /&gt; #address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt; #size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt; gpr = &amp;lt;&amp;amp;gpr&amp;gt;;&lt;BR /&gt; status = "okay";&lt;/P&gt;&lt;P&gt;lvds-channel@0 {&lt;BR /&gt; #address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt; #size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt; reg = &amp;lt;0&amp;gt;;&lt;BR /&gt; status = "okay";&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;lvds-channel@1 {&lt;BR /&gt; #address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt; #size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt; reg = &amp;lt;1&amp;gt;;&lt;BR /&gt; status = "okay";&lt;BR /&gt; };&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(NB: I will omit the &amp;amp;pinctrl_ip1_lcd entries, since they are the same)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 5.2.11 Kernel takes the parameter "video=mxc_elcdif_fb:1024x768@60,bpp=18" and the relevant devicetree nodes are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drm: display-subsystem {&lt;BR /&gt; compatible = "fsl,imx-display-subsystem";&lt;BR /&gt; ports = &amp;lt;&amp;amp;ipu1_di0&amp;gt;, &amp;lt;&amp;amp;ipu1_di1&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ipu1_di0: port@2 {&lt;BR /&gt; #address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt; #size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt; reg = &amp;lt;2&amp;gt;;&lt;/P&gt;&lt;P&gt;ipu1_di0_disp0: endpoint@0 {&lt;BR /&gt; reg = &amp;lt;0&amp;gt;;&lt;/P&gt;&lt;P&gt;remote-endpoint = &amp;lt;&amp;amp;lcd_display_in&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;ipu1_di0_hdmi: endpoint@1 {&lt;BR /&gt; reg = &amp;lt;1&amp;gt;;&lt;BR /&gt; remote-endpoint = &amp;lt;&amp;amp;hdmi_mux_0&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;ipu1_di0_mipi: endpoint@2 {&lt;BR /&gt; reg = &amp;lt;2&amp;gt;;&lt;BR /&gt; remote-endpoint = &amp;lt;&amp;amp;mipi_mux_0&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;ipu1_di0_lvds0: endpoint@3 {&lt;BR /&gt; reg = &amp;lt;3&amp;gt;;&lt;BR /&gt; remote-endpoint = &amp;lt;&amp;amp;lvds0_mux_0&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;ipu1_di0_lvds1: endpoint@4 {&lt;BR /&gt; reg = &amp;lt;4&amp;gt;;&lt;BR /&gt; remote-endpoint = &amp;lt;&amp;amp;lvds1_mux_0&amp;gt;;&lt;BR /&gt; };&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lcd_display: disp0 {&lt;BR /&gt; compatible = "fsl,imx-parallel-display";&lt;BR /&gt; #address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt; #size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt; interface-pix-fmt = "rgb666";&lt;BR /&gt; pinctrl-names = "default";&lt;BR /&gt; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_ipu1_lcdif&amp;gt;;&lt;BR /&gt; status = "enabled";&lt;/P&gt;&lt;P&gt;port@0 {&lt;BR /&gt; reg = &amp;lt;0&amp;gt;;&lt;/P&gt;&lt;P&gt;lcd_display_in: endpoint {&lt;BR /&gt; remote-endpoint = &amp;lt;&amp;amp;ipu1_di0_disp0&amp;gt;;&lt;BR /&gt; };&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;port@1 {&lt;BR /&gt; reg = &amp;lt;1&amp;gt;;&lt;/P&gt;&lt;P&gt;lcd_display_out: endpoint {&lt;BR /&gt; remote-endpoint = &amp;lt;&amp;amp;lcd_panel_in&amp;gt;;&lt;BR /&gt; };&lt;BR /&gt; };&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;panel: panel {&lt;BR /&gt; compatible = "panel-lvds";&lt;BR /&gt; backlight = &amp;lt;&amp;amp;backlight&amp;gt;;&lt;BR /&gt; status = "okay";&lt;/P&gt;&lt;P&gt;data-mapping = "jeida-24";&lt;BR /&gt; width-mm = &amp;lt;300&amp;gt;;&lt;BR /&gt; height-mm = &amp;lt;200&amp;gt;;&lt;/P&gt;&lt;P&gt;port {&lt;BR /&gt; lcd_panel_in: endpoint {&lt;BR /&gt; remote-endpoint = &amp;lt;&amp;amp;lcd_display_out&amp;gt;;&lt;BR /&gt; };&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;panel-timing {&lt;BR /&gt; /* 1024x768 @60 Hz */&lt;BR /&gt; clock-frequency = &amp;lt;60000000&amp;gt;;&lt;BR /&gt; hactive = &amp;lt;1024&amp;gt;;&lt;BR /&gt; vactive = &amp;lt;768&amp;gt;;&lt;BR /&gt; hsync-len = &amp;lt;10&amp;gt;;&lt;BR /&gt; hfront-porch = &amp;lt;0&amp;gt;;&lt;BR /&gt; hback-porch = &amp;lt;0&amp;gt;;&lt;BR /&gt; vsync-len = &amp;lt;10&amp;gt;;&lt;BR /&gt; vfront-porch = &amp;lt;0&amp;gt;;&lt;BR /&gt; vback-porch = &amp;lt;0&amp;gt;;&lt;BR /&gt; };&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While the first (4.1.44 Kernel + corresponding devicetree) configuration works perfectly fine, the second fails to create a /dev/fb0 device and has the following messages in the dmesg log:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Framebuffer /dev/fb0 not detected&lt;/P&gt;&lt;P&gt;[ 2.400629] imx-drm display-subsystem: no available port&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have an idea what might be wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Stefan Birkholz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Nov 2019 15:14:59 GMT</pubDate>
    <dc:creator>stefanbirkholz</dc:creator>
    <dc:date>2019-11-28T15:14:59Z</dc:date>
    <item>
      <title>i.MX6DL devicetree problem with framebuffer after Kernel upgrade</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-devicetree-problem-with-framebuffer-after-Kernel-upgrade/m-p/985285#M146370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while updating from a Kernel 4.1.44 to a Kernel 5.2.11 (the latter taken from &lt;A class="link-titled" href="https://github.com/Freescale/linux-fslc" title="https://github.com/Freescale/linux-fslc"&gt;GitHub - Freescale/linux-fslc: Linux kernel source tree&lt;/A&gt;&amp;nbsp; branch "5.2.x+fslc") - we want to use the "etnaviv" driver and the Kernel 5.2.11 is meant to be a stepping stone towards the 5.4.x LTS Kernel) - I cannot configure the framebuffer nor the display correctly in the devicetree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the 4.1.44 Kernel both framebuffer and display are configured correctly - the cmdline of the Kernel uses "video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB666" and the devicetree has the relevant nodes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mxcfb0: fb@0 {&lt;BR /&gt; compatible = "fsl,mxc_sdc_fb";&lt;BR /&gt; disp_dev = "lcd";&lt;BR /&gt; interface_pix_fmt = "RGB666";&lt;BR /&gt;mode_str = "CLAA-WVGA";&lt;BR /&gt; default_bpp = &amp;lt;32&amp;gt;;&lt;BR /&gt; int_clk = &amp;lt;0&amp;gt;;&lt;BR /&gt; late_init = &amp;lt;0&amp;gt;;&lt;BR /&gt; status = "okay";&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lcd: lcd@0 {&lt;BR /&gt; compatible = "fsl,lcd";&lt;BR /&gt; ipu_id = &amp;lt;0&amp;gt;;&lt;BR /&gt;disp_id = &amp;lt;1&amp;gt;;&lt;BR /&gt; default_ifmt = "RGB666";&lt;BR /&gt; pinctrl-names = "default";&lt;BR /&gt; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_ipu1_lcd&amp;gt;;&lt;BR /&gt; status = "okay";&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldb: ldb@020e0008 {&lt;BR /&gt; #address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt; #size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt; gpr = &amp;lt;&amp;amp;gpr&amp;gt;;&lt;BR /&gt; status = "okay";&lt;/P&gt;&lt;P&gt;lvds-channel@0 {&lt;BR /&gt; #address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt; #size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt; reg = &amp;lt;0&amp;gt;;&lt;BR /&gt; status = "okay";&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;lvds-channel@1 {&lt;BR /&gt; #address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt; #size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt; reg = &amp;lt;1&amp;gt;;&lt;BR /&gt; status = "okay";&lt;BR /&gt; };&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(NB: I will omit the &amp;amp;pinctrl_ip1_lcd entries, since they are the same)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 5.2.11 Kernel takes the parameter "video=mxc_elcdif_fb:1024x768@60,bpp=18" and the relevant devicetree nodes are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drm: display-subsystem {&lt;BR /&gt; compatible = "fsl,imx-display-subsystem";&lt;BR /&gt; ports = &amp;lt;&amp;amp;ipu1_di0&amp;gt;, &amp;lt;&amp;amp;ipu1_di1&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ipu1_di0: port@2 {&lt;BR /&gt; #address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt; #size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt; reg = &amp;lt;2&amp;gt;;&lt;/P&gt;&lt;P&gt;ipu1_di0_disp0: endpoint@0 {&lt;BR /&gt; reg = &amp;lt;0&amp;gt;;&lt;/P&gt;&lt;P&gt;remote-endpoint = &amp;lt;&amp;amp;lcd_display_in&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;ipu1_di0_hdmi: endpoint@1 {&lt;BR /&gt; reg = &amp;lt;1&amp;gt;;&lt;BR /&gt; remote-endpoint = &amp;lt;&amp;amp;hdmi_mux_0&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;ipu1_di0_mipi: endpoint@2 {&lt;BR /&gt; reg = &amp;lt;2&amp;gt;;&lt;BR /&gt; remote-endpoint = &amp;lt;&amp;amp;mipi_mux_0&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;ipu1_di0_lvds0: endpoint@3 {&lt;BR /&gt; reg = &amp;lt;3&amp;gt;;&lt;BR /&gt; remote-endpoint = &amp;lt;&amp;amp;lvds0_mux_0&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;ipu1_di0_lvds1: endpoint@4 {&lt;BR /&gt; reg = &amp;lt;4&amp;gt;;&lt;BR /&gt; remote-endpoint = &amp;lt;&amp;amp;lvds1_mux_0&amp;gt;;&lt;BR /&gt; };&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lcd_display: disp0 {&lt;BR /&gt; compatible = "fsl,imx-parallel-display";&lt;BR /&gt; #address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt; #size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt; interface-pix-fmt = "rgb666";&lt;BR /&gt; pinctrl-names = "default";&lt;BR /&gt; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_ipu1_lcdif&amp;gt;;&lt;BR /&gt; status = "enabled";&lt;/P&gt;&lt;P&gt;port@0 {&lt;BR /&gt; reg = &amp;lt;0&amp;gt;;&lt;/P&gt;&lt;P&gt;lcd_display_in: endpoint {&lt;BR /&gt; remote-endpoint = &amp;lt;&amp;amp;ipu1_di0_disp0&amp;gt;;&lt;BR /&gt; };&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;port@1 {&lt;BR /&gt; reg = &amp;lt;1&amp;gt;;&lt;/P&gt;&lt;P&gt;lcd_display_out: endpoint {&lt;BR /&gt; remote-endpoint = &amp;lt;&amp;amp;lcd_panel_in&amp;gt;;&lt;BR /&gt; };&lt;BR /&gt; };&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;panel: panel {&lt;BR /&gt; compatible = "panel-lvds";&lt;BR /&gt; backlight = &amp;lt;&amp;amp;backlight&amp;gt;;&lt;BR /&gt; status = "okay";&lt;/P&gt;&lt;P&gt;data-mapping = "jeida-24";&lt;BR /&gt; width-mm = &amp;lt;300&amp;gt;;&lt;BR /&gt; height-mm = &amp;lt;200&amp;gt;;&lt;/P&gt;&lt;P&gt;port {&lt;BR /&gt; lcd_panel_in: endpoint {&lt;BR /&gt; remote-endpoint = &amp;lt;&amp;amp;lcd_display_out&amp;gt;;&lt;BR /&gt; };&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;panel-timing {&lt;BR /&gt; /* 1024x768 @60 Hz */&lt;BR /&gt; clock-frequency = &amp;lt;60000000&amp;gt;;&lt;BR /&gt; hactive = &amp;lt;1024&amp;gt;;&lt;BR /&gt; vactive = &amp;lt;768&amp;gt;;&lt;BR /&gt; hsync-len = &amp;lt;10&amp;gt;;&lt;BR /&gt; hfront-porch = &amp;lt;0&amp;gt;;&lt;BR /&gt; hback-porch = &amp;lt;0&amp;gt;;&lt;BR /&gt; vsync-len = &amp;lt;10&amp;gt;;&lt;BR /&gt; vfront-porch = &amp;lt;0&amp;gt;;&lt;BR /&gt; vback-porch = &amp;lt;0&amp;gt;;&lt;BR /&gt; };&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While the first (4.1.44 Kernel + corresponding devicetree) configuration works perfectly fine, the second fails to create a /dev/fb0 device and has the following messages in the dmesg log:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Framebuffer /dev/fb0 not detected&lt;/P&gt;&lt;P&gt;[ 2.400629] imx-drm display-subsystem: no available port&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have an idea what might be wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Stefan Birkholz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2019 15:14:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-devicetree-problem-with-framebuffer-after-Kernel-upgrade/m-p/985285#M146370</guid>
      <dc:creator>stefanbirkholz</dc:creator>
      <dc:date>2019-11-28T15:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6DL devicetree problem with framebuffer after Kernel upgrade</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-devicetree-problem-with-framebuffer-after-Kernel-upgrade/m-p/985286#M146371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, you are using a BSP that is not provided by us. I suggest you use our official BSPs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 23:10:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-devicetree-problem-with-framebuffer-after-Kernel-upgrade/m-p/985286#M146371</guid>
      <dc:creator>diegoadrian</dc:creator>
      <dc:date>2019-12-02T23:10:13Z</dc:date>
    </item>
  </channel>
</rss>

