mirror of
https://github.com/OpenAMP/open-amp.git
synced 2026-02-06 02:54:32 +08:00
Readme: add description for zero copy demo
Add a subchapter to describe how to run the rpmsg echo demo using the nocopy API. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
This commit is contained in:
committed by
Arnaud Pouliquen
parent
063ae70eef
commit
347397deca
11
README.md
11
README.md
@@ -147,6 +147,7 @@ directory.
|
||||
* If you have used `-DWITH_APPS=ON` to build the demos, you can try them on
|
||||
your Linux host as follows:
|
||||
|
||||
* rpmsg echo demo:
|
||||
```
|
||||
# Start echo test server to wait for message to echo
|
||||
$ sudo LD_LIBRARY_PATH=<openamp_built>/usr/local/lib:<libmetal_built>/usr/local/lib \
|
||||
@@ -156,6 +157,16 @@ directory.
|
||||
build/usr/local/bin/rpmsg-echo-ping-shared 1
|
||||
```
|
||||
|
||||
* rpmsg echo demo with the nocopy API:
|
||||
```
|
||||
# Start echo test server to wait for message to echo
|
||||
$ sudo LD_LIBRARY_PATH=<openamp_built>/usr/local/lib:<libmetal_built>/usr/local/lib \
|
||||
build/usr/local/bin/rpmsg-nocopy-echo-shared
|
||||
# Run echo test to send message to echo test server
|
||||
$ sudo LD_LIBRARY_PATH=<openamp_built>/usr/local/lib:<libmetal_built>/usr/local/lib \
|
||||
build/usr/local/bin/rpmsg-nocopy-ping-shared 1
|
||||
```
|
||||
|
||||
### Example to compile Zynq UltraScale+ MPSoC R5 generic(baremetal) remote:
|
||||
* build libmetal library on your host as follows:
|
||||
* Create your on cmake toolchain file to compile libmetal for your generic
|
||||
|
||||
Reference in New Issue
Block a user