<?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: [imx8qmmek][rpmsg][remoteproc] remoteproc and rpmsg fail. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8qmmek-rpmsg-remoteproc-remoteproc-and-rpmsg-fail/m-p/2147881#M239916</link>
    <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195089"&gt;@WolsYang&lt;/a&gt;&amp;nbsp;were you able to solve the second issue?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;-sh: echo: write error: Cannot allocate memory&lt;/PRE&gt;</description>
    <pubDate>Wed, 06 Aug 2025 23:23:54 GMT</pubDate>
    <dc:creator>bhupiister</dc:creator>
    <dc:date>2025-08-06T23:23:54Z</dc:date>
    <item>
      <title>[imx8qmmek][rpmsg][remoteproc] remoteproc and rpmsg fail.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qmmek-rpmsg-remoteproc-remoteproc-and-rpmsg-fail/m-p/1400571#M185923</link>
      <description>&lt;P&gt;I am trying to do remoteproc and rpmsg with&amp;nbsp;&lt;SPAN&gt;i.MX 8QMax MEK Linux Binary Demo files and i.MX Yocto Project User's Guide, Rev. LF5.10.72_2.2.0, 17 December 2021.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My M4 image is come from&amp;nbsp;Demo files/imx_mcore_demos/imx8qm_m4_TCM_hello_world_m40.bin &amp;amp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i.MX8QM-MEK-MCUSDK/m4/boards/mekmimx8qm/multicore_examples/rpmsg_lite_str_echo_rtos/cm4_core0/armgcc/debug/rpmsg_lite_str_echo_rtos_imxcm4_m40.elf&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And Linux image comming from Yocto version is&amp;nbsp;5.10.72-lts-5.10.y+ga68e31b63f86 :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$ DISTRO=fsl-imx-wayland MACHINE=imx8qmmek source  imx-setup-release.sh -b build
