Hello all,
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:
- Environment:
- BSP Version: BSP 41 for the A-core (Almost IPCF version 4.9).
- M-core IPCF: Downloaded and installed IPCF version 4.10 for the M-core from the NXP portal.
- Initial Issue:
- After installing IPCF version 4.10 on the M-core, I followed the instructions in the IPCF_FreeRTOS_S32G399A_M7_0 example.
- However, when executing the last step (echo 10 > /sys/kernel/ipc-shm-sample/ping), I received an error:
Failed to get buffer for channel 1 - 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.
- Steps Taken:
- 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.
- 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.
- Current Issue:
- When attempting to load the newly compiled IPCF modules on the A-core, I encountered the following error:
root@s32g399ardb3:~# insmod ~/ipc-shm-dev.ko
insmod: ERROR: could not insert module /home/root/ipc-shm-dev.ko: Invalid module format
- I verified that the kernel version running on the board matches the version used to build the IPCF modules.
- Additional Details:
- The kernel version on the A-core is 5.15.153-rt75+gadceb7e8fa72.
- Here’s a summary of the files on the SD card and their locations:
root@s32g399ardb3:~# ls /run/media/boot_s32g3-mmcblk0p1/
Image s32g399a-rdb3.dtb s32g_pfe_class.fw
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
Given these details, I’m looking for guidance on resolving the "Invalid module format" error to enable IPCF 4.10 on both cores.
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?
If the issue with BSP 41, do you recommend another version of BSP? and then what version of IPCF should I use ?
Any insights on this issue would be highly appreciated. Thank you in advance!