<?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 IMX7ULP Single Boot Operation in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX7ULP-Single-Boot-Operation/m-p/1449151#M189710</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have designed a custom board with IMX7ULP SoC. The board has the peripherals below:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;512MiB LPDDR3 16 bit.&lt;/LI&gt;&lt;LI&gt;eMMC 4GB is connected to uSHDC0 PORTD.&lt;/LI&gt;&lt;LI&gt;Murata WiFi module is connected to uSHDC1 PORTE.&lt;/LI&gt;&lt;LI&gt;MC34PF1550A4EP PMIC is connected to I2C3.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;My boot mode is fixed to the single boot mode via resistors.&lt;/P&gt;&lt;P&gt;As you can see, I do not have a QSPI flash on my board. This figure is taken from Reference Manual Pg:1466.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ibocakir06_1-1650967538146.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/178003i2D1F75F4BE310871/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ibocakir06_1-1650967538146.png" alt="ibocakir06_1-1650967538146.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have compiled my u-boot and downloaded it via the uuu tool in serial download mode. It works fine. I can reach eMMC with "mmc info" command. The next step I have to move on is booting the linux.&lt;/P&gt;&lt;P&gt;This is the .auto file I use in uuu.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;uuu_version 1.2.39

SDP: boot -f /home/myname/projects/IMX7ULP/u-boot-fslc/u-boot-dtb.imx -nojump
sdpu: delay 100
# SDP: write -f /home/myname/projects/IMX7ULP/linux-fslc/arch/arm/boot/uImage -addr 0x60800000
SDP: write -f /home/myname/projects/IMX7ULP/linux-fscl3/linux-fslc-5.15.x-fslc/arch/arm/boot/uImage -addr 0x60800000
# SDP: write -f /home/myname/projects/IMX7ULP/LF_v5.10.72-2.2.0_images_IMX7ULPEVK/uImage -addr 0x60800000
sdpu: delay 100
SDP: write -f /home/myname/projects/IMX7ULP/DTB/imx.dtb -addr 0x63000000
# SDP: write -f /home/myname/projects/IMX7ULP/LF_v5.10.72-2.2.0_images_IMX7ULPEVK/imx7ulp-evkb-lpuart.dtb -addr 0x63000000
sdpu: delay 100
SDP: write -f /home/myname/projects/IMX7ULP/LF_v5.10.72-2.2.0_images_IMX7ULPEVK/fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot -addr 0x63800000
# SDP: write -f /home/myname/projects/IMX7ULP/buildroot/output/images/rootfs.ext2.gz.uboot -addr 0x63800000
sdpu: delay 100
SDP: write -f /home/myname/projects/IMX7ULP/LF_v5.10.72-2.2.0_images_IMX7ULPEVK/imx7ulp_m4_demo.img -addr 0x62000000
sdpu: delay 100
SDP: jump -f /home/myname/projects/IMX7ULP/u-boot-fslc/u-boot-dtb.imx
# sdpu: delay 3000
FB: done&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I download the &lt;EM&gt;Kernel uImage&lt;/EM&gt; to the address &lt;STRONG&gt;0x60800000&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;I download the &lt;EM&gt;ramfs&lt;/EM&gt; to the address &lt;STRONG&gt;0x63800000&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;I download the &lt;EM&gt;device tree binary&lt;/EM&gt; file to the address &lt;STRONG&gt;0x63000000&lt;/STRONG&gt;.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Then I run the bootm command to boot from memory. However, the u-boot is stuck at "Starting Kernel".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ibocakir06_2-1650968146993.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/178007i97A95E19981BB331/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ibocakir06_2-1650968146993.png" alt="ibocakir06_2-1650968146993.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 1: I do nothing about M4 core. Do I have to initialize the M4 core in single boot mode?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If the answer of the question 1 is YES:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 2: How can I program M4? I did not expand the SWD pins of M4 out of the board. I can not reach BGA balls. Can I program M4 via u-boot? If yes, do I have to use bootaux command with the patch you mentioned below:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Add-bootaux-command-to-imx7ulp-u-boot/ta-p/1267176" target="_self"&gt;IMX7ULP Bootaux Patch to U-boot&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done this patch to the u-boot and followed the instructions. But the result is below. Resetting ...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ibocakir06_3-1650968525496.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/178009iD9B7DE89DC23218A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ibocakir06_3-1650968525496.png" alt="ibocakir06_3-1650968525496.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you give some detailed explanation about bootaux operation in u-boot?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 3: What can be the problem if it is not related to M4?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I think u-boot can not load the kernel to RAM. I have used older or newer versions of u-boot from fslc, the result is same.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is it about RAM size? or&lt;/LI&gt;&lt;LI&gt;Is it about PMIC? or&lt;/LI&gt;&lt;LI&gt;Is it about resetting the A7 core from M4?&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Or what can it be?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am forwarding your response.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2022 10:35:33 GMT</pubDate>
    <dc:creator>ibocakir06</dc:creator>
    <dc:date>2022-04-26T10:35:33Z</dc:date>
    <item>
      <title>IMX7ULP Single Boot Operation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7ULP-Single-Boot-Operation/m-p/1449151#M189710</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have designed a custom board with IMX7ULP SoC. The board has the peripherals below:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;512MiB LPDDR3 16 bit.&lt;/LI&gt;&lt;LI&gt;eMMC 4GB is connected to uSHDC0 PORTD.&lt;/LI&gt;&lt;LI&gt;Murata WiFi module is connected to uSHDC1 PORTE.&lt;/LI&gt;&lt;LI&gt;MC34PF1550A4EP PMIC is connected to I2C3.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;My boot mode is fixed to the single boot mode via resistors.&lt;/P&gt;&lt;P&gt;As you can see, I do not have a QSPI flash on my board. This figure is taken from Reference Manual Pg:1466.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ibocakir06_1-1650967538146.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/178003i2D1F75F4BE310871/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ibocakir06_1-1650967538146.png" alt="ibocakir06_1-1650967538146.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have compiled my u-boot and downloaded it via the uuu tool in serial download mode. It works fine. I can reach eMMC with "mmc info" command. The next step I have to move on is booting the linux.&lt;/P&gt;&lt;P&gt;This is the .auto file I use in uuu.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;uuu_version 1.2.39

