嵌入式开发者社区

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

作者: lly_lake    时间: 2014-9-15 09:10
标题: 运行例程出现问题
我买的OMAPL138的开发板,现安装了linux以及MCSDK,按照《OMAPL138的多核软件开发组件MCSDK开发入门》操作,运行例程runall.sh,出现以下错误:
  [5 P0 x7 W9 t5 o8 A, n. I! ]- [; W
& j2 W6 d& t& F% d+ froot@tl:/# ./runall.sh
- Q# C( E$ }, n% j7 y- p##########################################################
4 d4 j5 _$ |2 t5 [# Loading modules in ex33_umsg/load_umsg.sh
, U7 _) n7 p0 @, |% K3 ?5 R+ insmod ./ex33_umsg/umsg.ko
+ I9 E- b- b- |4 m1 O##########################################################
% w. O# k& \5 o2 u  v9 V##########################################################9 E" K' c& _. {7 T2 p
# Running example in ex01_helloworld/debug: q2 v, U3 M+ ?: z, f0 Z4 w! J! q/ s
##########################################################) \- U. }; F# \1 }3 e- ~
+ ./slaveloader startup DSP server_dsp.xe674( y3 W+ x2 B6 i9 I3 a, f
Attached to slave procId 0.
9 c/ C0 S9 U# B4 e4 F( ULoading procId 0.( S* f, S6 v0 K2 y5 S3 i' r( W' |, K
[  154.978098] ------------[ cut here ]------------
4 D5 M) I7 J# m( `[  154.983764] WARNING: at arch/arm/mm/ioremap.c:241 __arm_ioremap_pfn_caller+0x16c/0x26c()
' T7 J& D8 V7 X2 J0 A4 V* z" b[  154.991934] Modules linked in: umsg(O) syslink(O)# E- \$ N8 s1 `- J1 S
[  154.997671] Backtrace:
' n. w- @1 H' l# E[  155.000253] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c03bbc0c>] (dump_stack+0x18/0x1c)
; s) J5 [& q+ G. A$ Q# X- E% T! ]! E[  155.010272]  r7:00000000 r6:c000f5c4 r5:c0474b7a r4:000000f1! F/ w: R0 O; {
[  155.017085] [<c03bbbf4>] (dump_stack+0x0/0x1c) from [<c0017ecc>] (warn_slowpath_common+0x54/0x6c)
6 N! K) W  K* M3 m! m[  155.027349] [<c0017e78>] (warn_slowpath_common+0x0/0x6c) from [<c0017f08>] (warn_slowpath_null+0x24/0x2c)
! _- Q7 H7 b3 R. P. O[  155.037924]  r9:00000001 r8:00000000 r7:c3000000 r6:000c3000 r5:0001b000
- y* F+ o% g7 u" P[  155.045518] r4:000000006 y5 F6 ]3 D8 @* j
[  155.048280] [<c0017ee4>] (warn_slowpath_null+0x0/0x2c) from [<c000f5c4>] (__arm_ioremap_pfn_caller+0x16c/0x26c)
* C  w/ h8 w" p. x! d. q5 G3 ]7 e" ^[  155.060047] [<c000f458>] (__arm_ioremap_pfn_caller+0x0/0x26c) from [<c000f744>] (__arm_ioremap_caller+0x60/0x68)- H' J/ ]! z2 Z- g' ~
[  155.071453] [<c000f6e4>] (__arm_ioremap_caller+0x0/0x68) from [<c000f784>] (__arm_ioremap+0x14/0x18)
9 e4 x0 A0 @# D0 w  m3 N0 m[  155.081669]  r5:c73a7c60 r4:c8808000
1 S! y' [% o8 C- o' W[  155.086934] [<c000f770>] (__arm_ioremap+0x0/0x18) from [<bf025d64>] (MemoryOS_map+0x1e0/0x3a0 [syslink])5 L3 B. _# [4 [) O7 [5 i
[  155.098925] [<bf025b84>] (MemoryOS_map+0x0/0x3a0 [syslink]) from [<bf004ddc>] (_ProcMgr_map+0x1cc/0x4e8 [syslink])' K5 x! F% e, B9 b
[  155.110304]  r7:c73a7ccc r6:0001ae20 r5:06a85000 r4:c73a7d50
6 V8 Z7 ?4 n& Q+ Q: t2 _[  155.118155] [<bf004c10>] (_ProcMgr_map+0x0/0x4e8 [syslink]) from [<bf00d218>] (ElfLoaderTrgWrite_copy+0x154/0x3f0 [syslink])
; D: x# I( b7 D: X, B9 \: o[  155.131912] [<bf00d0c4>] (ElfLoaderTrgWrite_copy+0x0/0x3f0 [syslink]) from [<bf010888>] (DLIF_copy+0x10/0x1c [syslink])5 q" |3 {! p- A8 t3 x: y
[  155.144881] [<bf010878>] (DLIF_copy+0x0/0x1c [syslink]) from [<bf00f59c>] (DLOAD_load+0x734/0xa5c [syslink])
. S8 l& h/ H$ |' W! o[  155.156896] [<bf00ee68>] (DLOAD_load+0x0/0xa5c [syslink]) from [<bf00c1c4>] (ElfLoader_load+0x268/0x3a0 [syslink])
+ u7 V4 x- K, ], K[  155.169425] [<bf00bf5c>] (ElfLoader_load+0x0/0x3a0 [syslink]) from [<bf002d00>] (Loader_load+0xec/0x164 [syslink])
/ E: |- a* s) T: e[  155.181940] [<bf002c14>] (Loader_load+0x0/0x164 [syslink]) from [<bf007474>] (ProcMgr_load+0x218/0x310 [syslink])
: q& z* n+ c! J- e+ Z9 C[  155.194500] [<bf00725c>] (ProcMgr_load+0x0/0x310 [syslink]) from [<bf009458>] (ProcMgrDrv_ioctl+0xb3c/0x1bac [syslink])
, M' U/ X+ ]- M[  155.206939] [<bf00891c>] (ProcMgrDrv_ioctl+0x0/0x1bac [syslink]) from [<c009e9dc>] (vfs_ioctl+0x28/0x40)) @+ R: i$ n6 f; }" b/ i0 Y
[  155.217526]  r8:be9b9a78 r7:c7254480 r6:00000008 r5:c7254480 r4:00000008
* n( E# G& f5 |3 \[  155.225339] [<c009e9b4>] (vfs_ioctl+0x0/0x40) from [<c009f170>] (do_vfs_ioctl+0x558/0x5b4)
$ {% n  {' p, k[  155.234971] [<c009ec18>] (do_vfs_ioctl+0x0/0x5b4) from [<c009f20c>] (sys_ioctl+0x40/0x64)* k3 B) e7 `* f/ V  p( s" N
[  155.244194] [<c009f1cc>] (sys_ioctl+0x0/0x64) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)! ~' t* I% h8 y6 x
[  155.252677]  r7:00000036 r6:00000000 r5:be9b9d9c r4:be9b9ac48 L9 M1 M' Z+ Y7 B
[  155.259365] ---[ end trace 95275eb3f63ce17d ]---
7 d* ?) r/ x) d5 n[  155.265446] *** MemoryOS_map: Failed to map to host address space!: K  r$ i" V( g) d: I
[  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   
6 x' [  T" J& z8 y, e; _; E; S, L' l) E# k& p$ a' V) B

