Segmentation fault under A53 Linux by running sample.elf for communicating with M7 core

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Segmentation fault under A53 Linux by running sample.elf for communicating with M7 core

789 Views
fengxianeric
Contributor IV

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

 

0 Kudos
Reply
1 Reply

774 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

If the module that you have are from different kernel segmentation fault will find. No you are using ipfc with M7 than the resource appears busy when try to lead with the linux call.

Regards

 

0 Kudos
Reply