<?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のトピックiMX53 Android BSP</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308240#M39874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our customer is using our official Android 2.3 BSP for iMX53QSB provided by Adeneo.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They are porting this BSP to their hardware, the work is almost done, but there are some issues on the video playback, it seems the framebuffer overlay is not working as expected.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- They start video reproduction - works fine&lt;/P&gt;&lt;P&gt;- At the end of the playback, the screen turns dark and the system seems to Freeze for the user.&lt;/P&gt;&lt;P&gt;- Doing tests, we found out that running the command &lt;SPAN style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;echo 0 &amp;gt; /sys/class/graphics/fbX/blank&lt;/SPAN&gt; in order to unblank the screen works fine.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it looks like some driver is forcing a blank on the frame buffer after playback and no other driver unblanks it.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We did this exact same test with the QSB board, and the issue does not happen, it must be something on the porting.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The display in use is connected on the DI1 interface (not the LVDS or TVE).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have an idea how to solve this?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attach the code that was ported, note that the video_mode "QUANTA" was created for the new board.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Bruno&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-336809"&gt;ldb.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-336809"&gt;mxcfb_quanta.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-336809"&gt;mx53_indash.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-336809"&gt;mx53_indash_android.h.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Apr 2014 17:58:46 GMT</pubDate>
    <dc:creator>bfac</dc:creator>
    <dc:date>2014-04-01T17:58:46Z</dc:date>
    <item>
      <title>iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308240#M39874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our customer is using our official Android 2.3 BSP for iMX53QSB provided by Adeneo.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They are porting this BSP to their hardware, the work is almost done, but there are some issues on the video playback, it seems the framebuffer overlay is not working as expected.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- They start video reproduction - works fine&lt;/P&gt;&lt;P&gt;- At the end of the playback, the screen turns dark and the system seems to Freeze for the user.&lt;/P&gt;&lt;P&gt;- Doing tests, we found out that running the command &lt;SPAN style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;echo 0 &amp;gt; /sys/class/graphics/fbX/blank&lt;/SPAN&gt; in order to unblank the screen works fine.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it looks like some driver is forcing a blank on the frame buffer after playback and no other driver unblanks it.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We did this exact same test with the QSB board, and the issue does not happen, it must be something on the porting.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The display in use is connected on the DI1 interface (not the LVDS or TVE).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have an idea how to solve this?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attach the code that was ported, note that the video_mode "QUANTA" was created for the new board.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Bruno&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-336809"&gt;ldb.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-336809"&gt;mxcfb_quanta.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-336809"&gt;mx53_indash.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-336809"&gt;mx53_indash_android.h.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 17:58:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308240#M39874</guid>
      <dc:creator>bfac</dc:creator>
      <dc:date>2014-04-01T17:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308241#M39875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Qiang_FSL"&gt;Qiang_FSL&lt;/A&gt; can you attend this case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 18:29:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308241#M39875</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2014-04-01T18:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308242#M39876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you attach the whole kernel boot log? After video playback, was the function lcd_poweroff() in mxcfb_quanta.c called? How about the backlight?&lt;/P&gt;&lt;P&gt;How do the customer playback the video, Gallery?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 02:57:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308242#M39876</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-04-02T02:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308243#M39877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;( Answer Rev2: forgot to attach files on Rev 1, I edited the answer with them).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Logs: Find Both attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Logs: Find Both attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) We noticed &lt;SPAN style="color: #000000; font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; font-family: Helvetica,sans-serif;"&gt;mxcfb_quanta&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; font-family: Helvetica,sans-serif;"&gt;.c is being compiled but never runs. It looks the attached file &lt;SPAN style="color: #000000; font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; font-family: Helvetica,sans-serif;"&gt;mxc_ipuv3_fb.c is being called instear. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 10pt; font-family: Helvetica,sans-serif; font-weight: normal;"&gt;Putting logs on function &lt;SPAN style="color: #000000; font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; font-family: Helvetica,sans-serif;"&gt;mxcfb_blank() on &lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 10pt; font-family: Helvetica,sans-serif; font-weight: normal;"&gt;mxc_ipuv3_fb.c, we got the following:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 10pt; font-family: Helvetica,sans-serif; font-weight: normal;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-indent: 0px; text-align: start; color: #000000; font-style: normal; font-size: 10pt; font-family: Helvetica,sans-serif; font-weight: normal;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; font-family: Helvetica,sans-serif;"&gt;[&amp;nbsp;&amp;nbsp; 87.776441] pmem: request for physical address of pmem region from process 2644.&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; font-family: Helvetica,sans-serif;"&gt;&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 87.907595] video4linux video16: Bypassing IC&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; font-family: Helvetica,sans-serif;"&gt;&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 87.912172] mxc_ipu mxc_ipu: Channel already disabled 10&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; font-family: Helvetica,sans-serif;"&gt;&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 87.912182] mxc_ipu mxc_ipu: Channel already uninitialized 10&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; font-family: Helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; color: red; font-family: Helvetica,sans-serif;"&gt;&lt;STRONG&gt;[&amp;nbsp;&amp;nbsp; 87.947405] mxc_sdc_fb mxc_sdc_fb.2: unblanking framebuffer (here we have just started&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; color: red; font-family: Helvetica,sans-serif;"&gt;&lt;STRONG&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;the pl&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; color: red; font-family: Helvetica,sans-serif;"&gt;&lt;STRONG&gt;ayback)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; font-family: Helvetica,sans-serif;"&gt;&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 87.947415] mxc_ipu mxc_ipu: Channel already disabled 10&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; font-family: Helvetica,sans-serif;"&gt;&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 87.947422] mxc_ipu mxc_ipu: Channel already uninitialized 10&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; font-family: Helvetica,sans-serif;"&gt;&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 92.871002] binder: 2184:2356 refcount change on invalid ref 9&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; font-family: Helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; color: red; font-family: Helvetica,sans-serif;"&gt;&lt;STRONG&gt;[&amp;nbsp;&amp;nbsp; 92.952361] mxc_sdc_fb mxc_sdc_fb.2: blanking framebuffer (here&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; color: red; font-family: Helvetica,sans-serif;"&gt;&lt;STRONG&gt;playback is finished)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; font-family: Helvetica,sans-serif;"&gt;&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 93.720394] binder: 2184:2650 refcount change on invalid ref 9&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; font-family: Helvetica,sans-serif;"&gt;&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 93.726261] binder: 2184:2650 refcount change on invalid ref 9&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; font-family: Helvetica,sans-serif;"&gt;&lt;BR /&gt;[&amp;nbsp;&amp;nbsp; 93.740314] binder: transaction release 5021 bad handle 9&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The videos are reproduced using an overlay, for which we believe are created 3 frame buffers. Note the fb2 is getting unblanked then blanked, what is OK. The problem seems to be that the primary fb0 is never unblanked back.&lt;/P&gt;&lt;P&gt;What we cannot understand too, is why doing an unblank on any of the fbs, makes the fb0 to work back again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Backlight is always on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) We are using Gallery 3D to reproduce the videos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and BR,&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 14:41:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308243#M39877</guid>
      <dc:creator>bfac</dc:creator>
      <dc:date>2014-04-02T14:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re: iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308244#M39878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno, I think it should be a blank code issue, for overlay fb2, ipu_uninit_sync_panel() should not be called. This was fixed in iMX6 BSP.&lt;/P&gt;&lt;P&gt;The customer can apply the attached patch to fix this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 01:41:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308244#M39878</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-04-03T01:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re: iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308245#M39879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Li, thanks for your answer and patch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, customer tried the patch, but had no success, the behavior is exactly the same, the log is the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 12:19:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308245#M39879</guid>
      <dc:creator>bfac</dc:creator>
      <dc:date>2014-04-03T12:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308246#M39880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deactivated user can you&amp;nbsp; help to attend this case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 14:24:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308246#M39880</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2014-04-03T14:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308247#M39881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno, can you let the customer add the followed printk code in function mxcfb_blank():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; case FB_BLANK_NORMAL:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dev_info(info-&amp;gt;device, "blanking framebuffer\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp; ipu_disable_channel(mxc_fbi-&amp;gt;ipu_ch, true);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;printk("mxc_fbi-&amp;gt;ipu_di = %d.\r\n", mxc_fbi-&amp;gt;ipu_di);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (mxc_fbi-&amp;gt;ipu_di &amp;gt;= 0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ipu_uninit_sync_panel(mxc_fbi-&amp;gt;ipu_di);&lt;/P&gt;&lt;P&gt;&amp;nbsp; ipu_uninit_channel(mxc_fbi-&amp;gt;ipu_ch);&lt;/P&gt;&lt;P&gt;&amp;nbsp; break;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the log "mxc_sdc_fb mxc_sdc_fb.2: blanking framebuffer ..", that means the blank only happens on fb2, the overlay, after applied patch, the fb2 blank will only disable the fb2 IDMAC, so it will not affect the fb0. I just want to make sure the patch code had been compiled into their kernel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 01:34:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308247#M39881</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-04-04T01:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308248#M39882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno, is the issue fixed with that patch?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 03:04:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308248#M39882</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-04-17T03:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308249#M39883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Li, thanks for your reply.&lt;/P&gt;&lt;P&gt;Customer was on FTF, reason for the delay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The patch didnt solve the issue, but he applied the printk you asked above, and the result is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt; [&amp;nbsp;&amp;nbsp; 41.097031] pmem: request for physical address of pmem region from process 2623.&lt;BR /&gt; [&amp;nbsp;&amp;nbsp; 41.238876] video4linux video16: Bypassing IC&lt;BR /&gt; [&amp;nbsp;&amp;nbsp; 41.243271] mxc_ipu mxc_ipu: Channel already disabled 10&lt;BR /&gt; [&amp;nbsp;&amp;nbsp; 41.243282] mxc_ipu mxc_ipu: Channel already uninitialized 10&lt;BR /&gt; [&amp;nbsp;&amp;nbsp; 41.281106] mxc_sdc_fb mxc_sdc_fb.2: unblanking framebuffer&lt;BR /&gt; [&amp;nbsp;&amp;nbsp; 41.281115] mxc_ipu mxc_ipu: Channel already disabled 10&lt;BR /&gt; [&amp;nbsp;&amp;nbsp; 41.281122] mxc_ipu mxc_ipu: Channel already uninitialized 10&lt;BR /&gt; [&amp;nbsp;&amp;nbsp; 46.216654] binder: 2194:2251 refcount change on invalid ref 7&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: red; font-size: 10.0pt; font-family: 'Courier New';"&gt;[&amp;nbsp;&amp;nbsp; 46.297578] mxc_sdc_fb mxc_sdc_fb.2: blanking framebuffer&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: red; font-size: 10.0pt; font-family: 'Courier New';"&gt;[&amp;nbsp;&amp;nbsp; 46.334605] mxc_sdc_fb mxc_sdc_fb.2: mxc_fbi-&amp;gt;ipu_di = -1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: red; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: red; font-size: 10.0pt; font-family: 'Courier New';"&gt;Does that give you a better idea on what is happening?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: red; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: red; font-size: 10.0pt; font-family: 'Courier New';"&gt;Thanks!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: red; font-size: 10.0pt; font-family: 'Courier New';"&gt;Bruno&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: red; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 14:27:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308249#M39883</guid>
      <dc:creator>bfac</dc:creator>
      <dc:date>2014-04-17T14:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308250#M39884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If so, I think the information is not enough to identify the issue. I think the customer should identiy which code in blanking fb2 caused fb0 no display. And they also need identify it is black screen output or no display output (No LCD pixel clock)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 01:56:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308250#M39884</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-04-18T01:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308251#M39885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qiang Li,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea where should I look for this in the code, so I can put some logs and provide you additional information?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 12:36:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308251#M39885</guid>
      <dc:creator>gruger</dc:creator>
      <dc:date>2014-04-22T12:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308252#M39886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When the issue happens, I think the customer can dump the IPU registers and add debug message to check IDMAC enable/disable (ipu_disable_channel() and ipu_enable_channel() in ipu_common.c).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 02:33:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308252#M39886</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-04-23T02:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Re: iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308253#M39887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qiang Li,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached you will find the log files with information you requested. I have dumped IPU registers before and after blanking and unblanking the framebuffers. Please, refer to the attached code for details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 14:48:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308253#M39887</guid>
      <dc:creator>gruger</dc:creator>
      <dc:date>2014-04-23T14:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Re: iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308254#M39888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After video playback, can you check the backlight power? Is it caused by backlight turned off?&lt;/P&gt;&lt;P&gt;Maybe you can add debug message in kernel_imx\drivers\video\backlight\pwm_bl.c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think when blank happens, the backlight driver will also receive this event, and if the backlight driver will not identify the display, just turn off the backlight after received the event, there will be the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 02:49:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308254#M39888</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-04-25T02:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Re: iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308255#M39889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And since the customer are using DI1 for display, I think they should also check the lcd driver code, such as file "kernel_imx\drivers\video\mxc\mxcfb_claa_wvga.c", function lcd_fb_event()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (strcmp(event-&amp;gt;info-&amp;gt;fix.id, "&lt;STRONG&gt;DISP3 BG&lt;/STRONG&gt;") &amp;amp;&amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strcmp(event-&amp;gt;info-&amp;gt;fix.id, "mxc_elcdif_fb"))&lt;/P&gt;&lt;P&gt;&amp;nbsp; return 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should be:&lt;/P&gt;&lt;P&gt;if (strcmp(event-&amp;gt;info-&amp;gt;fix.id, "&lt;STRONG&gt;DISP3 BG - DI1&lt;/STRONG&gt;") &amp;amp;&amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strcmp(event-&amp;gt;info-&amp;gt;fix.id, "mxc_elcdif_fb"))&lt;/P&gt;&lt;P&gt;&amp;nbsp; return 0;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 03:04:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308255#M39889</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-04-25T03:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308256#M39890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qiang Li,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have got the problem! The backlight is turning off when blanking fb2! Now, we need to fix it.. If fb2 is being blanked, then backlight should not be changed. Where should I modify the code to solve it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached logs for reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 12:37:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308256#M39890</guid>
      <dc:creator>gruger</dc:creator>
      <dc:date>2014-04-25T12:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308257#M39891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qiang Li,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is the stack trace when backlight is turned off after video stops playing. Hopefully it will give us a clue on where to look for the real problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can see from this stack trace that all starts with the STREAM_OFF IOCTL (called when video stops playing). I believe that whenever a framebuffer is blanked, it generates an event to the backlight driver to turn it off. However, we do not want it for fb2, right? What are your thoughts about it? Where should I look?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 17:53:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308257#M39891</guid>
      <dc:creator>gruger</dc:creator>
      <dc:date>2014-04-25T17:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308258#M39892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qiang Li,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I have got it working now. I had to change a little bit the generic-bl driver. I will run several tests on Monday to see if everything is still working properly. Anyways, I am attaching a patch for that. This patch will make the backlight core driver to not turn backlights off when framebuffers are blanked, which I think is fine for most of applications.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 19:23:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308258#M39892</guid>
      <dc:creator>gruger</dc:creator>
      <dc:date>2014-04-25T19:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: iMX53 Android BSP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308259#M39893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Freescale default BSP, it used backlight driver "drivers\video\backlight\pwm_bl.c", there is no such issue, that check_fb() code is already there.&lt;/P&gt;&lt;P&gt;By the way, I thnk the followed code should be more better, it will only turn off the backligh when the blank is for BG frame buffer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static int pwm_backlight_check_fb(struct backlight_device *bl,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; struct fb_info *info)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt; char *id = info-&amp;gt;fix.id;&lt;/P&gt;&lt;P&gt; if (!strcmp(id, "DISP3 BG") ||&lt;/P&gt;&lt;P&gt;&amp;nbsp; !strcmp(id, "DISP3 BG - DI1"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 1;&lt;/P&gt;&lt;P&gt; else&lt;/P&gt;&lt;P&gt; return 0;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 01:26:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX53-Android-BSP/m-p/308259#M39893</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-04-28T01:26:01Z</dc:date>
    </item>
  </channel>
</rss>

