嵌入式开发者社区

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

作者: lly_lake    时间: 2014-9-15 09:10
标题: 运行例程出现问题
我买的OMAPL138的开发板,现安装了linux以及MCSDK,按照《OMAPL138的多核软件开发组件MCSDK开发入门》操作,运行例程runall.sh,出现以下错误:' k6 C4 q& N; Z
* C" l4 f8 H. ]( m$ n
root@tl:/# ./runall.sh
: p8 L* s& K8 N( o##########################################################" s9 i& `+ N0 ?8 l( G' `
# Loading modules in ex33_umsg/load_umsg.sh
; }) }; R& V7 V! C4 ~+ insmod ./ex33_umsg/umsg.ko
% }0 M7 O* x) j2 k9 e, d##########################################################
& W+ p" G" E* a! S' k##########################################################
1 T/ n5 {6 d8 U0 N1 o# Running example in ex01_helloworld/debug0 n" Y: P& w* |" {% y' b# n, a
##########################################################
) N% W6 E: h) \' |3 W( w  O" q" I& h/ @+ ./slaveloader startup DSP server_dsp.xe674# E6 V" T( G+ v. `# M. x
Attached to slave procId 0.
7 }$ u# p' i, h6 v- @, ~Loading procId 0.
. i1 T! O" I2 f) V8 i6 l9 a/ D[  154.978098] ------------[ cut here ]------------
' k7 W' j7 d7 }; [0 m* a[  154.983764] WARNING: at arch/arm/mm/ioremap.c:241 __arm_ioremap_pfn_caller+0x16c/0x26c()- t/ |  o% K9 @3 H! L" _, n* v0 O
[  154.991934] Modules linked in: umsg(O) syslink(O)' `* u4 Z- x3 T- Q' C. Z
[  154.997671] Backtrace:
! S4 }3 W9 f3 O6 A9 K1 D[  155.000253] [<c000c580>] (dump_backtrace+0x0/0x114) from [<c03bbc0c>] (dump_stack+0x18/0x1c)9 @) z$ I5 y8 ^/ u8 ]
[  155.010272]  r7:00000000 r6:c000f5c4 r5:c0474b7a r4:000000f19 d6 t7 c# w' R# E
[  155.017085] [<c03bbbf4>] (dump_stack+0x0/0x1c) from [<c0017ecc>] (warn_slowpath_common+0x54/0x6c)+ W  Z# ?/ V0 c8 N
[  155.027349] [<c0017e78>] (warn_slowpath_common+0x0/0x6c) from [<c0017f08>] (warn_slowpath_null+0x24/0x2c)
% l9 q4 e! J% H3 e" y2 X; I) q* {[  155.037924]  r9:00000001 r8:00000000 r7:c3000000 r6:000c3000 r5:0001b000
2 ^  H, V: e+ \8 v* _6 v[  155.045518] r4:00000000) }0 B. f8 R3 F$ O' ?5 }, I# X' ?
[  155.048280] [<c0017ee4>] (warn_slowpath_null+0x0/0x2c) from [<c000f5c4>] (__arm_ioremap_pfn_caller+0x16c/0x26c)2 \9 u7 ?9 p( ]* T
[  155.060047] [<c000f458>] (__arm_ioremap_pfn_caller+0x0/0x26c) from [<c000f744>] (__arm_ioremap_caller+0x60/0x68)/ G. ^* S2 m9 ^
[  155.071453] [<c000f6e4>] (__arm_ioremap_caller+0x0/0x68) from [<c000f784>] (__arm_ioremap+0x14/0x18)
, j+ D  V2 [$ E6 \8 B$ p  l[  155.081669]  r5:c73a7c60 r4:c8808000( L6 }; x! |, d+ o6 }2 q
[  155.086934] [<c000f770>] (__arm_ioremap+0x0/0x18) from [<bf025d64>] (MemoryOS_map+0x1e0/0x3a0 [syslink])
0 Z* R1 f7 [& l) q7 X* A[  155.098925] [<bf025b84>] (MemoryOS_map+0x0/0x3a0 [syslink]) from [<bf004ddc>] (_ProcMgr_map+0x1cc/0x4e8 [syslink])
! g, d% e; B- i7 A: Y: g' r[  155.110304]  r7:c73a7ccc r6:0001ae20 r5:06a85000 r4:c73a7d50
: K) g  p; X8 c( W- d  n[  155.118155] [<bf004c10>] (_ProcMgr_map+0x0/0x4e8 [syslink]) from [<bf00d218>] (ElfLoaderTrgWrite_copy+0x154/0x3f0 [syslink])/ o2 l- G8 T! b" I* g
[  155.131912] [<bf00d0c4>] (ElfLoaderTrgWrite_copy+0x0/0x3f0 [syslink]) from [<bf010888>] (DLIF_copy+0x10/0x1c [syslink])) ~4 U6 }$ @3 P# D, i
[  155.144881] [<bf010878>] (DLIF_copy+0x0/0x1c [syslink]) from [<bf00f59c>] (DLOAD_load+0x734/0xa5c [syslink])
6 I/ m7 Q' ?) y& w7 T[  155.156896] [<bf00ee68>] (DLOAD_load+0x0/0xa5c [syslink]) from [<bf00c1c4>] (ElfLoader_load+0x268/0x3a0 [syslink])
0 h1 D! a; K0 r+ }[  155.169425] [<bf00bf5c>] (ElfLoader_load+0x0/0x3a0 [syslink]) from [<bf002d00>] (Loader_load+0xec/0x164 [syslink])/ K: A" O* F" V
[  155.181940] [<bf002c14>] (Loader_load+0x0/0x164 [syslink]) from [<bf007474>] (ProcMgr_load+0x218/0x310 [syslink])
$ [+ o- `: @! Z( ~3 c& U1 Z[  155.194500] [<bf00725c>] (ProcMgr_load+0x0/0x310 [syslink]) from [<bf009458>] (ProcMgrDrv_ioctl+0xb3c/0x1bac [syslink])1 o5 |0 f8 }1 O1 A, U% |9 i* Z
[  155.206939] [<bf00891c>] (ProcMgrDrv_ioctl+0x0/0x1bac [syslink]) from [<c009e9dc>] (vfs_ioctl+0x28/0x40)
- L# j0 m8 r! }1 S! x! k% a[  155.217526]  r8:be9b9a78 r7:c7254480 r6:00000008 r5:c7254480 r4:00000008  L3 N1 `8 `/ v3 s: i; p2 g
[  155.225339] [<c009e9b4>] (vfs_ioctl+0x0/0x40) from [<c009f170>] (do_vfs_ioctl+0x558/0x5b4)
; z# S2 I) C4 e+ @+ g9 ]: P[  155.234971] [<c009ec18>] (do_vfs_ioctl+0x0/0x5b4) from [<c009f20c>] (sys_ioctl+0x40/0x64)$ }" u& d' G$ d; P( v6 T5 c- S
[  155.244194] [<c009f1cc>] (sys_ioctl+0x0/0x64) from [<c0009440>] (ret_fast_syscall+0x0/0x2c)9 p$ E& Z9 t4 ]% A1 I- D
[  155.252677]  r7:00000036 r6:00000000 r5:be9b9d9c r4:be9b9ac4
: o7 r) r8 a2 A$ g' v7 L[  155.259365] ---[ end trace 95275eb3f63ce17d ]---4 g+ A3 }' @$ t2 X" ^3 ?7 ~
[  155.265446] *** MemoryOS_map: Failed to map to host address space!2 g5 F5 x: c' e9 Q2 O! c
[  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    0 @4 {8 y4 J! [) S
( g) E% P4 O" E- F" ]: d
' Q1 {, k: b" |
不知什么原因?                                                  
0 v* c, h) S# \/ x8 A+ Q2 K
& x9 V, P5 M/ d9 C
作者: 2532609929    时间: 2014-9-15 13:17
解决了吗,可能是uboot设置问题4 e, N( ]/ ~) c( }8 @! S

作者: lly_lake    时间: 2014-9-19 10:26
问题解决了% `: |% [/ K9 f+ @2 p2 n

作者: lishangfeng1990    时间: 2015-5-14 09:51
怎么解决的呢???我也遇到同样的问题了!!!
作者: zxbdlv    时间: 2016-4-27 19:34
lly_lake 发表于 2014-9-19 10:26
& _+ t5 Y: S) G$ C; K问题解决了
# G9 W* h$ m, |6 S
如何解决的?我也遇到了这个问题!
作者: teddy    时间: 2016-5-4 09:10
mem参数没有配置对,请参考:
+ J1 C6 G( ^5 ]8 ^http://51dsp.net/forum.php?mod=v ... 4&highlight=mem
作者: wyjzs    时间: 2019-7-18 15:01
teddy 发表于 2016-5-4 09:10/ G4 B( S- ]3 \* H! J9 @
mem参数没有配置对,请参考:
& u; L6 x6 i; X  V+ n/ s4 ]% m, chttp://51dsp.net/forum.php?mod=viewthread&tid=724&highlight=mem ...

3 A7 v  g* [! A" w2 K, p3 u您好,我也遇到了这个问题,mem参数不是uboot启动自动分配的吗?我也在uboot里重新设置过了,还是有上述的错误提示,请问还可能是别的原因吗?




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