<?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: Using rproc on the imx8mp in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Using-rproc-on-the-imx8mp/m-p/2298539#M243565</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/257951"&gt;@waker&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;Am I barking up the wrong tree with the device tree? What’s the “done” way?&lt;/STRONG&gt;&lt;BR /&gt;You’re correct: the done way is to enable the i.MX remoteproc node in the DT and reserve the memory regions used by the firmware and RPMsg (ITCM/DTCM or DDR, vrings, vdev buffer, optional resource table), and to wire up the mailboxes (MU) used by rpmsg‑virtio. The kernel rproc driver for i.MX ( imx-rproc ) expects these DT nodes; when present, you’ll see remoteproc0 under /sys/class/remoteproc/.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How do I get an overlay applied at Yocto build time?&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;You can follow the next guides to achieve that goal:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-Devshell-to-compile-device-tree-files/ta-p/1727428" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-Devshell-to-compile-device-tree-files/ta-p/1727428&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-compile-Linux-Kernel-Image-and-device-tree-using-Yocto/ta-p/2022759" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-compile-Linux-Kernel-Image-and-device-tree-using-Yocto/ta-p/2022759&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;My end goal is I build everything with Yocto, flash the image onto the board no further board interaction needed. Is this possible?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Yes, you can generate a proper patch according to your needs and apply the patch to yocto project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Is the imx linux rproc support doc mentions the rproc DTS node and the used memory nodes. Are these the only changes needed?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Yes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can check our demos and device tree of the iMX8MP-EVK board as a reference.&lt;/P&gt;
&lt;P&gt;To enable the virtual channel you have to install a kernel module in the system as we describe in our examples.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-mcuxpresso/legacy-mcux-sdk-examples/tree/main/evkmimx8mp/multicore_examples/rpmsg_lite_str_echo_rtos" target="_blank"&gt;https://github.com/nxp-mcuxpresso/legacy-mcux-sdk-examples/tree/main/evkmimx8mp/multicore_examples/rpmsg_lite_str_echo_rtos&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/blob/lf-6.12.y/arch/arm64/boot/dts/freescale/imx8mp-evk-rpmsg.dts" target="_blank"&gt;https://github.com/nxp-imx/linux-imx/blob/lf-6.12.y/arch/arm64/boot/dts/freescale/imx8mp-evk-rpmsg.dts&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Chavira&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jan 2026 18:33:02 GMT</pubDate>
    <dc:creator>Chavira</dc:creator>
    <dc:date>2026-01-22T18:33:02Z</dc:date>
    <item>
      <title>Using rproc on the imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-rproc-on-the-imx8mp/m-p/2297414#M243505</link>
      <description>&lt;P&gt;Hope you are well. This may be a bit of a sporadic set of questions but I'm new to Yocto and heterogeneous chips. Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;I'm using a &lt;A href="https://www.kontron.com/en/products/baseboard-bl-i.mx8m-plus/p186231" target="_blank" rel="noopener"&gt;Kontron baseboard&lt;/A&gt;&amp;nbsp;that uses a imx8mp. I've been able to get Yocto building and running on the A-cores off an SD card, likewise I have code running on the M-cores. The later was done though using u-Boot, and now I want to move that over to be rproc controlled with rpmsg capabilities.&lt;/P&gt;&lt;P&gt;I've enabled the drivers with menuconfig, and now when loading Linux I see the remoteproc folder in&amp;nbsp;sys/class/. However, it's empty. This I believe means that it's not enabled in the device tree. My understanding, correct me if I'm wrong, is I want to do these steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Modify device tree to reserve memory for the TCM (and enable mailboxes?).&lt;/LI&gt;&lt;LI&gt;Do this with an overlay instead of modify the dtb file that is pulled in.&lt;/LI&gt;&lt;LI&gt;Add this to the kernel build with a recipe/layer.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I've found this &lt;A href="https://docs.nxp.com/bundle/AN5317/page/topics/imx_linux_rproc_support.html" target="_self"&gt;imx linux rproc support&lt;/A&gt;&amp;nbsp;doc but it doesn't tell me how to load the overlay like described above or different.&lt;/P&gt;&lt;P&gt;My vague questions are:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Am I barking up the wrong tree in direction to the device tree? What's the "done" way?&lt;/LI&gt;&lt;LI&gt;My end goal is I build everything with Yocto, flash the image onto the board no further board interaction needed. Is this possible?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;More pointed questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;How do I get an overlay to be applied at Yocto build time?&lt;/LI&gt;&lt;LI&gt;Is the imx linux rproc support doc mentions the &lt;SPAN&gt;rproc DTS node and the used memory nodes. Are these the only changes needed?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2026 13:04:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-rproc-on-the-imx8mp/m-p/2297414#M243505</guid>
      <dc:creator>waker</dc:creator>
      <dc:date>2026-01-21T13:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using rproc on the imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-rproc-on-the-imx8mp/m-p/2298539#M243565</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/257951"&gt;@waker&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;Am I barking up the wrong tree with the device tree? What’s the “done” way?&lt;/STRONG&gt;&lt;BR /&gt;You’re correct: the done way is to enable the i.MX remoteproc node in the DT and reserve the memory regions used by the firmware and RPMsg (ITCM/DTCM or DDR, vrings, vdev buffer, optional resource table), and to wire up the mailboxes (MU) used by rpmsg‑virtio. The kernel rproc driver for i.MX ( imx-rproc ) expects these DT nodes; when present, you’ll see remoteproc0 under /sys/class/remoteproc/.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How do I get an overlay applied at Yocto build time?&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;You can follow the next guides to achieve that goal:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-Devshell-to-compile-device-tree-files/ta-p/1727428" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-Devshell-to-compile-device-tree-files/ta-p/1727428&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-compile-Linux-Kernel-Image-and-device-tree-using-Yocto/ta-p/2022759" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-compile-Linux-Kernel-Image-and-device-tree-using-Yocto/ta-p/2022759&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;My end goal is I build everything with Yocto, flash the image onto the board no further board interaction needed. Is this possible?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Yes, you can generate a proper patch according to your needs and apply the patch to yocto project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Is the imx linux rproc support doc mentions the rproc DTS node and the used memory nodes. Are these the only changes needed?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Yes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can check our demos and device tree of the iMX8MP-EVK board as a reference.&lt;/P&gt;
