From 347397decaa43372fc4d00f965640ebde042966d Mon Sep 17 00:00:00 2001 From: Arnaud Pouliquen Date: Fri, 4 Dec 2020 14:04:58 +0100 Subject: [PATCH] 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 --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 7a812d9..d48bc59 100644 --- a/README.md +++ b/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=/usr/local/lib:/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=/usr/local/lib:/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=/usr/local/lib:/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