|
我用tl_ipc方式进行双核通讯,步骤是按手册中操作的,但是没有成功请问怎么回事,以下代码是我在开发板输入./run.sh后输出的代码/ l1 ^& _; I* m4 t' Z
modprobe syslink 0 s9 F4 N% k) ?( q2 ]: s c
slaveloader startup DSP ./helloworld_tlipc.out
" t! e& i) M' c% }) L2 E
7 |# R+ g8 H' L7 K2 Z% O6 o0 rmodprobe c674x-irq-events && sleep 4 # wait for device node created
+ w& K: F) E+ m" m./app_host , q3 j3 K1 G8 {8 C% s; o
rmmod c674x-irq-events ' l3 X) k( I! T9 p7 V
- i. H; q8 h* f5 Wslaveloader shutdown DSP 8 f q1 L9 L: x8 F3 W# z3 j6 H
rmmod syslink
( X9 C: _1 i& o; xroot@omapl138-Tronlong:/home/test/helloworld_tlipc# ./run.sh
6 _. ~# W5 o; a% E0 Y$ N$ Y+ R+ modprobe syslink" z5 e) k0 U7 d1 w* N; g1 j& t% o
[ 173.161745] SysLink version : 2.21.01.05' ]1 s8 i8 P( x+ j2 a9 `5 g2 q
[ 173.161773] SysLink module created on Date:Aug 27 2017 Time:00:24:22
2 s0 M1 g$ R+ |3 t! N+ slaveloader startup DSP ./helloworld_tlipc.out
' @# r# A9 A& m1 N" {Attached to slave procId 0.2 w* T0 e, A6 T# j
Loading procId 0.
" s3 _. \! V- j" }Loaded file ./helloworld_tlipc.out on slave procId 0.# j6 p% [' h, j0 \5 I: i" c
Started slave procId 0.
' ?# M8 U2 O2 i+ modprobe c674x-irq-events! m) _8 r/ ]; i* F, I! Q
[ 173.502316] input: c674x_irqs as /devices/virtual/input/input3
) ?' v# C! G" s/ R+ j* M( h+ sleep 4! O* ^$ w8 [0 w( J. g
+ ./app_host7 S: |7 O1 N" A8 j
fail to open /dev/input/c674x_irq_events
1 j* j1 j/ B" F2 \% V5 A+ rmmod c674x-irq-events3 f( p% P8 N, R# @
[ 177.615980] input input3: c674x_irq_exit!& N# @ X- C) l0 L
+ slaveloader shutdown DSP5 S# ?, a5 v( A% Q4 Z7 r8 M
Stopped slave procId 0.
0 J5 }5 O" Z7 h0 r( [& NUnloaded slave procId 0.
. {) W7 {! h4 m1 d) vDetached from slave procId 0./ b6 @/ \+ D1 F2 Y; C& q- e" D
+ rmmod syslink5 j' n7 o& n0 y2 [/ Q% c( r
[ 177.837527] Removed syslink kernel module) `. n% Z6 u, H
* O6 y" d' h2 Z) g) {& x2 k! B2 k8 {) H* x" {% k
我是将.
( o% T) B y; E" e├── app_host( O! S8 A' o0 W1 O' [8 U
├── helloworld_tlipc.out
; @7 o! m: F# H8 k5 ]( _├── run.sh4 C! P6 J( S) I4 C" | R1 W! f
├── slaveloader
5 X& Q* q8 {" h2 s; j└── syslink.ko
: O7 k! a, N3 k7 V) e" f└── c674x-irq-events.ko/ u: E; h! q8 @
放入开发板的文件系统中然后执行./run.sh。# {4 c' b& @9 T3 Q) I h* {- _
还去指导一下,到底是怎么回事" a$ ?/ f" {" k% f. E
app_host文件和helloworld_tlipc文件都是用您们提供的tr_arm的文件编译成的8 w b, y! A0 A3 y0 [
( d% B/ |+ q+ x/ x/ s |
|