S32G IPCF driver

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32G IPCF driver

1,396件の閲覧回数
piaochunri
Contributor II

 Hi experts,

I was debugging ipcf of A core in S32G399A and my bsp version is 41.0.Which version of ipc-shm should I choose?Thank you!

piaochunri_0-1726052935360.jpeg

 

0 件の賞賛
返信
5 返答(返信)

1,233件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

Hi, @piaochunri 

Seems this thread is similar to the other thread that my colleague already handled, then let's temporaly focus on that thread.

Thanks

 

BR

Chenyin

0 件の賞賛
返信

1,281件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

Hello, @piaochunri 

Thanks for the reply.

May I know if your ipc-shm-dev.ko and ipc-shm-sample.ko are compiled manually from the 4.10 code?

 

BR

Chenyin

0 件の賞賛
返信

1,280件の閲覧回数
piaochunri
Contributor II

Yes.I compled them manually and replaced the default ones in the kernal.

0 件の賞賛
返信

1,373件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

Hello, @piaochunri 

Thanks for your post.

The latest version of IPCF is 4.10, which is compatible with BSP40 according to the release notes, I suggest using the BSP40 for your test instead of BSP41(since it may be not fully tested and verified with BSP41).

Sorry for your inconvenience.

 

BR

Chenyin

0 件の賞賛
返信

1,329件の閲覧回数
piaochunri
Contributor II

Thank you !

And I have tried it according to your suggestions.I used bsp of version 40.0 and I downloaded the latest version of IPCF of version 4.10.Then I copied ipc-shm-dev.ko and ipc-shm-sample.ko into the self-developed board.And I ran the ko files.It seemed ok  when I ran ipc-shm-dev.ko but got errors when I ran ipc-shm-sample.ko.The log is as follows.Could you get something wrong?Thank you!

 

root@s32g399ardb3:/lib/modules/5.15.145-rt73+g3a3fafb13baa+p1/extra# insmod ipc-shm-dev.ko
root@s32g399ardb3:/lib/modules/5.15.145-rt73+g3a3fafb13baa+p1/extra# insmod ipc-shm-sample.ko
[ 7.709475] pfeng 46000000.pfe: HIF2 started
[ 7.810749] pfeng 46000000.pfe pfe2: PHY [PFEng Ethernet MDIO.2:03] driver [mv88Q2112] (irq=POLL)
[ 7.810772] pfeng 46000000.pfe pfe2: configuring for phy/rgmii-id link mode
[ 7.812674] pfeng 46000000.pfe: HIF1 started
[ 7.913881] pfeng 46000000.pfe pfe1: PHY [PFEng Ethernet MDIO.1:03] driver [mv88Q2112] (irq=POLL)
[ 7.913896] pfeng 46000000.pfe pfe1: configuring for phy/rgmii-id link mode
[ 7.915516] pfeng 46000000.pfe: HIF0 started
[ 7.915526] pfeng 46000000.pfe pfe0: configuring for fixed/sgmii link mode
[ 7.919301] pfeng 46000000.pfe pfe0: Link is Up - 1Gbps/Full - flow control off
[ 7.919351] IPv6: ADDRCONF(NETDEV_CHANGE): pfe0: link becomes ready
[ 10.009322] pfeng 46000000.pfe pfe1: Set TX clock to 125000000Hz
[ 10.009353] pfeng 46000000.pfe pfe1: Link is Up - 1Gbps/Full - flow control off
[ 10.009382] IPv6: ADDRCONF(NETDEV_CHANGE): pfe1: link becomes ready
[ 22.297196] pfeng 46000000.pfe pfe1: Link is Down
[ 23.321235] pfeng 46000000.pfe pfe1: Set TX clock to 125000000Hz
[ 23.321283] pfeng 46000000.pfe pfe1: Link is Up - 1Gbps/Full - flow control off
[ 41.273278] Internal error: synchronous external abort: 0000000096000210 [#1] PREEMPT SMP
[ 41.383287] Modules linked in: ipc_shm_sample(O+) ipc_shm_dev(O) pfeng(O) sja1110(O)
[ 41.391011] CPU: 1 PID: 385 Comm: insmod Tainted: G O 5.15.145-rt73+g3a3fafb13baa+p1 #1
[ 41.400296] Hardware name: NXP S32G399A-RDB3 (DT)
[ 41.404986] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 41.411927] pc : ipc_shm_init_instance.part.0+0x1cc/0xa30 [ipc_shm_dev]
[ 41.418524] lr : ipc_shm_init_instance.part.0+0x120/0xa30 [ipc_shm_dev]
[ 41.425122] sp : ffffffc00979b930
[ 41.428419] x29: ffffffc00979ba20 x28: ffffffc000991078 x27: ffffffc000989340
[ 41.435537] x26: 0000000000000000 x25: 0000000000000003 x24: ffffffc0009911d0
[ 41.442654] x23: 0000000000000000 x22: ffffffc0009910b0 x21: ffffffc000989340
[ 41.449772] x20: 0000000000000000 x19: 00000000000008d0 x18: ffffffffffffffff
[ 41.456889] x17: 0000000000000000 x16: ffffff88011340a0 x15: ffffffc08979b7bd
[ 41.464007] x14: 0000000000000001 x13: 007473696c5f7974 x12: 696e696666615f65
[ 41.471125] x11: 0000000000000040 x10: ffffffc008d91290 x9 : 0000000000000000
[ 41.478242] x8 : ffffff880123f600 x7 : 0000000000000009 x6 : 000000000000024e
[ 41.485360] x5 : ffffff880123f508 x4 : ffffff880123f2c8 x3 : ffffffc00b100008
[ 41.492478] x2 : ffffffc00b300008 x1 : ffffffc000991060 x0 : ffffffc000989340
[ 41.499596] Call trace:
[ 41.502027] ipc_shm_init_instance.part.0+0x1cc/0xa30 [ipc_shm_dev]
[ 41.508275] ipc_shm_init+0x90/0x100 [ipc_shm_dev]
[ 41.513049] sample_mod_init+0x24/0x1000 [ipc_shm_sample]
[ 41.518431] do_one_initcall+0x54/0x1c0
[ 41.522250] do_init_module+0x44/0x234
[ 41.525983] load_module+0x1fa4/0x27f0
[ 41.529715] __do_sys_finit_module+0xa8/0xf0
[ 41.533968] __arm64_sys_finit_module+0x20/0x30
[ 41.538482] invoke_syscall+0x48/0x114
[ 41.542214] el0_svc_common.constprop.0+0x44/0xfc
[ 41.546901] do_el0_svc+0x28/0xa0
[ 41.550200] el0_svc+0x28/0x80
[ 41.553237] el0t_64_sync_handler+0xa4/0x130
[ 41.557490] el0t_64_sync+0x1a0/0x1a4
[ 41.561141] Code: f94013e2 f9400821 a9018803 f9001801 (b9400041)
[ 41.567217] ---[ end trace 31c9084538bcb42f ]---
[ 42.567344] printk: enabled sync mode
[ 42.575253] printk: console [ttyLF0]: printing thread stopped

Message from syslogd@ at Thu Apr 28 18:07:37 2022 ...
: Code: f94013e2 f9400821 a9018803 f9001801 (b9400041)
Segmentation fault

Message from syslogd@ at Thu Apr 28 18:07:37 2022 ...
: Internal error: synchronous external abort: 0000000096000210 [#1] PREEMPT SMP

0 件の賞賛
返信