嵌入式开发者社区

标题: 运行例程出现问题 [打印本页]

作者: lly_lake    时间: 2014-9-15 09:10
标题: 运行例程出现问题
我买的OMAPL138的开发板,现安装了linux以及MCSDK,按照《OMAPL138的多核软件开发组件MCSDK开发入门》操作,运行例程runall.sh,出现以下错误:4 T: ]; K9 l5 o' f. S0 R

' ?6 N  H# ]/ a- Q8 `1 c: Sroot@tl:/# ./runall.sh
4 u1 ?. Z# w9 }3 Y##########################################################/ S: \0 }/ ?; b1 ~; u
# Loading modules in ex33_umsg/load_umsg.sh3 S1 I1 ?7 u5 t9 u& K8 _
+ insmod ./ex33_umsg/umsg.ko
. g1 k, ^8 j3 S& ~  Z  b5 [+ o8 f##########################################################" M2 a% u" ]. T. G
##########################################################4 j2 j$ E& C+ a" \
# Running example in ex01_helloworld/debug4 i5 H# t5 b, H7 ?- ]  o
##########################################################% s7 Z; k/ K( ~
+ ./slaveloader startup DSP server_dsp.xe6743 n! F3 C6 ~7 w( Q
Attached to slave procId 0.& q5 y7 o/ _+ O( i4 v( O/ e
Loading procId 0.* f- \# T4 k: P. n
[  154.978098] ------------[ cut here ]------------! S- R. a7 v$ g9 o& M( r
[  154.983764] WARNING: at arch/arm/mm/ioremap.c:241 __arm_ioremap_pfn_caller+0x16c/0x26c()' ?% f+ r7 B1 P- n) v& x7 F
[  154.991934] Modules linked in: umsg(O) syslink(O)
/ D' r( P: g; h6 g. C% h, y[  154.997671] Backtrace:# P; _. |) A5 B- e  _" g$ v5 Y: n
[  155.000253] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c03bbc0c>] (dump_stack+0x18/0x1c)
! i1 I& U* R+ M5 [, R+ G[  155.010272]  r7:00000000 r6:c000f5c4 r5:c0474b7a r4:000000f1* Z" N4 C* w6 V5 I1 ]- `
[  155.017085] [<c03bbbf4>] (dump_stack+0x0/0x1c) from [<c0017ecc>] (warn_slowpath_common+0x54/0x6c)
2 p1 [# s& x* S* z[  155.027349] [<c0017e78>] (warn_slowpath_common+0x0/0x6c) from [<c0017f08>] (warn_slowpath_null+0x24/0x2c)7 D3 r$ \9 ~) a1 Z9 k+ f* t' q$ H
[  155.037924]  r9:00000001 r8:00000000 r7:c3000000 r6:000c3000 r5:0001b0005 `6 t' T% e$ O/ |; c/ J
[  155.045518] r4:00000000
5 U7 x$ d+ K9 l( \9 h8 F' C  K4 w- j[  155.048280] [<c0017ee4>] (warn_slowpath_null+0x0/0x2c) from [<c000f5c4>] (__arm_ioremap_pfn_caller+0x16c/0x26c)7 m) ^& y4 y9 i  Z/ z! Y. N% [  k
[  155.060047] [<c000f458>] (__arm_ioremap_pfn_caller+0x0/0x26c) from [<c000f744>] (__arm_ioremap_caller+0x60/0x68)+ [: _! U4 k1 K5 }" x7 D& {: f/ N
[  155.071453] [<c000f6e4>] (__arm_ioremap_caller+0x0/0x68) from [<c000f784>] (__arm_ioremap+0x14/0x18)
/ P  Y- V) }8 X[  155.081669]  r5:c73a7c60 r4:c88080006 K+ Q; C, N, ^  g5 Y
[  155.086934] [<c000f770>] (__arm_ioremap+0x0/0x18) from [<bf025d64>] (MemoryOS_map+0x1e0/0x3a0 [syslink]); N# d: u% H6 n
[  155.098925] [<bf025b84>] (MemoryOS_map+0x0/0x3a0 [syslink]) from [<bf004ddc>] (_ProcMgr_map+0x1cc/0x4e8 [syslink])
6 I6 K# J: \: D( g& B[  155.110304]  r7:c73a7ccc r6:0001ae20 r5:06a85000 r4:c73a7d507 S9 V7 \3 M$ |+ U
[  155.118155] [<bf004c10>] (_ProcMgr_map+0x0/0x4e8 [syslink]) from [<bf00d218>] (ElfLoaderTrgWrite_copy+0x154/0x3f0 [syslink])
, |. S  @% X* |- o. g[  155.131912] [<bf00d0c4>] (ElfLoaderTrgWrite_copy+0x0/0x3f0 [syslink]) from [<bf010888>] (DLIF_copy+0x10/0x1c [syslink])5 [8 v$ `: v* G' A
[  155.144881] [<bf010878>] (DLIF_copy+0x0/0x1c [syslink]) from [<bf00f59c>] (DLOAD_load+0x734/0xa5c [syslink])
4 f* A% J. f" v5 p: U& k[  155.156896] [<bf00ee68>] (DLOAD_load+0x0/0xa5c [syslink]) from [<bf00c1c4>] (ElfLoader_load+0x268/0x3a0 [syslink])$ {' ?0 g: S1 ?' E
[  155.169425] [<bf00bf5c>] (ElfLoader_load+0x0/0x3a0 [syslink]) from [<bf002d00>] (Loader_load+0xec/0x164 [syslink])
5 y; ~" G# K) g) O5 d[  155.181940] [<bf002c14>] (Loader_load+0x0/0x164 [syslink]) from [<bf007474>] (ProcMgr_load+0x218/0x310 [syslink])+ O$ E' Y) t. |
[  155.194500] [<bf00725c>] (ProcMgr_load+0x0/0x310 [syslink]) from [<bf009458>] (ProcMgrDrv_ioctl+0xb3c/0x1bac [syslink])* u6 S0 S* H& g4 j$ t7 D3 ~/ {
[  155.206939] [<bf00891c>] (ProcMgrDrv_ioctl+0x0/0x1bac [syslink]) from [<c009e9dc>] (vfs_ioctl+0x28/0x40)
6 m2 Q! T/ b7 d& D[  155.217526]  r8:be9b9a78 r7:c7254480 r6:00000008 r5:c7254480 r4:00000008( s1 Y: S+ L* f7 w
[  155.225339] [<c009e9b4>] (vfs_ioctl+0x0/0x40) from [<c009f170>] (do_vfs_ioctl+0x558/0x5b4)
: q* y1 A$ N1 v' `" z[  155.234971] [<c009ec18>] (do_vfs_ioctl+0x0/0x5b4) from [<c009f20c>] (sys_ioctl+0x40/0x64)4 y' p+ P7 M& O: e: W4 \0 a' e. Y
[  155.244194] [<c009f1cc>] (sys_ioctl+0x0/0x64) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)
+ w3 u( ]0 p; ~" S[  155.252677]  r7:00000036 r6:00000000 r5:be9b9d9c r4:be9b9ac4: H+ G: ?! k- h  V
[  155.259365] ---[ end trace 95275eb3f63ce17d ]---
/ [5 F3 T# W1 K* Q6 R" A[  155.265446] *** MemoryOS_map: Failed to map to host address space!
- T  e3 b; j2 F+ y3 b) g7 m: o[  155.265474]  Error [0x897d2003] at Line no: 517 in file /home/t1/ti/syslink_2_21_01_05/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/utils/hlos/knl/osal/Linux/MemoryOS.c   
5 w, \, n1 b# c3 M5 J. `3 H5 i2 j: d
6 U9 y* p# @# z9 F& E3 e: _4 l2 h! W. f5 M* f7 N' k7 T
不知什么原因?                                                  
, G3 B, I6 ]& M: I" f8 B& [7 p- N7 p9 q6 C! U

作者: 2532609929    时间: 2014-9-15 13:17
解决了吗,可能是uboot设置问题
* e* G& I; e  k2 q2 R5 O
作者: lly_lake    时间: 2014-9-19 10:26
问题解决了
0 c  I/ `2 R% I1 C: H6 `
作者: lishangfeng1990    时间: 2015-5-14 09:51
怎么解决的呢???我也遇到同样的问题了!!!
作者: zxbdlv    时间: 2016-4-27 19:34
lly_lake 发表于 2014-9-19 10:26
9 x+ j) V& a# s7 S9 A' B" ?问题解决了
8 v1 I9 D! @" [' V, [/ U: b
如何解决的?我也遇到了这个问题!
作者: teddy    时间: 2016-5-4 09:10
mem参数没有配置对,请参考:
8 K8 v6 x  m2 t# Y/ o2 xhttp://51dsp.net/forum.php?mod=v ... 4&highlight=mem
作者: wyjzs    时间: 2019-7-18 15:01
teddy 发表于 2016-5-4 09:104 x  Z% g) Y: E' ~
mem参数没有配置对,请参考:
& h. \. {# J1 j: F! u; z  }http://51dsp.net/forum.php?mod=viewthread&tid=724&highlight=mem ...
/ f" T$ ?$ \: `, g  ]
您好,我也遇到了这个问题,mem参数不是uboot启动自动分配的吗?我也在uboot里重新设置过了,还是有上述的错误提示,请问还可能是别的原因吗?




欢迎光临 嵌入式开发者社区 (https://www.51ele.net/) Powered by Discuz! X3.4