<?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中的主题 LCD not working on custom i.mx6q board</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/LCD-not-working-on-custom-i-mx6q-board/m-p/262927#M26756</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm a newbie in Linux kernel. Recently I try to port a working kernel (3.0.68) to mainline kernel (3.12), but somehow the LCD is not working. By not working I mean the LCD doesn't display meaningful output but the backlight is on and I can see some artifacts on the screen. The LCD model is PM070WL4. I modified the dtsi files from Sabre SD dtsi because from what I understand, they use the same connection, so I just modify the LCD parameters in my dtsi. Is this correct? my I attach the old board.h and board.c files along with the dts and dtsi files.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-335995"&gt;board-mx6q_smx6.h.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-335995"&gt;board-smx6.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-335995"&gt;imx6q-smx6.dts.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-335995"&gt;imx6q-smx6.dtsi.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Nov 2013 03:18:09 GMT</pubDate>
    <dc:creator>jiaoka010</dc:creator>
    <dc:date>2013-11-07T03:18:09Z</dc:date>
    <item>
      <title>LCD not working on custom i.mx6q board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LCD-not-working-on-custom-i-mx6q-board/m-p/262927#M26756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm a newbie in Linux kernel. Recently I try to port a working kernel (3.0.68) to mainline kernel (3.12), but somehow the LCD is not working. By not working I mean the LCD doesn't display meaningful output but the backlight is on and I can see some artifacts on the screen. The LCD model is PM070WL4. I modified the dtsi files from Sabre SD dtsi because from what I understand, they use the same connection, so I just modify the LCD parameters in my dtsi. Is this correct? my I attach the old board.h and board.c files along with the dts and dtsi files.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-335995"&gt;board-mx6q_smx6.h.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-335995"&gt;board-smx6.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-335995"&gt;imx6q-smx6.dts.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-335995"&gt;imx6q-smx6.dtsi.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 03:18:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LCD-not-working-on-custom-i-mx6q-board/m-p/262927#M26756</guid>
      <dc:creator>jiaoka010</dc:creator>
      <dc:date>2013-11-07T03:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: LCD not working on custom i.mx6q board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LCD-not-working-on-custom-i-mx6q-board/m-p/262928#M26757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Jiaoka,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I don't have your schematic, So&amp;nbsp; I don't know which port your LCD is connected to , Let me assume you use one of the following ports:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(1)DISP0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;----adding your LCD timing to "linux_top/drivers/video/mxc/mxc_lcdif.c" (static struct fb_videomode lcdif_modedb[] =)&lt;BR /&gt;If I add a LCD with 1440x900, I should add the timing :&lt;/P&gt;&lt;P&gt;static struct fb_videomode lcdif_modedb[] = {&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;/* 800x480 @ 57 Hz , pixel clk @ 27MHz */&lt;/P&gt;&lt;P&gt;"CLAA-WVGA", 57, 800, 480, 37037, 40, 60, 10, 10, 20, 10,&lt;/P&gt;&lt;P&gt;FB_SYNC_CLK_LAT_FALL,&lt;/P&gt;&lt;P&gt;FB_VMODE_NONINTERLACED,&lt;/P&gt;&lt;P&gt;0,},&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;/* 800x480 @ 60 Hz , pixel clk @ 32MHz */&lt;/P&gt;&lt;P&gt;"SEIKO-WVGA", 60, 800, 480, 29850, 89, 164, 23, 10, 10, 10,&lt;/P&gt;&lt;P&gt;FB_SYNC_CLK_LAT_FALL,&lt;/P&gt;&lt;P&gt;FB_VMODE_NONINTERLACED,&lt;/P&gt;&lt;P&gt;0,},&lt;/P&gt;&lt;P&gt;{/* According to the datasheet of your LCD, collect it's timing and fill it here */&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt; /* VGA 1440x900 106.5M pixel clk output */&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; "1440x900", 60, 1440, 900, 9389,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; 232, 80,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; 25, 3,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; 152, 6,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; 0,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; FB_VMODE_NONINTERLACED,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; FB_MODE_IS_DETAILED,},&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;(2&lt;/STRONG&gt;)Using LVDS port&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;Open&amp;nbsp; &lt;/STRONG&gt;"linux_top/drivers/video/mxc/ldb.c", and replace original one with yours :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;static struct fb_videomode ldb_modedb[] = {&lt;/P&gt;&lt;P&gt;{/*&lt;STRONG&gt; No.1 member is added by me and validated&lt;/STRONG&gt;. */&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp; "LDB-WXGA", 60, 1280, 800, 13812,&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; 60, 60,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; 20, 15,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; 40, 3,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; 0,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; FB_VMODE_NONINTERLACED,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; FB_MODE_IS_DETAILED,},&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; "LDB-XGA", 60, 1024, 768, 15385,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 220, 40,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 21, 7,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 60, 10,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; FB_VMODE_NONINTERLACED,&lt;/P&gt;&lt;P&gt;&amp;nbsp; FB_MODE_IS_DETAILED,},&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; "LDB-1080P60", 60, 1920, 1080, 7692,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 100, 40,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 30, 3,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 10, 2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; FB_VMODE_NONINTERLACED,&lt;/P&gt;&lt;P&gt;&amp;nbsp; FB_MODE_IS_DETAILED,},&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;(3) Adjust BSP File&lt;/P&gt;&lt;P&gt;static struct ipuv3_fb_platform_data qcorein_fb_data[] = {&lt;/P&gt;&lt;P&gt;{/*fb0*/&lt;/P&gt;&lt;P&gt;.disp_dev = "ldb",&lt;/P&gt;&lt;P&gt;.interface_pix_fmt = IPU_PIX_FMT_RGB666,&lt;/P&gt;&lt;P&gt;.mode_str = "&lt;STRONG&gt;&lt;EM&gt;LDB-WXGA&lt;/EM&gt;&lt;/STRONG&gt;",&lt;/P&gt;&lt;P&gt;.default_bpp = 16,&lt;/P&gt;&lt;P&gt;.int_clk = false,&lt;/P&gt;&lt;P&gt;.late_init = false,&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;.disp_dev = "hdmi",&lt;/P&gt;&lt;P&gt;.interface_pix_fmt = IPU_PIX_FMT_RGB24,&lt;/P&gt;&lt;P&gt;.mode_str = "&lt;A href="mailto:1920x1080M@60"&gt;1920x1080M@60&lt;/A&gt;",&lt;/P&gt;&lt;P&gt;.default_bpp = 32,&lt;/P&gt;&lt;P&gt;.int_clk = false,&lt;/P&gt;&lt;P&gt;.late_init = false,&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;.disp_dev = "&lt;EM&gt;&lt;STRONG&gt;lcd&lt;/STRONG&gt;&lt;/EM&gt;",&lt;/P&gt;&lt;P&gt;.interface_pix_fmt = IPU_PIX_FMT_RGB24,&lt;/P&gt;&lt;P&gt;.mode_str = "1440x900",&lt;/P&gt;&lt;P&gt;.default_bpp = 32,&lt;/P&gt;&lt;P&gt;.int_clk = false,&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(4)Distrabuting IPU display source&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;static struct fsl_mxc_hdmi_core_platform_data hdmi_core_data = {&lt;/P&gt;&lt;P&gt;.ipu_id = 1,&lt;/P&gt;&lt;P&gt;.disp_id = 0,&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;static struct fsl_mxc_lcd_platform_data lcdif_data = {&lt;/P&gt;&lt;P&gt;.ipu_id = 0,&lt;/P&gt;&lt;P&gt;.disp_id = 0,&lt;/P&gt;&lt;P&gt;.default_ifmt = IPU_PIX_FMT_RGB24,&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;static struct fsl_mxc_ldb_platform_data ldb_data = {&lt;/P&gt;&lt;P&gt;.ipu_id = 0,&lt;/P&gt;&lt;P&gt;.disp_id = 1,&lt;/P&gt;&lt;P&gt;.ext_ref = 1,&lt;/P&gt;&lt;P&gt;.mode = LDB_SEP1, /*&lt;STRONG&gt;Using LVDS1 Port&lt;/STRONG&gt;*/&lt;/P&gt;&lt;P&gt;.sec_ipu_id = 0,&lt;/P&gt;&lt;P&gt;.sec_disp_id = 0,&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(5)Setting u-boot environment (starting from NFS)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;#setenv ipaddr 192.168.1.103&lt;/P&gt;&lt;P&gt;#setenv serverip 192.168.1.102&lt;/P&gt;&lt;P&gt;#setenv gateway 192.168.1.1&lt;/P&gt;&lt;P&gt;#setenv ethaddr 00:04:9f:00:ea:d3&lt;/P&gt;&lt;P&gt;#setenv nfsroot /opt/nfsroot&lt;/P&gt;&lt;P&gt;#setenv bootargs_base 'setenv bootargs console=ttymxc0,115200'&lt;/P&gt;&lt;P&gt;#setenv bootargs_android 'setenv bootargs ${bootargs} init=/init androidboot.console=ttymxc0 androidboot.hardware=freescale'&lt;/P&gt;&lt;P&gt;#setenv bootargs_nfs 'setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gateway}:${netmask}::eth0 off root=/dev/nfs nfsroot=${serverip}:${nfsroot}'&lt;/P&gt;&lt;P&gt;#setenv bootargs_disp 'setenv bootargs ${bootargs} video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 video=mxcfb2:dev=lcd,1440x900,bpp=32 fbmem=32M vmalloc=400M'&lt;/P&gt;&lt;P&gt;#setenv bootcmd_net 'run bootargs_base bootargs_android bootargs_nfs bootargs_disp;tftpboot ${loadaddr} uImage;bootm'&lt;/P&gt;&lt;P&gt;#run bootcmd_net&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I tested this porting on a customized board, It is OK ! Please try above steps !&lt;/P&gt;&lt;P&gt;&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>Tue, 12 Nov 2013 09:01:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LCD-not-working-on-custom-i-mx6q-board/m-p/262928#M26757</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2013-11-12T09:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: LCD not working on custom i.mx6q board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LCD-not-working-on-custom-i-mx6q-board/m-p/262929#M26758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jiaoka,&lt;/P&gt;&lt;P&gt;Have you solved your problem?&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 02:58:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LCD-not-working-on-custom-i-mx6q-board/m-p/262929#M26758</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2014-02-20T02:58:24Z</dc:date>
    </item>
  </channel>
</rss>

