Commit 4d2d4d0
committed
[VirtIO] Workaround for Arduino can't send data first
There is a RPMsg's limitation by design that RPMsg remote (Arduino)
cannot send any data until the master (Linux) send any data first.
This is a design decision that service announcement receiver has
to send a first message to bind their addresses.
OpenAMP/open-amp#182
As workaround, run_arduino.sh script will send "DUMMY" data right
after the Arduino firmware loaded. The Arduino should discard
the first message.1 parent 819928e commit 4d2d4d0
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
150 | 152 | | |
151 | 153 | | |
152 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
153 | 164 | | |
154 | 165 | | |
155 | 166 | | |
| |||
0 commit comments