Before boot the Linux image, zero set the SRAM shared memory:
-dcache off
-mw.q 0x34000000 0x0 0x100000
UrikRodriguez_0-1677610557841.png
If this doesn't work, another suggestion is to use the BSP35 version:
NXP.COM:
-binaries_auto_linux_bsp35.0_s32r45.tgz
NXP REPOSITORIES:
-linux repository : remotes/github/release/bsp35.0-5.10.145-rt
-ipc-shm repository: remotes/Github/release/bsp35.0
In this version there is no need to change the ipc-os.c nor the ipc--uio.c files.
Also use the s32cc_defconfig instead of s32gen1_defconfig.
For the CROSS_COMPILE try with the aarch64-none-linux-gnu-
For the PLATFORM_FLAVOR try with s32g2
Let me know if you have any issue.