S32G2 Run the application on S32G-VNP-RDB2 ERROR

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

S32G2 Run the application on S32G-VNP-RDB2 ERROR

770件の閲覧回数
lion_6
Contributor I

I strictly follow "AN13750" for operation, and the software versions are also the same. When executing to the position shown in the figure below, an error occurred:


s32g274ardb2 login: root
root@s32g274ardb2:~#
root@s32g274ardb2:~# ls
root@s32g274ardb2:~# mkdir ipc
root@s32g274ardb2:~# mount /dev/mmcblk0p1 ./ipc
root@s32g274ardb2:~# cp ./ipc/ipc-shm-* ~
root@s32g274ardb2:~# umount ./ipc
root@s32g274ardb2:~# ls
ipc ipc-shm-dev.ko ipc-shm-sample_multi-instance.ko
root@s32g274ardb2:~# insmod ipc-shm-dev.ko
root@s32g274ardb2:~# insmod ipc-shm-sample_multi-instance.ko
[ 5.794884] random: crng init done
[ 88.424323] ipc_shm_dev: loading out-of-tree module taints kernel.
[ 98.673057] SError Interrupt on CPU3, code 0xbf000002 -- SError
[ 98.673081] CPU: 3 PID: 463 Comm: insmod Tainted: G O 5.10.109-rt65 #1
[ 98.673089] Hardware name: NXP S32G274A-RDB2 (DT)
[ 98.673094] pstate: 60000005 (nZCv daif -PAN -UAO -TCO BTYPE=--)
[ 98.673102] pc : ipc_shm_init+0x338/0x840 [ipc_shm_dev]
[ 98.673124] lr : ipc_shm_init+0x118/0x840 [ipc_shm_dev]
[ 98.673140] sp : ffffffc013e139b0
[ 98.673143] x29: ffffffc013e139b0 x28: 0000000000000000
[ 98.673154] x27: ffffffc008875380 x26: ffffffc00887d050
[ 98.673162] x25: ffffffc008875380 x24: 000000000000002f
[ 98.673172] x23: 0000000000000003 x22: ffffffc00887d260
[ 98.673182] x21: ffffffc008875388 x20: 0000000000000000
[ 98.673192] x19: 0000000000000000 x18: 00000000fffffffd
[ 98.673202] x17: 0000000000000000 x16: 0000000000000000
[ 98.673210] x15: 0000000000000020 x14: ffffffffffffffff
[ 98.673219] x13: ffff000000000000 x12: 0000000000000018
[ 98.673228] x11: 0101010101010101 x10: ffffffff7f7fffff
[ 98.673237] x9 : 0000000000000000 x8 : ffffff8800ebacc0
[ 98.673247] x7 : 0000000000000400 x6 : 0000000000000008
[ 98.673256] x5 : ffffff8800ebabc8 x4 : 0000000000000003
[ 98.673266] x3 : 0000000000000000 x2 : ffffffc013c40008
[ 98.673275] x1 : ffffffc008875380 x0 : 0000000000000001
[ 98.673287] Kernel panic - not syncing:
[ 98.673289] Asynchronous SError Interrupt
[ 99.673385] SMP: stopping secondary CPUs
[ 99.811768] Kernel Offset: disabled
[ 99.815235] CPU features: 0x08040022,2000200c
[ 99.819575] Memory Limit: none
[ 99.822619] ---[ end Kernel panic - not syncing: Asynchronous SError Interrupt ]---



What is the reason for this and how can I troubleshoot it?
thank you!

lion_6_4-1751535023122.png

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

757件の閲覧回数
Joey_z
NXP Employee
NXP Employee

hi,lion_6

Thank you for your information.

Which version of BSP/LLCE/RTD are you using? are you using RDB2 or RDB3?

BR

Joey

0 件の賞賛
返信

753件の閲覧回数
lion_6
Contributor I

Hi:
Thank you for your reply!

All of my software versions are the same as those in AN13750.

I am referring to IPCF kernel panic - NXP Community  Disable DCach and Clear SRAM. There will be no kernel crashes, but new issues will arise:


root@s32g274ardb2:~# echo 1 > /sys/kernel/ipc-shm-sample-instance1/ping
root@s32g274ardb2:~# dmesg | grep ipc-shm-sample_multi-instance
[ 63.397060] ipc-shm-sample_multi-instance: starting demo on instance 0...
[ 63.397085] ipc-shm-sample_multi-instance: INST0 ch 0 >> 19 bytes: SENDING MESSAGES: 1
[ 63.397098] ipc-shm-sample_multi-instance: send_data_msg(): failed to get buffer on instance 0 for channel ID 1 and size 32
[ 422.873017] ipc-shm-sample_multi-instance: starting demo on instance 1...

0 件の賞賛
返信

728件の閲覧回数
Joey_z
NXP Employee
NXP Employee

hi,lion_6

Thank you for your information.

Have you replaced the kernel Image yet? This situation may occur if the kernel for compiling IPCF is different from the Kernel version used.

Joey_z_0-1751610829716.png

BR

Joey

0 件の賞賛
返信