<?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 IMX8ULP Recovery and Secondary boot clarification in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8ULP-Recovery-and-Secondary-boot-clarification/m-p/1917216#M226599</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I'm evaluating the recovery options on IMX8ULP-EVK board. Loading the M33 firmware can only be done by updating the imx-boot, updating it on a device in the field can be an issue if some kind of recovery option is not available.&lt;/P&gt;&lt;P&gt;Reading the IMX8ULPRM&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2024-07-25 14-28-27.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/290355i11BE215ACD04139E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot from 2024-07-25 14-28-27.png" alt="Screenshot from 2024-07-25 14-28-27.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot from 2024-07-25 14-28-27.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;With EMMC boot, I dd-ed the same imx-boot to mmcblk0boot0 and mmcblk0boot1. Rebooted the board and it was booting fine. Then I wrote zeroes to the mmcblk0boot0 (but first wrote 0 to force_ro), rebooted the board and it was also working great.&lt;BR /&gt;The u-boot log showed &lt;SPAN&gt;Boot Stage: Secondary boot which seems to be expected.&lt;BR /&gt;&lt;BR /&gt;But dd-ing imx-boot compiled with UBOOT_CONFIG = "fspi" option to the&amp;nbsp;/dev/mtdblock0&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;and zeroing out both&amp;nbsp;mmcblk0boot0 and&amp;nbsp;mmcblk0boot1, the board stopped booting.&lt;BR /&gt;&lt;BR /&gt;I wanted to clarify if I understood the table correctly, if the boot mode is set to EMMC can the BOOTROM boot from SPI NOR on LPSPI4/5 or is this only possible if the board is set to boot from SPI flash on FLEXSPI0.&lt;BR /&gt;&lt;BR /&gt;To put it differently, is it possible to mix Primary/Secondary boot sources with Recovery boot sources, for example&lt;BR /&gt;Primary/Secondary boot EMMC -&amp;gt; Recovery boot SPI and vice versa&lt;BR /&gt;&lt;BR /&gt;or is it only&lt;BR /&gt;&lt;BR /&gt;Primary/Secondary boot USDHC1/2 -&amp;gt; Recovery boot USDHC1 or&lt;BR /&gt;Primary/Secondary boot FlexSPI2 -&amp;gt; Recovery boot LPSPI4/5.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe I'm missing something like setting some fuses?&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Thank you very much,&lt;BR /&gt;Darko&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jul 2024 13:15:01 GMT</pubDate>
    <dc:creator>darko311</dc:creator>
    <dc:date>2024-07-25T13:15:01Z</dc:date>
    <item>
      <title>IMX8ULP Recovery and Secondary boot clarification</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8ULP-Recovery-and-Secondary-boot-clarification/m-p/1917216#M226599</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I'm evaluating the recovery options on IMX8ULP-EVK board. Loading the M33 firmware can only be done by updating the imx-boot, updating it on a device in the field can be an issue if some kind of recovery option is not available.&lt;/P&gt;&lt;P&gt;Reading the IMX8ULPRM&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2024-07-25 14-28-27.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/290355i11BE215ACD04139E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot from 2024-07-25 14-28-27.png" alt="Screenshot from 2024-07-25 14-28-27.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot from 2024-07-25 14-28-27.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;With EMMC boot, I dd-ed the same imx-boot to mmcblk0boot0 and mmcblk0boot1. Rebooted the board and it was booting fine. Then I wrote zeroes to the mmcblk0boot0 (but first wrote 0 to force_ro), rebooted the board and it was also working great.&lt;BR /&gt;The u-boot log showed &lt;SPAN&gt;Boot Stage: Secondary boot which seems to be expected.&lt;BR /&gt;&lt;BR /&gt;But dd-ing imx-boot compiled with UBOOT_CONFIG = "fspi" option to the&amp;nbsp;/dev/mtdblock0&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;and zeroing out both&amp;nbsp;mmcblk0boot0 and&amp;nbsp;mmcblk0boot1, the board stopped booting.&lt;BR /&gt;&lt;BR /&gt;I wanted to clarify if I understood the table correctly, if the boot mode is set to EMMC can the BOOTROM boot from SPI NOR on LPSPI4/5 or is this only possible if the board is set to boot from SPI flash on FLEXSPI0.&lt;BR /&gt;&lt;BR /&gt;To put it differently, is it possible to mix Primary/Secondary boot sources with Recovery boot sources, for example&lt;BR /&gt;Primary/Secondary boot EMMC -&amp;gt; Recovery boot SPI and vice versa&lt;BR /&gt;&lt;BR /&gt;or is it only&lt;BR /&gt;&lt;BR /&gt;Primary/Secondary boot USDHC1/2 -&amp;gt; Recovery boot USDHC1 or&lt;BR /&gt;Primary/Secondary boot FlexSPI2 -&amp;gt; Recovery boot LPSPI4/5.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe I'm missing something like setting some fuses?&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Thank you very much,&lt;BR /&gt;Darko&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 13:15:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8ULP-Recovery-and-Secondary-boot-clarification/m-p/1917216#M226599</guid>
      <dc:creator>darko311</dc:creator>
      <dc:date>2024-07-25T13:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8ULP Recovery and Secondary boot clarification</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8ULP-Recovery-and-Secondary-boot-clarification/m-p/1918364#M226663</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Yes, it is possible, and yes you'll need to blow fuse,&amp;nbsp;&lt;SPAN&gt;A35_RECOVERY_DEVICE_SELECT = 1, as this fuse will select the recovery port being used.&lt;BR /&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 21:07:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8ULP-Recovery-and-Secondary-boot-clarification/m-p/1918364#M226663</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2024-07-26T21:07:57Z</dc:date>
    </item>
  </channel>
</rss>

