|
我用tl_ipc方式进行双核通讯,步骤是按手册中操作的,但是没有成功请问怎么回事,以下代码是我在开发板输入./run.sh后输出的代码# M6 m' l' ?' d
modprobe syslink
* ?( b0 P( \0 B: V& [. |$ ]slaveloader startup DSP ./helloworld_tlipc.out
& z ~4 D2 C% a$ V) ~
4 H7 j8 S1 c, M( {1 Emodprobe c674x-irq-events && sleep 4 # wait for device node created
1 N; m* Z! C6 ]! _# g3 E* _* z$ q./app_host & _7 z9 k1 G. f; `+ y, C7 j' Y4 r2 g
rmmod c674x-irq-events
, p$ H/ N& h: S
$ n5 [$ t1 I: Uslaveloader shutdown DSP $ P5 h" T0 j6 J ?% M
rmmod syslink
8 e0 C B, `* g3 U% A% B- wroot@omapl138-Tronlong:/home/test/helloworld_tlipc# ./run.sh 3 X7 ~& l) b8 t& A; Z0 E
+ modprobe syslink+ x- h* B5 _) M( j1 V. c# r+ q
[ 173.161745] SysLink version : 2.21.01.05 W6 u, t- t+ b* ?4 y5 g7 w
[ 173.161773] SysLink module created on Date:Aug 27 2017 Time:00:24:22' X, M* y5 z) y/ ]. ^
+ slaveloader startup DSP ./helloworld_tlipc.out
/ J* @! z' x1 qAttached to slave procId 0.
x- c, N$ k, G' q) G+ Y* G) q) C+ I/ y; kLoading procId 0.
3 h1 x& L8 I3 NLoaded file ./helloworld_tlipc.out on slave procId 0.
6 q F, }. |' b7 U5 ^9 S5 |* X$ ~Started slave procId 0.- o' x) v6 a' Z& W+ x& I
+ modprobe c674x-irq-events$ j. L$ ~; a! @
[ 173.502316] input: c674x_irqs as /devices/virtual/input/input3' T( h2 H% f( `* r* n" U
+ sleep 4
, ^ @* @0 g! H+ ./app_host1 ^& A+ y. ?7 u3 Y H' v
fail to open /dev/input/c674x_irq_events
; q6 L! b9 y$ B* Z' }+ rmmod c674x-irq-events
1 M5 @" A2 l$ N* s5 e6 I+ M[ 177.615980] input input3: c674x_irq_exit!
0 S+ j4 Z+ `$ b) M' k# f, q% v! l4 l+ slaveloader shutdown DSP5 T$ g4 K& t5 B. `" V% w
Stopped slave procId 0.
" t% O: f4 Z& \7 x tUnloaded slave procId 0.1 ]) n6 G# b8 [5 X/ ~1 e) [, e4 O
Detached from slave procId 0.
$ {- }! B6 |* a8 o, w' M+ rmmod syslink
! L. J1 w- w2 F[ 177.837527] Removed syslink kernel module; H8 y2 i& T$ \0 F" ?- e4 ^
4 v, c5 c8 ]( _) N# p
: T! k% }! B6 B5 V我是将.
+ E. Q! @! G; j+ P; {* s1 ]├── app_host# z4 \) K# O( t* C6 j1 h7 D
├── helloworld_tlipc.out) n& P. O5 K$ M X
├── run.sh2 r4 B/ Z2 [ y
├── slaveloader0 f) g: O5 j$ q3 K* f+ L& @0 g3 Z# C0 v1 l
└── syslink.ko6 S! P, C9 v/ D% T! z) m
└── c674x-irq-events.ko% l& ?! u9 R) D# s
放入开发板的文件系统中然后执行./run.sh。
$ d o7 ]! \, U: r/ G还去指导一下,到底是怎么回事
4 @+ c! o" S/ z0 `0 [4 Bapp_host文件和helloworld_tlipc文件都是用您们提供的tr_arm的文件编译成的: X5 f1 [9 o9 y. J1 ?+ Z
- {" E7 O1 ^, x |
|