On m7 core side, already loaded IPCF_Example_S32G399_M7_0.bin under uboot,
dcache off
mw.q 0x34000000 0x0 0x100000
fatload mmc 0:1 0x80000000 IPCF_Example_S32G399_M7_0.bin
cp.q 0x80000000 0x34300000 0x60000
startm7 0x34381000
On a53 linux side, loaded kernel modules and run elf program,
root@s32g399ardb3:~/release0511/baremetal# lsmod
Module Size Used by
ipc_shm_uio 20480 0
ipc_shm_dev 40960 0
root@s32g399ardb3:~/release0511/baremetal# ./sample.elf
Segmentation fault