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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

776 次查看
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 项奖励
回复
1 回复

761 次查看
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 项奖励
回复