Hi Til,
This is the right place to ask.
Your understanding of the process is correct. See
https://github.com/OpenAMP/libmetal/pull/139 for adding support for a
new processor/OS.
To answer your other questions:
1. There is no further documentation for RTOS vendors implementing libmetal.
2. See the above pull request for how to get your changes into the
repository.
Documentation, and if possible, adding building libmetal and its tests
for embOS to the GitHub continuous integration for libmetal would be
very welcome.
Regards,
Ed M
On 12/6/20 5:06 PM, SEGGER - Til Stork via Openamp-rp wrote:
> Hello guys,
> I am not sure if this is the correct address.
> One of our customers asked us for rpmsg support for our RTOS embOS.
> [1]https://www.segger.com/products/rtos/embos/
> If I understand it correctly we would need to write some kind of
> abstraction layer within libmetal like it is done for e.g. FreeRTOS,
> correct?
> If I compare the bare metal implementation at
> [2]https://github.com/OpenAMP/libmetal/tree/master/lib/system/generic
> to FreeRTOS
> [3]https://github.com/OpenAMP/libmetal/tree/master/lib/system/freertos
> it seems that should be no big deal.
> 1. Is there any further documentation for an RTOS vendor like me to
> understand what I need to implement?
> 2. If the embOS layer is finished can I upload it to the libmetal
> repository (so our customers can use it from there)?
> Is there anything else I should be aware of?
> Many thanks!
> Best regards,
> Til
>
> Til Stork
> Product Manager embOS
> [4]til.stork(a)segger.com
> T +49-2173-99312-0
> [5]www.segger.com
> [6]SEGGER - The Embedded Experts
>
> SEGGER Microcontroller GmbH * Ecolab-Allee 5 * 40789 Monheim am
> Rhein * Germany * Tel. +49-2173-99312-0 * Fax. +49-2173-99312-28
> Amtsgericht Düsseldorf, HRB-Nr.: 57453 * Managing Director: Ivo
> Geilenbruegge
>
> References
>
> 1. https://www.segger.com/products/rtos/embos/
> 2. https://github.com/OpenAMP/libmetal/tree/master/lib/system/generic
> 3. https://github.com/OpenAMP/libmetal/tree/master/lib/system/freertos
> 4. mailto:til.stork@segger.com
> 5. https://www.segger.com/
> 6. https://www.segger.com/
>
>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/libmetal
Commit: 4081b0d562380b635f6e1436bd8e57cea6b3a792
https://github.com/OpenAMP/libmetal/commit/4081b0d562380b635f6e1436bd8e57ce…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-12-10 (Thu, 10 Dec 2020)
Changed paths:
M lib/system/generic/io.c
Log Message:
-----------
io: fix IAR compile error due to 'void *' variable
Fix EWARM compilation error due to void pointer usage.
Signed-off-by: Haithem Rahmani <haithem.rahmani(a)st.com>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 07c523bdd2cde8914119727ca153030baa073ce7
https://github.com/OpenAMP/libmetal/commit/07c523bdd2cde8914119727ca153030b…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-12-10 (Thu, 10 Dec 2020)
Changed paths:
M lib/processor/arm/atomic.h
Log Message:
-----------
atomic: fix typo in the header file comments
Replace GCC by Arm.
Signed-off-by: Haithem Rahmani <haithem.rahmani(a)st.com>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: bbf692005c90ec3668325d78cdf1e0f857191d0e
https://github.com/OpenAMP/libmetal/commit/bbf692005c90ec3668325d78cdf1e0f8…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-12-10 (Thu, 10 Dec 2020)
Changed paths:
M lib/system/generic/condition.h
M lib/system/generic/sys.h
Log Message:
-----------
generic: fix compilation error when compiling using IAR
Includes are not found by the IAR.
As they seems unused, just suppress them.
Signed-off-by: Haithem Rahmani <haithem.rahmani(a)st.com>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 11bb1ac46d1b1dd0c0cf1748c4b52d93f1ac15e2
https://github.com/OpenAMP/libmetal/commit/11bb1ac46d1b1dd0c0cf1748c4b52d93…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-12-10 (Thu, 10 Dec 2020)
Changed paths:
M lib/CMakeLists.txt
M lib/compiler/iar/CMakeLists.txt
A lib/compiler/iar/errno.h
A lib/errno.h
Log Message:
-----------
compiler: Add specific errno.h file for EWARM compilation
Error values use in the library are not POSIX. Unlike the GNU gcc,the
EWARM toolchain doesn't support error such as EINVAL. To ensure coherency
in error management we have to ensure that library and application use
the same errno. Currently an "errno.h" is provided at application level
which makes GCC work correctly, but this is not the case for the IAR.
the added list is based on FreeBSD errno.h.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: bf57c47cd5c74e968a452326550ef88b5c322f01
https://github.com/OpenAMP/libmetal/commit/bf57c47cd5c74e968a452326550ef88b…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-12-10 (Thu, 10 Dec 2020)
Changed paths:
M lib/device.c
M lib/dma.c
M lib/io.c
M lib/irq.c
M lib/shmem.c
M lib/softirq.c
M lib/system/freertos/irq.c
M lib/system/freertos/xlnx_common/irq.c
M lib/system/generic/condition.h
M lib/system/generic/irq.c
M lib/system/generic/sys.h
M lib/system/generic/xlnx_common/irq.c
M lib/system/linux/condition.h
M lib/system/linux/sys.h
M lib/system/nuttx/irq.c
M lib/system/zephyr/condition.h
M lib/system/zephyr/irq.c
Log Message:
-----------
lib: include metal/errno instead of errno.h
include metal/errno to better support non GCC compilers.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 75e36524f62aba7fbd167ea23dbd18fbf0a9f6ac
https://github.com/OpenAMP/libmetal/commit/75e36524f62aba7fbd167ea23dbd18fb…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-12-10 (Thu, 10 Dec 2020)
Changed paths:
M examples/system/freertos/zynqmp_r5/zynqmp_amp_demo/common.h
M examples/system/freertos/zynqmp_r5/zynqmp_amp_demo/ipi_shmem_demod.c
M examples/system/generic/zynqmp_r5/zynqmp_amp_demo/common.h
M examples/system/generic/zynqmp_r5/zynqmp_amp_demo/ipi_shmem_demod.c
M examples/system/linux/zynqmp/zynqmp_amp_demo/ipi_latency_demo.c
M examples/system/linux/zynqmp/zynqmp_amp_demo/ipi_shmem_demo.c
M examples/system/linux/zynqmp/zynqmp_amp_demo/shmem_atomic_demo.c
M examples/system/linux/zynqmp/zynqmp_amp_demo/shmem_demo.c
M examples/system/linux/zynqmp/zynqmp_amp_demo/shmem_latency_demo.c
M examples/system/linux/zynqmp/zynqmp_amp_demo/shmem_throughput_demo.c
M test/metal-test.c
M test/system/freertos/alloc.c
M test/system/freertos/atomic.c
M test/system/freertos/irq.c
M test/system/freertos/sleep.c
M test/system/freertos/threads.c
M test/system/generic/irq.c
M test/system/linux/irq.c
Log Message:
-----------
Update exemple and tests to include metal/errno.h
Modify all the libmetal exemples and tests file to include <metal/errno.h>
instead of <errno.h>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Compare: https://github.com/OpenAMP/libmetal/compare/6e81fb67c76b...75e36524f62a
Branch: refs/heads/master
Home: https://github.com/OpenAMP/open-amp
Commit: 47549566ea8b2184006f5638021fa41263169381
https://github.com/OpenAMP/open-amp/commit/47549566ea8b2184006f5638021fa412…
Author: Chao An <anchao(a)pinecone.net>
Date: 2020-12-03 (Thu, 03 Dec 2020)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/rpmsg/rpmsg.c
M lib/rpmsg/rpmsg_internal.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: bring back zero copy transfer
Commit-id: b16ca55
Adding RPMsg Extension layer implementing zero-copy send and receive.
Signed-off-by: Chao An <anchao(a)pinecone.net>
Commit: 34bdd161d868e2451b21bad5a539c533b31945c5
https://github.com/OpenAMP/open-amp/commit/34bdd161d868e2451b21bad5a539c533…
Author: Xiang Xiao <xiaoxiang(a)xiaomi.com>
Date: 2020-12-03 (Thu, 03 Dec 2020)
Changed paths:
M apps/tests/msg/CMakeLists.txt
A apps/tests/msg/rpmsg-nocopy-ping.c
Log Message:
-----------
apps: add msg-test-rpmsg-nocopy-ping test
to demo the usage of zero copy API
Signed-off-by: Xiang Xiao <xiaoxiang(a)xiaomi.com>
Compare: https://github.com/OpenAMP/open-amp/compare/baee3ff92d8f...34bdd161d868
Hi,
As discussed during the meeting, here is a link to the wrapper that we have implemented on top of OpenAMP to ease its use for application
https://github.com/STMicroelectronics/STM32CubeMP1/tree/master/Middlewares/…
Regards,
Arnaud
> -----Original Message-----
> From: Openamp-rp <openamp-rp-bounces(a)lists.openampproject.org> On
> Behalf Of Bill Mills via Openamp-rp
> Sent: jeudi 3 décembre 2020 16:34
> To: openamp-rp(a)lists.openampproject.org
> Subject: [Openamp-rp] Openamp-rp call today in 30 min
>
> All,
>
> Just a reminder that we have a call in 30 min.
>
> Thanks,
> Bill
>
> --
> Bill Mills
> Principal Technical Consultant, Linaro
> +1-240-643-0836
> TZ: US Eastern
> Work Schedule: Tues/Wed/Thur
>
> --
> Openamp-rp mailing list
> Openamp-rp(a)lists.openampproject.org
> https://lists.openampproject.org/mailman/listinfo/openamp-rp
All,
Just a reminder that we have a call in 30 min.
Thanks,
Bill
--
Bill Mills
Principal Technical Consultant, Linaro
+1-240-643-0836
TZ: US Eastern
Work Schedule: Tues/Wed/Thur
Branch: refs/heads/master
Home: https://github.com/OpenAMP/open-amp
Commit: a659210c47365fb8032d2d2a6a26201a7a8ed91c
https://github.com/OpenAMP/open-amp/commit/a659210c47365fb8032d2d2a6a26201a…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-12-01 (Tue, 01 Dec 2020)
Changed paths:
M apps/examples/echo/rpmsg-echo.c
M apps/examples/echo/rpmsg-echo.h
M apps/examples/echo/rpmsg-ping.c
M apps/examples/matrix_multiply/matrix_multiply.c
M apps/examples/matrix_multiply/matrix_multiply.h
M apps/examples/matrix_multiply/matrix_multiplyd.c
M apps/examples/rpc_demo/rpc_demo.c
M apps/examples/rpc_demo/rpc_demod.c
M apps/examples/rpc_demo/rpmsg-rpc-demo.h
M apps/examples/rpmsg_sample_echo/rpmsg-sample-echo.c
M apps/examples/rpmsg_sample_echo/rpmsg-sample-ping.c
M apps/machine/zynq7/platform_info.h
M apps/machine/zynqmp_r5/platform_info.h
M apps/tests/msg/rpmsg-flood-ping.c
M apps/tests/msg/rpmsg-ping.c
M apps/tests/msg/rpmsg-ping.h
M apps/tests/msg/rpmsg-update.c
Log Message:
-----------
apps: add missing license information
Add BSD license when missing.
Copyright has also been added for files when possible.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 39cbd874540c518ed8cdba263ce33b9f41351411
https://github.com/OpenAMP/open-amp/commit/39cbd874540c518ed8cdba263ce33b9f…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-12-01 (Tue, 01 Dec 2020)
Changed paths:
M lib/include/openamp/rpmsg_retarget.h
M lib/proxy/rpmsg_retarget.c
Log Message:
-----------
lib: add missing license information for rpmsg_retarget
Add BSD license and mentor copyright.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Compare: https://github.com/OpenAMP/open-amp/compare/38aed4aae4d8...39cbd874540c