<?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 IMX6DP Android 5.1 LVDS 24Bit Display Problem in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6DP-Android-5-1-LVDS-24Bit-Display-Problem/m-p/1270744#M173446</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Currently we are developing on IMX6DP with Android 5.1, in our board we connect the LVDS0 to a 24bit converter&amp;nbsp;sn65lvds822 then to a LCD RGB interface.&lt;/P&gt;&lt;P&gt;I have configured the uboot and kernel device tree based on this link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/iMX6QD-How-to-Add-24-bit-LVDS-Support-in-Android/ta-p/1104108" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/iMX6QD-How-to-Add-24-bit-LVDS-Support-in-Android/ta-p/1104108&lt;/A&gt;&lt;BR /&gt;So we have interface 24bit and 32bit framebuffer, and have enabled pre and prg.&lt;/P&gt;&lt;P&gt;Bootargs:&lt;/P&gt;&lt;P&gt;CONFIG_BOOTARGS "console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,if=RGB24,fbpix=RGB32,bpp=32 vmalloc=400M maxcpus=2 androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M androidboot.selinux=disabled"&lt;/P&gt;&lt;P&gt;Device Tree:&lt;/P&gt;&lt;P&gt;mxcfb1: fb@0 {&lt;BR /&gt;prefetch;&lt;BR /&gt;compatible = "fsl,mxc_sdc_fb";&lt;BR /&gt;disp_dev = "ldb";&lt;BR /&gt;interface_pix_fmt = "RGB24";&lt;BR /&gt;mode_str ="LVDS-WXGA800x480";&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;1&amp;gt;;&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;mxcfb2: fb@1 {&lt;BR /&gt;prefetch;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;mxcfb3: fb@2 {&lt;BR /&gt;prefetch;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;mxcfb4: fb@3 {&lt;BR /&gt;prefetch;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;amp;pre1 {&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;BR /&gt;&amp;amp;pre2 {&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;amp;pre3 {&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;amp;pre4 {&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;BR /&gt;&amp;amp;prg1 {&lt;BR /&gt;memory-region = &amp;lt;&amp;amp;memory&amp;gt;;&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;BR /&gt;&amp;amp;prg2 {&lt;BR /&gt;memory-region = &amp;lt;&amp;amp;memory&amp;gt;;&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;BR /&gt;&amp;amp;ldb {&lt;BR /&gt;compatible = "fsl,imx6qp-ldb", "fsl,imx6q-ldb", "fsl,imx53-ldb";&lt;BR /&gt;status = "okay";&lt;BR /&gt;primary;&lt;/P&gt;&lt;P&gt;lvds-channel@0 {&lt;BR /&gt;reg = &amp;lt;0&amp;gt;;&lt;BR /&gt;fsl,data-mapping = "spwg";&lt;BR /&gt;fsl,data-width = &amp;lt;24&amp;gt;;&lt;BR /&gt;primary;&lt;BR /&gt;status = "okay";&lt;BR /&gt;crtc = "ipu1-di0";&lt;BR /&gt;display-timings {&lt;BR /&gt;native-mode = &amp;lt;&amp;amp;timing0&amp;gt;;&lt;BR /&gt;timing0: 800x480 {&lt;BR /&gt;clock-frequency = &amp;lt;25000000&amp;gt;;&lt;BR /&gt;hactive = &amp;lt;800&amp;gt;;&lt;BR /&gt;vactive = &amp;lt;480&amp;gt;;&lt;BR /&gt;hback-porch = &amp;lt;8&amp;gt;;&lt;BR /&gt;hfront-porch = &amp;lt;8&amp;gt;;&lt;BR /&gt;vback-porch = &amp;lt;8&amp;gt;;&lt;BR /&gt;vfront-porch = &amp;lt;8&amp;gt;;&lt;BR /&gt;hsync-len = &amp;lt;4&amp;gt;;&lt;BR /&gt;vsync-len = &amp;lt;4&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;Also I have change the clock source in order to the 25MHZ for the display and from the measurement the clock frequency is correct.&lt;/P&gt;&lt;P&gt;However, the display does not have correct output, the white color is gray and red, green, blue seems correct, and interestingly, when try to pull down the notification bar from top, the background will become correct, so it seems only the top layers got problem and not the bottom layer. You can check the video.&lt;/P&gt;&lt;P&gt;And from the Android logcat it has following errors:&lt;/P&gt;&lt;P&gt;01-01 00:00:08.527 122-122/? E/HAL: load: module=/system/lib/hw/hwcomposer_fsl.imx6.so&lt;BR /&gt;dlopen failed: empty/missing DT_HASH in "hwcomposer_fsl.imx6.so" (built with --hash-style=gnu?)&lt;BR /&gt;01-01 00:00:08.527 122-122/? E/FslHwcomposer: Error! hw_get_module fsl_hwc failed&lt;/P&gt;&lt;P&gt;01-01 00:00:08.536 122-122/? E/v_hwc: open /dev/graphics/fb2 failed&lt;BR /&gt;01-01 00:00:08.536 122-122/? I/v_hwc: Virtual display @2 initialized.&lt;BR /&gt;01-01 00:00:08.540 122-122/? I/v_hwc: Vivante HWComposer v2.4&lt;BR /&gt;Device: 0xb6089600&lt;BR /&gt;Separated 2D: YES&lt;BR /&gt;YUV separate stride : YES&lt;BR /&gt;Multi-source blit : YES&lt;BR /&gt;Source mirror : YES&lt;BR /&gt;Max source count : 8&lt;BR /&gt;Byte alignment : YES&lt;BR /&gt;Source rotation : NO&lt;BR /&gt;Source offsets: : NO&lt;BR /&gt;Scaling: : NO&lt;BR /&gt;OPF/YUV blit : YES&lt;BR /&gt;Tiled input : YES&lt;BR /&gt;Compression : NO&lt;BR /&gt;Filter stretch : YES&lt;BR /&gt;01-01 00:00:08.540 122-122/? I/FslHwcomposer: using viv hwc!&lt;BR /&gt;01-01 00:00:08.540 122-122/? I/FslHwcomposer: fb0 is ldb device&lt;BR /&gt;01-01 00:00:08.541 122-122/? I/FslHwcomposer: fb1 is overlay device&lt;BR /&gt;01-01 00:00:08.541 122-122/? W/FslHwcomposer: open /sys/class/graphics/fb2 failed&lt;BR /&gt;01-01 00:00:08.541 122-122/? W/FslHwcomposer: open /sys/class/graphics/fb3 failed&lt;BR /&gt;01-01 00:00:08.541 122-122/? W/FslHwcomposer: open /sys/class/graphics/fb4 failed&lt;BR /&gt;01-01 00:00:08.541 122-122/? W/FslHwcomposer: open /sys/class/graphics/fb5 failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for help.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Apr 2021 08:14:51 GMT</pubDate>
    <dc:creator>disheng</dc:creator>
    <dc:date>2021-04-30T08:14:51Z</dc:date>
    <item>
      <title>IMX6DP Android 5.1 LVDS 24Bit Display Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6DP-Android-5-1-LVDS-24Bit-Display-Problem/m-p/1270744#M173446</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Currently we are developing on IMX6DP with Android 5.1, in our board we connect the LVDS0 to a 24bit converter&amp;nbsp;sn65lvds822 then to a LCD RGB interface.&lt;/P&gt;&lt;P&gt;I have configured the uboot and kernel device tree based on this link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/iMX6QD-How-to-Add-24-bit-LVDS-Support-in-Android/ta-p/1104108" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/iMX6QD-How-to-Add-24-bit-LVDS-Support-in-Android/ta-p/1104108&lt;/A&gt;&lt;BR /&gt;So we have interface 24bit and 32bit framebuffer, and have enabled pre and prg.&lt;/P&gt;&lt;P&gt;Bootargs:&lt;/P&gt;&lt;P&gt;CONFIG_BOOTARGS "console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,if=RGB24,fbpix=RGB32,bpp=32 vmalloc=400M maxcpus=2 androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M androidboot.selinux=disabled"&lt;/P&gt;&lt;P&gt;Device Tree:&lt;/P&gt;&lt;P&gt;mxcfb1: fb@0 {&lt;BR /&gt;prefetch;&lt;BR /&gt;compatible = "fsl,mxc_sdc_fb";&lt;BR /&gt;disp_dev = "ldb";&lt;BR /&gt;interface_pix_fmt = "RGB24";&lt;BR /&gt;mode_str ="LVDS-WXGA800x480";&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;1&amp;gt;;&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;mxcfb2: fb@1 {&lt;BR /&gt;prefetch;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;mxcfb3: fb@2 {&lt;BR /&gt;prefetch;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;mxcfb4: fb@3 {&lt;BR /&gt;prefetch;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;amp;pre1 {&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;BR /&gt;&amp;amp;pre2 {&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;amp;pre3 {&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;amp;pre4 {&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;BR /&gt;&amp;amp;prg1 {&lt;BR /&gt;memory-region = &amp;lt;&amp;amp;memory&amp;gt;;&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;BR /&gt;&amp;amp;prg2 {&lt;BR /&gt;memory-region = &amp;lt;&amp;amp;memory&amp;gt;;&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;BR /&gt;&amp;amp;ldb {&lt;BR /&gt;compatible = "fsl,imx6qp-ldb", "fsl,imx6q-ldb", "fsl,imx53-ldb";&lt;BR /&gt;status = "okay";&lt;BR /&gt;primary;&lt;/P&gt;&lt;P&gt;lvds-channel@0 {&lt;BR /&gt;reg = &amp;lt;0&amp;gt;;&lt;BR /&gt;fsl,data-mapping = "spwg";&lt;BR /&gt;fsl,data-width = &amp;lt;24&amp;gt;;&lt;BR /&gt;primary;&lt;BR /&gt;status = "okay";&lt;BR /&gt;crtc = "ipu1-di0";&lt;BR /&gt;display-timings {&lt;BR /&gt;native-mode = &amp;lt;&amp;amp;timing0&amp;gt;;&lt;BR /&gt;timing0: 800x480 {&lt;BR /&gt;clock-frequency = &amp;lt;25000000&amp;gt;;&lt;BR /&gt;hactive = &amp;lt;800&amp;gt;;&lt;BR /&gt;vactive = &amp;lt;480&amp;gt;;&lt;BR /&gt;hback-porch = &amp;lt;8&amp;gt;;&lt;BR /&gt;hfront-porch = &amp;lt;8&amp;gt;;&lt;BR /&gt;vback-porch = &amp;lt;8&amp;gt;;&lt;BR /&gt;vfront-porch = &amp;lt;8&amp;gt;;&lt;BR /&gt;hsync-len = &amp;lt;4&amp;gt;;&lt;BR /&gt;vsync-len = &amp;lt;4&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;Also I have change the clock source in order to the 25MHZ for the display and from the measurement the clock frequency is correct.&lt;/P&gt;&lt;P&gt;However, the display does not have correct output, the white color is gray and red, green, blue seems correct, and interestingly, when try to pull down the notification bar from top, the background will become correct, so it seems only the top layers got problem and not the bottom layer. You can check the video.&lt;/P&gt;&lt;P&gt;And from the Android logcat it has following errors:&lt;/P&gt;&lt;P&gt;01-01 00:00:08.527 122-122/? E/HAL: load: module=/system/lib/hw/hwcomposer_fsl.imx6.so&lt;BR /&gt;dlopen failed: empty/missing DT_HASH in "hwcomposer_fsl.imx6.so" (built with --hash-style=gnu?)&lt;BR /&gt;01-01 00:00:08.527 122-122/? E/FslHwcomposer: Error! hw_get_module fsl_hwc failed&lt;/P&gt;&lt;P&gt;01-01 00:00:08.536 122-122/? E/v_hwc: open /dev/graphics/fb2 failed&lt;BR /&gt;01-01 00:00:08.536 122-122/? I/v_hwc: Virtual display @2 initialized.&lt;BR /&gt;01-01 00:00:08.540 122-122/? I/v_hwc: Vivante HWComposer v2.4&lt;BR /&gt;Device: 0xb6089600&lt;BR /&gt;Separated 2D: YES&lt;BR /&gt;YUV separate stride : YES&lt;BR /&gt;Multi-source blit : YES&lt;BR /&gt;Source mirror : YES&lt;BR /&gt;Max source count : 8&lt;BR /&gt;Byte alignment : YES&lt;BR /&gt;Source rotation : NO&lt;BR /&gt;Source offsets: : NO&lt;BR /&gt;Scaling: : NO&lt;BR /&gt;OPF/YUV blit : YES&lt;BR /&gt;Tiled input : YES&lt;BR /&gt;Compression : NO&lt;BR /&gt;Filter stretch : YES&lt;BR /&gt;01-01 00:00:08.540 122-122/? I/FslHwcomposer: using viv hwc!&lt;BR /&gt;01-01 00:00:08.540 122-122/? I/FslHwcomposer: fb0 is ldb device&lt;BR /&gt;01-01 00:00:08.541 122-122/? I/FslHwcomposer: fb1 is overlay device&lt;BR /&gt;01-01 00:00:08.541 122-122/? W/FslHwcomposer: open /sys/class/graphics/fb2 failed&lt;BR /&gt;01-01 00:00:08.541 122-122/? W/FslHwcomposer: open /sys/class/graphics/fb3 failed&lt;BR /&gt;01-01 00:00:08.541 122-122/? W/FslHwcomposer: open /sys/class/graphics/fb4 failed&lt;BR /&gt;01-01 00:00:08.541 122-122/? W/FslHwcomposer: open /sys/class/graphics/fb5 failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for help.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 08:14:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6DP-Android-5-1-LVDS-24Bit-Display-Problem/m-p/1270744#M173446</guid>
      <dc:creator>disheng</dc:creator>
      <dc:date>2021-04-30T08:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6DP Android 5.1 LVDS 24Bit Display Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6DP-Android-5-1-LVDS-24Bit-Display-Problem/m-p/1272110#M173609</link>
      <description>&lt;P&gt;Turns out to be hardware issue&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 09:34:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6DP-Android-5-1-LVDS-24Bit-Display-Problem/m-p/1272110#M173609</guid>
      <dc:creator>disheng</dc:creator>
      <dc:date>2021-05-05T09:34:47Z</dc:date>
    </item>
  </channel>
</rss>

