<?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: iMX8MP warm reboot in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-warm-reboot/m-p/1757306#M215734</link>
    <description>&lt;P&gt;Which version BSP are you using? Are you using the NXP reference board or the board you designed yourself?&lt;/P&gt;</description>
    <pubDate>Wed, 15 Nov 2023 04:33:24 GMT</pubDate>
    <dc:creator>Rita_Wang</dc:creator>
    <dc:date>2023-11-15T04:33:24Z</dc:date>
    <item>
      <title>iMX8MP warm reboot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-warm-reboot/m-p/1755736#M215575</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;We have a custom board with an iMX8MP processor.&amp;nbsp; Sometimes when doing a warm reset the board fails to boot.&amp;nbsp; This can either be a reset at the PMIC or using the Linux reboot command (watchdog reset).&lt;/P&gt;&lt;P&gt;When it fails to boot, u-boot SPL (inside imx-boot) reports:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Trying to boot from BOOTROM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Boot Stage: &lt;STRONG&gt;Recovery boot&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;image offset 0x8000, pagesize 0x200, ivt offset 0x0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;spl_romapi_raw_seekable_read Failure when load 0x63000, size 0xc3800&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;SPL: failed to boot from all boot devices&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Note "Boot Stage: Recovery boot".&amp;nbsp; For a normal/working boot it says "Primary boot"&lt;/P&gt;&lt;P&gt;Because the message is printed by u-boot SPL, the ROM has already successfully loaded the imx-boot image from the primary boot device (SD).&amp;nbsp; Looking at the code (arch/arm/mach-imx/spl_imx_romapi.c), it is attempting to ask the ROM to load the next stage and the ROM is not returning "success".&amp;nbsp; I have verified that the boot device, offset and size are the same in the working and non-working cases.&lt;/P&gt;&lt;P&gt;Also, with additional debugging, I can see that one read requests made to the ROM works before the one that fails:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;spl_romapi_raw_seekable_read 0x60000, size 0x3000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;spl_romapi_raw_seekable_read ROM returned f0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;spl_romapi_raw_seekable_read 0x63000, size 0xc3800&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;spl_romapi_raw_seekable_read ROM returned 2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;What is recovery boot and what causes the device to do enter that stage?&lt;/P&gt;&lt;P&gt;Where can I find information on the ROM interface being used by the u-boot code?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Steve&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 18:11:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-warm-reboot/m-p/1755736#M215575</guid>
      <dc:creator>sschefter</dc:creator>
      <dc:date>2023-11-10T18:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MP warm reboot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-warm-reboot/m-p/1757306#M215734</link>
      <description>&lt;P&gt;Which version BSP are you using? Are you using the NXP reference board or the board you designed yourself?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 04:33:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-warm-reboot/m-p/1757306#M215734</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2023-11-15T04:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MP warm reboot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-warm-reboot/m-p/1757780#M215770</link>
      <description>&lt;P&gt;Hi Rita.&lt;/P&gt;&lt;P&gt;This is a custom board with an iMX8MP processor.&amp;nbsp; Specifically, it is the Variscite iMX8MP SoM on a custom carrier board.&lt;/P&gt;&lt;P&gt;The BSP is from Variscite and based on the NXP kirkstone 5.15.52-2.1.0 release.&lt;/P&gt;&lt;P&gt;Note that my questions are regarding the ROM interface to the iMX8MP, so not specific to a particular BSP.&amp;nbsp; I'm looking for information on the ROM interface generally, but most importantly what causes the ROM to report that it is performing a Recovery boot and how that differs from the Primary boot stage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Steve&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 17:27:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-warm-reboot/m-p/1757780#M215770</guid>
      <dc:creator>sschefter</dc:creator>
      <dc:date>2023-11-15T17:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MP warm reboot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-warm-reboot/m-p/1758014#M215797</link>
      <description>&lt;P&gt;What is the boot mode setting in your board? We do not met the problem in our side.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 03:12:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-warm-reboot/m-p/1758014#M215797</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2023-11-16T03:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MP warm reboot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-warm-reboot/m-p/1759848#M215996</link>
      <description>&lt;P&gt;Hi Rita.&lt;/P&gt;&lt;P&gt;The boot mode is USDHC2 to an SD card.&amp;nbsp; It doesn't seem to happen with a USDHC3 to eMMC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Steve&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 11:58:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-warm-reboot/m-p/1759848#M215996</guid>
      <dc:creator>sschefter</dc:creator>
      <dc:date>2023-11-20T11:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MP warm reboot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-warm-reboot/m-p/1760290#M216041</link>
      <description>&lt;P&gt;Just happen on the SD card boot situation? For the emmc it can work well?&lt;/P&gt;
&lt;P&gt;If yes, I will try the some BSP on our reference board and tell you the result.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 03:00:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-warm-reboot/m-p/1760290#M216041</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2023-11-21T03:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MP warm reboot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-warm-reboot/m-p/1760816#M216097</link>
      <description>&lt;P&gt;Yes, that's correct.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 13:45:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-warm-reboot/m-p/1760816#M216097</guid>
      <dc:creator>sschefter</dc:creator>
      <dc:date>2023-11-21T13:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8MP warm reboot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-warm-reboot/m-p/1764139#M216415</link>
      <description>&lt;P&gt;Hi Rita.&lt;/P&gt;&lt;P&gt;Any update on this?&lt;/P&gt;&lt;P&gt;Note that while a solution to the reboot problem would be great, my posting is really about getting details on the ROM interface and the boot stages.&amp;nbsp; Do you have any information on that?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Steve&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 14:50:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8MP-warm-reboot/m-p/1764139#M216415</guid>
      <dc:creator>sschefter</dc:creator>
      <dc:date>2023-11-27T14:50:51Z</dc:date>
    </item>
  </channel>
</rss>

