<?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: Custom LCD mode not found by Linux</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Custom-LCD-mode-not-found-by-Linux/m-p/427667#M64935</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes video=...&amp;nbsp; in bootargs is also needed, for&lt;/P&gt;&lt;P&gt;example one can look at attached Release Notes&lt;/P&gt;&lt;P&gt;Table 11. Common Kernel Boot Parameters&lt;/P&gt;&lt;P&gt;from &lt;A href="https://www.freescale.com/webapp/Download?colCode=L3.10.53_1.1.0_LINUX_DOCS&amp;amp;location=null&amp;amp;fasp=1&amp;amp;WT_TYPE=Supporting%20Information&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=gz&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.gz"&gt;L3.10.53_1.1.0_LINUX_DOCS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 May 2015 14:18:41 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2015-05-13T14:18:41Z</dc:date>
    <item>
      <title>Custom LCD mode not found by Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-LCD-mode-not-found-by-Linux/m-p/427666#M64934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a custom LCD that I connect to an iMX6DL, running Linux 3.10.53.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made the following adjustments:&lt;/P&gt;&lt;P&gt;(1) Device-tree -- Updated relevant interface parameters. Changed mode_str for mxc_sdc_fb node to hold the new LCD string.&lt;/P&gt;&lt;P&gt;(2) In mxc_lcdif.c&amp;nbsp; -- added new entry to lcdif_modedb[]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&lt;SPAN style="color: #303030;"&gt;It seems the driver attempts to find the LCD mode in the modedb[], but&lt;/SPAN&gt; the function 'mxcfb_check_var()' always returns 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I enabled DEBUG for device-driver printouts -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mxc_lcdif lcd.26: mxc_lcdif_probe enter&lt;/P&gt;&lt;P&gt;mxc_lcdif lcd.26: mxc_lcdif_probe exit&lt;/P&gt;&lt;P&gt;mxc_sdc_fb fb.25: mxcfb_probe enter&lt;/P&gt;&lt;P&gt;(NULL device *): Mode Str = CUSTOM_LCD&lt;/P&gt;&lt;P&gt;modedb fb_find_mode: mode option = CUSTOM_LCD&lt;/P&gt;&lt;P&gt;modedb fb_find_mode: Trying specified video mode (ignoring refresh rate) 0x0&lt;/P&gt;&lt;P&gt;modedb fb_find_mode: Trying best-fit modes&lt;/P&gt;&lt;P&gt;modedb fb_find_mode: Trying 800x480&lt;/P&gt;&lt;P&gt;modedb fb_try_mode: Trying mode CLAA-WVGA 800x480-4@57&lt;/P&gt;&lt;P&gt;modedb fb_try_mode:&amp;nbsp; calling fb_check_var()&lt;/P&gt;&lt;P&gt;modedb fb_try_mode:&amp;nbsp; Mode CLAA-WVGA -- err = 0&lt;/P&gt;&lt;P&gt;modedb fb_find_mode: Trying 800x480&lt;/P&gt;&lt;P&gt;modedb fb_try_mode: Trying mode SEIKO-WVGA 800x480-4@60&lt;/P&gt;&lt;P&gt;modedb fb_try_mode:&amp;nbsp; calling fb_check_var()&lt;/P&gt;&lt;P&gt;modedb fb_try_mode:&amp;nbsp; Mode SEIKO-WVGA -- err = 0&lt;/P&gt;&lt;P&gt;modedb fb_find_mode: Trying 320x240&lt;/P&gt;&lt;P&gt;modedb fb_try_mode: Trying mode CUSTOM_LCD 320x240-4@60&lt;/P&gt;&lt;P&gt;modedb fb_try_mode:&amp;nbsp; calling fb_check_var()&lt;/P&gt;&lt;P&gt;modedb fb_try_mode:&amp;nbsp; Mode CUSTOM_LCD -- err = 0&lt;/P&gt;&lt;P&gt;modedb fb_find_mode: Trying default video mode&lt;/P&gt;&lt;P&gt;modedb fb_try_mode: Trying mode CLAA-WVGA 800x480-24@57&lt;/P&gt;&lt;P&gt;modedb fb_try_mode:&amp;nbsp; calling fb_check_var()&lt;/P&gt;&lt;P&gt;modedb fb_try_mode:&amp;nbsp; Mode CLAA-WVGA -- err = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way-- if the LCD is defined in the DTB, do I also need to have video=...&amp;nbsp; in bootargs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Erez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 10:12:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-LCD-mode-not-found-by-Linux/m-p/427666#M64934</guid>
      <dc:creator>erezsteinberg</dc:creator>
      <dc:date>2015-05-13T10:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Custom LCD mode not found by Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-LCD-mode-not-found-by-Linux/m-p/427667#M64935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes video=...&amp;nbsp; in bootargs is also needed, for&lt;/P&gt;&lt;P&gt;example one can look at attached Release Notes&lt;/P&gt;&lt;P&gt;Table 11. Common Kernel Boot Parameters&lt;/P&gt;&lt;P&gt;from &lt;A href="https://www.freescale.com/webapp/Download?colCode=L3.10.53_1.1.0_LINUX_DOCS&amp;amp;location=null&amp;amp;fasp=1&amp;amp;WT_TYPE=Supporting%20Information&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=gz&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.gz"&gt;L3.10.53_1.1.0_LINUX_DOCS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 14:18:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-LCD-mode-not-found-by-Linux/m-p/427667#M64935</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-05-13T14:18:41Z</dc:date>
    </item>
  </channel>
</rss>

