<?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>Zephyr ProjectのトピックOpenAMP support for m33 core on i.mx93</title>
    <link>https://community.nxp.com/t5/Zephyr-Project/OpenAMP-support-for-m33-core-on-i-mx93/m-p/2116014#M351</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I know this question has already been asked here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Zephyr-Project/RPMsg-support-for-m33-core-on-i-mx93/m-p/2064979#M281" target="_blank"&gt;Solved: Re: RPMsg support for m33 core on i.mx93 - NXP Community &lt;/A&gt;&lt;/P&gt;&lt;P&gt;but I do not understand the accepted answer. In the NXP's Real-Time Edge software framework the RPSMG support is only listed for FreeRTOS.&lt;/P&gt;&lt;P&gt;The i.mx95 A7 core, however, has already been added lately &lt;A href="https://github.com/zephyrproject-rtos/zephyr/pull/86923" target="_blank"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/86923&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So my question is if NXP is planing to add also support for the m33. And if not what would be needed to add support manually?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jun 2025 09:12:01 GMT</pubDate>
    <dc:creator>tahrens</dc:creator>
    <dc:date>2025-06-13T09:12:01Z</dc:date>
    <item>
      <title>OpenAMP support for m33 core on i.mx93</title>
      <link>https://community.nxp.com/t5/Zephyr-Project/OpenAMP-support-for-m33-core-on-i-mx93/m-p/2116014#M351</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I know this question has already been asked here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Zephyr-Project/RPMsg-support-for-m33-core-on-i-mx93/m-p/2064979#M281" target="_blank"&gt;Solved: Re: RPMsg support for m33 core on i.mx93 - NXP Community &lt;/A&gt;&lt;/P&gt;&lt;P&gt;but I do not understand the accepted answer. In the NXP's Real-Time Edge software framework the RPSMG support is only listed for FreeRTOS.&lt;/P&gt;&lt;P&gt;The i.mx95 A7 core, however, has already been added lately &lt;A href="https://github.com/zephyrproject-rtos/zephyr/pull/86923" target="_blank"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/86923&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So my question is if NXP is planing to add also support for the m33. And if not what would be needed to add support manually?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 09:12:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Zephyr-Project/OpenAMP-support-for-m33-core-on-i-mx93/m-p/2116014#M351</guid>
      <dc:creator>tahrens</dc:creator>
      <dc:date>2025-06-13T09:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: OpenAMP support for m33 core on i.mx93</title>
      <link>https://community.nxp.com/t5/Zephyr-Project/OpenAMP-support-for-m33-core-on-i-mx93/m-p/2119047#M358</link>
      <description>&lt;P&gt;All zephyr IPC support here( Linux kernel OS on the main processor and a Zephyr application on the co-processor)&lt;BR /&gt;&lt;A href="https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/subsys/ipc/openamp_rsc_table/boards" target="_blank"&gt;https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/subsys/ipc/openamp_rsc_table/boards&lt;/A&gt;&lt;BR /&gt;Confirm from the internal team, this is no plan of supporting MPU cm33 now.&lt;BR /&gt;But I have send your requirement to the internal team, if there is any update will let you know.&lt;BR /&gt;I am sorry for that.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 04:08:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Zephyr-Project/OpenAMP-support-for-m33-core-on-i-mx93/m-p/2119047#M358</guid>
      <dc:creator>June_Lu</dc:creator>
      <dc:date>2025-06-19T04:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: OpenAMP support for m33 core on i.mx93</title>
      <link>https://community.nxp.com/t5/Zephyr-Project/OpenAMP-support-for-m33-core-on-i-mx93/m-p/2167583#M467</link>
      <description>&lt;P&gt;To enable inter-core communication between Linux (running on the A-core) and Zephyr (running on the M33 core), the recommended starting point is the &lt;A href="https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/subsys/ipc/openamp_rsc_table" target="_blank"&gt;openamp_rsc_table&lt;/A&gt; sample from Zephyr. &lt;BR /&gt;This sample leverages:&lt;BR /&gt;- OpenAMP on Zephyr&lt;BR /&gt;- remoteproc and rpmsg on Linux&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Prerequisites&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;U&gt;Linux setup&lt;/U&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Linux BSP: use NXP's official BSP&amp;nbsp; &lt;A href="https://github.com/nxp-imx/linux-imx/tree/lf-6.12.y" target="_blank"&gt;https://github.com/nxp-imx/linux-imx/tree/lf-6.12.y&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Device tree: use the `-rpmsg` variant, e.g. &lt;A href="https://community.nxp.com/github.com/nxp-imx/linux-imx/blob/lf-6.12.y/arch/arm64/boot/dts/freescale/imx93-11x11-evk-rpmsg.dts" target="_blank"&gt;imx93-11x11-evk-rpmsg.dts&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;U-Boot: run `prepare_mcore` before booting Linux&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;EM&gt;&lt;U&gt;Zephyr setup&lt;/U&gt;&lt;/EM&gt;&lt;U&gt; (M33 core)&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;To run the openamp_rsc_table sample successfully, shared memory between the host and remote cores must be defined using the `zephyr,ipc_shm` property in a DTS overlay.&lt;/P&gt;
