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

771件の閲覧回数
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 返信

756件の閲覧回数
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 件の賞賛
返信