<?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>S32Gのトピックipc shm sample driver loading failure</title>
    <link>https://community.nxp.com/t5/S32G/ipc-shm-sample-driver-loading-failure/m-p/2190759#M15319</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/236188"&gt;@Joey_z&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We are using s32g3 rdb2 evaluation. the goal is to establish IPCF communication between the M7 and A53 cores.&lt;BR /&gt;The M7 firmware is loaded by stopping the A53 U-boot, loading the firmware in sram and start the firmware. The boot the a53 core.&amp;nbsp; Upto this steps are done.&lt;/P&gt;&lt;P&gt;After that, I tried loading the IPCF drivers on the A53 side by following the steps from the S32DS M7 IPCF example documentation.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Niranj_369_0-1761133294436.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/362112iC4611172A2755BFD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Niranj_369_0-1761133294436.png" alt="Niranj_369_0-1761133294436.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ipc-shm-dev.ko module loads successfully, though it logs the expected warning:&lt;/P&gt;&lt;P&gt;[ 42.983443] ipc_shm_dev: loading out-of-tree module taints kernel.&lt;/P&gt;&lt;P&gt;However, when I try to load ipc-shm-sample.ko, it fails with a synchronous external abort.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sc1.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/362118i8B232E19339A2C5E/image-size/large?v=v2&amp;amp;px=999" role="button" title="sc1.png" alt="sc1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For reference, I built the drivers from the SW32G_IPCF_4.10.0_D2405 branch against our current kernel version (6.6), and the M7 core is running IPCF firmware version 4.10.0.&lt;BR /&gt;&lt;BR /&gt;Could you please help me identify what might be causing the crash or suggest a fix?&lt;/P&gt;</description>
    <pubDate>Wed, 22 Oct 2025 11:44:48 GMT</pubDate>
    <dc:creator>Niranj_369</dc:creator>
    <dc:date>2025-10-22T11:44:48Z</dc:date>
    <item>
      <title>ipc shm sample driver loading failure</title>
      <link>https://community.nxp.com/t5/S32G/ipc-shm-sample-driver-loading-failure/m-p/2190759#M15319</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/236188"&gt;@Joey_z&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We are using s32g3 rdb2 evaluation. the goal is to establish IPCF communication between the M7 and A53 cores.&lt;BR /&gt;The M7 firmware is loaded by stopping the A53 U-boot, loading the firmware in sram and start the firmware. The boot the a53 core.&amp;nbsp; Upto this steps are done.&lt;/P&gt;&lt;P&gt;After that, I tried loading the IPCF drivers on the A53 side by following the steps from the S32DS M7 IPCF example documentation.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Niranj_369_0-1761133294436.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/362112iC4611172A2755BFD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Niranj_369_0-1761133294436.png" alt="Niranj_369_0-1761133294436.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ipc-shm-dev.ko module loads successfully, though it logs the expected warning:&lt;/P&gt;&lt;P&gt;[ 42.983443] ipc_shm_dev: loading out-of-tree module taints kernel.&lt;/P&gt;&lt;P&gt;However, when I try to load ipc-shm-sample.ko, it fails with a synchronous external abort.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sc1.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/362118i8B232E19339A2C5E/image-size/large?v=v2&amp;amp;px=999" role="button" title="sc1.png" alt="sc1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For reference, I built the drivers from the SW32G_IPCF_4.10.0_D2405 branch against our current kernel version (6.6), and the M7 core is running IPCF firmware version 4.10.0.&lt;BR /&gt;&lt;BR /&gt;Could you please help me identify what might be causing the crash or suggest a fix?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 11:44:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/ipc-shm-sample-driver-loading-failure/m-p/2190759#M15319</guid>
      <dc:creator>Niranj_369</dc:creator>
      <dc:date>2025-10-22T11:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: ipc shm sample driver loading failure</title>
      <link>https://community.nxp.com/t5/S32G/ipc-shm-sample-driver-loading-failure/m-p/2190818#M15320</link>
      <description>&lt;P&gt;&lt;!--  StartFragment   --&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm building the IPCF drivers separately(using source from nxp's repo) against the kernel source corresponding to the Yocto bsp 43.0(the one we are using). Although the ipc-shm recipe is available in NXP's nxp_auto_linux repository, attempting to build it through Yocto(bitbake command) results in a series of errors, one after another. Due to these issues, I've opted to compile the modules manually outside the Yocto build system.&lt;/P&gt;&lt;P&gt;&lt;!--  EndFragment   --&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 13:33:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/ipc-shm-sample-driver-loading-failure/m-p/2190818#M15320</guid>
      <dc:creator>Niranj_369</dc:creator>
      <dc:date>2025-10-22T13:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: ipc shm sample driver loading failure</title>
      <link>https://community.nxp.com/t5/S32G/ipc-shm-sample-driver-loading-failure/m-p/2191069#M15326</link>
      <description>&lt;P&gt;hi,&lt;SPAN&gt;Niranj_369&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your information.&lt;/P&gt;
&lt;P&gt;1.I'm building the IPCF drivers separately(using source from nxp's repo) against the kernel source corresponding to the Yocto bsp 43.0(the one we are using).&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; Do you have changed the kernal Image/dtb to BSP43? Make sure has the same kernel version for IPCF. You can try to test it.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 02:00:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/ipc-shm-sample-driver-loading-failure/m-p/2191069#M15326</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2025-10-23T02:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: ipc shm sample driver loading failure</title>
      <link>https://community.nxp.com/t5/S32G/ipc-shm-sample-driver-loading-failure/m-p/2191703#M15339</link>
      <description>&lt;P&gt;&lt;!-- StartFragment  --&gt;&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/236188"&gt;@Joey_z&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;We built the drivers from the Yocto source, but the issue still persists.&lt;BR /&gt;Next, we rebuilt BSP 40 along with the driver and attempted to load it. However, we encountered the following error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sc3.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/362369iF3E77C69D79EDDD9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sc3.png" alt="sc3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q1:&lt;/STRONG&gt; Does the M7 firmware need to be loaded before the driver can be successfully loaded?&lt;BR /&gt;&lt;STRONG&gt;Q2:&lt;/STRONG&gt; Which of the following drivers should be loaded, considering we're using the IPCF_baremetal firmware (not the multi-instance variant)?&lt;BR /&gt; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sc4.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/362370i68D6B40047AB2EFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="sc4.png" alt="sc4.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;STRONG&gt;Q3:&lt;/STRONG&gt; What is the root cause of the error we’re seeing, and how can we resolve it?&lt;/P&gt;&lt;P&gt;&lt;!-- EndFragment  --&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 16:25:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/ipc-shm-sample-driver-loading-failure/m-p/2191703#M15339</guid>
      <dc:creator>Niranj_369</dc:creator>
      <dc:date>2025-10-23T16:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: ipc shm sample driver loading failure</title>
      <link>https://community.nxp.com/t5/S32G/ipc-shm-sample-driver-loading-failure/m-p/2192153#M15341</link>
      <description>&lt;P&gt;hi,&lt;SPAN&gt;Niranj_369&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your reply.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Q1:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;Does the M7 firmware need to be loaded before the driver can be successfully loaded?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;Yes, you need to&lt;SPAN&gt;&amp;nbsp;load M7 firmware before load the IPCF driver in kernel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Q2:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;Which of the following drivers should be loaded, considering we're using the IPCF_baremetal firmware (not the multi-instance variant)?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;The IPCF driver should match the M7 IPCF application, you can choice the M7 application of sample and multi_instance.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Joey_z_1-1761271230822.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/362412iA706A79359E81049/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Joey_z_1-1761271230822.png" alt="Joey_z_1-1761271230822.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Q3:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;What is the root cause of the error we’re seeing, and how can we resolve it?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt;You should make sure you have the correct M7 application using.&amp;nbsp; Also, you should have the correct sequence for loading driver of IPCF in kernel. Like the sample driver, you should add the ipc-shm-dev.ko and ipc-shm-sample.ko.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Joey_z_2-1761271642661.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/362415i65D534BA49F273A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Joey_z_2-1761271642661.png" alt="Joey_z_2-1761271642661.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope this can help you.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 02:10:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/ipc-shm-sample-driver-loading-failure/m-p/2192153#M15341</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2025-10-24T02:10:16Z</dc:date>
    </item>
  </channel>
</rss>