SDP: boot -f /home/myname/projects/IMX7ULP/u-boot-fslc/u-boot-dtb.imx -nojump
sdpu: delay 100
# SDP: write -f /home/myname/projects/IMX7ULP/linux-fslc/arch/arm/boot/uImage -addr 0x60800000
SDP: write -f /home/myname/projects/IMX7ULP/linux-fscl3/linux-fslc-5.15.x-fslc/arch/arm/boot/uImage -addr 0x60800000
# SDP: write -f /home/myname/projects/IMX7ULP/LF_v5.10.72-2.2.0_images_IMX7ULPEVK/uImage -addr 0x60800000
sdpu: delay 100
SDP: write -f /home/myname/projects/IMX7ULP/DTB/imx.dtb -addr 0x63000000
# SDP: write -f /home/myname/projects/IMX7ULP/LF_v5.10.72-2.2.0_images_IMX7ULPEVK/imx7ulp-evkb-lpuart.dtb -addr 0x63000000
sdpu: delay 100
SDP: write -f /home/myname/projects/IMX7ULP/LF_v5.10.72-2.2.0_images_IMX7ULPEVK/fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot -addr 0x63800000
# SDP: write -f /home/myname/projects/IMX7ULP/buildroot/output/images/rootfs.ext2.gz.uboot -addr 0x63800000
sdpu: delay 100
SDP: write -f /home/myname/projects/IMX7ULP/LF_v5.10.72-2.2.0_images_IMX7ULPEVK/imx7ulp_m4_demo.img -addr 0x62000000
sdpu: delay 100
SDP: jump -f /home/myname/projects/IMX7ULP/u-boot-fslc/u-boot-dtb.imx
# sdpu: delay 3000
FB: done&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I download the &lt;EM&gt;Kernel uImage&lt;/EM&gt; to the address &lt;STRONG&gt;0x60800000&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;I download the &lt;EM&gt;ramfs&lt;/EM&gt; to the address &lt;STRONG&gt;0x63800000&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;I download the &lt;EM&gt;device tree binary&lt;/EM&gt; file to the address &lt;STRONG&gt;0x63000000&lt;/STRONG&gt;.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Then I run the bootm command to boot from memory. However, the u-boot is stuck at "Starting Kernel".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ibocakir06_2-1650968146993.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/178007i97A95E19981BB331/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ibocakir06_2-1650968146993.png" alt="ibocakir06_2-1650968146993.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 1: I do nothing about M4 core. Do I have to initialize the M4 core in single boot mode?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If the answer of the question 1 is YES:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 2: How can I program M4? I did not expand the SWD pins of M4 out of the board. I can not reach BGA balls. Can I program M4 via u-boot? If yes, do I have to use bootaux command with the patch you mentioned below:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Add-bootaux-command-to-imx7ulp-u-boot/ta-p/1267176" target="_self"&gt;IMX7ULP Bootaux Patch to U-boot&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done this patch to the u-boot and followed the instructions. But the result is below. Resetting ...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ibocakir06_3-1650968525496.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/178009iD9B7DE89DC23218A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ibocakir06_3-1650968525496.png" alt="ibocakir06_3-1650968525496.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you give some detailed explanation about bootaux operation in u-boot?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 3: What can be the problem if it is not related to M4?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I think u-boot can not load the kernel to RAM. I have used older or newer versions of u-boot from fslc, the result is same.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is it about RAM size? or&lt;/LI&gt;&lt;LI&gt;Is it about PMIC? or&lt;/LI&gt;&lt;LI&gt;Is it about resetting the A7 core from M4?&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Or what can it be?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am forwarding your response.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 10:35:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7ULP-Single-Boot-Operation/m-p/1449151#M189710</guid>
      <dc:creator>ibocakir06</dc:creator>
      <dc:date>2022-04-26T10:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: IMX7ULP Single Boot Operation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7ULP-Single-Boot-Operation/m-p/1452606#M189972</link>
      <description>&lt;P&gt;Any reply will be helpful.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 08:32:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7ULP-Single-Boot-Operation/m-p/1452606#M189972</guid>
      <dc:creator>ibocakir06</dc:creator>
      <dc:date>2022-05-04T08:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: IMX7ULP Single Boot Operation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7ULP-Single-Boot-Operation/m-p/1453397#M190013</link>
      <description>&lt;P&gt;For the M4 in the i.MX7ULP you can see the document.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 09:12:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7ULP-Single-Boot-Operation/m-p/1453397#M190013</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2022-05-05T09:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: IMX7ULP Single Boot Operation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7ULP-Single-Boot-Operation/m-p/1453726#M190047</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I mentioned before, I do not have QSPI flash placed on my board.&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Do I have to program M4 to boot Linux on A7?&lt;/LI&gt;&lt;LI&gt;If yes, how can I do it via u-boot without QSPI Flash?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 18:56:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7ULP-Single-Boot-Operation/m-p/1453726#M190047</guid>
      <dc:creator>ibocakir06</dc:creator>
      <dc:date>2022-05-05T18:56:30Z</dc:date>
    </item>
  </channel>
</rss>

