|
我用tl_ipc方式进行双核通讯,步骤是按手册中操作的,但是没有成功请问怎么回事,以下代码是我在开发板输入./run.sh后输出的代码& ~8 m* ?9 t, F9 ~% [3 g
modprobe syslink
% l% x$ j4 X- o. Q `3 X+ vslaveloader startup DSP ./helloworld_tlipc.out 4 h1 T4 P' L ]6 k i6 S( q: ]3 D
: E, j6 i9 @* w, I0 H, x! l% xmodprobe c674x-irq-events && sleep 4 # wait for device node created 4 q% V) A3 s9 _. E$ Q6 E; k b$ _$ b
./app_host
% [) f e& G0 p- Trmmod c674x-irq-events 7 N' H$ A+ T4 `2 Z
9 D( M5 C! M7 ?' H% e
slaveloader shutdown DSP
+ W i; P9 s! ~6 H; ormmod syslink k2 I' D) C# D$ P( W7 ^1 N0 `4 \
root@omapl138-Tronlong:/home/test/helloworld_tlipc# ./run.sh $ e1 ~: _3 b- E. X( S) M2 y" m
+ modprobe syslink
9 p$ g8 E( o( i' B# W: R[ 173.161745] SysLink version : 2.21.01.05
" b R9 a; _7 t2 W[ 173.161773] SysLink module created on Date:Aug 27 2017 Time:00:24:22
. }: m1 u% h7 W* [+ slaveloader startup DSP ./helloworld_tlipc.out0 H* j) w5 e6 g. K) s1 A, {+ z
Attached to slave procId 0.
& J& _. }8 Q# g1 j. W6 e+ b9 p, lLoading procId 0.
+ i6 ^! O* u0 Z) w6 O) w' N. L3 gLoaded file ./helloworld_tlipc.out on slave procId 0./ j) e, C# o4 L# \# X" @) r0 S& \
Started slave procId 0.+ r) f% t2 p S$ ~$ }2 ^
+ modprobe c674x-irq-events
. c& N3 ]6 X$ w& F; r( M[ 173.502316] input: c674x_irqs as /devices/virtual/input/input3' {9 i' n7 {0 y X: J# U
+ sleep 43 d r+ F" P* t* T- q+ t
+ ./app_host
; a9 J! @! t( c9 s. {fail to open /dev/input/c674x_irq_events* b& {: |$ f* f" B' o
+ rmmod c674x-irq-events0 i# t8 r6 V8 n
[ 177.615980] input input3: c674x_irq_exit!
l! u: G3 b1 C+ slaveloader shutdown DSP
5 f$ J/ M% `. X4 _0 j+ X1 Q2 jStopped slave procId 0.( A+ H k! R4 [
Unloaded slave procId 0.
5 n: N) m) Z% P$ f3 ^Detached from slave procId 0.
" m3 S& N9 I& [- i) }+ rmmod syslink
/ D3 l% w! G! b8 l1 h+ p[ 177.837527] Removed syslink kernel module
% U- i6 Z' R- O0 M2 M2 }8 Y/ Z* i* V& {; ~
: F- n) M& w0 Z* a: s我是将.
) @) _/ d+ a3 {+ A- R2 b├── app_host
& o" b( h9 x% I1 c+ N/ [: r├── helloworld_tlipc.out
" \ L: _8 S7 b4 q$ h├── run.sh
# V/ \% G6 b, l S8 y: k) ~├── slaveloader
; `9 I) y4 Z7 @1 A. B4 p└── syslink.ko
e( O, t) d3 \! c1 H└── c674x-irq-events.ko5 j9 d; r1 d% H
放入开发板的文件系统中然后执行./run.sh。
+ K$ }) P. q2 l2 R还去指导一下,到底是怎么回事6 x* j) V- J* H6 N d/ l4 ^
app_host文件和helloworld_tlipc文件都是用您们提供的tr_arm的文件编译成的
. J3 L3 G/ q) o6 I) Z. E1 F; b. B, k9 f3 f& N! B6 @8 r
|
|