<?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のトピックRe: Configuring a Display connected via LVDS</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-Display-connected-via-LVDS/m-p/774750#M120270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solved my issue. I was actually&amp;nbsp;already doing the same thing as the link you provided:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2004" data-containertype="14" data-objectid="373763" data-objecttype="1" href="https://community.nxp.com/thread/373763" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-size: 14px; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;How to change SABRE-SD screen resolution in LOLLIPOP(5.0.0?&lt;/A&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;My problem was elsewhere. Apparently, the script (/device/fsl/common/tools/fsl-sdcard-partition.sh) for flashing the built images to an SD card was not working for me. It was only flashing the bootloader correctly, the kernel and the rest of the images were left over from images I flashed previously using the MFGTool in Windows.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;When I used the MFGTool to flash the images I built, my display was now working as expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;(Now I just have to figure out how to get the&amp;nbsp;script working so I don't have to keep switching between Ubuntu and Windows... )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Mike&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Feb 2018 01:52:31 GMT</pubDate>
    <dc:creator>mdomondon</dc:creator>
    <dc:date>2018-02-02T01:52:31Z</dc:date>
    <item>
      <title>Configuring a Display connected via LVDS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-Display-connected-via-LVDS/m-p/774748#M120268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;I'm new to android development and I was wondering if anyone can help me. I have an i.MX6Q Sabre SD board&amp;nbsp;connected to a 1024x600 Panel via LVDS that is not displaying correctly.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;I followed the Android User's Guide (pdf) I downloaded from NXP&amp;nbsp;and was able to obtain the &lt;/SPAN&gt;android&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt; source, patch it and build successfully.&amp;nbsp;I was able&amp;nbsp;&lt;/SPAN&gt;load&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt; the image files that I built to an MMC and boot. When the board booted up, the &lt;/SPAN&gt;lcd&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt; panel was not displaying correctly. Part of the display is cut out. Upon investigation, the resolution trying to be displayed is 1200x768 (which makes the lower part of what is supposed to be displayed cut out).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;I was able to make the display output correctly during the bootloader part by changing this file:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-family: arial, helvetica, sans-serif;"&gt;/bootable/bootloader/uboot-imx/board/freescale/mx6sabresd/mx6sabresd.c line 691&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;struct display_info_t const displays[] = {{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;SPAN&gt;.bus&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;= -1,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;SPAN&gt;.addr&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;= 0,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;SPAN&gt;.pixfmt&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;= IPU_PIX_FMT_RGB666,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;SPAN&gt;.detect&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;= NULL,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;SPAN&gt;.enable&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;= enable_lvds,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;SPAN&gt;.mode&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;= {&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;.name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= "Test-XGA",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;.refresh&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 60,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;.xres&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 1024,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;.yres&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 600,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;.pixclock&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 19531,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;.left_margin&amp;nbsp; &amp;nbsp; = 160,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;.right_margin&amp;nbsp; &amp;nbsp;= 24,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;.upper_margin&amp;nbsp; &amp;nbsp;= 26,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;.lower_margin&amp;nbsp; &amp;nbsp;= 3,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;.hsync_len&amp;nbsp; &amp;nbsp; &amp;nbsp; = 136,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;.vsync_len&amp;nbsp; &amp;nbsp; &amp;nbsp; = 6,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;.sync&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= FB_SYNC_EXT,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;.vmode&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = FB_VMODE_NONINTERLACED&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;} },&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt; &lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;I modified the parameters (changed 1024x768 to 1024x600, I also replaced the timings based on the data sheet of the display)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Once, android is loaded though, the display output is not correct again. Reading through the existing questions in this community, it seems I need to modify a device configuration file in the kernel. I am not sure which dts&amp;nbsp;file I need to change though. I tried adding display-timings to kernel_imx/arch/arm/boot/dts/imx6q-sabresd.dts, b ut&amp;nbsp;the display output did not change. Below is what I added:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV style="padding-left: 30px;"&gt;&amp;amp;ldb {&lt;BR /&gt;lvds-channel@0 {&lt;BR /&gt;crtc = "ipu2-di0";&lt;BR /&gt; &lt;BR /&gt;fsl,data-mapping = "spwg";&lt;BR /&gt;fsl,data-width = &amp;lt;18&amp;gt;;&lt;BR /&gt;status = "okay";&lt;P&gt;&lt;/P&gt;display-timings {&lt;BR /&gt;native-mode = &amp;lt;&amp;amp;timing0&amp;gt;;&lt;BR /&gt;timing0: hsd100pxn1 {&lt;BR /&gt;clock-frequency = &amp;lt;51200000&amp;gt;; &lt;BR /&gt;hactive = &amp;lt;1024&amp;gt;;&lt;BR /&gt;vactive = &amp;lt;600&amp;gt;;&lt;BR /&gt;hback-porch = &amp;lt;160&amp;gt;;&lt;BR /&gt;hfront-porch = &amp;lt;24&amp;gt;;&lt;BR /&gt;vback-porch = &amp;lt;26&amp;gt;;&lt;BR /&gt;vfront-porch = &amp;lt;3&amp;gt;;&lt;BR /&gt;hsync-len = &amp;lt;136&amp;gt;;&lt;BR /&gt;vsync-len = &amp;lt;6&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;P&gt;&lt;/P&gt;lvds-channel@1 {&lt;BR /&gt;crtc = "ipu2-di1";&lt;BR /&gt; &lt;BR /&gt;fsl,data-mapping = "spwg";&lt;BR /&gt;fsl,data-width = &amp;lt;18&amp;gt;;&lt;BR /&gt;primary;&lt;BR /&gt;status = "okay";&lt;P&gt;&lt;/P&gt;display-timings {&lt;BR /&gt;native-mode = &amp;lt;&amp;amp;timing1&amp;gt;;&lt;BR /&gt;timing1: hsd100pxn1 {&lt;BR /&gt;clock-frequency = &amp;lt;51200000&amp;gt;; &lt;BR /&gt;hactive = &amp;lt;1024&amp;gt;;&lt;BR /&gt;vactive = &amp;lt;600&amp;gt;;&lt;BR /&gt;hback-porch = &amp;lt;160&amp;gt;;&lt;BR /&gt;hfront-porch = &amp;lt;24&amp;gt;;&lt;BR /&gt;vback-porch = &amp;lt;26&amp;gt;;&lt;BR /&gt;vfront-porch = &amp;lt;3&amp;gt;;&lt;BR /&gt;hsync-len = &amp;lt;136&amp;gt;;&lt;BR /&gt;vsync-len = &amp;lt;6&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Can anyone point me in the right direction?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Thanks.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 09:01:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-Display-connected-via-LVDS/m-p/774748#M120268</guid>
      <dc:creator>mdomondon</dc:creator>
      <dc:date>2018-01-31T09:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring a Display connected via LVDS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-Display-connected-via-LVDS/m-p/774749#M120269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what processor and android release used in the case. &lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;1024x600&lt;/SPAN&gt; example&lt;/P&gt;&lt;P&gt;can be found on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/373763"&gt;How to change SABRE-SD screen resolution in LOLLIPOP(5.0.0?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For i.MX6Q one can check LVDS MUX control with IOMUXC_GPR3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 09:59:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-Display-connected-via-LVDS/m-p/774749#M120269</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-01-31T09:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring a Display connected via LVDS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-Display-connected-via-LVDS/m-p/774750#M120270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solved my issue. I was actually&amp;nbsp;already doing the same thing as the link you provided:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2004" data-containertype="14" data-objectid="373763" data-objecttype="1" href="https://community.nxp.com/thread/373763" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-size: 14px; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;How to change SABRE-SD screen resolution in LOLLIPOP(5.0.0?&lt;/A&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;My problem was elsewhere. Apparently, the script (/device/fsl/common/tools/fsl-sdcard-partition.sh) for flashing the built images to an SD card was not working for me. It was only flashing the bootloader correctly, the kernel and the rest of the images were left over from images I flashed previously using the MFGTool in Windows.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;When I used the MFGTool to flash the images I built, my display was now working as expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;(Now I just have to figure out how to get the&amp;nbsp;script working so I don't have to keep switching between Ubuntu and Windows... )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Mike&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 01:52:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configuring-a-Display-connected-via-LVDS/m-p/774750#M120270</guid>
      <dc:creator>mdomondon</dc:creator>
      <dc:date>2018-02-02T01:52:31Z</dc:date>
    </item>
  </channel>
</rss>

