<?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: can U-Boot affect USB detection in Linux?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/can-U-Boot-affect-USB-detection-in-Linux/m-p/222161#M14811</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Thanks again for your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean by U-Boot mainline?&amp;nbsp; Are you talking about the "most recent release"&amp;nbsp; from &lt;A href="http://www.denx.de/wiki/U-Boot/SourceCode" title="http://www.denx.de/wiki/U-Boot/SourceCode"&gt;http://www.denx.de/wiki/U-Boot/SourceCode&lt;/A&gt; ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have&amp;nbsp; a QSB as a reference, and i tried building the mx53loco image for U-Boot 2012.10 , however it wouldn't boot.&lt;/P&gt;&lt;P&gt;Is this what you mean by the "U-Boot Mainline"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jan 2013 02:06:36 GMT</pubDate>
    <dc:creator>alwyn_motium</dc:creator>
    <dc:date>2013-01-15T02:06:36Z</dc:date>
    <item>
      <title>can U-Boot affect USB detection in Linux?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/can-U-Boot-affect-USB-detection-in-Linux/m-p/222157#M14807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have a custom designed iMX53 board.&amp;nbsp; It is identical to the imx53 QSB rev.B except we use DDR2 memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because of this, we obviously have had to make our own version of U-Boot.&lt;/P&gt;&lt;P&gt;We have built our own linux system using LTIB which boots etc.&amp;nbsp; (Networking, lvds etc, are all working fine)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything appears to be working correctly except that linux is not detecting any USB devices on our custom board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i use the same linux image and run it on the QSB with the default U-Boot image, USB devices &lt;SPAN style="text-decoration: underline;"&gt;are&lt;/SPAN&gt; detected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the only difference software wise between the QSB and our custom board is the U-Boot image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Is it possible to stop linux detecting USB devices by setting the wrong flags in U-Boot?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 09:53:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/can-U-Boot-affect-USB-detection-in-Linux/m-p/222157#M14807</guid>
      <dc:creator>alwyn_motium</dc:creator>
      <dc:date>2013-01-09T09:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: can U-Boot affect USB detection in Linux?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/can-U-Boot-affect-USB-detection-in-Linux/m-p/222158#M14808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does; depending on the PMIC the way of enable the USB is different.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 12:15:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/can-U-Boot-affect-USB-detection-in-Linux/m-p/222158#M14808</guid>
      <dc:creator>OtavioSalvador</dc:creator>
      <dc:date>2013-01-09T12:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: can U-Boot affect USB detection in Linux?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/can-U-Boot-affect-USB-detection-in-Linux/m-p/222159#M14809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the pointer, it does appear that it is to do with the PMIC.&lt;/P&gt;&lt;P&gt;I'm not sure how important it is for U-Boot to identify the PMIC,&amp;nbsp; though i think it is more to do with the fact that our custom board identifies itself as a Rev A board, so the Kernal tries to access the DA9052 PMIC instead of the MC34708.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This comment here seems to be a similar issue.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.eewiki.net/display/linuxonarm/i.MX53+Quick+Start?focusedCommentId=4980778#comment-4980778" title="http://www.eewiki.net/display/linuxonarm/i.MX53+Quick+Start?focusedCommentId=4980778#comment-4980778"&gt;i.MX53 Quick Start - Linux on ARM - eewiki&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 03:47:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/can-U-Boot-affect-USB-detection-in-Linux/m-p/222159#M14809</guid>
      <dc:creator>alwyn_motium</dc:creator>
      <dc:date>2013-01-14T03:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: can U-Boot affect USB detection in Linux?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/can-U-Boot-affect-USB-detection-in-Linux/m-p/222160#M14810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is critical as the power sequence is different. The two PMICs are very different from U-Boot point of view and the revision detection can be causing this, indeed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check the U-Boot mainline as it has a very good support for both variants of MX53QSB and it should be easier to adapt to your custom board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 11:32:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/can-U-Boot-affect-USB-detection-in-Linux/m-p/222160#M14810</guid>
      <dc:creator>OtavioSalvador</dc:creator>
      <dc:date>2013-01-14T11:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: can U-Boot affect USB detection in Linux?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/can-U-Boot-affect-USB-detection-in-Linux/m-p/222161#M14811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Thanks again for your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean by U-Boot mainline?&amp;nbsp; Are you talking about the "most recent release"&amp;nbsp; from &lt;A href="http://www.denx.de/wiki/U-Boot/SourceCode" title="http://www.denx.de/wiki/U-Boot/SourceCode"&gt;http://www.denx.de/wiki/U-Boot/SourceCode&lt;/A&gt; ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have&amp;nbsp; a QSB as a reference, and i tried building the mx53loco image for U-Boot 2012.10 , however it wouldn't boot.&lt;/P&gt;&lt;P&gt;Is this what you mean by the "U-Boot Mainline"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 02:06:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/can-U-Boot-affect-USB-detection-in-Linux/m-p/222161#M14811</guid>
      <dc:creator>alwyn_motium</dc:creator>
      <dc:date>2013-01-15T02:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: can U-Boot affect USB detection in Linux?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/can-U-Boot-affect-USB-detection-in-Linux/m-p/222162#M14812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works for sure. I use it daily. The 2013.01 release should happen this week and it is even more stable and capable. I'd suggest you to try this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need support for it, contact me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 11:18:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/can-U-Boot-affect-USB-detection-in-Linux/m-p/222162#M14812</guid>
      <dc:creator>OtavioSalvador</dc:creator>
      <dc:date>2013-01-15T11:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: can U-Boot affect USB detection in Linux?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/can-U-Boot-affect-USB-detection-in-Linux/m-p/222163#M14813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With U-boot mainline you have to flash u-boot.imx binary into SD card instead of u-boot.bin.&lt;/P&gt;&lt;P&gt;(dd if=u-boot.imx of=/dev/mmcblk0 bs=512 seek=2)&lt;/P&gt;&lt;P&gt;Please find the details here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.imximage;h=073e3fcb3c6ecc9a7dfa8af468c76f96b16bd4d5;hb=HEAD" title="http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.imximage;h=073e3fcb3c6ecc9a7dfa8af468c76f96b16bd4d5;hb=HEAD"&gt;http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.imximage;h=073e3fcb3c6ecc9a7dfa8af468c76f96b16bd4d5;hb=HEAD&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About your original issue: if we do not pass the correct version of the mx53qsb from U-boot to the kernel you will experience USB issues as you described. The kernel from FSL does treat USB differently depending on the board revision.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both FSL U-boot and mainline U-boot we do read the fuses to check the board revision.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you haven't blown the fuses and your mx53 board does use a mc34708 pmic then you can force the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; u32 get_board_rev(void)&lt;/P&gt;&lt;P&gt; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0x53100;&lt;/P&gt;&lt;P&gt; }&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 11:54:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/can-U-Boot-affect-USB-detection-in-Linux/m-p/222163#M14813</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2013-01-15T11:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: can U-Boot affect USB detection in Linux?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/can-U-Boot-affect-USB-detection-in-Linux/m-p/222164#M14814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to you both for the answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Fabio noted, the problem with getting the Mainline uboot to run was incorrectly copying the image, however my issue wasn't using u-boot.bin instead of u-boot.imx, ( I was already trying to use that).&amp;nbsp; I was using dd with "bs=512 seek=2 skip=2" as arguments.&amp;nbsp; This worked without any problems with the u-boot.bin produced from the LTIB, however, it seems that this doesn't work for the 2013.01 u-boot image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the mainline uboot image i've compiled, the USB is now working, even though the Kernel can't talk to the PMIC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try the change you've suggested and see if the kernel identifies the PMIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 02:04:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/can-U-Boot-affect-USB-detection-in-Linux/m-p/222164#M14814</guid>
      <dc:creator>alwyn_motium</dc:creator>
      <dc:date>2013-01-16T02:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: can U-Boot affect USB detection in Linux?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/can-U-Boot-affect-USB-detection-in-Linux/m-p/222165#M14815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;u32 get_board_rev(void)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;{&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0x53100;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;}&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;allows the kernel to correctly identify the PMIC as the MC34708.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Alwyn&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 08:27:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/can-U-Boot-affect-USB-detection-in-Linux/m-p/222165#M14815</guid>
      <dc:creator>alwyn_motium</dc:creator>
      <dc:date>2013-01-16T08:27:32Z</dc:date>
    </item>
  </channel>
</rss>

