<?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 [imx8qxp] Boot from SD fail. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8qxp-Boot-from-SD-fail/m-p/1453336#M190007</link>
    <description>&lt;DIV&gt;Hi NXP,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We build our custom imx8qxp bord according to&amp;nbsp; imx8qxpc0mek, but fail to boot from SD card, also the serial download to SD is fail too.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;We use&amp;nbsp;&amp;nbsp;&lt;FONT face="Calibri,sans-serif"&gt;MT53B768M32D4DT-062 AIT:B for DDR4, but I think it is not a problem.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The SD card circuit is as&amp;nbsp;imx8qxpc0mek, see the file.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;Here is the step that we do:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;OL&gt;&lt;LI&gt;we try uuu -b sd_all the image below on our board&lt;BR /&gt;&lt;EM&gt;imx-image-multimedia-imx8qxpc0mek.wic&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;imx-boot-imx8qxpc0mek-sd.bin-flash_linux_m4&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;imx-image-full-imx8qxpc0mek.wic&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;which downloads from&amp;nbsp;&lt;BR /&gt;&lt;A href="https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/i-mx-8quadxplus-multisensory-enablement-kit-mek:MCIMX8QXP-CPU" target="_blank" rel="noopener"&gt;https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/i-mx-8quadxplus-multisensory-enablement-kit-mek:MCIMX8QXP-CPU &lt;/A&gt;&lt;BR /&gt;（Full log please see ubootLog file）&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&amp;nbsp;## Checking Image at 83100000 ...&lt;BR /&gt;Unknown image format!&lt;BR /&gt;Run fastboot ...&lt;BR /&gt;auto usb 0&lt;BR /&gt;Detect USB boot. Will enter fastboot mode!&lt;BR /&gt;flash target is MMC:1&lt;BR /&gt;MMC: no card present&lt;BR /&gt;MMC card init failed!&lt;BR /&gt;MMC: no card present&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;2. &lt;SPAN&gt;uuu -b sd_all make a bootable SD card on imx8qxpc0mek.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;And test it on&amp;nbsp;imx8qxpc0mek is OK.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Move this SD card to our board, and the error is shown below.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Normal Boot&lt;/DIV&gt;&lt;DIV&gt;Trying to boot from MMC2_2&lt;/DIV&gt;&lt;DIV&gt;MMC: no card present&lt;/DIV&gt;&lt;DIV&gt;spl: mmc init failed with error: -123&lt;/DIV&gt;&lt;DIV&gt;SPL: failed to boot from all boot devices&lt;/DIV&gt;&lt;DIV&gt;### ERROR ### Please RESET the board ###&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;Is there any way I can fix it?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 05 May 2022 07:52:18 GMT</pubDate>
    <dc:creator>WolsYang</dc:creator>
    <dc:date>2022-05-05T07:52:18Z</dc:date>
    <item>
      <title>[imx8qxp] Boot from SD fail.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qxp-Boot-from-SD-fail/m-p/1453336#M190007</link>
      <description>&lt;DIV&gt;Hi NXP,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We build our custom imx8qxp bord according to&amp;nbsp; imx8qxpc0mek, but fail to boot from SD card, also the serial download to SD is fail too.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;We use&amp;nbsp;&amp;nbsp;&lt;FONT face="Calibri,sans-serif"&gt;MT53B768M32D4DT-062 AIT:B for DDR4, but I think it is not a problem.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The SD card circuit is as&amp;nbsp;imx8qxpc0mek, see the file.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;Here is the step that we do:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;OL&gt;&lt;LI&gt;we try uuu -b sd_all the image below on our board&lt;BR /&gt;&lt;EM&gt;imx-image-multimedia-imx8qxpc0mek.wic&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;imx-boot-imx8qxpc0mek-sd.bin-flash_linux_m4&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;imx-image-full-imx8qxpc0mek.wic&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;which downloads from&amp;nbsp;&lt;BR /&gt;&lt;A href="https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/i-mx-8quadxplus-multisensory-enablement-kit-mek:MCIMX8QXP-CPU" target="_blank" rel="noopener"&gt;https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/i-mx-8quadxplus-multisensory-enablement-kit-mek:MCIMX8QXP-CPU &lt;/A&gt;&lt;BR /&gt;（Full log please see ubootLog file）&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&amp;nbsp;## Checking Image at 83100000 ...&lt;BR /&gt;Unknown image format!&lt;BR /&gt;Run fastboot ...&lt;BR /&gt;auto usb 0&lt;BR /&gt;Detect USB boot. Will enter fastboot mode!&lt;BR /&gt;flash target is MMC:1&lt;BR /&gt;MMC: no card present&lt;BR /&gt;MMC card init failed!&lt;BR /&gt;MMC: no card present&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;2. &lt;SPAN&gt;uuu -b sd_all make a bootable SD card on imx8qxpc0mek.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;And test it on&amp;nbsp;imx8qxpc0mek is OK.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Move this SD card to our board, and the error is shown below.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Normal Boot&lt;/DIV&gt;&lt;DIV&gt;Trying to boot from MMC2_2&lt;/DIV&gt;&lt;DIV&gt;MMC: no card present&lt;/DIV&gt;&lt;DIV&gt;spl: mmc init failed with error: -123&lt;/DIV&gt;&lt;DIV&gt;SPL: failed to boot from all boot devices&lt;/DIV&gt;&lt;DIV&gt;### ERROR ### Please RESET the board ###&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV&gt;Is there any way I can fix it?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 05 May 2022 07:52:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qxp-Boot-from-SD-fail/m-p/1453336#M190007</guid>
      <dc:creator>WolsYang</dc:creator>
      <dc:date>2022-05-05T07:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: [imx8qxp] Boot from SD fail.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qxp-Boot-from-SD-fail/m-p/1453378#M190010</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;WolsYang&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working a custom board with an iMX8MN proccesor similar to yours, at least in the family and I've felt the same errors that you in the past.&lt;/P&gt;&lt;P&gt;The first thing to do is validated your DDR with the DDR Stress tool from NXP and generated the timming files for Uboot, without them it doens't work, at least that you're using exactly the same DDR4 than the evalution board, and layout and stack-up must be the same. So I supposed you're in the opposite state and then you've to calibrate your RAM.&lt;/P&gt;&lt;P&gt;After calibrate it, you've to edit some uboot parameters such DDR Size in the &lt;EM&gt;imx8qxpc0mek-evk&lt;/EM&gt;.h and also in the DTS and DTSI to UBOOT and Kernel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then the if you've done it, the uboot will boot and the kernel will load and hopefully your system will run.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jorge.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 08:51:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qxp-Boot-from-SD-fail/m-p/1453378#M190010</guid>
      <dc:creator>decastro_25</dc:creator>
      <dc:date>2022-05-05T08:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: [imx8qxp] Boot from SD fail.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qxp-Boot-from-SD-fail/m-p/1454078#M190064</link>
      <description>&lt;P&gt;In my case&amp;nbsp; change u-boot dts,&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;cd-gpios = &amp;lt;&amp;amp;gpio4 22 GPIO_ACTIVE_LOW&amp;gt;;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;to&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;cd-gpios = &amp;lt;&amp;amp;gpio4 22 GPIO_ACTIVE_HIGH&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;I have no idea but there should have some different circuits between my and NXP's, and not show on SD page.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 08:45:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qxp-Boot-from-SD-fail/m-p/1454078#M190064</guid>
      <dc:creator>WolsYang</dc:creator>
      <dc:date>2022-05-06T08:45:27Z</dc:date>
    </item>
  </channel>
</rss>

