<?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: How to create a U-Boot image for an i.MX8M Plus that includes an M7 processor image?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-a-U-Boot-image-for-an-i-MX8M-Plus-that-includes-an/m-p/2028531#M233032</link>
    <description>&lt;P&gt;HI &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/80067"&gt;@rob_mclean&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;Thank you for contacting NXP Support!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately in iMX8MP SOC is not possible to compile a u-boot image with M core image embedded, It is possible in iMX8 but no in iMX8M.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can consult the chapter &lt;STRONG&gt;4.5.13 &lt;/STRONG&gt;of this &lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf" target="_self"&gt;guide.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can update your u-boot environment and create a command to run the M core before the Linux Image to avoid errors doing manually every time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Chavira&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2025 21:32:51 GMT</pubDate>
    <dc:creator>Chavira</dc:creator>
    <dc:date>2025-01-15T21:32:51Z</dc:date>
    <item>
      <title>How to create a U-Boot image for an i.MX8M Plus that includes an M7 processor image?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-a-U-Boot-image-for-an-i-MX8M-Plus-that-includes-an/m-p/2028407#M233027</link>
      <description>&lt;P&gt;I'm working on a project that is uses an i.MX8M Plus SOC on a Variscite SOM.&amp;nbsp; It uses the Android 14 release that comes mostly from NXP.&amp;nbsp; Our project also has a FreeRTOS app that runs on the M7 auxiliary processor in the SOC which communicates with our Android app.&lt;/P&gt;&lt;P&gt;We need the FreeRTOS app to be started by U-Boot so that it is running when the Android OS comes up.&amp;nbsp; At this stage of development starting that M7 FreeRTOS app from U-Boot is a manual process executed by the developer when booting the system. When we follow the manual process, everything works fine, but that manual process is tedious and error prone.&lt;/P&gt;&lt;P&gt;From what I've read on this link:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8-Boot-process-and-creating-a-bootable-image/ta-p/1101253" target="_self"&gt;i-MX8-Boot-process-and-creating-a-bootable-image&lt;/A&gt;&amp;nbsp;it seems like that manual process we follow to boot the M7 processor from U-boot could "just happen" if I could figure out how to add the M7 image to our U-Boot image.&amp;nbsp; From that link it seems like the command to use is something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;imx-mkimage -soc QM -rev B0 -append mx8qm-ahab-container.img -c -flags 0x00200000 -scfw scfw_tcm.bin -ap u-boot-atf.bin a53 0x80000000 -p3 -m4 m4_0_image.bin 0 0x34FE0000 -p4 -m4 m4_1_image.bin 1 0x38FE0000 -out flash.bin‍‍&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... maybe it should be without the "ahab" container, and be for different "-soc"&amp;nbsp; and "-rev" but maybe the "-m4" stuff is relevant but maybe the option should be "-m7".&lt;/P&gt;&lt;P&gt;However ...&lt;/P&gt;&lt;P&gt;What the Android build system ACTUALLY does is quite a bit different.&amp;nbsp; It does use code equivalent to the code in &lt;A href="https://github.com/nxp-imx/imx-mkimage" target="_self"&gt;this repository&lt;/A&gt;, but instead of building the "imx-mkimage" program, I see that it builds and runs something called "mkimage_imx8" in the "iMX8M" directory which seems to be tailored to the i.MX8M family.&amp;nbsp; When I read through the code for "mkimage_imx8" it seems like it doesn't support adding a container for M7 code.&lt;/P&gt;&lt;P&gt;That brings me back to the question in the subject.&amp;nbsp; Can it be done, and if so how?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 16:07:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-create-a-U-Boot-image-for-an-i-MX8M-Plus-that-includes-an/m-p/2028407#M233027</guid>
      <dc:creator>rob_mclean</dc:creator>
      <dc:date>2025-01-15T16:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a U-Boot image for an i.MX8M Plus that includes an M7 processor image?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-a-U-Boot-image-for-an-i-MX8M-Plus-that-includes-an/m-p/2028531#M233032</link>
      <description>&lt;P&gt;HI &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/80067"&gt;@rob_mclean&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;Thank you for contacting NXP Support!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately in iMX8MP SOC is not possible to compile a u-boot image with M core image embedded, It is possible in iMX8 but no in iMX8M.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can consult the chapter &lt;STRONG&gt;4.5.13 &lt;/STRONG&gt;of this &lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf" target="_self"&gt;guide.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can update your u-boot environment and create a command to run the M core before the Linux Image to avoid errors doing manually every time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 21:32:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-create-a-U-Boot-image-for-an-i-MX8M-Plus-that-includes-an/m-p/2028531#M233032</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2025-01-15T21:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a U-Boot image for an i.MX8M Plus that includes an M7 processor image?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-a-U-Boot-image-for-an-i-MX8M-Plus-that-includes-an/m-p/2029125#M233060</link>
      <description>Not the answer I was hoping for, but it does explain everything I'm seeing. Post COVID we are all experts at plan-B. I'm guessing it will probably something similar to what you describe with the u-boot environment.&lt;BR /&gt;&lt;BR /&gt;Thanks for the definitive response.&lt;BR /&gt;Rob</description>
      <pubDate>Thu, 16 Jan 2025 15:20:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-create-a-U-Boot-image-for-an-i-MX8M-Plus-that-includes-an/m-p/2029125#M233060</guid>
      <dc:creator>rob_mclean</dc:creator>
      <dc:date>2025-01-16T15:20:09Z</dc:date>
    </item>
  </channel>
</rss>