&lt;P&gt;Next, add the MU node in &lt;A href="https://github.com/zephyrproject-rtos/zephyr/blob/main/dts/arm/nxp/nxp_imx93_m33.dtsi" target="_blank"&gt;nxp_imx93_m33.dtsi&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;```&lt;BR /&gt;mu1: mu1@44220000 {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; compatible = "nxp,imx-mu";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; reg = &amp;lt;0x44220000 DT_SIZE_K(64)&amp;gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; interrupts = &amp;lt;21 0&amp;gt;;&lt;/P&gt;
&lt;P&gt;};&lt;/P&gt;
&lt;P&gt;```&lt;/P&gt;
&lt;P&gt;Then, linker script update - add the resource table section in `linker.ld`:&lt;/P&gt;
&lt;P&gt;```&lt;/P&gt;
&lt;P&gt;#if defined(CONFIG_OPENAMP_RSC_TABLE)&lt;/P&gt;
&lt;P&gt;SECTIONS {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SECTION_PROLOGUE(.resource_table,, SUBALIGN(8)) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEEP(*(.resource_table*))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } GROUP_LINK_IN(ROMABLE_REGION)&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;#endif&lt;/P&gt;
&lt;P&gt;```&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Configuration adjustments for i.MX93&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The RX and TX IDs on i.MX93 differ from other boards. You must override the default values in the `.conf` overlay file:&lt;/P&gt;
&lt;P&gt;```&lt;/P&gt;
&lt;P&gt;CONFIG_IPM_IMX_MAX_DATA_SIZE_16=n&lt;/P&gt;
&lt;P&gt;CONFIG_IPM_IMX_MAX_DATA_SIZE_4=y&lt;/P&gt;
&lt;P&gt;CONFIG_OPENAMP_WITH_DCACHE=y&lt;/P&gt;
&lt;P&gt;CONFIG_LOG=y&lt;/P&gt;
&lt;P&gt;CONFIG_OPENAMP_RSC_TABLE_IPM_RX_ID=1&lt;/P&gt;
&lt;P&gt;CONFIG_OPENAMP_RSC_TABLE_IPM_TX_ID=0&lt;/P&gt;
&lt;P&gt;```&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Sample PRs&lt;/EM&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/subsys/ipc/openamp_rsc_table/boards" target="_blank"&gt;https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/subsys/ipc/openamp_rsc_table/boards&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://github.com/zephyrproject-rtos/zephyr/pull/86923" target="_blank"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/86923&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://github.com/zephyrproject-rtos/zephyr/pull/79220/commits" target="_blank"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/79220/commits&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;EM&gt;Linux patch requirement&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;For proper operation on i.MX93, apply the following Linux patch: &lt;A href="https://lore.kernel.org/imx/CAEnQRZDoYvK-YXLjqbXsRAWDkHrWNOoR1OCCWxs+AfNUDuPB_w@mail.gmail.com/T/" target="_blank"&gt;https://lore.kernel.org/imx/CAEnQRZDoYvK-YXLjqbXsRAWDkHrWNOoR1OCCWxs+AfNUDuPB_w@mail.gmail.com/T/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Final steps before execution&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Before launching the application:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Run `prepare_mcore` in U-Boot.&lt;/LI&gt;
&lt;LI&gt;Use the `-rpmsg` device tree blob.&lt;/LI&gt;
&lt;LI&gt;Follow the steps in the &lt;A href="https://www.nxp.com/docs/en/application-note/AN5317.pdf" target="_blank"&gt;Application Note AN5317&lt;/A&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Additional Resources&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;i.MX Linux User Guide - &lt;A href="https://www.nxp.com/docs/en/user-guide/UG10163.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/UG10163.pdf&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Application Note AN5317 - &lt;A href="https://www.nxp.com/docs/en/application-note/AN5317.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN5317.pdf&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Details on the remoteproc, rpmsg, mailbox, and OpenAMP frameworks. It includes examples on how to create the DTS and configuration overlays. Please note that this is specifically an example for the HiFi4 core from the i.MX 8M Plus &lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=JqwPljnm2_k&amp;amp;t=14s" target="_blank"&gt;https://www.youtube.com/watch?v=JqwPljnm2_k&amp;amp;t=14s&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;DTS API, on `zephyr,ipc_shm` - &lt;A href="https://github.com/zephyrproject-rtos/zephyr/blob/main/doc/build/dts/api/api.rst?plain=1#L421" target="_blank"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/main/doc/build/dts/api/api.rst?plain=1#L421&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 11 Sep 2025 07:55:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Zephyr-Project/OpenAMP-support-for-m33-core-on-i-mx93/m-p/2167583#M467</guid>
      <dc:creator>Iulia_Prodan</dc:creator>
      <dc:date>2025-09-11T07:55:55Z</dc:date>
    </item>
  </channel>
</rss>

