<?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 Re: how to configure parallel video interface for iMX6Q sabresd? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/how-to-configure-parallel-video-interface-for-iMX6Q-sabresd/m-p/237722#M19205</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm happy to report that I've had some measure of success in configuring the parallel display port on the iMX6 processor. For sake of clarity allow me to re-iterate the steps taken so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Follow the build instructions in "&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Android_User_Guide.pdf&lt;/SPAN&gt;" available on the iMX6 sabresd website. At the end of it you should have a folder called "myandroid" which contains all the source code needed to build uboot, linux kernel and android for the sabresd board. By default this will display output on the touchscreen display connected via the processor's LDB bridge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. To change display parameters you will need to make changes to the arguments passed to the linux kernel. By default these "configurations" are stored in the following file,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;myandroid/device/fsl/sabresd_&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;6dq/BoardConfig.mk&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Look for a line that reads,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;BOARD_KERNEL_CMDLINE := console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 &lt;/SPAN&gt;&lt;STRONG style="color: #222222; font-family: arial, sans-serif;"&gt;video=mxcfb1:off&lt;/STRONG&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt; video=mxcfb2:off fbmem=10M fb0base=0x27b00000 vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;According to the "&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Android_Quick_Start_Guide.&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;pdf&lt;/SPAN&gt;" you need to make the following change to enable display on BOTH the touchscreen and HDMI output,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;BOARD_KERNEL_CMDLINE := console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 &lt;/SPAN&gt;&lt;STRONG style="color: #222222; font-family: arial, sans-serif;"&gt;video=mxcfb1:dev=hdmi,1920x1080@60,bpp=32&lt;/STRONG&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt; video=mxcfb2:off fbmem=10M fb0base=0x27b00000 vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;3. Now here is where things get tricky. I want to enable the parallel display port and at the same time disable all the other video outputs. The following edit accomplishes this,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;BOARD_KERNEL_CMDLINE := &lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;console=ttymxc0,115200 init=/init &lt;STRONG&gt;video=mxcfb0:dev=lcd,CLAA-&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;STRONG&gt;WVGA@60,bpp=32,if=RGB24 &lt;/STRONG&gt;video=mxcfb1:off video=mxcfb2:off fbmem=10M fb0base=0x27b00000 vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Building the "boot.img" file with the above argument and loading it on the sabresd board shows that both the touchscreen display and HDMI output are disabled. There is (to my knowledge) no simple method to connect a panel to the parallel display port on the sabresd board. So after reading the schematics, I found points on the reference sabresd board from which I could pull the clock, vsync and hsync lines of the parallel display port. Using an oscilloscope, I was able to confirm that a signal was coming out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Which, I will consider a success. With the earlier configurations, probing those points showed nothing on the oscilloscope. Next, I'm investigating on how the resolution can be set for the parallel display.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;-Abraham V.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Aug 2013 09:59:26 GMT</pubDate>
    <dc:creator>abraham_v</dc:creator>
    <dc:date>2013-08-06T09:59:26Z</dc:date>
    <item>
      <title>how to configure parallel video interface for iMX6Q sabresd?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-configure-parallel-video-interface-for-iMX6Q-sabresd/m-p/237720#M19203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The iMX6Q sabresd board comes with an android supported touch-screen display running at 800x480 (I think). The display is connected to the iMX6Q via the LVDS port (From the Simplified Block diagram, I'm guessing that its configured across the internal LDB bridge). We have a custom design using the iMX6D processor driving a display of 1920x1080 (24-bit RGB) via the parallel video interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if any special configuration needs to be done for this? Or can I assume that if I load up the same image, it will boot without issues?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reference manual mentions that the resolution I'm targeting is supported by the iMX6, so I'm hoping to be lazy and just load the image I have for the reference board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Abraham V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 09:53:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-configure-parallel-video-interface-for-iMX6Q-sabresd/m-p/237720#M19203</guid>
      <dc:creator>abraham_v</dc:creator>
      <dc:date>2013-08-02T09:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to configure parallel video interface for iMX6Q sabresd?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-configure-parallel-video-interface-for-iMX6Q-sabresd/m-p/237721#M19204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Initial testing confirms that the parallel video interface isn't read out-of-the-box. I'm having difficulty connecting a proper display to the parallel display interface, so I took a short-cut. Simply put, I probed the clock line of the parallel interface. Assuming that the interface is up, I *should* have seen a signal - instead I saw nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will continue to investigate and update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Abraham V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Aug 2013 16:28:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-configure-parallel-video-interface-for-iMX6Q-sabresd/m-p/237721#M19204</guid>
      <dc:creator>abraham_v</dc:creator>
      <dc:date>2013-08-04T16:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to configure parallel video interface for iMX6Q sabresd?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-configure-parallel-video-interface-for-iMX6Q-sabresd/m-p/237722#M19205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm happy to report that I've had some measure of success in configuring the parallel display port on the iMX6 processor. For sake of clarity allow me to re-iterate the steps taken so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Follow the build instructions in "&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Android_User_Guide.pdf&lt;/SPAN&gt;" available on the iMX6 sabresd website. At the end of it you should have a folder called "myandroid" which contains all the source code needed to build uboot, linux kernel and android for the sabresd board. By default this will display output on the touchscreen display connected via the processor's LDB bridge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. To change display parameters you will need to make changes to the arguments passed to the linux kernel. By default these "configurations" are stored in the following file,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;myandroid/device/fsl/sabresd_&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;6dq/BoardConfig.mk&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Look for a line that reads,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;BOARD_KERNEL_CMDLINE := console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 &lt;/SPAN&gt;&lt;STRONG style="color: #222222; font-family: arial, sans-serif;"&gt;video=mxcfb1:off&lt;/STRONG&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt; video=mxcfb2:off fbmem=10M fb0base=0x27b00000 vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;According to the "&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Android_Quick_Start_Guide.&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;pdf&lt;/SPAN&gt;" you need to make the following change to enable display on BOTH the touchscreen and HDMI output,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;BOARD_KERNEL_CMDLINE := console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 &lt;/SPAN&gt;&lt;STRONG style="color: #222222; font-family: arial, sans-serif;"&gt;video=mxcfb1:dev=hdmi,1920x1080@60,bpp=32&lt;/STRONG&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt; video=mxcfb2:off fbmem=10M fb0base=0x27b00000 vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;3. Now here is where things get tricky. I want to enable the parallel display port and at the same time disable all the other video outputs. The following edit accomplishes this,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;BOARD_KERNEL_CMDLINE := &lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;console=ttymxc0,115200 init=/init &lt;STRONG&gt;video=mxcfb0:dev=lcd,CLAA-&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;STRONG&gt;WVGA@60,bpp=32,if=RGB24 &lt;/STRONG&gt;video=mxcfb1:off video=mxcfb2:off fbmem=10M fb0base=0x27b00000 vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Building the "boot.img" file with the above argument and loading it on the sabresd board shows that both the touchscreen display and HDMI output are disabled. There is (to my knowledge) no simple method to connect a panel to the parallel display port on the sabresd board. So after reading the schematics, I found points on the reference sabresd board from which I could pull the clock, vsync and hsync lines of the parallel display port. Using an oscilloscope, I was able to confirm that a signal was coming out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;Which, I will consider a success. With the earlier configurations, probing those points showed nothing on the oscilloscope. Next, I'm investigating on how the resolution can be set for the parallel display.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif;"&gt;-Abraham V.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 09:59:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-configure-parallel-video-interface-for-iMX6Q-sabresd/m-p/237722#M19205</guid>
      <dc:creator>abraham_v</dc:creator>
      <dc:date>2013-08-06T09:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to configure parallel video interface for iMX6Q sabresd?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-configure-parallel-video-interface-for-iMX6Q-sabresd/m-p/237723#M19206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;LCD display is initialized by the ldb kernel driver (drivers/video/mxc/ldb.c). Display dependent parameters are provided to this driver through the "fb_videomode" structure.. Try modifying this structure with the resolution that you need.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 20:24:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-configure-parallel-video-interface-for-iMX6Q-sabresd/m-p/237723#M19206</guid>
      <dc:creator>4guin4g4</dc:creator>
      <dc:date>2013-08-06T20:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to configure parallel video interface for iMX6Q sabresd?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-configure-parallel-video-interface-for-iMX6Q-sabresd/m-p/237724#M19207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for replying Carlos. :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked out the file you mentioned but am a bit skeptical if its what I'm looking for. Here is how the display looks like from the iMX6 (image taken from page 209 of processor reference manual),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="display.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/40274i8A632265D5C3B81F/image-size/large?v=v2&amp;amp;px=999" role="button" title="display.png" alt="display.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;On the sabresd reference board we have a touch-screen display connected on the LDB bridge via the LVDS connection. But what I want to do is use the LCD interface directly - without configuring anything on the bridges. I've highlighted (in blue) the relevant section above. Scanning the source code in (&lt;SPAN style="color: #3d3d3d; font-family: Calibri, sans-serif; font-size: 15px;"&gt;drivers/video/mxc/ldb.c&lt;/SPAN&gt;), it appears that a lot of configuration/initialization is done for the LDB bridge - are you sure this is the file I'm looking for? Or should I search elsewhere?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Puzzled,&lt;/P&gt;&lt;P&gt;Abraham V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 06:15:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-configure-parallel-video-interface-for-iMX6Q-sabresd/m-p/237724#M19207</guid>
      <dc:creator>abraham_v</dc:creator>
      <dc:date>2013-08-08T06:15:37Z</dc:date>
    </item>
  </channel>
</rss>

