Other Parts Discussed in Thread: TLV320AIC3104, ADS7846
大家好,目前我遇到了一个双核通信问题,希望大家帮助。
1.运行环境:IDE: CCSV5 仿真器:XDS100-V2 操作系统:windows11
2.主芯片:OMAPL138 TLV320AIC3104 协议MCASP IIS
3.在Linux环境下调用syslink启动C6748,在加入初始化MCASP函数的时候出现如下警告,请问这是内存一致性问题吗?
出问题的初始化函数如下:
/****************************************************************************/
/* */
/* 动态创建I2C硬件中断 */
/* */
/****************************************************************************/
void I2CIntRegister(unsigned int cpuINT, unsigned int sysIntNum)
{
IntRegister(cpuINT, I2CISR);
IntEventMap(cpuINT, sysIntNum);
IntEnable(cpuINT);
}
告警如下:
+ slaveloader shutdown DSP
Stopped slave procId 0.
Unloaded slave procId 0.
Detached from slave procId 0.
+ rmmod syslink
[ 132.930449] Unable to handle kernel paging request at virtual address d08c0000
[ 132.941088] pgd = cfb68000
[ 132.943846] [d08c0000] *pgd=cf82c811, *pte=00000000, *ppte=00000000
[ 132.951820] Internal error: Oops: 7 [#1] PREEMPT
[ 132.956476] Modules linked in: syslink(O-) ads7846 snd_soc_tlv320aic3x ahci_platform libahci libata [last unloaded: led]
[ 132.967491] CPU: 0 Tainted: G O (3.3.0-08380-g81233f1 #1)
[ 132.974722] PC is at MemoryOS_destroy+0xe8/0x184 [syslink]
[ 132.980830] LR is at MemoryOS_free+0xdc/0x118 [syslink]
[ 132.986112] pc : [<bf072b28>] lr : [<bf072a04>] psr: 80000013
[ 132.986130] sp : ca907f00 ip : ca907ed8 fp : ca907f1c
[ 132.997674] r10: 00000000 r9 : ca906000 r8 : c00095c4
[ 133.002938] r7 : 00000081 r6 : 00000013 r5 : bf13050c r4 : d08c0000
[ 133.009510] r3 : 00000000 r2 : 00000000 r1 : 00060000 r0 : bf0dcafc
[ 133.016086] Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 133.023273] Control: 0005317f Table: cfb68000 DAC: 00000015
[ 133.029062] Process rmmod (pid: 1355, stack limit = 0xca906270)
[ 133.035025] Stack: (0xca907f00 to 0xca908000)
[ 133.039434] 7f00: bf06eca4 bf065558 bf1300bc 00000000 ca907f34 ca907f20 bf0c9c9c bf072a50
[ 133.047688] 7f20: bf0c9bf8 bf12ff84 ca907fa4 ca907f38 c004faac bf0c9c08 c008cd64 6c737973
[ 133.055941] 7f40: 006b6e69 cfbf3d80 00000006 c00095c4 ca906000 00000000 ca907f84 ca907f68
[ 133.064191] 7f60: c008aaec c008e164 00000000 ca906000 cfbf3d80 00cc6b00 bf12ff84 00000800
[ 133.072441] 7f80: ca907f84 00000000 00000000 00000001 00019088 be81edbc 00000000 ca907fa8
[ 133.080691] 7fa0: c0009440 c004f8e8 00000001 00019088 000190b8 00000800 00000000 00000000
[ 133.088940] 7fc0: 00000001 00019088 be81edbc 00000081 00019088 00000000 00000800 00019008
[ 133.097192] 7fe0: be81eeb1 be81eb68 43178a98 431078cc 20000010 000190b8 76726553 755f7265
[ 133.105419] Backtrace:
[ 133.108940] [<bf072a40>] (MemoryOS_destroy+0x0/0x184 [syslink]) from [<bf0c9c9c>] (KnlUtilsDrv_finalizeModule+0xa4/0xb8 [syslink])
[ 133.120763] r5:00000000 r4:bf1300bc
[ 133.124873] [<bf0c9bf8>] (KnlUtilsDrv_finalizeModule+0x0/0xb8 [syslink]) from [<c004faac>] (sys_delete_module+0x1d4/0x270)
[ 133.135995] r4:bf12ff84 r3:bf0c9bf8
[ 133.139641] [<c004f8d8>] (sys_delete_module+0x0/0x270) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
[ 133.148831] r6:be81edbc r5:00019088 r4:00000001
[ 133.153517] Code: e1a00004 e3a01018 e3a02000 ebffff7f (e5944000)
[ 133.172751] ---[ end trace 0f39878ac4b65c18 ]---
Message from syslogd@omapl138-Tronlong at Thu Feb 27 08:41:19 2020 ...
omapl138-Tronlong kernel: [ 132.951820] Internal error: Oops: 7 [#1] PREEMPT
./run.sh: line 46: 1355 Segmentation fault rmmod syslink
root@omapl138-Tronlong:~/test/button/src/run#
Message from syslogd@omapl138-Tronlong at Thu Feb 27 08:41:19 2020 ...
omapl138-Tronlong kernel: [ 133.029062] Process rmmod (pid: 1355, stack limit = 0xca906270)
Message from syslogd@omapl138-Tronlong at Thu Feb 27 08:41:19 2020 ...
omapl138-Tronlong kernel: [ 133.035025] Stack: (0xca907f00 to 0xca908000)
Message from syslogd@omapl138-Tronlong at Thu Feb 27 08:41:19 2020 ...
omapl138-Tronlong kernel: [ 133.039434] 7f00: bf06eca4 bf065558 bf1300bc 00000000 ca907f34 ca907f20 bf0c9c9c bf072a50
Message from syslogd@omapl138-Tronlong at Thu Feb 27 08:41:19 2020 ...
omapl138-Tronlong kernel: [ 133.047688] 7f20: bf0c9bf8 bf12ff84 ca907fa4 ca907f38 c004faac bf0c9c08 c008cd64 6c737973
Message from syslogd@omapl138-Tronlong at Thu Feb 27 08:41:19 2020 ...
omapl138-Tronlong kernel: [ 133.055941] 7f40: 006b6e69 cfbf3d80 00000006 c00095c4 ca906000 00000000 ca907f84 ca907f68
Message from syslogd@omapl138-Tronlong at Thu Feb 27 08:41:19 2020 ...
omapl138-Tronlong kernel: [ 133.064191] 7f60: c008aaec c008e164 00000000 ca906000 cfbf3d80 00cc6b00 bf12ff84 00000800
Message from syslogd@omapl138-Tronlong at Thu Feb 27 08:41:19 2020 ...
omapl138-Tronlong kernel: [ 133.072441] 7f80: ca907f84 00000000 00000000 00000001 00019088 be81edbc 00000000 ca907fa8
Message from syslogd@omapl138-Tronlong at Thu Feb 27 08:41:19 2020 ...
omapl138-Tronlong kernel: [ 133.080691] 7fa0: c0009440 c004f8e8 00000001 00019088 000190b8 00000800 00000000 00000000
Message from syslogd@omapl138-Tronlong at Thu Feb 27 08:41:19 2020 ...
omapl138-Tronlong kernel: [ 133.088940] 7fc0: 00000001 00019088 be81edbc 00000081 00019088 00000000 00000800 00019008
Message from syslogd@omapl138-Tronlong at Thu Feb 27 08:41:19 2020 ...
omapl138-Tronlong kernel: [ 133.097192] 7fe0: be81eeb1 be81eb68 43178a98 431078cc 20000010 000190b8 76726553 755f7265
Message from syslogd@omapl138-Tronlong at Thu Feb 27 08:41:19 2020 ...
omapl138-Tronlong kernel: [ 133.153517] Code: e1a00004 e3a01018 e3a02000 ebffff7f (e5944000)