&lt;P&gt;To enable the virtual channel you have to install a kernel module in the system as we describe in our examples.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-mcuxpresso/legacy-mcux-sdk-examples/tree/main/evkmimx8mp/multicore_examples/rpmsg_lite_str_echo_rtos" target="_blank"&gt;https://github.com/nxp-mcuxpresso/legacy-mcux-sdk-examples/tree/main/evkmimx8mp/multicore_examples/rpmsg_lite_str_echo_rtos&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/blob/lf-6.12.y/arch/arm64/boot/dts/freescale/imx8mp-evk-rpmsg.dts" target="_blank"&gt;https://github.com/nxp-imx/linux-imx/blob/lf-6.12.y/arch/arm64/boot/dts/freescale/imx8mp-evk-rpmsg.dts&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Chavira&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 18:33:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-rproc-on-the-imx8mp/m-p/2298539#M243565</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2026-01-22T18:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using rproc on the imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-rproc-on-the-imx8mp/m-p/2302900#M243696</link>
      <description>&lt;P&gt;Thanks for the response, I have the device tree loading onto the system (the modified Kontron provided device tree attached). I can see this is the reserved-memory directory:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@kontron-mx8mp:~# ls /proc/device-tree/reserved-memory/
'#address-cells'   m4@0x10000000   m4@0x800000   name    '#size-cells'           vdev0vring1@55008000
 dsp@92400000      m4@0x7E0000     m4@80000000   ranges   vdev0vring0@55000000   vdevbuffer@55400000&lt;/LI-CODE&gt;&lt;P&gt;However, the remote proc directory (/sys/class/remoteproc/) is empty, and I've read this is a memory issue in the device tree. Any idea where I may have gone wrong?&lt;/P&gt;&lt;P&gt;It may also be worth mentioning I see the following on boot:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[   13.286497] remoteproc remoteproc0: releasing imx-rproc&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also trued using the &lt;A href="https://github.com/nxp-imx/linux-imx/blob/lf-6.12.y/arch/arm64/boot/dts/freescale/imx8mp-evk-rpmsg.dts" target="_self"&gt;provided&lt;/A&gt; evk rpmsg dts you mentioned, but to no avail. I'm getting the same issue.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 10:19:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-rproc-on-the-imx8mp/m-p/2302900#M243696</guid>
      <dc:creator>waker</dc:creator>
      <dc:date>2026-01-29T10:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using rproc on the imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-rproc-on-the-imx8mp/m-p/2302996#M243700</link>
      <description>I'm also seeing this on boot:&lt;BR /&gt;`[ 13.289371] platform imx8mp-cm7: deferred probe pending`&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jan 2026 11:28:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-rproc-on-the-imx8mp/m-p/2302996#M243700</guid>
      <dc:creator>waker</dc:creator>
      <dc:date>2026-01-29T11:28:35Z</dc:date>
    </item>
  </channel>
</rss>

