<?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: iMX8MM Custom board PROBLEM [URGENT]</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MM-Custom-board-PROBLEM-URGENT/m-p/982910#M145974</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt; we found the solution for the custom board : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The USB was connected to &lt;STRONG&gt;USB 2&lt;/STRONG&gt; and we changed the hardware connection to &lt;STRONG&gt;USB 1&lt;/STRONG&gt; then we can detect the NXP board on our USB host machine&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Thank you ! &lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Nov 2019 14:13:55 GMT</pubDate>
    <dc:creator>houssem_chaaban</dc:creator>
    <dc:date>2019-11-28T14:13:55Z</dc:date>
    <item>
      <title>iMX8MM Custom board PROBLEM [URGENT]</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MM-Custom-board-PROBLEM-URGENT/m-p/982909#M145973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;We've made a new custom PCB based on iMX8Mini&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;4 x Cortex A-53&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;1 x Cortex m4&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We've tested all voltage and every element got his good power.&lt;/P&gt;&lt;P&gt;Before making the new custom board we were able to get a hand on the iMX8MM EVK board, and when plugging the USB the kernel detects it, and show NXP in &lt;STRONG&gt;dmesg&lt;/STRONG&gt; and &lt;STRONG&gt;lsusb&lt;/STRONG&gt; and everything was great.&lt;/P&gt;&lt;P&gt;But now we are not able to detect the new custom board.&lt;/P&gt;&lt;P&gt;We tried to debug the &lt;STRONG&gt;Cortex a53&lt;/STRONG&gt; and &lt;STRONG&gt;m4&lt;/STRONG&gt; with &lt;STRONG&gt;JLink EDU (version 10)&lt;/STRONG&gt; with &lt;STRONG&gt;openocd&lt;/STRONG&gt;, and it detects everything similar like it detects it from the EVK.&lt;/P&gt;&lt;P&gt;NOTE: openocd supports &lt;STRONG&gt;imx8mq.cfg&lt;/STRONG&gt; but we have no other way to do it.&lt;/P&gt;&lt;P&gt;Here's the output of some commands :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;targets on openocd detects the 4 cores of A-53 and the m4 core:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="imx8-1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/94935iE5B841F82617447F/image-size/large?v=v2&amp;amp;px=999" role="button" title="imx8-1.png" alt="imx8-1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;reg showing registers too:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="imx8-3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/94486iECC56DADD80A8608/image-size/large?v=v2&amp;amp;px=999" role="button" title="imx8-3.png" alt="imx8-3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We think that the issue stopping the linux from detecting the USB ports is that the custom board's Cortex A53 has no bootloader.&lt;/P&gt;&lt;P&gt;We have generated an &lt;STRONG&gt;imx-boot&lt;/STRONG&gt; with &lt;STRONG&gt;Yocto&lt;/STRONG&gt; for iMX8 that contains:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ATF (Arm trusted firmware)&lt;/LI&gt;&lt;LI&gt;HDMI&lt;/LI&gt;&lt;LI&gt;DDR3L&lt;/LI&gt;&lt;LI&gt;...&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So we need to flash the imx-boot into the Cortex-A53 flash so that the USB can enumerate with the linux host or any other host.&lt;/P&gt;&lt;P&gt;We tried to load the imx-boot binary with openocd &lt;STRONG&gt;load_image&lt;/STRONG&gt; and it fails with this error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="load_error.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/94848iC723166641C907B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="load_error.png" alt="load_error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We do not have an idea on what address we should use either, we tried the Cortex A53 Boot ROM addresses from the datasheet too but we got the same error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="aaaa.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/94898i451768291CADFABE/image-size/large?v=v2&amp;amp;px=999" role="button" title="aaaa.png" alt="aaaa.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We know that the Cortex-M4 has no flash size, so it has to be into the Cortex-A53, but we need to find out how to install the imx-boot in there so that it can load the firmware and set it up for USB enumeration with any other host so that we can detect it with the toot : &lt;STRONG&gt;UUU (Universal Update Utility)&lt;/STRONG&gt; which we use for flashing the eMMC/SD like we're used to do with the EVK board.&lt;/P&gt;&lt;P&gt;We need an urgent help if possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2019 16:32:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MM-Custom-board-PROBLEM-URGENT/m-p/982909#M145973</guid>
      <dc:creator>houssem_chaaban</dc:creator>
      <dc:date>2019-11-27T16:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MM Custom board PROBLEM [URGENT]</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MM-Custom-board-PROBLEM-URGENT/m-p/982910#M145974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt; we found the solution for the custom board : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The USB was connected to &lt;STRONG&gt;USB 2&lt;/STRONG&gt; and we changed the hardware connection to &lt;STRONG&gt;USB 1&lt;/STRONG&gt; then we can detect the NXP board on our USB host machine&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Thank you ! &lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2019 14:13:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MM-Custom-board-PROBLEM-URGENT/m-p/982910#M145974</guid>
      <dc:creator>houssem_chaaban</dc:creator>
      <dc:date>2019-11-28T14:13:55Z</dc:date>
    </item>
  </channel>
</rss>

