<?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中的主题 Re: IPCF Compatibility Issue on S32G399A with BSP41: “Invalid Module Format” Error</title>
    <link>https://community.nxp.com/t5/S32G/IPCF-Compatibility-Issue-on-S32G399A-with-BSP41-Invalid-Module/m-p/1992795#M11686</link>
    <description>&lt;P&gt;hi,&lt;SPAN&gt;MohamedAbdelsla&lt;/SPAN&gt;&lt;WBR /&gt;&lt;SPAN&gt;m&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I used IPCF 4.9, BSP41 and IPCF_FreeRTOS_S32G399A_M7_0 demo for testing. No problems were found by referring to the description file. The operation method can be seen in the following figure. Please try to make sure that the M core and A core IPCF version is the same, about your BSP41 loading IPCF driver 4.10 problems, usually means that there is some kind of incompatibility between the module file and the kernel.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Joey_z_2-1731407606253.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310044iFA8D984850428511/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Joey_z_2-1731407606253.png" alt="Joey_z_2-1731407606253.png" /&gt;&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_0-1731407511310.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310042i2F3FAAE7CD07C11C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Joey_z_0-1731407511310.png" alt="Joey_z_0-1731407511310.png" /&gt;&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_1-1731407519252.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310043iF1CF6A1456EFFDAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Joey_z_1-1731407519252.png" alt="Joey_z_1-1731407519252.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
    <pubDate>Wed, 13 Nov 2024 02:57:55 GMT</pubDate>
    <dc:creator>Joey_z</dc:creator>
    <dc:date>2024-11-13T02:57:55Z</dc:date>
    <item>
      <title>IPCF Compatibility Issue on S32G399A with BSP41: “Invalid Module Format” Error</title>
      <link>https://community.nxp.com/t5/S32G/IPCF-Compatibility-Issue-on-S32G399A-with-BSP41-Invalid-Module/m-p/1990940#M11651</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I'm facing compatibility issues while trying to use IPCF on the S32G399A. Here are the details of my setup and the steps I followed:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;:&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;BSP Version&lt;/STRONG&gt;: BSP 41 for the A-core (Almost IPCF version 4.9).&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;M-core IPCF&lt;/STRONG&gt;: Downloaded and installed IPCF version 4.10 for the M-core from the NXP portal.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Initial Issue&lt;/STRONG&gt;:&lt;UL&gt;&lt;LI&gt;After installing IPCF version 4.10 on the M-core, I followed the instructions in the IPCF_FreeRTOS_S32G399A_M7_0 example.&lt;/LI&gt;&lt;LI&gt;However, when executing the last step (echo 10 &amp;gt; /sys/kernel/ipc-shm-sample/ping), I received an error:&lt;BR /&gt;&lt;STRONG&gt;Failed to get buffer&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;for&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;channel 1&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;I reached out to NXP support and was advised that the issue could be due to the version mismatch between IPCF 4.10 on the M-core and IPCF version on the A-core.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Steps Taken&lt;/STRONG&gt;:&lt;UL&gt;&lt;LI&gt;Following NXP's suggestion, I manually built the Linux kernel and IPCF version 4.10 on the A-core to ensure compatibility with the M-core.&lt;/LI&gt;&lt;LI&gt;After building, I copied the Linux image and IPCF modules (ipc-shm-dev.ko and ipc-shm-sample.ko) to the SD card’s boot partition.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Current Issue&lt;/STRONG&gt;:&lt;UL&gt;&lt;LI&gt;When attempting to load the newly compiled IPCF modules on the A-core, I encountered the following error:&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;PRE&gt;root@s32g399ardb3:~# insmod ~/ipc-shm-dev.ko
insmod: ERROR: could not insert module /home/root/ipc-shm-dev.ko: Invalid module format&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;&lt;UL&gt;&lt;LI&gt;I verified that the kernel version running on the board matches the version used to build the IPCF modules.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Additional Details&lt;/STRONG&gt;:&lt;UL&gt;&lt;LI&gt;The kernel version on the A-core is 5.15.153-rt75+gadceb7e8fa72.&lt;/LI&gt;&lt;LI&gt;Here’s a summary of the files on the SD card and their locations:&lt;BR /&gt;root@s32g399ardb3:~&lt;SPAN class=""&gt;# ls /run/media/boot_s32g3-mmcblk0p1/&lt;/SPAN&gt;&lt;BR /&gt;Image&amp;nbsp; s32g399a-rdb3.dtb&amp;nbsp; s32g_pfe_class.fw&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Aslo I tried to update IPCF verision on A core using Yocto and following instructions on readme file on ipc-shm repo but got the same errors&lt;/P&gt;&lt;P&gt;Given these details, I’m looking for guidance on resolving the "Invalid module format" error to enable IPCF 4.10 on both cores.&lt;BR /&gt;&lt;STRONG&gt;Additionally I want to know how to use IPCF version 4.9 on the M core As I did not find it on the NXP download center?&lt;/STRONG&gt;&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;If the issue with BSP 41, do you recommend another version of BSP? and then what version of IPCF should I use ?&lt;/STRONG&gt;&lt;BR /&gt;Any insights on this issue would be highly appreciated. Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 08:35:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/IPCF-Compatibility-Issue-on-S32G399A-with-BSP41-Invalid-Module/m-p/1990940#M11651</guid>
      <dc:creator>MohamedAbdelslam</dc:creator>
      <dc:date>2024-11-08T08:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: IPCF Compatibility Issue on S32G399A with BSP41: “Invalid Module Format” Error</title>
      <link>https://community.nxp.com/t5/S32G/IPCF-Compatibility-Issue-on-S32G399A-with-BSP41-Invalid-Module/m-p/1991782#M11665</link>
      <description>&lt;P&gt;hi,&lt;SPAN&gt;MohamedAbdelsla&lt;/SPAN&gt;&lt;WBR /&gt;&lt;SPAN&gt;m&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Access the Automotive Software Package Manager available under the Software section of the S32G product page (link:&lt;A href="https://www.nxp.com/app-autopackagemgr/software-package-manager:AUTO-SW-PACKAGE-MANAGER?currentTab=0&amp;amp;ticket=ST-404-f7Xg8f0GlUj0BYPs1zbEnJrqHJ4-www.nxp.com&amp;amp;ticket=ST-413-6MNo-GgHmSvCXOR2nCBauje56j0-www.nxp.com" target="_blank"&gt;Automotive Software Package Manager | NXP Semiconductors&lt;/A&gt; )&lt;/P&gt;
