|
按照OMAPL138/用户手册/14-1-OMAPL138的多核软件开发组件MCSDK开发入门.pdf操作,到8.2.2 运行 syslink 示例程序,出现错误。报错信息如下,然后内核通讯不成功,进入死机状态,求助( |: u2 @- A, ~1 y4 k% B5 u, r
- root@tl:/# cd /
$ U. R( v2 O" _; `0 r4 D6 G4 c - root@tl:/# ./runall.sh 0 n0 S/ W. w+ V v
- ##########################################################
! Q8 W) r( |. J0 N$ V% f9 v - # Loading modules in ex33_umsg/load_umsg.sh* m: Q( }8 q- e+ P
- + insmod ./ex33_umsg/umsg.ko$ p, q# _( w. a/ d6 z: r
- ##########################################################
' L; g7 J: ?0 p; V: h9 H - 8 w. @$ s1 S( a5 u) z. M, {
- ##########################################################
. J' \9 @" `" q7 W( O! y - # Running example in ex01_helloworld/debug
; y' o1 w; k2 A0 u, m6 ^4 r - ##########################################################
/ F8 P3 D& z1 K5 C" E - + ./slaveloader startup DSP server_dsp.xe674( K2 g& V4 _9 u% m2 |, o
- Attached to slave procId 0.+ R: C% w, d9 E9 d$ d) ]' G4 m
- Loading procId 0.
: G/ w( v+ a* Z8 l r3 J - [ 170.068595] ------------[ cut here ]------------
/ ?- `% f$ A/ P F2 i' l/ g - [ 170.074813] WARNING: at arch/arm/mm/ioremap.c:241 __arm_ioremap_pfn_caller+0x180/0x27c()
5 `2 _* I4 H( ]" `# n - [ 170.084445] Modules linked in: umsg(O) syslink(O)6 Q# Q t& M3 @: d$ \
- [ 170.089278] Backtrace: 4 ]( S% P5 m3 b. i; ~5 c
- [ 170.093323] [<c000c1a8>] (dump_backtrace+0x0/0x110) from [<c040ebc0>] (dump_stack+0x18/0x1c) z+ Z0 \+ m X+ Y ?% A% Z* I9 l
- [ 170.104267] r6:c04e15f7 r5:000000f1 r4:00000000 r3:20000093
8 Z2 K5 A% k) Y: K3 O9 x - [ 170.110094] [<c040eba8>] (dump_stack+0x0/0x1c) from [<c0017f50>] (warn_slowpath_common+0x54/0x6c)
- ]# |* ~- W6 n - [ 170.121691] [<c0017efc>] (warn_slowpath_common+0x0/0x6c) from [<c0017f8c>] (warn_slowpath_null+0x24/0x2c)& V& T9 D' s; O7 ]
- [ 170.132879] r8:c3000000 r7:c0597b54 r6:0001b000 r5:0001ae20 r4:000c3000
! }3 P9 j. d. o! O1 H" u( ]/ j - [ 170.139514] r3:000000097 B0 l4 @) g) A4 a
- [ 170.143766] [<c0017f68>] (warn_slowpath_null+0x0/0x2c) from [<c000f57c>] (__arm_ioremap_pfn_caller+0x180/0x27c). l& d, ?2 Q' v! m5 {' h9 L% G4 z
- [ 170.156460] [<c000f3fc>] (__arm_ioremap_pfn_caller+0x0/0x27c) from [<c000f6f4>] (__arm_ioremap_caller+0x5c/0x64)) J. R. @' y9 K8 |
- [ 170.168436] [<c000f698>] (__arm_ioremap_caller+0x0/0x64) from [<c000f710>] (__arm_ioremap+0x14/0x18)
! l+ R o% i3 R3 d7 L. K6 ?% n - [ 170.179176] r4:c882e000
* o h( ^4 W, s. a% T& u# A - [ 170.183032] [<c000f6fc>] (__arm_ioremap+0x0/0x18) from [<bf025d88>] (MemoryOS_map+0x1e0/0x3a0 [syslink])
* i+ V' p# V2 U" p D. L& W" ? - [ 170.196146] [<bf025ba8>] (MemoryOS_map+0x0/0x3a0 [syslink]) from [<bf004ddc>] (_ProcMgr_map+0x1cc/0x4e8 [syslink]): O& T( c R4 ^5 U4 e+ C
- [ 170.208222] r7:c69b5cd4 r6:0001ae20 r5:06a85000 r4:c69b5d58
# Q* A( T: H1 H# S' `- w4 Q - [ 170.215339] [<bf004c10>] (_ProcMgr_map+0x0/0x4e8 [syslink]) from [<bf00d218>] (ElfLoaderTrgWrite_copy+0x154/0x3f0 [syslink])
: r7 |1 ^" U+ T, d; t. o( L8 l. o - [ 170.230158] [<bf00d0c4>] (ElfLoaderTrgWrite_copy+0x0/0x3f0 [syslink]) from [<bf010888>] (DLIF_copy+0x10/0x1c [syslink]); z; o& l9 _4 Y+ W
- [ 170.243631] [<bf010878>] (DLIF_copy+0x0/0x1c [syslink]) from [<bf00f59c>] (DLOAD_load+0x734/0xa5c [syslink])
3 v5 Z' z: e5 `, c0 ~$ y: Z+ n - [ 170.256132] [<bf00ee68>] (DLOAD_load+0x0/0xa5c [syslink]) from [<bf00c1c4>] (ElfLoader_load+0x268/0x3a0 [syslink])
* M/ S, g( A" A% q1 I9 X - [ 170.269132] [<bf00bf5c>] (ElfLoader_load+0x0/0x3a0 [syslink]) from [<bf002d00>] (Loader_load+0xec/0x164 [syslink])
* y/ q- x- ~4 ]- O; M5 k% f2 I7 t6 c+ ~ - [ 170.282202] [<bf002c14>] (Loader_load+0x0/0x164 [syslink]) from [<bf007474>] (ProcMgr_load+0x218/0x310 [syslink]) T# S7 b: {: l4 c8 x
- [ 170.295064] [<bf00725c>] (ProcMgr_load+0x0/0x310 [syslink]) from [<bf009458>] (ProcMgrDrv_ioctl+0xb3c/0x1bac [syslink]); [+ f# s' I# X4 @5 |$ p
- [ 170.308023] [<bf00891c>] (ProcMgrDrv_ioctl+0x0/0x1bac [syslink]) from [<c009cf20>] (do_vfs_ioctl+0x51c/0x5a0), \2 q$ n6 w, y/ o; G1 o! d# R
- [ 170.319581] r8:c00095c4 r7:c7830170 r6:bed90b78 r5:bed90b78 r4:c6938100
: i; Z4 B& ?- m2 c - [ 170.326847] [<c009ca04>] (do_vfs_ioctl+0x0/0x5a0) from [<c009cfe4>] (sys_ioctl+0x40/0x64)' Y1 m+ _& g! F7 @( v
- [ 170.337723] r9:c69b4000 r8:c00095c4 r7:00000008 r6:c020e0a2 r5:bed90b783 l' K, Z1 D- F. N
- [ 170.344730] r4:c6938100
. ?' z& m, X. ? - [ 170.347451] [<c009cfa4>] (sys_ioctl+0x0/0x64) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
' @0 V% |/ ^1 w: S2 W% n - [ 170.359236] r7:00000036 r6:00000000 r5:bed90e82 r4:bed90bc4
Y) O6 X4 r$ B# M$ ^ - [ 170.365333] ---[ end trace 8ea019fcb39ed870 ]---2 R2 q2 ]& y3 G, U: Q8 \) ~4 j
- [ 170.370067] *** MemoryOS_map: Failed to map to host address space!: `/ L6 Z+ B5 |- p9 U5 ]9 x
- [ 170.370090] Error [0x897d2003] at Line no: 517 in file /home/wangsj/ti/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/osal/Linux/MemoryOS.c. K! w# a+ ^! M0 `3 Q# F
- [ 170.398195] *** _ProcMgr_map: Memory_map failed' W' ^% r& P: J4 [4 }
- [ 170.398218] Error [0xfffffff1] at Line no: 2441 in file /home/wangsj/ti/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/procMgr/common/ProcMgr.c2 O6 o' R5 X: u: B6 H
- [ 170.422258] Assertion at Line no: 356 in /home/wangsj/ti/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/osal/Linux/OsalKfile.c: ((bytesRead / size) == (UInt32) count) : failed
% c8 U* L$ t* {3 \ u( L6 o - [ 170.445669] ------------[ cut here ]------------: v) T% o* y9 q' Y7 V/ l
- [ 170.451876] WARNING: at arch/arm/mm/ioremap.c:241 __arm_ioremap_pfn_caller+0x180/0x27c()
' o. B0 e5 F# E3 G1 h9 a - [ 170.460073] Modules linked in: umsg(O) syslink(O)
1 i0 d; t& O7 {$ t% D! h - [ 170.466353] Backtrace: 9 M1 s8 a1 z. {3 ?) D" l$ \7 |
- [ 170.468904] [<c000c1a8>] (dump_backtrace+0x0/0x110) from [<c040ebc0>] (dump_stack+0x18/0x1c); G8 K5 c% m, O3 P5 `
- [ 170.480977] r6:c04e15f7 r5:000000f1 r4:00000000 r3:20000093
" U9 R8 M+ f5 { l) b - [ 170.486846] [<c040eba8>] (dump_stack+0x0/0x1c) from [<c0017f50>] (warn_slowpath_common+0x54/0x6c)
6 B" x7 Y. x. s, f - [ 170.498292] [<c0017efc>] (warn_slowpath_common+0x0/0x6c) from [<c0017f8c>] (warn_slowpath_null+0x24/0x2c)) e" S0 Y: @0 d f* a
- [ 170.509539] r8:c301a000 r7:c0597b54 r6:00008000 r5:00006828 r4:000c301a$ A' V, t; @5 w R% v8 F/ Q! f
- [ 170.516539] r3:00000009
6 m% i. M* s' W, L* X - [ 170.519280] [<c0017f68>] (warn_slowpath_null+0x0/0x2c) from [<c000f57c>] (__arm_ioremap_pfn_caller+0x180/0x27c)
; n! i* \% W& d; q) C0 T - [ 170.532990] [<c000f3fc>] (__arm_ioremap_pfn_caller+0x0/0x27c) from [<c000f6f4>] (__arm_ioremap_caller+0x5c/0x64)
# s. o! [% h+ e( F" q4 W: g - [ 170.544882] [<c000f698>] (__arm_ioremap_caller+0x0/0x64) from [<c000f710>] (__arm_ioremap+0x14/0x18)
1 v; s5 \, ]% v! b& T( i0 U - [ 170.555616] r4:c882e0008 B/ e' S k: I, d9 q) P
- [ 170.558868] [<c000f6fc>] (__arm_ioremap+0x0/0x18) from [<bf025d88>] (MemoryOS_map+0x1e0/0x3a0 [syslink])
! h- k, G1 \) c- o' t' A$ v. n - [ 170.572097] [<bf025ba8>] (MemoryOS_map+0x0/0x3a0 [syslink]) from [<bf004ddc>] (_ProcMgr_map+0x1cc/0x4e8 [syslink])3 B$ n% M. `( g9 V2 i
- [ 170.584085] r7:c69b5cd4 r6:00006828 r5:06a85000 r4:c69b5d58
8 F4 ?. y% Z/ X- t, D2 j* q2 l2 l - [ 170.590909] [<bf004c10>] (_ProcMgr_map+0x0/0x4e8 [syslink]) from [<bf00d218>] (ElfLoaderTrgWrite_copy+0x154/0x3f0 [syslink]) s* {, c2 T, [' c" X
- [ 170.605710] [<bf00d0c4>] (ElfLoaderTrgWrite_copy+0x0/0x3f0 [syslink]) from [<bf010888>] (DLIF_copy+0x10/0x1c [syslink])& a2 Z" z+ Q( i* |: j5 v, z
- [ 170.619133] [<bf010878>] (DLIF_copy+0x0/0x1c [syslink]) from [<bf00f59c>] (DLOAD_load+0x734/0xa5c [syslink])2 _% v; c1 \% _, N
- [ 170.631687] [<bf00ee68>] (DLOAD_load+0x0/0xa5c [syslink]) from [<bf00c1c4>] (ElfLoader_load+0x268/0x3a0 [syslink])
# H, } e" c: Q0 a% v, q* l! C1 H6 x" R - [ 170.644708] [<bf00bf5c>] (ElfLoader_load+0x0/0x3a0 [syslink]) from [<bf002d00>] (Loader_load+0xec/0x164 [syslink])9 {) U/ `" f7 ^" W' p
- [ 170.657715] [<bf002c14>] (Loader_load+0x0/0x164 [syslink]) from [<bf007474>] (ProcMgr_load+0x218/0x310 [syslink]), j4 T2 Y" y0 m
- [ 170.670622] [<bf00725c>] (ProcMgr_load+0x0/0x310 [syslink]) from [<bf009458>] (ProcMgrDrv_ioctl+0xb3c/0x1bac [syslink])( z4 T; t8 p) h" r
- [ 170.683603] [<bf00891c>] (ProcMgrDrv_ioctl+0x0/0x1bac [syslink]) from [<c009cf20>] (do_vfs_ioctl+0x51c/0x5a0)
' P0 q. {5 J& k2 Y) G - [ 170.695136] r8:c00095c4 r7:c7830170 r6:bed90b78 r5:bed90b78 r4:c69381000 l) Z. Z# ^7 i U' B9 d" D9 u+ L' p
- [ 170.702365] [<c009ca04>] (do_vfs_ioctl+0x0/0x5a0) from [<c009cfe4>] (sys_ioctl+0x40/0x64)
3 M7 C: x6 z4 j& V, ~7 p7 J c1 U - [ 170.713061] r9:c69b4000 r8:c00095c4 r7:00000008 r6:c020e0a2 r5:bed90b78
: @5 z5 j6 ~: W- [' O1 G9 ~ - [ 170.719736] r4:c6938100
9 C7 u* _" I1 Z" k - [ 170.723949] [<c009cfa4>] (sys_ioctl+0x0/0x64) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)( w8 q$ N" N0 V6 k/ J
- [ 170.734781] r7:00000036 r6:00000000 r5:bed90e82 r4:bed90bc4) U2 t! b. j4 ~& b
- [ 170.741127] ---[ end trace 8ea019fcb39ed871 ]---9 O5 L$ O& x9 o+ o
- [ 170.745831] *** MemoryOS_map: Failed to map to host address space!
' a# I) Y# L0 T1 Q- \7 W - [ 170.745854] Error [0x897d2003] at Line no: 517 in file /home/wangsj/ti/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/osal/Linux/MemoryOS.c
复制代码 |
|