$ bitbake imx-image-full&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;===============================================================================&lt;/P&gt;&lt;P&gt;When I power on, M4 print hello world and keep go into Linux shell..&lt;/P&gt;&lt;P&gt;Then I do modprobe imx_rpmsg_tty and &lt;FONT size="5"&gt;&lt;STRONG&gt;fail&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@imx8qmmek:~# modprobe imx_rpmsg_tty
modprobe: FATAL: Module imx_rpmsg_tty not found in directory /lib/modules/5.10.72-lts-5.10.y+ga68e31b63f86&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Change M4 firmware through remotproc also &lt;FONT size="5"&gt;&lt;STRONG&gt;fail&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@imx8qmmek:~# cd /lib/firmware/
root@imx8qmmek:/lib/firmware# echo rpmsg_lite_str_echo_rtos_imxcm4_m40.elf &amp;gt; /sys/class/remoteproc/remoteproc0/firmware 
root@imx8qmmek:/lib/firmware# cat /sys/class/remoteproc/remoteproc0/firmware 
rpmsg_lite_str_echo_rtos_imxcm4_m40.elf
root@imx8qmmek:/lib/firmware# cat /sys/class/remoteproc/remoteproc0/state 
offline
root@imx8qmmek:/lib/firmware# echo start &amp;gt; /sys/class/remoteproc/remoteproc0/state &lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;[  869.481128] remoteproc remoteproc0: powering up imx-dsp-rproc
[  869.494189] remoteproc remoteproc0: Booting fw image rpmsg_lite_str_echo_rtos_imxcm4_m40.elf, size 512636
[  869.544564] remoteproc remoteproc0: Registered carveout doesn't fit da request
[  869.551943] remoteproc remoteproc0: Failed to process resources: -12
[  869.558636] remoteproc remoteproc0: Boot failed: -12
-sh: echo: write error: Cannot allocate memory&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;==============================================================================&lt;/P&gt;&lt;P&gt;This is dts I am use showing in uboot（u-boot =&amp;gt; printenv）.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fdt_file=imx8qm-mek-rpmsg.dtb&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I check the kernel config, it is already turn on rpmsg:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@imx8qmmek:/lib/firmware# uname -r
5.10.72-lts-5.10.y+ga68e31b63f86
root@imx8qmmek:/lib/firmware# zcat /proc/config.gz | grep -i rpmsg                                                                                                                                                 
CONFIG_KEYBOARD_RPMSG=y
CONFIG_GPIO_IMX_RPMSG=y
# CONFIG_REGULATOR_PF1550_RPMSG is not set
CONFIG_SND_SOC_FSL_RPMSG=y
CONFIG_SND_SOC_IMX_AUDIO_RPMSG=y
CONFIG_SND_SOC_IMX_PCM_RPMSG=y
CONFIG_SND_SOC_IMX_RPMSG=y
CONFIG_SND_SOC_RPMSG_WM8960=y
CONFIG_SND_SOC_RPMSG_WM8960_I2C=y
CONFIG_SND_SOC_RPMSG_AK4497=y
CONFIG_RTC_DRV_IMX_RPMSG=y
# CONFIG_CROS_EC_RPMSG is not set
# Rpmsg drivers
CONFIG_RPMSG=y
CONFIG_RPMSG_CHAR=y
CONFIG_RPMSG_CTRL=y
CONFIG_RPMSG_NS=y
CONFIG_RPMSG_QCOM_GLINK=y
CONFIG_RPMSG_QCOM_GLINK_RPM=y
CONFIG_RPMSG_VIRTIO=y
CONFIG_HAVE_IMX_RPMSG=y
CONFIG_IMX_RPMSG_PINGPONG=m
CONFIG_IMX_RPMSG_TTY=m
# end of Rpmsg drivers
CONFIG_RPMSG_LIFE_CYCLE=y&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 09:08:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qmmek-rpmsg-remoteproc-remoteproc-and-rpmsg-fail/m-p/1400571#M185923</guid>
      <dc:creator>WolsYang</dc:creator>
      <dc:date>2022-01-19T09:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: [imx8qmmek][rpmsg][remoteproc] remoteproc and rpmsg fail.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qmmek-rpmsg-remoteproc-remoteproc-and-rpmsg-fail/m-p/1401590#M185999</link>
      <description>&lt;P&gt;To fix the missing&amp;nbsp;imx_rpmsg_tty kernel module error :&lt;/P&gt;&lt;P&gt;Add this line to your layer.conf.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;IMAGE_INSTALL_append = "kernel-modules" &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think kernel modules should install automatically, but now just add it and fix the problem : )&lt;/P&gt;&lt;P&gt;The remoteproc still falling hopefully got good news soon : (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 09:18:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qmmek-rpmsg-remoteproc-remoteproc-and-rpmsg-fail/m-p/1401590#M185999</guid>
      <dc:creator>WolsYang</dc:creator>
      <dc:date>2022-01-19T09:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: [imx8qmmek][rpmsg][remoteproc] remoteproc and rpmsg fail.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qmmek-rpmsg-remoteproc-remoteproc-and-rpmsg-fail/m-p/2147881#M239916</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195089"&gt;@WolsYang&lt;/a&gt;&amp;nbsp;were you able to solve the second issue?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;-sh: echo: write error: Cannot allocate memory&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Aug 2025 23:23:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qmmek-rpmsg-remoteproc-remoteproc-and-rpmsg-fail/m-p/2147881#M239916</guid>
      <dc:creator>bhupiister</dc:creator>
      <dc:date>2025-08-06T23:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: [imx8qmmek][rpmsg][remoteproc] remoteproc and rpmsg fail.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qmmek-rpmsg-remoteproc-remoteproc-and-rpmsg-fail/m-p/2147917#M239917</link>
      <description>&lt;P&gt;No&amp;nbsp;&lt;BR /&gt;We didn't follow up this function&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 01:16:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qmmek-rpmsg-remoteproc-remoteproc-and-rpmsg-fail/m-p/2147917#M239917</guid>
      <dc:creator>WolsYang</dc:creator>
      <dc:date>2025-08-07T01:16:24Z</dc:date>
    </item>
  </channel>
</rss>