&lt;P&gt;Search for IPCF and download IPCF 4.9.0.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Joey_z_0-1731310754261.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309715i499822F16BBA5C36/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Joey_z_0-1731310754261.png" alt="Joey_z_0-1731310754261.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Your problem may be a version problem, I will further reproduce this problem, and help you solve this problem.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 07:47:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/IPCF-Compatibility-Issue-on-S32G399A-with-BSP41-Invalid-Module/m-p/1991782#M11665</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2024-11-11T07:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: IPCF Compatibility Issue on S32G399A with BSP41: “Invalid Module Format” Error</title>
      <link>https://community.nxp.com/t5/S32G/IPCF-Compatibility-Issue-on-S32G399A-with-BSP41-Invalid-Module/m-p/1991815#M11666</link>
      <description>Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/236188"&gt;@Joey_z&lt;/a&gt;&lt;BR /&gt;For Automotive Software Package Manager, i've requested downloading IPCF 4.9, however it usually takes time pending and give me rejected to download.&lt;BR /&gt;For my problem I already changed the default version of the IPCF on Linux image to be compatible with M core version as I explained in the question</description>
      <pubDate>Mon, 11 Nov 2024 08:29:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/IPCF-Compatibility-Issue-on-S32G399A-with-BSP41-Invalid-Module/m-p/1991815#M11666</guid>
      <dc:creator>MohamedAbdelslam</dc:creator>
      <dc:date>2024-11-11T08:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: IPCF Compatibility Issue on S32G399A with BSP41: “Invalid Module Format” Error</title>
      <link>https://community.nxp.com/t5/S32G/IPCF-Compatibility-Issue-on-S32G399A-with-BSP41-Invalid-Module/m-p/1991937#M11669</link>
      <description>&lt;P&gt;hi,&lt;SPAN&gt;MohamedAbdelsla&lt;/SPAN&gt;&lt;WBR /&gt;&lt;SPAN&gt;m&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your reply.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I'm trying to reproduce your question.&lt;/P&gt;
&lt;P&gt;In addition, you said that there were problems in downloading IPCF 4.9. In order to provide you with better support, could you please show me the specific rejection information?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 11:03:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/IPCF-Compatibility-Issue-on-S32G399A-with-BSP41-Invalid-Module/m-p/1991937#M11669</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2024-11-11T11:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: IPCF Compatibility Issue on S32G399A with BSP41: “Invalid Module Format” Error</title>
      <link>https://community.nxp.com/t5/S32G/IPCF-Compatibility-Issue-on-S32G399A-with-BSP41-Invalid-Module/m-p/1992795#M11686</link>
      <description>&lt;P&gt;hi,&lt;SPAN&gt;MohamedAbdelsla&lt;/SPAN&gt;&lt;WBR /&gt;&lt;SPAN&gt;m&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I used IPCF 4.9, BSP41 and IPCF_FreeRTOS_S32G399A_M7_0 demo for testing. No problems were found by referring to the description file. The operation method can be seen in the following figure. Please try to make sure that the M core and A core IPCF version is the same, about your BSP41 loading IPCF driver 4.10 problems, usually means that there is some kind of incompatibility between the module file and the kernel.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Joey_z_2-1731407606253.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310044iFA8D984850428511/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Joey_z_2-1731407606253.png" alt="Joey_z_2-1731407606253.png" /&gt;&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_0-1731407511310.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310042i2F3FAAE7CD07C11C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Joey_z_0-1731407511310.png" alt="Joey_z_0-1731407511310.png" /&gt;&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_1-1731407519252.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310043iF1CF6A1456EFFDAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Joey_z_1-1731407519252.png" alt="Joey_z_1-1731407519252.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 02:57:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/IPCF-Compatibility-Issue-on-S32G399A-with-BSP41-Invalid-Module/m-p/1992795#M11686</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2024-11-13T02:57:55Z</dc:date>
    </item>
  </channel>
</rss>