( q8 k+ R- b3 j$ J8 T不知什么原因?                                                  , |7 f  g5 d; s% s$ G$ Z% N8 H2 x

' Z8 j' V) A# @& w) S
作者: 2532609929    时间: 2014-9-15 13:17
解决了吗,可能是uboot设置问题
4 \( y- n1 [" F* {- f
作者: lly_lake    时间: 2014-9-19 10:26
问题解决了
' q. A4 w6 W2 V2 K* |7 `+ U" _
作者: lishangfeng1990    时间: 2015-5-14 09:51
怎么解决的呢???我也遇到同样的问题了!!!
作者: zxbdlv    时间: 2016-4-27 19:34
lly_lake 发表于 2014-9-19 10:26
- x8 S  l! N7 z, ]0 ~问题解决了

5 \: ]; E! y! ?) H( N如何解决的?我也遇到了这个问题!
作者: teddy    时间: 2016-5-4 09:10
mem参数没有配置对,请参考:  q+ n$ w. p0 |- O$ p* h7 [/ @
http://51dsp.net/forum.php?mod=v ... 4&highlight=mem
作者: wyjzs    时间: 2019-7-18 15:01
teddy 发表于 2016-5-4 09:10
6 c5 [4 z3 J" P1 smem参数没有配置对,请参考:
" v' n' {  H# G& B/ thttp://51dsp.net/forum.php?mod=viewthread&tid=724&highlight=mem ...

! V" R7 v+ C2 Y1 o% e0 z您好,我也遇到了这个问题,mem参数不是uboot启动自动分配的吗?我也在uboot里重新设置过了,还是有上述的错误提示,请问还可能是别的原因吗?




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