Looks like this went to openamp-rp-bounces(a)lists.openampproject.org by accident. Sending to the openamp-rp list.
-----Original Message-----
From: Ed T. Mooring <emooring(a)xilinx.com>
Sent: Saturday, October 31, 2020 7:11 PM
To: Openamp-rp <openamp-rp-bounces(a)lists.openampproject.org>
Subject: OpenAMP 2020.10 Release
This is to announce the release of OpenAMP v2020.10. See the release notes at:
https://github.com/OpenAMP/open-amp/releases/tag/v2020.10.0https://github.com/OpenAMP/libmetal/releases/tag/v2020.10.0
The release was actually on Friday, Oct. 23, but it appears that software releases are one of the few things GitHub doesn't automatically send email about.
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
Branch: refs/heads/master
Home: https://github.com/OpenAMP/open-amp
Commit: dc6ee4623df51eca03f9358cac99468369b28a36
https://github.com/OpenAMP/open-amp/commit/dc6ee4623df51eca03f9358cac994683…
Author: Ben Levinsky <ben.levinsky(a)xilinx.com>
Date: 2020-10-26 (Mon, 26 Oct 2020)
Changed paths:
M apps/machine/microblaze_generic/platform_info.c
M apps/machine/microblaze_generic/platform_info.h
M apps/machine/zynq7/platform_info.c
M apps/machine/zynq7/platform_info.h
M apps/machine/zynqmp/platform_info.c
M apps/machine/zynqmp/platform_info.h
M apps/machine/zynqmp_r5/platform_info.c
M apps/machine/zynqmp_r5/platform_info.h
M apps/system/linux/machine/generic/platform_info.c
M apps/system/linux/machine/generic/platform_info.h
Log Message:
-----------
apps: machine: update cleanup of rpmsg and virtio devices
update to clean up devices and not just (void)<var>
Signed-off-by: Ben Levinsky <ben.levinsky(a)xilinx.com>
Commit: 59eaa4847b6cf879321d06d0400e805142148bab
https://github.com/OpenAMP/open-amp/commit/59eaa4847b6cf879321d06d0400e8051…
Author: Ben Levinsky <ben.levinsky(a)xilinx.com>
Date: 2020-10-26 (Mon, 26 Oct 2020)
Changed paths:
M apps/examples/echo/rpmsg-echo.c
M apps/examples/echo/rpmsg-ping.c
M apps/examples/matrix_multiply/matrix_multiply.c
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/rpmsg_sample_echo/rpmsg-sample-echo.c
M apps/examples/rpmsg_sample_echo/rpmsg-sample-ping.c
M apps/tests/msg/rpmsg-flood-ping.c
M apps/tests/msg/rpmsg-ping.c
M apps/tests/msg/rpmsg-update.c
Log Message:
-----------
apps: demos: update to hand rproc for cleanup
As rproc is needed to remove virtio device from remoteproc_virtio device
make sure this is handed off too
Signed-off-by: Ben Levinsky <ben.levinsky(a)xilinx.com>
Compare: https://github.com/OpenAMP/open-amp/compare/7be7065db7f4...59eaa4847b6c
Branch: refs/heads/master
Home: https://github.com/OpenAMP/open-amp
Commit: 7be7065db7f49536f7fc042643925b5a255e9e06
https://github.com/OpenAMP/open-amp/commit/7be7065db7f49536f7fc042643925b5a…
Author: Ben Levinsky <ben.levinsky(a)xilinx.com>
Date: 2020-10-26 (Mon, 26 Oct 2020)
Changed paths:
M apps/examples/echo/rpmsg-ping.c
M apps/machine/zynq7/platform_info.c
M apps/machine/zynqmp/platform_info.c
M apps/machine/zynqmp_r5/platform_info.c
M apps/system/linux/machine/generic/platform_info.c
M apps/tests/msg/rpmsg-flood-ping.c
M apps/tests/msg/rpmsg-ping.c
Log Message:
-----------
apps: update memory management
For each metal_allocate_memory call, make sure there are
subsequent metal_free_memory calls
Signed-off-by: Ben Levinsky <ben.levinsky(a)xilinx.com>
Hello,
I'm using a Linux userspace application with Libmetal to communicate core 0
(Linux) and core 1 (FreeRTOS) in a Zynq 7000. The application is very
simple, as it only forwards messages between cores and works very well, but
I have noticed that it creates an additional thread automatically. I
suspect this is because of Libmetal, as OpenAMP's wiki states:
"The Linux userspace implementation will use a thread to call select()
function to listen to the file descriptors of the devices to see if there is
an interrupt triggered. If there is an interrupt triggered, it will call the
interrupt handler registered by the user application."
However, I was planning system priorities to configure the userspace
watchdog daemon and noticed that this thread has SCHED_FIFO scheduling
policy with a priority of 99 (the highest possible). This priority is above
all my userspace applications, including the watchdog daemon, and even above
several kernel threads, which worries me.
The code responsible for this behavior is inside
libmetal/lib/system/linux/irq.c, function metal_linux_irq_handling(void *
args):
param.sched_priority = sched_get_priority_max(SCHED_FIFO);
/* Ignore the set scheduler error */
ret = sched_setscheduler(0, SCHED_FIFO, ¶m);
My question is: can I lower the priority of this thread? If the answer is
yes, what would be the minimum required priority for Libmetal to operate
properly?
Thank you very much and best regards,
Eduardo.
Eduardo Viruete
Software Engineer
Teltronic
Tel: +34 976 465656 Ext. 313
<http://www.teltronic.es/> www.teltronic.es
Hello,
I’m using a Linux userspace application with Libmetal to communicate
core 0 (Linux) and core 1 (FreeRTOS) in a Zynq 7000. The application
is very simple, as it only forwards messages between cores and works
very well, but I have noticed that it creates an additional thread
automatically. I suspect this is because of Libmetal, as OpenAMP’s
wiki states:
“The Linux userspace implementation will use a thread to call select()
function to listen to the file descriptors of the devices to see if
there is an interrupt triggered. If there is an interrupt triggered, it
will call the interrupt handler registered by the user application.”
However, I was planning system priorities to configure the userspace
watchdog daemon and noticed that this thread has SCHED_FIFO scheduling
policy with a priority of 99 (the highest possible). This priority is
above all my userspace applications, including the watchdog daemon, and
even above several kernel threads, which worries me.
The code responsible for this behavior is inside
libmetal/lib/system/linux/irq.c, function metal_linux_irq_handling(void
* args):
param.sched_priority = sched_get_priority_max(SCHED_FIFO);
/* Ignore the set scheduler error */
ret = sched_setscheduler(0, SCHED_FIFO, ¶m);
My question is: can I lower the priority of this thread? If the answer
is yes, what would be the minimum required priority for Libmetal to
operate properly?
Thank you very much and best regards,
Eduardo.
Eduardo Viruete
Software Engineer
Teltronic
Tel: +34 976 465656 Ext. 313
[1]www.teltronic.es
References
1. http://www.teltronic.es/
Branch: refs/tags/new_api_rc1
Home: https://github.com/OpenAMP/open-amp
Commit: 4c27f417b2c9d9189d35dc1d2b55b37a4de09422
https://github.com/OpenAMP/open-amp/commit/4c27f417b2c9d9189d35dc1d2b55b37a…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/virtqueue.h
M lib/rpmsg/remote_device.c
M lib/virtio/virtqueue.c
Log Message:
-----------
lib: virtio: suppress virtqueue memory allocation
To be able to support static allocation, vq should no more allocated in
virtio but in rpmsg or application. We provide a helper funciton
virtqueue_allocate() to the caller to help with the allocation.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 4f4f0d0d276b66a0817bc7aca6372ec0a2d4c81e
https://github.com/OpenAMP/open-amp/commit/4f4f0d0d276b66a0817bc7aca6372ec0…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/virtqueue.h
Log Message:
-----------
virtqueue: Add function to set shmem I/O region
Add function to set shared memory I/O region per virtqueue.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 5a273572498646dd0e890f00c04d5d76fe4a799c
https://github.com/OpenAMP/open-amp/commit/5a273572498646dd0e890f00c04d5d76…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/rpmsg/remote_device.c
Log Message:
-----------
lib: rpmsg: Set shmem region for the virtqueue
After we create the virtqueue set the shmem region
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 99ffe0bc5d4a573ba7421f5c1fbedebb8608444f
https://github.com/OpenAMP/open-amp/commit/99ffe0bc5d4a573ba7421f5c1fbedebb…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/virtqueue.h
M lib/rpmsg/remote_device.c
M lib/virtio/virtqueue.c
Log Message:
-----------
virtqueue: remove shm_io argument from virtqueue_create()
Remove shared memory I/O region argument from virtqueue_create() API.
The virtqueue I/O region can be set in another APIs.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: ecc6419cbd3ecf8380413800925f7f636d3bde1e
https://github.com/OpenAMP/open-amp/commit/ecc6419cbd3ecf8380413800925f7f63…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/virtqueue.h
M lib/virtio/virtqueue.c
Log Message:
-----------
virtqueue: remove virtqueue_add_single_buffer
virtqueue_add_single_buffer isn't used by anything and we have
virtqueue_add_buffer that accomplishes what we need, so remove the
function.
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 08443a28552db14db749e9d7541e4aa7cc652f55
https://github.com/OpenAMP/open-amp/commit/08443a28552db14db749e9d7541e4aa7…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/virtio/virtqueue.c
Log Message:
-----------
virtqueue: Also use virtqueue metal_io_region for mapping
The virtqueue memory should always be covered by the shm_io region we
setup the virtqueue with. In practice, vq->shm_io and sg[x].io should
be the same.
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 129ec2f4fc978db53eab11630bf82ca86cb7bd29
https://github.com/OpenAMP/open-amp/commit/129ec2f4fc978db53eab11630bf82ca8…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/virtqueue.h
M lib/rpmsg/remote_device.c
M lib/rpmsg/rpmsg_core.c
M lib/virtio/virtqueue.c
Log Message:
-----------
virtqueue: Introduce virtqueue_buffer to replace metal_sg
virtqueue_add_buffer takes a list of buffers, so lets decouple it from
depending on metal_sg. Instead we just create a new struct
virtqueue_buffer which keeps track of the buffer pointer and length.
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 484c2ee99ba4d5a42759bf897de8e221a51f5af0
https://github.com/OpenAMP/open-amp/commit/484c2ee99ba4d5a42759bf897de8e221…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/virtqueue.h
M lib/virtio/virtqueue.c
Log Message:
-----------
virtqueue: encapsulate shared memory handling
Encapsulate the the handling of the shared memory region to make it clear
exactly what functionality is needed and ensure that others aren't touch
internal data that we aren't aware of.
We treat the sh_mem region in the virtqueue as an obaque pointer that
only should get used by v2p and p2v functions.
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 39a9e05266eda2f91f924429b50fe0f2f4c31dce
https://github.com/OpenAMP/open-amp/commit/39a9e05266eda2f91f924429b50fe0f2…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
A docs/img-src/coprocessor-rpmsg-ns-dynamic.gv
A docs/img-src/coprocessor-rpmsg-ns.gv
A docs/img-src/coprocessor-rpmsg-static-ep.gv
A docs/img-src/gen-graph.py
A docs/img-src/rproc-lcm-state-machine.gv
A docs/img/coprocessor-rpmsg-ns-dynamic.png
A docs/img/coprocessor-rpmsg-ns.png
A docs/img/coprocessor-rpmsg-static-ep.png
A docs/img/rproc-lcm-state-machine.png
A docs/remoteproc-design.md
A docs/rpmsg-design.md
Log Message:
-----------
docs: Add Remoteproc and RPMsg decoupling Design Doc
Add design document to describe the APIs and structure of
Remoteproc and RPMsg.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 9e0be1e99638536dd71945eed16e1afa3700e100
https://github.com/OpenAMP/open-amp/commit/9e0be1e99638536dd71945eed16e1afa…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
A docs/data-structure.md
Log Message:
-----------
Decoupling data struct design file
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: f2dd646645d8aaba298fee3c90012a623805bca2
https://github.com/OpenAMP/open-amp/commit/f2dd646645d8aaba298fee3c90012a62…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M apps/machine/zynqmp_r5/CMakeLists.txt
M apps/system/generic/machine/zynqmp_r5/CMakeLists.txt
M lib/remoteproc/CMakeLists.txt
Log Message:
-----------
TMP: Prevent ZynqMP R5 RPMsg to be built
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 3490ed1bf9fe2bcffc2f96b85274672ab036c4a6
https://github.com/OpenAMP/open-amp/commit/3490ed1bf9fe2bcffc2f96b85274672a…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/CMakeLists.txt
Log Message:
-----------
TMP: not build rpmsg, virtio
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: c935871a134ca066582549246c933a0ff30a7d33
https://github.com/OpenAMP/open-amp/commit/c935871a134ca066582549246c933a0f…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/common/CMakeLists.txt
R lib/common/hil.c
R lib/include/openamp/hil.h
Log Message:
-----------
lib: remove hil layer
Remove hil layer to separate RPMsg from Remoteproc
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: cd4324fc0c297452e80bff4dc289c7b7ab571b78
https://github.com/OpenAMP/open-amp/commit/cd4324fc0c297452e80bff4dc289c7b7…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/common/CMakeLists.txt
R lib/common/firmware.c
R lib/include/openamp/firmware.h
Log Message:
-----------
lib: remove firmware implementation
Remove firmware implementation as it assume that the firmware
needs to be in memory. We will need to support firmware
in storage too.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 6630c1753d63e0d93747ce147b8866f54ba8b377
https://github.com/OpenAMP/open-amp/commit/6630c1753d63e0d93747ce147b8866f5…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/CMakeLists.txt
M lib/common/sh_mem.c
M lib/include/openamp/sh_mem.h
Log Message:
-----------
TODO: lib: sh_mem: Add new openamp_get_shmem_datova
Added:
openamp_get_shmem_datova
openamp_get_shmem_patova
openamp_get_shmem_vatopa
This isn't currently used by anything and it feels like the
imlementation isn't complete as there is some init of the shmem struct
that has to happen somewhere.
Commit: 5c19bc193c70357ba83384c30e4dfb86c99f48d6
https://github.com/OpenAMP/open-amp/commit/5c19bc193c70357ba83384c30e4dfb86…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/elf_loader.h
M lib/remoteproc/elf_loader.c
Log Message:
-----------
lib: elf_loader: update
Commit: f98ce88136db6820b78eebd415c2455be78a7de0
https://github.com/OpenAMP/open-amp/commit/f98ce88136db6820b78eebd415c2455b…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/remoteproc.h
M lib/include/openamp/rsc_table_parser.h
M lib/remoteproc/CMakeLists.txt
M lib/remoteproc/rsc_table_parser.c
Log Message:
-----------
lib: remoteproc: Update rsc_table_parser
* implement vdev resource parser - The vdev resourcde parser will allocate notifyid.
* add find resource funcion to locate the resource in the
resource table.
* fix resource table parsing.
Fix the management of the addresses offset if a second resource is
declared, its start address is not valid.
* add trace handler
Add handler for the trace type. in this first step only trace
statically defined by remote processor is valid.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: b1de180c357f8cb15dfe39670ea3eb499b60f2da
https://github.com/OpenAMP/open-amp/commit/b1de180c357f8cb15dfe39670ea3eb49…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/remoteproc_loader.h
R lib/remoteproc/remoteproc_loader.c
Log Message:
-----------
remoteproc_loader: updates for decoupling
Commit: aab0d41de20bc0c2daf04fe953565ea898730772
https://github.com/OpenAMP/open-amp/commit/aab0d41de20bc0c2daf04fe953565ea8…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/remoteproc.h
M lib/remoteproc/remoteproc.c
Log Message:
-----------
decouple rproc WIP
* Add size attribute to remoteproc memory struct.
* remoteproc: Add remoteproc memory lookup APIs
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 13b569620c71f6b9c4ffc36c679bd7ded9e6b7c8
https://github.com/OpenAMP/open-amp/commit/13b569620c71f6b9c4ffc36c679bd7de…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
A lib/include/openamp/remoteproc_virtio.h
A lib/remoteproc/remoteproc_virtio.c
Log Message:
-----------
lib: remoteproc_virtio: Introduce new remoteproc_virtio
remoteproc virtio to replace hil.c/.h to setup vdev,vrings and shm
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 431454c9e8a97323b7abb1cb1e488b60bed3be83
https://github.com/OpenAMP/open-amp/commit/431454c9e8a97323b7abb1cb1e488b60…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M apps/CMakeLists.txt
A apps/load_fw/CMakeLists.txt
A apps/load_fw/load_fw.c
A apps/load_fw/lscript.ld
A apps/load_fw/xil_sd.c
A apps/load_fw/xil_sd.h
Log Message:
-----------
remoteproc LCM demo
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
apps: load_fw: set size of remoteproc memory
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 371f39ffa4f2760d89273babeb7859b633d8f9ec
https://github.com/OpenAMP/open-amp/commit/371f39ffa4f2760d89273babeb7859b6…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
R lib/include/openamp/rpmsg.h
R lib/include/openamp/rpmsg_core.h
R lib/include/openamp/rpmsg_retarget.h
R lib/rpmsg/CMakeLists.txt
R lib/rpmsg/remote_device.c
R lib/rpmsg/rpmsg.c
R lib/rpmsg/rpmsg_core.c
Log Message:
-----------
lib: rpmsg: Remove old rpmsg implementation
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 7b18f38a71ad06a2cbf8b60c18dd7433fe5b778d
https://github.com/OpenAMP/open-amp/commit/7b18f38a71ad06a2cbf8b60c18dd7433…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/CMakeLists.txt
M lib/include/openamp/virtio.h
M lib/virtio/virtio.c
Log Message:
-----------
lib: virtio: update virtio device
update virtio structure for new design
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 3d8120d1ff11c718b9bb80271d7a20d8b7a9295c
https://github.com/OpenAMP/open-amp/commit/3d8120d1ff11c718b9bb80271d7a20d8…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/CMakeLists.txt
M lib/include/openamp/open_amp.h
A lib/include/openamp/rpmsg.h
A lib/include/openamp/rpmsg_virtio.h
A lib/rpmsg/CMakeLists.txt
A lib/rpmsg/rpmsg.c
A lib/rpmsg/rpmsg_internal.h
A lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
lib: rpmsg: Add new rpmsg
- Add new API
- rmpsg_init implementation
- rpmsg: suppress the channel management
Rebase rpmsg on endpoint only.
Reintroduce rpmsg core to split interface part with the core.
Now rpmsg.c provide the API relying on the core.
- add remoteproc_vshm_pool to rpmsg.h for now, we need to clean this up
- rpmsg: add shm_io as input arguemnt to rpmsg_vdev_init
- Add core function to unregister the end points.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 02d801c3221dec14f3a63c4ac45c0a49f4289420
https://github.com/OpenAMP/open-amp/commit/02d801c3221dec14f3a63c4ac45c0a49…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/open_amp.h
M lib/include/openamp/remoteproc.h
M lib/include/openamp/remoteproc_virtio.h
M lib/remoteproc/CMakeLists.txt
M lib/remoteproc/remoteproc.c
M lib/remoteproc/remoteproc_virtio.c
Log Message:
-----------
remoteproc/remoteproc_virtio: updates
remoteproc_virtio:
* Implement virtio dispatch functions and remoteproc virtio creation
and initialization functions.
* migrate vring structures
* migrate virqueue creation from remote proc to virtio
* declare rproc_remove_virtio function
* change type of vrings_num in virtio to unsigned int
* rename virtio_vring to virtio_vring_info
* rename rvring to vring_info
* Fixup for virtqueue_alloc change
* line up with VIRTIO_DEV_XXX macro change
* set the virtio dispatch func in virtio creation
* implement rproc_virtio_remove_vdev()
* send notification for virtio config changes - Notify the other side
for virtio configuration changes.
* rename rpmsg_virtio_ function to rproc_virtio_
* track the remoteproc virtio in remoteproc
* implement remoteproc virtio notificaiton
* add notification from remote implementation
* fixup test on uninitialized role
remoteproc:
* fix function name of remove virtio
* add remoteproc id allocation function to allocate notifyid for vdev
resource.
* implement remoteproc create/remove vdev function
* fix unused variable warnings
* rename set_rsc_table function to parse_rsc_table
* fix uninitialised variable
* implement remoteproc_parse_rsc_table
* fix up remoteproc notify definition
* fix missing list initialisation
* fix return in case of success
* remove vdevs in remoteproc shutdown
* calls rproc defined stop()/shutdown() if defined
* implement lookup for I/O region based on PA
* Add looking up metal I/O region with given va
* add set and parse resource table function
* correct setting rsc table in load() function
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 3915d0bc47f9db10ba534c306c908717d6e17bfc
https://github.com/OpenAMP/open-amp/commit/3915d0bc47f9db10ba534c306c908717…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
A apps/echo_test_decouple/CMakeLists.txt
A apps/echo_test_decouple/echo_test.c
A apps/echo_test_decouple/echo_test_measurement.c
A apps/echo_test_decouple/echo_testd.c
A apps/echo_test_decouple/echo_testd_remoteproc_master.c
Log Message:
-----------
apps: start to write a application to use new APIs
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 8f744ff4f78bd327a866f76f04e81e8e5e1390c8
https://github.com/OpenAMP/open-amp/commit/8f744ff4f78bd327a866f76f04e81e8e…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M apps/CMakeLists.txt
M apps/echo_test/CMakeLists.txt
M apps/echo_test/echo_testd.c
Log Message:
-----------
echo_test: initial draft for staging branch
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
apps: echo_test: use rpmsg device in echo_testd
Use rpmsg device in the main application to create endpoints
instead of rpmsg virtio device.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: dc7d0aee3578f416accabe50cd9b8d45cd5c3353
https://github.com/OpenAMP/open-amp/commit/dc7d0aee3578f416accabe50cd9b8d45…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M apps/machine/zynqmp_r5/CMakeLists.txt
M apps/machine/zynqmp_r5/platform_info.c
M apps/machine/zynqmp_r5/platform_info.h
M apps/system/generic/machine/zynqmp_r5/CMakeLists.txt
M apps/system/generic/machine/zynqmp_r5/helper.c
Log Message:
-----------
apps: zynqmp_r5: demo how to initialize remoteproc and rpmsg
+ set the remoteproc resource table I/O in mmap
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 2c01c88502fd84028200dee10e13f9da906bd3f8
https://github.com/OpenAMP/open-amp/commit/2c01c88502fd84028200dee10e13f9da…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: add name service endpoint to rpmsg_device
Add name service endpoint to rpmsg device struct.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: ce51f7166a5262e5491ec18626d011700449389b
https://github.com/OpenAMP/open-amp/commit/ce51f7166a5262e5491ec18626d01170…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/rpmsg/rpmsg.c
Log Message:
-----------
rpmsg: update endpoint creation to support static allocation.
suppress the malloc and free. Let application provides the
rpmsg_endpoint structure.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: a1a0657463e5ece48caa8c82a091d2af2a0ed334
https://github.com/OpenAMP/open-amp/commit/a1a0657463e5ece48caa8c82a091d2af…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: suppress endpoint creation on ns annoucement.
no more endpoint is created in rpmsg to store the remote
new service. Only a callback is called to inform the application.
Then application can create the associated endpoint or
just store the service for future usage.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: e391ae9701d88e39137ee1598ef69962f0a9e12e
https://github.com/OpenAMP/open-amp/commit/e391ae9701d88e39137ee1598ef69962…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/rpmsg/rpmsg.c
Log Message:
-----------
rpmsg: fix bug in rpmsg_get_endpoint.
In case that requested address is -1 and ept endpoint
address is -1 we need a match on name, so name must
not be null.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: e4935f5e3a971d4fa1fdf2a07eab3971b950e461
https://github.com/OpenAMP/open-amp/commit/e4935f5e3a971d4fa1fdf2a07eab3971…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M lib/include/openamp/virtqueue.h
M lib/virtio/virtqueue.c
Log Message:
-----------
virtqueue: change vq name parameter type
Replace the char table by a pointer to a constant char.
As client provide constant char pointer to the name.
We can just register the address instead of copying the
name.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: aedb5f6c2dc80b3d4b70d1aa96a85b9a781bcd90
https://github.com/OpenAMP/open-amp/commit/aedb5f6c2dc80b3d4b70d1aa96a85b9a…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M apps/echo_test/CMakeLists.txt
Log Message:
-----------
apps: echo_test: add compiler flags not to link unused functions
Add compiler flags in order not to link with unused functions.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 78f673dd6fc87477179b3d6845c5ff82105c3a08
https://github.com/OpenAMP/open-amp/commit/78f673dd6fc87477179b3d6845c5ff82…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-05-29 (Tue, 29 May 2018)
Changed paths:
M apps/echo_test/echo_testd.c
Log Message:
-----------
echo_test: update for rpmsg ept creation API change
echo_test is updated to adapt the rpmsg API change to
support static endpoint.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 83056f7f7abc688395611eb00be99a9248239f85
https://github.com/OpenAMP/open-amp/commit/83056f7f7abc688395611eb00be99a92…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: virtio: expose get buffer size to user app
Allow user application to get vring buffer size.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: b5d0d8d34b8bcde3829addb3925ddb4b182fff32
https://github.com/OpenAMP/open-amp/commit/b5d0d8d34b8bcde3829addb3925ddb4b…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
Log Message:
-----------
rpmsg: Add checking if rpmsg endpoint ready API
Add API to allow application to check if the RPMsg endpoint is ready
to send message.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: fe3cd9d74025ea8d872ae6bbe0df59127152f619
https://github.com/OpenAMP/open-amp/commit/fe3cd9d74025ea8d872ae6bbe0df5912…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: virtio: ns callback also check registered epts with name
checking registered endpoints with destination address is not enough,
will also need to check with name as there can be local endpoints
created but not binded yet.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 48c5d80b514be81ebc4a4c1b945cef3950353eec
https://github.com/OpenAMP/open-amp/commit/48c5d80b514be81ebc4a4c1b945cef39…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg.c
Log Message:
-----------
rpmsg: clean up the rpmsg create endpoint function
Set the status based on the function call result instead of
using the default local variable assignment.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 5eb2bc61c23f0e08b063cdd5f83bfd694efad082
https://github.com/OpenAMP/open-amp/commit/5eb2bc61c23f0e08b063cdd5f83bfd69…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: Add rpmsg device input arg to new_endpoint_cb()
Add rpmsg device input argument to new_endpoint_cb() so that it
knows which rpmsg device this request is from.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 50334e08d607f0c6dd82786f154b73de2ec94361
https://github.com/OpenAMP/open-amp/commit/50334e08d607f0c6dd82786f154b73de…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: define new endpoint callback type
Define new endpoint callback function type make it easier for
other functions to use it as input argument.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 5dedad4c4570f09390cb116d9ef69326bff0489d
https://github.com/OpenAMP/open-amp/commit/5dedad4c4570f09390cb116d9ef69326…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: virtio: only call new endpoint cb if it exists
Check if new endpoint callback exists before calling it.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 28de1264035d9f9132f3b1b29d73b4d3bf66c97d
https://github.com/OpenAMP/open-amp/commit/28de1264035d9f9132f3b1b29d73b4d3…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_internal.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
fixup! rpmsg: virtio: ns callback also check registered epts with name
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 597ecda4b468dd8f32e6fcb222eabcdc59d003c8
https://github.com/OpenAMP/open-amp/commit/597ecda4b468dd8f32e6fcb222eabcdc…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: test metal_io_block_write return
If metal lib ops are not implemented an error is returned.
this error is lost. fix add check on the return.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: ed59f2111e031ac1bb4081e869b813cebb5dc807
https://github.com/OpenAMP/open-amp/commit/ed59f2111e031ac1bb4081e869b813ce…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/machine/zynqmp_r5/platform_info.c
M apps/machine/zynqmp_r5/platform_info.h
Log Message:
-----------
apps: zynqmp_r5: update to line up with rpmsg API changes
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 4f301c171aedf1220c0c55a2cfa6b52d32575306
https://github.com/OpenAMP/open-amp/commit/4f301c171aedf1220c0c55a2cfa6b52d…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/echo_test/echo_testd.c
Log Message:
-----------
apps: echo_test virtio slave: clean up
clean up echo_test virtio slave demo application
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 75687015ff14cbc01a01e75138263effea3be8b7
https://github.com/OpenAMP/open-amp/commit/75687015ff14cbc01a01e75138263eff…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/echo_test/CMakeLists.txt
M apps/echo_test/echo_test.c
Log Message:
-----------
apps: echo_test: reenable virtio master demo
Reenalbe echo test virtio master demo
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: fff6f216fa35b56b24192c5646cf5e66476736c3
https://github.com/OpenAMP/open-amp/commit/fff6f216fa35b56b24192c5646cf5e66…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: fix returned error value
Error returned when shared memory pointer or size is null,
is related to bad parameters not to a memory allocation
issue.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 10158331aaabf74fc31098768ef8b69dcb1ac071
https://github.com/OpenAMP/open-amp/commit/10158331aaabf74fc31098768ef8b69d…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/remoteproc/remoteproc.c
Log Message:
-----------
remoteproc: suppress unused include
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: e02d80456a1f524aed7826ff1e9eca28a6284fc4
https://github.com/OpenAMP/open-amp/commit/e02d80456a1f524aed7826ff1e9eca28…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg.c
Log Message:
-----------
rpmsg: use libmetal bitmap helper functions
Remove rpmsg bitmap functions, use those from libmetal instead.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 7297ccde4b5891deac7fa67f083bb20d00c6034f
https://github.com/OpenAMP/open-amp/commit/7297ccde4b5891deac7fa67f083bb20d…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
Log Message:
-----------
rpmsg: include sys/types.h for uintX_t
should includes sys/types.h when uintX_t is used.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 0b44184dfc9b558ef9abbf597f1d83a8e4a84829
https://github.com/OpenAMP/open-amp/commit/0b44184dfc9b558ef9abbf597f1d83a8…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: virtio: clean up rpmsg vdev init/deinit comments
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 37375dce156e4fe74161c5f33e4ef61f6c3bbed2
https://github.com/OpenAMP/open-amp/commit/37375dce156e4fe74161c5f33e4ef61f…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: virtio: supress sh_mem use
sh_mem offer utilities to dynamically manage a memory
pool for buffers. this is not need for rpmsg implementation.
The buffer management iss directly done in rpmsg_c, without
buffer memory free.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Wendy Liang <wendy.liang(a)xilinx.com>
Commit: 4e785f7f5ceebbe47c6000b648c3ac794ec69314
https://github.com/OpenAMP/open-amp/commit/4e785f7f5ceebbe47c6000b648c3ac79…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/machine/zynqmp_r5/platform_info.c
Log Message:
-----------
apps: zynqmp_r5: update for rpmsg virtio init API changes
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 50637ff4adb3c935f63686aacfad1e39441c2131
https://github.com/OpenAMP/open-amp/commit/50637ff4adb3c935f63686aacfad1e39…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/CMakeLists.txt
R lib/common/CMakeLists.txt
R lib/common/sh_mem.c
R lib/include/openamp/sh_mem.h
Log Message:
-----------
sh_mem: suppressed as no more used
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 3322efb6a509327bcafcec334cba3b0e2848b93d
https://github.com/OpenAMP/open-amp/commit/3322efb6a509327bcafcec334cba3b0e…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/load_fw/load_fw.c
Log Message:
-----------
apps: load_fw: remove unused include headers
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 646801714f1ed7ab1225d4e832d7d221235d4300
https://github.com/OpenAMP/open-amp/commit/646801714f1ed7ab1225d4e832d7d221…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg.c
Log Message:
-----------
rpmsg: check rpmsg dev in rpmsg raw send function
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: ee12083504832cc821e4a0fbb645b21effd78345
https://github.com/OpenAMP/open-amp/commit/ee12083504832cc821e4a0fbb645b21e…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: virtio: cleanup virtio send raw function
clean up rpmsg virtio raw send function to remove get tx buffer
code redundancy.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 9ab50680c6e509304df37aeb807dd167bfbcb972
https://github.com/OpenAMP/open-amp/commit/9ab50680c6e509304df37aeb807dd167…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: virtio: change type of return status to int
replace the type of the return status variable from uint8_t to int.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 65eab52980e74389b2f09563ab9cf702da7642f0
https://github.com/OpenAMP/open-amp/commit/65eab52980e74389b2f09563ab9cf702…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: optimize rpmsg_virtio_get_role call.
create a local variable to avoid to call secveral time the
rpmsg_virtio_get_role function.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 51ea5555d7d21653a4fa7bba5c65ac1acc3a9bad
https://github.com/OpenAMP/open-amp/commit/51ea5555d7d21653a4fa7bba5c65ac1a…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: suppress duplicate local variable.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: e3eeef21049ecfe55bcc51a66b31c78f7a94f6c6
https://github.com/OpenAMP/open-amp/commit/e3eeef21049ecfe55bcc51a66b31c78f…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/virtio.h
M lib/include/openamp/virtio_ring.h
M lib/include/openamp/virtqueue.h
M lib/virtio/virtio.c
M lib/virtio/virtqueue.c
Log Message:
-----------
virtio: fix coding rules
Fix coding rule highlighted by linux checkpatch script
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 40ef07be1cc78a8b90b2762716702d7325f82634
https://github.com/OpenAMP/open-amp/commit/40ef07be1cc78a8b90b2762716702d73…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/machine/zynqmp_r5/platform_info.c
Log Message:
-----------
apps: zynqmp_r5: fix remoteproc initialization message.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: d391c0d61c6c817e71b96ca438f858b20485ae7c
https://github.com/OpenAMP/open-amp/commit/d391c0d61c6c817e71b96ca438f858b2…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/echo_test/CMakeLists.txt
M apps/echo_test/echo_test.c
M apps/echo_test/echo_testd.c
R apps/echo_test/echo_testd_remoteproc_master.c
Log Message:
-----------
apps: echo_test: cleanup
Clean up echo test.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 5c39b8ccddd7600c1c27e18393e33580a05b573b
https://github.com/OpenAMP/open-amp/commit/5c39b8ccddd7600c1c27e18393e33580…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/CMakeLists.txt
M apps/matrix_multiply/CMakeLists.txt
M apps/matrix_multiply/matrix_multiply.c
M apps/matrix_multiply/matrix_multiplyd.c
R apps/matrix_multiply/matrix_multiplyd_remoteproc_master.c
Log Message:
-----------
apps: Reenable matrix_multiply
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: e50c285b828af2931f23732a2cd766f9c10575a0
https://github.com/OpenAMP/open-amp/commit/e50c285b828af2931f23732a2cd766f9…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg.c
M lib/rpmsg/rpmsg_internal.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: fix coding rules
Fix coding rule highlighted by linux checkpatch script
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 6d8cd279fc40e73385e1ad3460edf4dcd0b2a213
https://github.com/OpenAMP/open-amp/commit/6d8cd279fc40e73385e1ad3460edf4dc…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
Log Message:
-----------
rpmsg: includes stdint.h in rpmsg.h
Linux system needs to have stdint.h included for uint32_t
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 29f97cc69fda3f01144742e420fbd7d4c61513c0
https://github.com/OpenAMP/open-amp/commit/29f97cc69fda3f01144742e420fbd7d4…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/virtio.h
M lib/remoteproc/remoteproc_virtio.c
Log Message:
-----------
remoteproc: virtio: mark virtio dispatch functions const
mark the remoteproc virtio dispatch functions as const so that
they will not be modified at runtime.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: a03c40d21c7bf1467ed0c87e5c7817944ad33b65
https://github.com/OpenAMP/open-amp/commit/a03c40d21c7bf1467ed0c87e5c781794…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/remoteproc/remoteproc.c
Log Message:
-----------
remoteproc: release lock in create virtio successful return
Release lock before returns
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: c414cb87d365505a2da7c85f61a97be20eeaa53b
https://github.com/OpenAMP/open-amp/commit/c414cb87d365505a2da7c85f61a97be2…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/remoteproc.h
M lib/remoteproc/remoteproc.c
Log Message:
-----------
remoteproc: Remove calling shutdown from remove()
Remove is only allowed if the remoteproc state is
OFFLINE. Otherwise, instead of calling shutdown()
it will just return as remoteproc can be used
without life cycle management.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 58e64ca73438a52af9fdc1e61c770ec9b09f9e1c
https://github.com/OpenAMP/open-amp/commit/58e64ca73438a52af9fdc1e61c770ec9…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: virtio: init rpmsg dev struct with 0 in init_vdev
Initialize the RPMsg device structure with 0 in the
rpmsg_init_vdev() function.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: f4575d0d080585b82010f223be69d468248a9619
https://github.com/OpenAMP/open-amp/commit/f4575d0d080585b82010f223be69d468…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/echo_test/echo_test.c
M apps/echo_test/echo_testd.c
Log Message:
-----------
apps: echo_test: use LPERROR for effor message
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 89a4eba0bec6882479e3e8d7e88cc7e3d5bd3917
https://github.com/OpenAMP/open-amp/commit/89a4eba0bec6882479e3e8d7e88cc7e3…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/echo_test/echo_test.c
M apps/echo_test/echo_testd.c
Log Message:
-----------
apps: echo_test: desctroy endpoint before app returns
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: d6908f6b6cc4535214948f1882ba1db521560330
https://github.com/OpenAMP/open-amp/commit/d6908f6b6cc4535214948f1882ba1db5…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/system/linux/machine/generic/platform_info.c
M apps/system/linux/machine/generic/platform_info.h
M apps/system/linux/machine/generic/rsc_table.c
Log Message:
-----------
apps: linux: enable rpmsg between two Linux processes
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: d967dd45aeb662e677fbeeab86d85d337c747df7
https://github.com/OpenAMP/open-amp/commit/d967dd45aeb662e677fbeeab86d85d33…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/CMakeLists.txt
Log Message:
-----------
apps: only build load_fw if it is requested
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 54ffc215f927953aac63de77958b1306aa8911f6
https://github.com/OpenAMP/open-amp/commit/54ffc215f927953aac63de77958b1306…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M cmake/options.cmake
Log Message:
-----------
cmake: allow not to build rpc demo in Linux
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: e2224d45cd9cc01335cfbc9b9a7e729aa3fe3691
https://github.com/OpenAMP/open-amp/commit/e2224d45cd9cc01335cfbc9b9a7e729a…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/compiler.h
M lib/include/openamp/elf_loader.h
M lib/include/openamp/remoteproc.h
M lib/include/openamp/remoteproc_loader.h
M lib/include/openamp/remoteproc_virtio.h
M lib/include/openamp/rsc_table_parser.h
M lib/remoteproc/elf_loader.c
M lib/remoteproc/remoteproc.c
M lib/remoteproc/remoteproc_virtio.c
M lib/remoteproc/rsc_table_parser.c
Log Message:
-----------
remorteproc: fix coding rules
Fix coding rules highlighted by linux checkpatch script
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 2345600f45ee907850610f7ceaeab1e2de781e67
https://github.com/OpenAMP/open-amp/commit/2345600f45ee907850610f7ceaeab1e2…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/remoteproc/remoteproc_virtio.c
Log Message:
-----------
remoteproc: fix remoteproc_virtio bug on feature set
status parameter is set instead of dfeature.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 9551abb094a27967e8f959207968df02986e37de
https://github.com/OpenAMP/open-amp/commit/9551abb094a27967e8f959207968df02…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/remoteproc/remoteproc_virtio.c
M lib/rpmsg/rpmsg_virtio.c
M lib/virtio/virtio.c
Log Message:
-----------
openamp: introduce slave-only and master-only build option
This commit adds VIRTIO_SLAVE_ONLY and VIRTIO_MASTER_ONLY
configuration to allow to optimise code for firmwares that
support only the slave or master mode.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: b086bf56997a2c7baf534cd71840c6e62c111aaa
https://github.com/OpenAMP/open-amp/commit/b086bf56997a2c7baf534cd71840c6e6…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M apps/matrix_multiply/matrix_multiply.c
M apps/matrix_multiply/matrix_multiplyd.c
Log Message:
-----------
apps: matrix multiply: destroy endpoint when app finishes
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 61bb7796c3769e562e5fe84b639f068e620a733d
https://github.com/OpenAMP/open-amp/commit/61bb7796c3769e562e5fe84b639f068e…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
Log Message:
-----------
rpmsg: remove unused declaration in header
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: cb6c84197ec351e3fdcd464b82f25d700498a3aa
https://github.com/OpenAMP/open-amp/commit/cb6c84197ec351e3fdcd464b82f25d70…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: change rpmsg ept callback return to int
It will be useful to have int as return type instead of void
as the RPMsg library implementation can decide the next step
based on the return code.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Commit: 6247912e6e742e35e474dab6789cc83dc4c87fcd
https://github.com/OpenAMP/open-amp/commit/6247912e6e742e35e474dab6789cc83d…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M apps/echo_test/echo_test.c
M apps/echo_test/echo_testd.c
M apps/matrix_multiply/matrix_multiply.c
M apps/matrix_multiply/matrix_multiplyd.c
Log Message:
-----------
apps: endpoint callback to return status
The endpoint callback status may be used in future
in the rpmsg implementation. Update the endpoint callback
to return status.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: c5c1505084ac8f1099eb97813835f708c5e45ba3
https://github.com/OpenAMP/open-amp/commit/c5c1505084ac8f1099eb97813835f708…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/include/openamp/remoteproc.h
M lib/remoteproc/remoteproc.c
Log Message:
-----------
remoteproc: pass remoteproc pointer to init()
Use remoteproc pointer as input arguement to remoteproc_init()
to allow static memory allocation.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 595f583e648f04b57f1ee7f5c95fb2191eb3cab9
https://github.com/OpenAMP/open-amp/commit/595f583e648f04b57f1ee7f5c95fb219…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M apps/machine/zynqmp_r5/platform_info.c
Log Message:
-----------
apps: zynqmp_r5: define static remoteproc instance
Use static defined remoteproc instance.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: d6dc5c1a43be114f8c1ca72d6129dc6ece3b58e6
https://github.com/OpenAMP/open-amp/commit/d6dc5c1a43be114f8c1ca72d6129dc6e…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M apps/system/linux/machine/generic/platform_info.c
Log Message:
-----------
apps: linux: generic: statically define remoteproc
Use statically defined remoteproc instance.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 4d9f8379a3f048395be67c8a01f6c85329c4a800
https://github.com/OpenAMP/open-amp/commit/4d9f8379a3f048395be67c8a01f6c853…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/include/openamp/remoteproc.h
Log Message:
-----------
remoteproc: add init and add remoteproc memory APIs
Add APIs to initialize remoteproc memory and add remoteproc
memories.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 856880be085313fb2b64a6127d7179f299d87bf8
https://github.com/OpenAMP/open-amp/commit/856880be085313fb2b64a6127d7179f2…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M apps/machine/zynqmp_r5/platform_info.c
Log Message:
-----------
apps: zynqmp_r5: make use of remoteproc memory APIs
Use remoteproc memory APIs to set the remoteproc memories instead
of directly set each property of the remoteproc memory struct.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: e3ee20055bd20a7d68127c7056116c9297a8cc00
https://github.com/OpenAMP/open-amp/commit/e3ee20055bd20a7d68127c7056116c92…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/remoteproc/remoteproc.c
Log Message:
-----------
remoteproc: mmap: check if pointer is NULL before setting value
Do not assign content to a pointer if it is NULL.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 85ce40edf1ec9f9050482fda9c242fa0797eba34
https://github.com/OpenAMP/open-amp/commit/85ce40edf1ec9f9050482fda9c242fa0…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/include/openamp/rsc_table_parser.h
M lib/remoteproc/remoteproc.c
M lib/remoteproc/rsc_table_parser.c
Log Message:
-----------
remoteproc: rsc: use I/O region in rsc table handler
Use I/O region to verify resource table in resource table handler.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 491816e91d318c9f14e9b797a4409e888392927f
https://github.com/OpenAMP/open-amp/commit/491816e91d318c9f14e9b797a4409e88…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/remoteproc/remoteproc.c
M lib/remoteproc/remoteproc_virtio.c
Log Message:
-----------
remoteproc: virtio: return proper notification status
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 08be703ffea1394d2458bb7b11eb34e3cfec6636
https://github.com/OpenAMP/open-amp/commit/08be703ffea1394d2458bb7b11eb34e3…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M apps/machine/zynqmp_r5/platform_info.c
Log Message:
-----------
apps: zynqmp_r5: use irq_info from metal device to get IPI IRQ
only use IPI irq macro in the IPI metal device initialization.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 7069cfbad86043421f580870c37c8476fea5dbc3
https://github.com/OpenAMP/open-amp/commit/7069cfbad86043421f580870c37c8476…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M apps/system/linux/machine/generic/platform_info.c
Log Message:
-----------
apps: linux: generic: copy rsc to shm before init remoteproc
Copy the resource table to the shared memory file before initializing
remoteproc instance.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: f7ab304c0f38adbb48cc5833439371fffd425a8c
https://github.com/OpenAMP/open-amp/commit/f7ab304c0f38adbb48cc5833439371ff…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M apps/echo_test/echo_test.c
M apps/echo_test/echo_testd.c
M apps/matrix_multiply/matrix_multiply.c
M apps/matrix_multiply/matrix_multiplyd.c
Log Message:
-----------
apps: remove including rsc_table.h in the demo app file
It is not required to include resource table in the main demo
applicaiton source code. Remove the rsc_table.h include.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 6b071b1e264fc47258aea8e6d64e085cb59a4e60
https://github.com/OpenAMP/open-amp/commit/6b071b1e264fc47258aea8e6d64e085c…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M apps/machine/zynqmp/CMakeLists.txt
M apps/machine/zynqmp/platform_info.c
M apps/machine/zynqmp/platform_info.h
R apps/machine/zynqmp/rsc_table.c
R apps/machine/zynqmp/rsc_table.h
Log Message:
-----------
apps: zynqmp: enable ZynqMP Linux userspace application
Enable ZynqMP Linux userspace applicaiton to talk to remote
processor.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: ebeb131433c6b911d1317835e112701b6fc629bc
https://github.com/OpenAMP/open-amp/commit/ebeb131433c6b911d1317835e112701b…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg.c
M lib/rpmsg/rpmsg_internal.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: checkpatch cleanup
Clean up checkpatch errors and warnings
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 1fd6788e4846ce6663120f335a27b0da23b28322
https://github.com/OpenAMP/open-amp/commit/1fd6788e4846ce6663120f335a27b0da…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/include/openamp/virtio.h
M lib/include/openamp/virtqueue.h
M lib/remoteproc/remoteproc_virtio.c
M lib/virtio/virtio.c
M lib/virtio/virtqueue.c
Log Message:
-----------
virtio: fix checkpatch warnings and errors
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 4b5a8ad4f027dadd93acf12ca901d8f1c08c72d8
https://github.com/OpenAMP/open-amp/commit/4b5a8ad4f027dadd93acf12ca901d8f1…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/rpmsg/rpmsg.c
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: suppress RPMSG_ERR_UNEXPECTED error
unexpected error does not mean anything. Manage this error by
either assert or invalid parameter depending on use case.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
# Conflicts:
# lib/rpmsg/rpmsg.c
# lib/rpmsg/rpmsg_virtio.c
Commit: e775683d7184e28c72b224b75a4003ff51ee1c9a
https://github.com/OpenAMP/open-amp/commit/e775683d7184e28c72b224b75a4003ff…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: fixup some comments
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: bb59e41a2be968300a8c54b62a9d0f9efecee624
https://github.com/OpenAMP/open-amp/commit/bb59e41a2be968300a8c54b62a9d0f9e…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: add check on end point callback return.
For future usage we add a return on callback. for time
being callback should alwaus return RPMSG_SUCCES
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: ecc858abb470e0aef83419aac7a7c71a39dd6325
https://github.com/OpenAMP/open-amp/commit/ecc858abb470e0aef83419aac7a7c71a…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
Log Message:
-----------
rpmsg: cleanup is_rpmsg_ept_ready
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 8d90819111cc6aa05f27c1875c71710eae354453
https://github.com/OpenAMP/open-amp/commit/8d90819111cc6aa05f27c1875c71710e…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
R apps/echo_test_decouple/CMakeLists.txt
R apps/echo_test_decouple/echo_test.c
R apps/echo_test_decouple/echo_test_measurement.c
R apps/echo_test_decouple/echo_testd.c
R apps/echo_test_decouple/echo_testd_remoteproc_master.c
Log Message:
-----------
apps: remove echo_test_decouple
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 7d7880e41505edb1d022f5e5ada60f2accf6a011
https://github.com/OpenAMP/open-amp/commit/7d7880e41505edb1d022f5e5ada60f2a…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg_virtio.h
Log Message:
-----------
rpmsg_virtio: expose rpmsg_virtio_shm_pool_get_buffer
add rpmsg_virtio_shm_pool_get_buffer weak function in
rpmsg_vitio.h and comment the shared memory pool management.
Notice that if you implement your own rpmsg_virtio_shm_pool_get_buffer
the expectation is that one would embedded struct rpmsg_virtio_shm_pool
object inside your own struct and utilize something like metal_container_of()
to reference back to your own struct in your implementation of
rpmsg_virtio_shm_pool_get_buffer
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 0a075277934697576f446727b20f8d1958d6e89b
https://github.com/OpenAMP/open-amp/commit/0a075277934697576f446727b20f8d19…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-14 (Thu, 14 Jun 2018)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: rename endpoint create callback
This callback is called when a name service announcement is
received while no matching endpoint has been previously registered.
rename the callback to match with the usage.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 3e143996637fae8546168de033f73b82b3303998
https://github.com/OpenAMP/open-amp/commit/3e143996637fae8546168de033f73b82…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-15 (Fri, 15 Jun 2018)
Changed paths:
M apps/echo_test/echo_test.c
M apps/echo_test/echo_testd.c
M apps/machine/zynqmp/platform_info.c
M apps/machine/zynqmp/platform_info.h
M apps/machine/zynqmp_r5/platform_info.c
M apps/machine/zynqmp_r5/platform_info.h
M apps/matrix_multiply/matrix_multiply.c
M apps/matrix_multiply/matrix_multiplyd.c
M apps/system/linux/machine/generic/platform_info.c
M apps/system/linux/machine/generic/platform_info.h
Log Message:
-----------
apps: hide remoteproc from rpmsg test apps
As RPMsg can be used indepedent to remoteproc, hide remoteproc
from rpmsg test applications.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 9e6bf7616d39bbe8b471dc1b5611bb35460a5dbd
https://github.com/OpenAMP/open-amp/commit/9e6bf7616d39bbe8b471dc1b5611bb35…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-15 (Fri, 15 Jun 2018)
Changed paths:
M apps/CMakeLists.txt
R apps/echo_test/CMakeLists.txt
R apps/echo_test/echo_test.c
R apps/echo_test/echo_testd.c
A apps/examples/CMakeLists.txt
A apps/examples/load_fw/CMakeLists.txt
A apps/examples/load_fw/load_fw.c
A apps/examples/load_fw/lscript.ld
A apps/examples/load_fw/xil_sd.c
A apps/examples/load_fw/xil_sd.h
A apps/examples/matrix_multiply/CMakeLists.txt
A apps/examples/matrix_multiply/matrix_multiply.c
A apps/examples/matrix_multiply/matrix_multiplyd.c
A apps/examples/rpc_demo/CMakeLists.txt
A apps/examples/rpc_demo/rpc_demo.c
A apps/examples/rpc_demo/rpc_demod.c
R apps/func_test_suite/CMakeLists.txt
R apps/func_test_suite/func_test_suite.c
R apps/func_test_suite/func_test_suite_remoteproc_master.c
R apps/func_test_suite/test_suite.h
R apps/load_fw/CMakeLists.txt
R apps/load_fw/load_fw.c
R apps/load_fw/lscript.ld
R apps/load_fw/xil_sd.c
R apps/load_fw/xil_sd.h
R apps/matrix_multiply/CMakeLists.txt
R apps/matrix_multiply/matrix_multiply.c
R apps/matrix_multiply/matrix_multiplyd.c
R apps/rpc_demo/CMakeLists.txt
R apps/rpc_demo/rpc_demo.c
R apps/rpc_demo/rpc_demod.c
A apps/tests/CMakeLists.txt
A apps/tests/echo_test/CMakeLists.txt
A apps/tests/echo_test/echo_test.c
A apps/tests/echo_test/echo_testd.c
A apps/tests/func_test_suite/CMakeLists.txt
A apps/tests/func_test_suite/func_test_suite.c
A apps/tests/func_test_suite/func_test_suite_remoteproc_master.c
A apps/tests/func_test_suite/test_suite.h
Log Message:
-----------
apps: split apps into examples and tests
Split the apps into tests and examples.
Those in the tests are used to verify library implementation
Those in the examples are used for demonstration.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 8f5483f61a083b6a6eedea6a8468a725a6cd43ef
https://github.com/OpenAMP/open-amp/commit/8f5483f61a083b6a6eedea6a8468a725…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-15 (Fri, 15 Jun 2018)
Changed paths:
M apps/tests/echo_test/echo_test.c
Log Message:
-----------
apps: echo_test: correct number of packages to send
correct the number of total packageto send.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 1e5e98a3dc08d767b00afd9f528be9ce474d072d
https://github.com/OpenAMP/open-amp/commit/1e5e98a3dc08d767b00afd9f528be9ce…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-20 (Wed, 20 Jun 2018)
Changed paths:
M apps/examples/CMakeLists.txt
A apps/examples/echo/CMakeLists.txt
A apps/examples/echo/rpmsg-echo.c
A apps/examples/echo/rpmsg-ping.c
Log Message:
-----------
apps: copy echo_test to examples/echo
Move the echo_test to examples will add a messaging test
to implement a more complete messaging verification.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: e2214b4fb300bea52fe952314c52169a4e2b3e2a
https://github.com/OpenAMP/open-amp/commit/e2214b4fb300bea52fe952314c52169a…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-20 (Wed, 20 Jun 2018)
Changed paths:
M apps/tests/CMakeLists.txt
R apps/tests/echo_test/CMakeLists.txt
R apps/tests/echo_test/echo_test.c
R apps/tests/echo_test/echo_testd.c
A apps/tests/msg/CMakeLists.txt
A apps/tests/msg/rpmsg-ping.c
A apps/tests/msg/rpmsg-update.c
Log Message:
-----------
apps: tests: move echo_test to messaging test
Move echo_test to messaging test. Will need to
update the messaging test to cover more messaging
verfication.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 657d446c2fbf33105df25dd8bb067f58706e390d
https://github.com/OpenAMP/open-amp/commit/657d446c2fbf33105df25dd8bb067f58…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-20 (Wed, 20 Jun 2018)
Changed paths:
M apps/tests/CMakeLists.txt
R apps/tests/func_test_suite/CMakeLists.txt
R apps/tests/func_test_suite/func_test_suite.c
R apps/tests/func_test_suite/func_test_suite_remoteproc_master.c
R apps/tests/func_test_suite/test_suite.h
A apps/tests/rpmsg-apis/CMakeLists.txt
A apps/tests/rpmsg-apis/rpmsg-apis-vdev-master.c
A apps/tests/rpmsg-apis/rpmsg-apis-vdev-slave.c
A apps/tests/rpmsg-apis/rpmsg-apis-verification.h
Log Message:
-----------
apps:tests: rename func_test_suite to rpmsg-apis
The functions test suite should be RPMsg APIs verification suite.
It is disabled for now, it will need to be enabled to verify the
latest RPMsg changes.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: ce8b395fa15e0c7d7f7532de3135a1414fb86d8e
https://github.com/OpenAMP/open-amp/commit/ce8b395fa15e0c7d7f7532de3135a141…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-20 (Wed, 20 Jun 2018)
Changed paths:
M apps/examples/echo/rpmsg-ping.c
M apps/examples/matrix_multiply/matrix_multiply.c
M apps/machine/zynqmp/platform_info.c
M apps/machine/zynqmp/platform_info.h
M apps/machine/zynqmp_r5/platform_info.c
M apps/machine/zynqmp_r5/platform_info.h
M apps/system/linux/machine/generic/platform_info.c
M apps/system/linux/machine/generic/platform_info.h
M apps/tests/msg/rpmsg-ping.c
Log Message:
-----------
apps: update to line up with NS bind cb change
Line up with the library change to rename the name service
callback.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 2131902e6cdb698705ab70d6346dec077d02fdf9
https://github.com/OpenAMP/open-amp/commit/2131902e6cdb698705ab70d6346dec07…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-20 (Wed, 20 Jun 2018)
Changed paths:
M README.md
Log Message:
-----------
README: update Linux processes test instructions
Update the instructions on OpenAMP trial between
two Linux processes to align with the applications changes.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: cdd6ca2acb87fc81c1364694d221f7d2925669a3
https://github.com/OpenAMP/open-amp/commit/cdd6ca2acb87fc81c1364694d221f7d2…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-20 (Wed, 20 Jun 2018)
Changed paths:
M apps/examples/echo/rpmsg-echo.c
A apps/examples/echo/rpmsg-echo.h
M apps/examples/echo/rpmsg-ping.c
M apps/examples/matrix_multiply/matrix_multiply.c
A apps/examples/matrix_multiply/matrix_multiply.h
M apps/examples/matrix_multiply/matrix_multiplyd.c
M apps/machine/zynqmp/platform_info.h
M apps/machine/zynqmp_r5/platform_info.h
M apps/system/linux/machine/generic/platform_info.h
M apps/tests/msg/rpmsg-ping.c
A apps/tests/msg/rpmsg-ping.h
M apps/tests/msg/rpmsg-update.c
Log Message:
-----------
apps: move the RPMsg service name to demos
The RPMsg channel name should be defined by the demo application
but not platform specific.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 22898d69f8748200b5583bcd10e95de401b12442
https://github.com/OpenAMP/open-amp/commit/22898d69f8748200b5583bcd10e95de4…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-20 (Wed, 20 Jun 2018)
Changed paths:
M apps/examples/CMakeLists.txt
M apps/machine/zynq7/CMakeLists.txt
M apps/system/generic/machine/zynq7/CMakeLists.txt
M apps/system/generic/machine/zynqmp_r5/CMakeLists.txt
M apps/system/linux/machine/generic/CMakeLists.txt
M apps/system/linux/machine/zynqmp/CMakeLists.txt
M apps/tests/rpmsg-apis/CMakeLists.txt
M cmake/options.cmake
Log Message:
-----------
cmake: remove unused cmake options
Remove unused cmake options such as REMOTEPROC_MASTER
as the library allows user to use different libraries sperately.
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: e0597ede338f50fdd41076d2f3a679b46be68221
https://github.com/OpenAMP/open-amp/commit/e0597ede338f50fdd41076d2f3a679b4…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2018-06-20 (Wed, 20 Jun 2018)
Changed paths:
M apps/CMakeLists.txt
M apps/examples/CMakeLists.txt
A apps/examples/rpmsg_sample_echo/CMakeLists.txt
A apps/examples/rpmsg_sample_echo/rpmsg-sample-echo.c
A apps/examples/rpmsg_sample_echo/rpmsg-sample-ping.c
Log Message:
-----------
apps: add rpmsg_sample test
This test corresponds to the behaviour of the linux
rpmsg sample driver. master send 100 messages to the slave,
expecting echo.
At least the echo part running on slave
can be implemented to respond to the linux driver.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Commit: 47793505564464240762af14209d3273bd5091a2
https://github.com/OpenAMP/open-amp/commit/47793505564464240762af14209d3273…
Author: Wendy Liang <jliang(a)xilinx.com>
Date: 2018-06-20 (Wed, 20 Jun 2018)
Changed paths:
R apps/linux_firmware_remoteproc_slave/CMakeLists.txt
R apps/linux_firmware_remoteproc_slave/boot.c
R apps/linux_firmware_remoteproc_slave/boot_wrapper_zynq7.S
R apps/linux_firmware_remoteproc_slave/link_remote.ld
R apps/linux_firmware_remoteproc_slave/rsc_table.c
R apps/linux_firmware_remoteproc_slave/rsc_table.h
Log Message:
-----------
apps: remove obselete apps demo
Remove the obselete linux loading demo there will be new demo
for the updated remoteproc APIs
Signed-off-by: Wendy Liang <jliang(a)xilinx.com>
Compare: https://github.com/OpenAMP/open-amp/compare/4c27f417b2c9%5E...477935055644
Branch: refs/tags/v2020.10.0
Home: https://github.com/OpenAMP/open-amp
Commit: 4d20dcdca51332995aae09e050cd2e772543e187
https://github.com/OpenAMP/open-amp/commit/4d20dcdca51332995aae09e050cd2e77…
Author: Ben Levinsky <ben.levinsky(a)xilinx.com>
Date: 2020-10-23 (Fri, 23 Oct 2020)
Changed paths:
M apps/machine/zynqmp/zynqmp_linux_r5_proc.c
Log Message:
-----------
apps: zynqmp: fix compilation issue from rebase
no-ipi patches seemed to have caused compilation issue. resolve here
Signed-off-by: Ben Levinsky <ben.levinsky(a)xilinx.com>
Branch: refs/heads/v2020.10
Home: https://github.com/OpenAMP/open-amp
Commit: 4d20dcdca51332995aae09e050cd2e772543e187
https://github.com/OpenAMP/open-amp/commit/4d20dcdca51332995aae09e050cd2e77…
Author: Ben Levinsky <ben.levinsky(a)xilinx.com>
Date: 2020-10-23 (Fri, 23 Oct 2020)
Changed paths:
M apps/machine/zynqmp/zynqmp_linux_r5_proc.c
Log Message:
-----------
apps: zynqmp: fix compilation issue from rebase
no-ipi patches seemed to have caused compilation issue. resolve here
Signed-off-by: Ben Levinsky <ben.levinsky(a)xilinx.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/open-amp
Commit: 4d20dcdca51332995aae09e050cd2e772543e187
https://github.com/OpenAMP/open-amp/commit/4d20dcdca51332995aae09e050cd2e77…
Author: Ben Levinsky <ben.levinsky(a)xilinx.com>
Date: 2020-10-23 (Fri, 23 Oct 2020)
Changed paths:
M apps/machine/zynqmp/zynqmp_linux_r5_proc.c
Log Message:
-----------
apps: zynqmp: fix compilation issue from rebase
no-ipi patches seemed to have caused compilation issue. resolve here
Signed-off-by: Ben Levinsky <ben.levinsky(a)xilinx.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/open-amp
Commit: 535d0d8926e908e08768f5f23dd9ffb96418cf63
https://github.com/OpenAMP/open-amp/commit/535d0d8926e908e08768f5f23dd9ffb9…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
A .github/actions/build_ci/Dockerfile
A .github/actions/build_ci/README.md
A .github/actions/build_ci/action.yml
A .github/actions/build_ci/entrypoint.sh
M .github/workflows/continuous-integration.yml
Log Message:
-----------
CI: add action to build for different platforms
This patch add build tests for Linux, Arm platform and Zephyr OS.
Notice that for Zephyr, openamp and libmetal have been forked.
As consequence the associated openamp and libmetal
modules are updated and some Zephyr samples are compiled directly in
the zephyr environment.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 0b3cf111303cfc211c761cadf721c6e9cedf5904
https://github.com/OpenAMP/open-amp/commit/0b3cf111303cfc211c761cadf721c6e9…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
A .github/workflows/compliance.yml
M .github/workflows/continuous-integration.yml
Log Message:
-----------
CI: rearrange github workflow
Separate the workflow as done in the libmetal library.
One for the patch compliance cheks, another one
for the build tests.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Compare: https://github.com/OpenAMP/open-amp/compare/3a4fa283ec08...0b3cf111303c
Branch: refs/heads/master
Home: https://github.com/OpenAMP/libmetal
Commit: 0fd86b230c4a0ea918b2a4b0edb6a4ffafee8b48
https://github.com/OpenAMP/libmetal/commit/0fd86b230c4a0ea918b2a4b0edb6a4ff…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M .github/workflows/compliance.yml
Log Message:
-----------
CI: fix compliance check false report when merge a PR.
When a PR is merged, a "Run failed: libmetal compliance checks - master"
mail is generated.
As it is not necessary to rerun this compliance check (already done
on sent PR), just suppress the action for push event.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/libmetal
Commit: b077d0d308bc4b2f234d2586ca3c1d9e06619d6c
https://github.com/OpenAMP/libmetal/commit/b077d0d308bc4b2f234d2586ca3c1d9e…
Author: Ed Mooring <ed.mooring(a)linaro.org>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M README.md
M examples/system/generic/zynqmp_r5/CMakeLists.txt
M test/system/generic/zynqmp_r5/CMakeLists.txt
Log Message:
-----------
Xilinx: Make xilmem and xilstandalone library linkage conditional.
In v2019.1, the xilmem and xilstandalone libraries were removed from
the standalone Xilinx BSP for the R5. This change adds a CMake
variable, XILINX_PRE_V2019, to conditionally add these libraries
to the link command for use with older BSPs.
Signed-off-by: Ed Mooring <ed.mooring(a)linaro.org>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/open-amp
Commit: 3a4fa283ec08558d3c2cd283a2d828f745e0c188
https://github.com/OpenAMP/open-amp/commit/3a4fa283ec08558d3c2cd283a2d828f7…
Author: Ben Levinsky <ben.levinsky(a)xilinx.com>
Date: 2020-10-21 (Wed, 21 Oct 2020)
Changed paths:
M README.md
M apps/examples/CMakeLists.txt
A apps/machine/microblaze_generic/CMakeLists.txt
A apps/machine/microblaze_generic/README.md
A apps/machine/microblaze_generic/platform_info.c
A apps/machine/microblaze_generic/platform_info.h
A apps/machine/microblaze_generic/rsc_table.c
A apps/machine/microblaze_generic/rsc_table.h
A apps/machine/microblaze_generic/zynqmp_mb_a53_rproc.c
A apps/system/generic/machine/microblaze_generic/CMakeLists.txt
A apps/system/generic/machine/microblaze_generic/helper.c
A apps/system/generic/machine/microblaze_generic/linker_remote.ld
M apps/tests/CMakeLists.txt
Log Message:
-----------
Add support for MicroBlaze in programmable logic (PL) to OpenAMP.
Add an example of a baremetal echo server running on a MicroBlaze in PL
on a ZynqMP board and using RPMSG (with NO_IPI) to reply to a Linux user
space app running in the PS APU.
Signed-off-by: Ben Levinsky <ben.levinsky(a)xilinx.com>
Signed-off-by: Sergei Korneichuk <sergei.korneichuk(a)xilinx.com>
Signed-off-by: Ed Mooring <ed.mooring(a)xilinx.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/open-amp
Commit: e802f4c0ee65a43a622360f22641b5f24950c9a5
https://github.com/OpenAMP/open-amp/commit/e802f4c0ee65a43a622360f22641b5f2…
Author: Ben Levinsky <ben.levinsky(a)xilinx.com>
Date: 2020-10-20 (Tue, 20 Oct 2020)
Changed paths:
M apps/machine/zynqmp/platform_info.c
M apps/machine/zynqmp/platform_info.h
M apps/machine/zynqmp/zynqmp_linux_r5_proc.c
Log Message:
-----------
apps: zynqmp: support for demos without IPI
Update Linux-side of OpenAMP demos so that it can fully support running
with notification mechanism of IPI and Shared memory with polling
Signed-off-by: Ben Levinsky <ben.levinsky(a)xilinx.com>
Commit: 0b696708c0b948bb017bfe4ead1b78901f5af979
https://github.com/OpenAMP/open-amp/commit/0b696708c0b948bb017bfe4ead1b7890…
Author: Ben Levinsky <ben.levinsky(a)xilinx.com>
Date: 2020-10-20 (Tue, 20 Oct 2020)
Changed paths:
M apps/machine/zynqmp_r5/platform_info.c
M apps/machine/zynqmp_r5/platform_info.h
M apps/machine/zynqmp_r5/zynqmp_r5_a53_rproc.c
Log Message:
-----------
apps: zynqmp_r5: support for demos without IPI
Update remote(r5) of OpenAMP demos so that it can fully support running
with notification mechanism of IPI and Shared memory with polling
Signed-off-by: Ben Levinsky <ben.levinsky(a)xilinx.com>
Compare: https://github.com/OpenAMP/open-amp/compare/68d2b25d6e75...0b696708c0b9
Branch: refs/heads/master
Home: https://github.com/OpenAMP/libmetal
Commit: b67b16967c3aadd99df0761b41af751a856c9baa
https://github.com/OpenAMP/libmetal/commit/b67b16967c3aadd99df0761b41af751a…
Author: Ed Mooring <ed.mooring(a)xilinx.com>
Date: 2020-10-20 (Tue, 20 Oct 2020)
Changed paths:
M CMakeLists.txt
Log Message:
-----------
CMake: Update CMake minimum version to 3.0.2.
Previously, the minimum CMake version required was 2.6. This
is very old, and was not being tested. On further discussion (see
https://github.com/OpenAMP/open-amp/issues/214), it was noted that 3.0.2
is the oldest version mentioned in the current CMake documentation.
Signed-off-by: Ed Mooring <ed.mooring(a)xilinx.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/open-amp
Commit: 68d2b25d6e757c748be145beaf755c363078f243
https://github.com/OpenAMP/open-amp/commit/68d2b25d6e757c748be145beaf755c36…
Author: Ed Mooring <ed.mooring(a)xilinx.com>
Date: 2020-10-20 (Tue, 20 Oct 2020)
Changed paths:
M CMakeLists.txt
Log Message:
-----------
CMake: Update minimum CMake version to 3.0.2.
Previously, the minimum CMake version required was 2.6. This is very
old, and was not being tested. On further discussion (see
https://github.com/OpenAMP/open-amp/issues/214), it was noted that 3.0.2
is the oldest version mentioned in the current CMake documentation.
Signed-off-by: Ed Mooring <ed.mooring(a)xilinx.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/libmetal
Commit: 4c5f55f8675b12c111bcdf1d533434623cf4d076
https://github.com/OpenAMP/libmetal/commit/4c5f55f8675b12c111bcdf1d53343462…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-10-16 (Fri, 16 Oct 2020)
Changed paths:
M .github/workflows/compliance.yml
A scripts/ci/check_compliance.py
Log Message:
-----------
CI: rework compliance test
The webispy/checkpatch-action does not seems to work properly.
Even if it detects coding style issue, the return status is successful.
This patch replaces the action by the compliance python script obtained
from the Zephyr project.
This script also runs gitlint to check commit messages.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/open-amp
Commit: 0257ca5fd853f77d9d2debf97921cb912a21067e
https://github.com/OpenAMP/open-amp/commit/0257ca5fd853f77d9d2debf97921cb91…
Author: Ed Mooring <ed.mooring(a)xilinx.com>
Date: 2020-10-16 (Fri, 16 Oct 2020)
Changed paths:
M apps/examples/load_fw/common.h
M apps/examples/load_fw/mem_image_store.c
M apps/examples/rpc_demo/rpc_demod.c
M apps/machine/zynq7/platform_info.c
M apps/machine/zynqmp/platform_info.c
M apps/machine/zynqmp_r5/platform_info.c
M apps/system/linux/machine/generic/platform_info.c
Log Message:
-----------
Add <errno.h> explicitly to all files that use errno values.
When building OpenAMP apps for FreeRTOS on Xilinx hardware, there
were compile errors due to EINVAL not being defined. On other
platforms, <errno.h> was implicitly included by OpenAMP header
files. This change explicitly includes it where it is needed
in the code.
There is one exception, load_fw/commmon.h has <errno.h> added,
since all common include files are placed there.
Signed-off-by: Ed Mooring <ed.mooring(a)linaro.org>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/open-amp
Commit: 8387889dba0bb934b3c95011ef777895d5485e07
https://github.com/OpenAMP/open-amp/commit/8387889dba0bb934b3c95011ef777895…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-10-16 (Fri, 16 Oct 2020)
Changed paths:
M .github/workflows/continuous-integration.yml
A scripts/ci/check_compliance.py
Log Message:
-----------
CI: rework compliance test
The webispy/checkpatch-action does not seems to work properly.
Even if it detects coding style issue, the return state is successful.
This patch replaces the action by the compliance python script obtained
from the Zephyr project.
This script also runs gitlint to check commit messages.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/libmetal
Commit: 4a03c72967380eee91e66461a34d2c74fbadadc1
https://github.com/OpenAMP/libmetal/commit/4a03c72967380eee91e66461a34d2c74…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-10-16 (Fri, 16 Oct 2020)
Changed paths:
A .github/actions/build_ci/Dockerfile
A .github/actions/build_ci/README.md
A .github/actions/build_ci/action.yml
A .github/actions/build_ci/entrypoint.sh
Log Message:
-----------
CI: add target build ci action
Add github action to check build for different targets.
This action replaces the travis test.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 85b5240bd217ba33a40899b2bbb345ffb99bea85
https://github.com/OpenAMP/libmetal/commit/85b5240bd217ba33a40899b2bbb345ff…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-10-16 (Fri, 16 Oct 2020)
Changed paths:
A .github/workflows/compliance.yml
M .github/workflows/continuous-integration.yml
Log Message:
-----------
CI: add build action in CI workflow
Add build test for multi platforms
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 53c48a1e4858d15b2265a6a62a82007071421772
https://github.com/OpenAMP/libmetal/commit/53c48a1e4858d15b2265a6a62a820070…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-10-16 (Fri, 16 Oct 2020)
Changed paths:
M test/CMakeLists.txt
M test/system/zephyr/alloc.c
M test/system/zephyr/main.c
Log Message:
-----------
test: fix zephyr test
Fix zephyr test for zephyr V2.2 compatibility.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 9b3357d3fd362029c0bce01096db479d28e79d45
https://github.com/OpenAMP/libmetal/commit/9b3357d3fd362029c0bce01096db479d…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-10-16 (Fri, 16 Oct 2020)
Changed paths:
R .travis.yml
Log Message:
-----------
CI: suppress travis actions
As test as been migrated in a github action, suppress travis tests
to limit dependency with an external tools
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Compare: https://github.com/OpenAMP/libmetal/compare/30af011301c5...9b3357d3fd36
Branch: refs/heads/master
Home: https://github.com/OpenAMP/libmetal
Commit: 30af011301c5778075266e4b5189e61a35093265
https://github.com/OpenAMP/libmetal/commit/30af011301c5778075266e4b5189e61a…
Author: Ed Mooring <ed.mooring(a)xilinx.com>
Date: 2020-10-15 (Thu, 15 Oct 2020)
Changed paths:
M lib/system/freertos/sleep.h
M lib/system/freertos/time.c
M test/system/freertos/sleep.c
Log Message:
-----------
FreeRTOS: fix sleep and timestamp handling
libmetal's libmetal_sleep_usec() takes a sleep time in micro-seconds.
The FreeRTOS function underlying it takes a sleep time in task ticks.
This was not properly corrected for, resulting in sleep times that
were off by an order of magnitude. The test code attempted to
correct for this as well, in the same wrong way.
Lastly, the metal_get_timestamp() function returned a value in
task ticks alone. This is a configuration dependent value.
This patch changes all three places to use microseconds for the
input and output values.
Signed-off-by: Ed Mooring <ed.mooring(a)linaro.org>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/open-amp
Commit: 885a2634510d80178db34bae0e3aaf6b1ae8337a
https://github.com/OpenAMP/open-amp/commit/885a2634510d80178db34bae0e3aaf6b…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-10-12 (Mon, 12 Oct 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: set rpmsg_init_ept API as deprecated
The rpmsg_init_ept does not seem to be usable by application
but is used internally. This patch mark this API deprecated
and in at least two full release, to remove this API as the
standard API to use is rpmsg_create_ept.
In addition, move the rpmsg_init_ept to rpmsg_internal and rename it.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/libmetal
Commit: c4c1d0e5341dd920ab45842b170b8526d9a5c029
https://github.com/OpenAMP/libmetal/commit/c4c1d0e5341dd920ab45842b170b8526…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-10-12 (Mon, 12 Oct 2020)
Changed paths:
M lib/compiler/gcc/compiler.h
M lib/compiler/iar/compiler.h
Log Message:
-----------
compiler: introduce __deprecated attribute
Define the __deprecated attribute to allow to generate a warning message
on compilation when an API is declared as deprecated.
This warning can be cleaned by adding -Wno-deprecated-declarations in
CMAKE_C_FLAGS flags
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Branch: refs/heads/errno-h-fix
Home: https://github.com/OpenAMP/open-amp
Commit: ee470195b669d7db2f0e30e4f13bce8a05ee72cb
https://github.com/OpenAMP/open-amp/commit/ee470195b669d7db2f0e30e4f13bce8a…
Author: Ed Mooring <ed.mooring(a)xilinx.com>
Date: 2020-10-09 (Fri, 09 Oct 2020)
Changed paths:
M apps/examples/load_fw/load_fw.c
M apps/examples/load_fw/mem_image_store.c
M apps/examples/rpc_demo/rpc_demod.c
M apps/machine/zynq7/platform_info.c
M apps/machine/zynqmp/platform_info.c
M apps/machine/zynqmp_r5/platform_info.c
M apps/system/linux/machine/generic/platform_info.c
Log Message:
-----------
Add <errno.h> explicitly to all files that use errno values.
When building OpenAMP apps for FreeRTOS on Xilinx hardware, there
were compile errors due to EINVAL not being defined. On other
platforms, <errno.h> was implicitly included by OpenAMP header
files. This change explicitly includes it where it is needed
in the code.
Branch: refs/heads/master
Home: https://github.com/OpenAMP/open-amp
Commit: 3434576bfe22b37fee1dbe5507b14fdcf847ae48
https://github.com/OpenAMP/open-amp/commit/3434576bfe22b37fee1dbe5507b14fdc…
Author: Ben Levinsky <ben.levinsky(a)xilinx.com>
Date: 2020-10-06 (Tue, 06 Oct 2020)
Changed paths:
M apps/machine/zynqmp_r5/platform_info.c
M apps/machine/zynqmp_r5/platform_info.h
M apps/machine/zynqmp_r5/zynqmp_r5_a53_rproc.c
Log Message:
-----------
apps: zynqmp_r5: add switch to run r5 demo without IPI
The current implementation presumes the presence of IPI in hardware
design. Add switch to enable instead polling of shared memory if
there is no IPI, IRQ, etc. available.
Signed-off-by: Ben Levinsky <ben.levinsky(a)xilinx.com>
Commit: b5506793833f291c6686dae849ca45a976241a07
https://github.com/OpenAMP/open-amp/commit/b5506793833f291c6686dae849ca45a9…
Author: Ben Levinsky <ben.levinsky(a)xilinx.com>
Date: 2020-10-06 (Tue, 06 Oct 2020)
Changed paths:
M apps/machine/zynqmp/platform_info.c
M apps/machine/zynqmp/platform_info.h
M apps/machine/zynqmp/zynqmp_linux_r5_proc.c
Log Message:
-----------
apps: zynqmp: add switch to run linux demo without IPI
The current implementation presumes the presence of IPI in hardware
design. Add switch on Linux side to enable instead polling of shared
memory if there is no IPI, IRQ, etc. available.
Signed-off-by: Ben Levinsky <ben.levinsky(a)xilinx.com>
Compare: https://github.com/OpenAMP/open-amp/compare/6a835240096a...b5506793833f
Hi Gaute,
When you say that you are running Linux on core 0 and FreeRTOS on core
1, do you mean that you are running both Linux and FreeRTOS on the
Cortex-A cluster in separate virtual machines, using a hypervisor?
Or are they running on separate clusters, such as FreeRTOS on Cortex-M/R
and Linux on a Cortex-A?
Cheers,
Stefano
On Mon, 7 Sep 2020, Gaute Nilsson via Openamp-rp wrote:
> We are running Linux on core 0 and FreeRTOS on core 1.
>
> We have a high priority FreeRTOS task that needs to run with a 100 µs
> interval. When the system is up and running, no cross core
> communication takes place.
>
> If I login with a ssh session into the Linux core, this will cause a
> performance hit on the FreeRTOS core and cause the high priority task
> to miss its deadline.
>
> I can see that even an ISR on FreeRTOS core that normally takes 4.5 µs
> to execute, temporarily will take 7.6 µs to execute just when I open a
> ssh session into Linux core. So everything will temporarily run slower
> on FreeRTOS core before it goes back to normal.
>
>
> What can cause this, and how can we prevent activity on Linux core
> affecting performance on FreeRTOS core?
>
> -Gaute Nilsson
>
We are running Linux on core 0 and FreeRTOS on core 1.
We have a high priority FreeRTOS task that needs to run with a 100 µs
interval. When the system is up and running, no cross core communication
takes place.
If I login with a ssh session into the Linux core, this will cause a
performance hit on the FreeRTOS core and cause the high priority task to
miss its deadline.
I can see that even an ISR on FreeRTOS core that normally takes 4.5 µs to
execute, temporarily will take 7.6 µs to execute just when I open a ssh
session into Linux core. So everything will temporarily run slower on
FreeRTOS core before it goes back to normal.
What can cause this, and how can we prevent activity on Linux core
affecting performance on FreeRTOS core?
-Gaute Nilsson
We are running Linux on core 0 and FreeRTOS on core 1.
We have a high priority FreeRTOS task that needs to run with a 100 µs
interval. When the system is up and running, no cross core
communication takes place.
If I login with a ssh session into the Linux core, this will cause a
performance hit on the FreeRTOS core and cause the high priority task
to miss its deadline.
I can see that even an ISR on FreeRTOS core that normally takes 4.5 µs
to execute, temporarily will take 7.6 µs to execute just when I open a
ssh session into Linux core. So everything will temporarily run slower
on FreeRTOS core before it goes back to normal.
What can cause this, and how can we prevent activity on Linux core
affecting performance on FreeRTOS core?
-Gaute Nilsson
Branch: refs/heads/master
Home: https://github.com/OpenAMP/libmetal
Commit: 8dfbbadc2d92fb06ba0ee0bf1837b281e7a021c8
https://github.com/OpenAMP/libmetal/commit/8dfbbadc2d92fb06ba0ee0bf1837b281…
Author: Simon Leiner <simon(a)leiner.me>
Date: 2020-09-07 (Mon, 07 Sep 2020)
Changed paths:
M lib/atomic.h
Log Message:
-----------
Use <atomic> when compiled as C++
This is necessary for the use of libmetal together with C++ clients that
require <atomic> as the replacement headers create a conflict with
<atomic>.
Signed-off-by: Simon Leiner <simon(a)leiner.me>
Commit: db77c464376e603bc46122b38a7956c87597895b
https://github.com/OpenAMP/libmetal/commit/db77c464376e603bc46122b38a7956c8…
Author: Simon Leiner <simon(a)leiner.me>
Date: 2020-09-07 (Mon, 07 Sep 2020)
Changed paths:
M lib/io.h
Log Message:
-----------
Perform strict typecasts for atomic_store_explicit
This is required by the implementation of atomic_store_explicit in the
C++ standard library.
Signed-off-by: Simon Leiner <simon(a)leiner.me>
Compare: https://github.com/OpenAMP/libmetal/compare/9a3162ecc0a3...db77c464376e
Branch: refs/heads/master
Home: https://github.com/OpenAMP/libmetal
Commit: 9a3162ecc0a353e4b14fe9e81a0d3d69f9c67eca
https://github.com/OpenAMP/libmetal/commit/9a3162ecc0a353e4b14fe9e81a0d3d69…
Author: Simon Leiner <simon(a)leiner.me>
Date: 2020-09-07 (Mon, 07 Sep 2020)
Changed paths:
M lib/system/freertos/mutex.h
M lib/system/generic/mutex.h
Log Message:
-----------
Stop using atomic_flag_*() for atomic_int in mutex
The atomic_flag_* functions are only defined for operands of the type
atomic_flag so the previous implementation relied on undefined behavior.
Because of the need for a read without side effects (in
__metal_mutex_is_acquired), it is not possible to use the atomic_flags
type for the mutex implementation. Because of this, all atomic_flag_*
functions are replaced with the appropriate functions for atomic value
types.
Signed-off-by: Simon Leiner <simon(a)leiner.me>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/libmetal
Commit: 9e03c4fceda40ff037c7f4355c431fd775486199
https://github.com/OpenAMP/libmetal/commit/9e03c4fceda40ff037c7f4355c431fd7…
Author: Simon Leiner <simon(a)leiner.me>
Date: 2020-09-07 (Mon, 07 Sep 2020)
Changed paths:
M lib/compiler/gcc/compiler.h
M lib/compiler/iar/compiler.h
Log Message:
-----------
Introduce metal_asm
This can be used as a future replacement for asm, which is not allowed in
the strict ISO C modes of GCC and IAR.
Signed-off-by: Simon Leiner <simon(a)leiner.me>
Commit: 5cae751afe8c516b4c533a4516a4e80412e93ac1
https://github.com/OpenAMP/libmetal/commit/5cae751afe8c516b4c533a4516a4e804…
Author: Simon Leiner <simon(a)leiner.me>
Date: 2020-09-07 (Mon, 07 Sep 2020)
Changed paths:
M examples/system/freertos/zynqmp_r5/zynqmp_amp_demo/common.h
M examples/system/generic/zynqmp_r5/zynqmp_amp_demo/common.h
M lib/processor/aarch64/cpu.h
M lib/processor/x86/cpu.h
M lib/processor/x86_64/cpu.h
M lib/system/freertos/zynq7/sys.c
M lib/system/freertos/zynqmp_a53/sys.c
M lib/system/freertos/zynqmp_r5/sys.c
M lib/system/generic/microblaze_generic/sys.c
M lib/system/generic/zynq7/sys.c
M lib/system/generic/zynqmp_a53/sys.c
M lib/system/generic/zynqmp_r5/sys.c
M lib/system/zephyr/cortexm/sys.c
M test/system/freertos/main.c
Log Message:
-----------
Use metal_asm instead of asm and __asm__
This enables GCC compilation in strict mode (-std=c11 -pedantic)
Signed-off-by: Simon Leiner <simon(a)leiner.me>
Compare: https://github.com/OpenAMP/libmetal/compare/821fd4fc3db2...5cae751afe8c
Please ignore the meeting update emails I sent to the list earlier.. That was an error.
Thanks and sorry,
Dan
________________________________
From: Openamp-rp <openamp-rp-bounces(a)lists.openampproject.org> on behalf of openamp-rp-bounces(a)lists.openampproject.org <openamp-rp-bounces(a)lists.openampproject.org>
Sent: Tuesday, August 11, 2020 20:30
To: Milea, Danut Gabriel (Danut) <Danut.Milea(a)windriver.com>
Subject: Openamp-rp post acknowledgement
Your message entitled
[Draft] OpenAMP remoteproc sub-group call
was successfully received by the Openamp-rp mailing list.
List info page: https://lists.openampproject.org/mailman/listinfo/openamp-rp
Your preferences: https://lists.openampproject.org/mailman/options/openamp-rp/danut.milea%40w…
Please ignore the meeting update emails I sent to the list earlier..
That was an error.
Thanks and sorry,
Dan
__________________________________________________________________
From: Openamp-rp <openamp-rp-bounces(a)lists.openampproject.org> on
behalf of openamp-rp-bounces(a)lists.openampproject.org
<openamp-rp-bounces(a)lists.openampproject.org>
Sent: Tuesday, August 11, 2020 20:30
To: Milea, Danut Gabriel (Danut) <Danut.Milea(a)windriver.com>
Subject: Openamp-rp post acknowledgement
Your message entitled
[Draft] OpenAMP remoteproc sub-group call
was successfully received by the Openamp-rp mailing list.
List info page:
[1]https://lists.openampproject.org/mailman/listinfo/openamp-rp
Your preferences:
[2]https://lists.openampproject.org/mailman/options/openamp-rp/danut.milea%40windriver.com
References
1. https://lists.openampproject.org/mailman/listinfo/openamp-rp
2. https://lists.openampproject.org/mailman/options/openamp-rp/danut.milea@win…
Branch: refs/heads/master
Home: https://github.com/OpenAMP/libmetal
Commit: 821fd4fc3db24cbb9b0de21ad0050048b8e70b60
https://github.com/OpenAMP/libmetal/commit/821fd4fc3db24cbb9b0de21ad0050048…
Author: Bobby Noelte <b0661n0e17e(a)gmail.com>
Date: 2020-07-31 (Fri, 31 Jul 2020)
Changed paths:
M lib/compiler/gcc/atomic.h
Log Message:
-----------
gcc: use __typeof__ instead of typeof in atomic.h
Compiling for Zephyr bails out on typeof. Use __typeof__
which is accepted by gcc regardless of the c language version.
Signed-off-by: Bobby Noelte <b0661n0e17e(a)gmail.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/open-amp
Commit: 6a835240096a36193584b1a98c17129c8aab37b2
https://github.com/OpenAMP/open-amp/commit/6a835240096a36193584b1a98c17129c…
Author: Simon Leiner <simon(a)leiner.me>
Date: 2020-07-27 (Mon, 27 Jul 2020)
Changed paths:
M lib/include/openamp/virtqueue.h
Log Message:
-----------
Cast allocated memory to target type
Although omitting the cast to the target type is idiomatic C, the
omission is actually forbidden in ISO C++. This patch enables the header
to be used in C++ code.
Signed-off-by: Simon Leiner <simon(a)leiner.me>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/open-amp
Commit: 98b3874fb227dce6f1f5bb38f535eae92db5737c
https://github.com/OpenAMP/open-amp/commit/98b3874fb227dce6f1f5bb38f535eae9…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-07-27 (Mon, 27 Jul 2020)
Changed paths:
M cmake/modules/FindLibmetal.cmake
Log Message:
-----------
cmake: fix LIBMETAL naming warning
Fix warnings spotted by cmake:
The package name passed to `find_package_handle_standard_args`(LIBMETAL) does
not match the name of the calling package(Libmetal). This can lead to problems
in calling code that expects `find_package` result variables (e.g., `_FOUND`)
to follow a certain pattern.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/libmetal
Commit: dafc19ec8b86a4a9ae6e65d0a68a5434fb6d843d
https://github.com/OpenAMP/libmetal/commit/dafc19ec8b86a4a9ae6e65d0a68a5434…
Author: Kumar Gala <kumar.gala(a)linaro.org>
Date: 2020-07-27 (Mon, 27 Jul 2020)
Changed paths:
M lib/system/zephyr/time.c
Log Message:
-----------
zephyr: Fix metal_get_timestamp implementation
_sys_clock_tick_count has not existed for a number of zephyr releases
(last release was v1.13). Use k_uptime_ticks() instead to implement
metal_get_timestamp.
Signed-off-by: Kumar Gala <kumar.gala(a)linaro.org>
Hello,
Instead of our normal standing agenda of review etc, next week's
meeting will be 100% dedicated to the topic of device tree bindings
for remote processors.
If you need invite info for this meeting please reply to this email
directly. Note that this is not my @ti.com address. (My last day at
TI is July 30. I will still be chairing this sub-group but using this
email address instead.)
Thanks,
Bill
Branch: refs/heads/master
Home: https://github.com/OpenAMP/libmetal
Commit: f3cf921f0a1f641357edc2ef38f053b1c431de45
https://github.com/OpenAMP/libmetal/commit/f3cf921f0a1f641357edc2ef38f053b1…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M cmake/modules/FindHugeTLBFS.cmake
M cmake/modules/FindLibSysFS.cmake
Log Message:
-----------
cmake: fix HUGETLBFS and LIBSYSFS naming warning
Fix warnings spotted by cmake:
The package name passed to `find_package_handle_standard_args`(HUGETLBFS)
does not match the name of the calling package(HugeTLBFS). This can lead
to problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Tested with cmake 3.5 and 3.17.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/open-amp
Commit: 0792f92b00907c38c59aa21de5f82343955cfb0c
https://github.com/OpenAMP/open-amp/commit/0792f92b00907c38c59aa21de5f82343…
Author: Torsten Rasmussen <Torsten.Rasmussen(a)nordicsemi.no>
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M CMakeLists.txt
Log Message:
-----------
cmake: set the policy CMP0077 to NEW
This commit introduces CMP0077 and set the policy to new behavior
and thus removes the following warning when using newer CMake versions:
```
Policy CMP0077 is not set: option() honors normal variables. Run "cmake
--help-policy CMP0077" for policy details. Use the cmake_policy command
to set the policy and suppress this warning.`
```
Both OLD and NEW behavior will use the value defined earlier in the
CMake process, however the OLD behavior will also add an entry to the
CMakeCache.txt but ignore that value on sub-sequent invocations.
As this may lead to confusion on users looking into the CMakeCache.txt,
then the best is to not get such values into the cache, and thus use NEW
behavior.
Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen(a)nordicsemi.no>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/libmetal
Commit: 3454d429f3dacd8b2c3592fcbb5d3def9814a38b
https://github.com/OpenAMP/libmetal/commit/3454d429f3dacd8b2c3592fcbb5d3def…
Author: Torsten Rasmussen <Torsten.Rasmussen(a)nordicsemi.no>
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M CMakeLists.txt
Log Message:
-----------
cmake: set the policy CMP0077 to NEW
This commit introduces CMP0077 and set the policy to new behavior
and thus removes the following warning when using newer CMake versions:
```
Policy CMP0077 is not set: option() honors normal variables. Run "cmake
--help-policy CMP0077" for policy details. Use the cmake_policy command
to set the policy and suppress this warning.`
```
Both OLD and NEW behavior will use the value defined earlier in the
CMake process, however the OLD behavior will also add an entry to the
CMakeCache.txt but ignore that value on sub-sequent invocations.
As this may lead to confusion on users looking into the CMakeCache.txt,
then the best is to not get such values into the cache, and thus use NEW
behavior.
Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen(a)nordicsemi.no>
All,
We have our normal meeting tomorrow. If anyone needs the invite please email me directly.
PLEASE UPGRADE YOUR ZOOM CLIENT:
If you use zoom client installed on your computer or phone and have not updated in the past week or two, please update now.
Zoom has started enforcing new client SW as of 6/1 to get the better security / encryption it provides.
If you just use the browser to join I don't think this applies and of course if you just dial in with a phone it does not apply.
Thanks,
Bill
---------------------------------------------------
William A. Mills
Chief Technologist, Open Source
Texas Instruments, Processors
20250 Century Blvd, Suit 300
Germantown MD, 20874
(work/mobile) +1-240-643-0836
All,
We have our normal meeting tomorrow. If anyone needs the invite please
email me directly.
PLEASE UPGRADE YOUR ZOOM CLIENT:
If you use zoom client installed on your computer or phone and have not
updated in the past week or two, please update now.
Zoom has started enforcing new client SW as of 6/1 to get the better
security / encryption it provides.
If you just use the browser to join I don’t think this applies and of
course if you just dial in with a phone it does not apply.
Thanks,
Bill
---------------------------------------------------
William A. Mills
Chief Technologist, Open Source
Texas Instruments, Processors
20250 Century Blvd, Suit 300
Germantown MD, 20874
(work/mobile) +1-240-643-0836
All,
We have a bi-weekly meeting today at the normal time.
If anyone needs the invite please email me directly.
Thanks,
Bill
---------------------------------------------------
William A. Mills
Chief Technologist, Open Source
Texas Instruments, Processors
20250 Century Blvd, Suit 300
Germantown MD, 20874
(work/mobile) +1-240-643-0836
All,
We have a bi-weekly meeting today at the normal time.
If anyone needs the invite please email me directly.
Thanks,
Bill
---------------------------------------------------
William A. Mills
Chief Technologist, Open Source
Texas Instruments, Processors
20250 Century Blvd, Suit 300
Germantown MD, 20874
(work/mobile) +1-240-643-0836
Hello,
Our normal meeting is today.
Please email me directly if you need the conference info.
https://github.com/OpenAMP/open-amp/wiki/OpenAMP-remoteproc-Subgroup-Meetin…
Thanks,
Bill
---------------------------------------------------
William A. Mills
Chief Technologist, Open Source
Texas Instruments, Processors
20250 Century Blvd, Suit 300
Germantown MD, 20874
(work/mobile) +1-240-643-0836
Hello,
Our normal meeting is today.
Please email me directly if you need the conference info.
[1]https://github.com/OpenAMP/open-amp/wiki/OpenAMP-remoteproc-Subgroup
-Meeting-Notes-2020
Thanks,
Bill
---------------------------------------------------
William A. Mills
Chief Technologist, Open Source
Texas Instruments, Processors
20250 Century Blvd, Suit 300
Germantown MD, 20874
(work/mobile) +1-240-643-0836
References
1. https://github.com/OpenAMP/open-amp/wiki/OpenAMP-remoteproc-Subgroup-Meetin…
This is to announce the release of OpenAMP and libmetal v2020.04.
The release notes can be found at:
https://github.com/OpenAMP/open-amp/releases/tag/v2020.04.0https://github.com/OpenAMP/libmetal/releases/tag/v2020.04.0
Regards,
Ed M
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
Branch: refs/heads/master
Home: https://github.com/OpenAMP/libmetal
Commit: 3a39fa926d91a8c4fc2c35cfde72109459c7ef7b
https://github.com/OpenAMP/libmetal/commit/3a39fa926d91a8c4fc2c35cfde721094…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-04-30 (Thu, 30 Apr 2020)
Changed paths:
M README.md
Log Message:
-----------
readme: add cmake option descriptions
Add cmake option short descriptions with it default value
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: b81bd5cebee4ab7d7bc50a6a9cf82275608e67bb
https://github.com/OpenAMP/libmetal/commit/b81bd5cebee4ab7d7bc50a6a9cf82275…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-04-30 (Thu, 30 Apr 2020)
Changed paths:
M README.md
Log Message:
-----------
readme: update zephyr description
The libmetal has been forked in the Zephyr project. user should
directly refer to Zephyr for usage.
Keep description to run tests in Zephyr environment.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: b4f64c714fcfbf9a7c23cebaf0aaf70c9a07ca6a
https://github.com/OpenAMP/libmetal/commit/b4f64c714fcfbf9a7c23cebaf0aaf70c…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-04-30 (Thu, 30 Apr 2020)
Changed paths:
M README.md
Log Message:
-----------
readme: add a how to contribute chapter
Waiting the wiki, add a chapter to inform how to contribute.
This chapter is inspired from zephyr documentation.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: 2ff5cac809552aea22398bc8ae01b2a0c7024a77
https://github.com/OpenAMP/libmetal/commit/2ff5cac809552aea22398bc8ae01b2a0…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-04-30 (Thu, 30 Apr 2020)
Changed paths:
M README.md
Log Message:
-----------
readme: add reference to the mailing list
Change the reference mailing list and add link that points to
the subscription page.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Commit: f1e8154b6392838a7c68871ab03400112b1e59b7
https://github.com/OpenAMP/libmetal/commit/f1e8154b6392838a7c68871ab0340011…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Date: 2020-04-30 (Thu, 30 Apr 2020)
Changed paths:
M README.md
Log Message:
-----------
readme: add reference to the wiki
Add link to the wiki pages.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)st.com>
Compare: https://github.com/OpenAMP/libmetal/compare/aee268365332...f1e8154b6392
All,
We have our normal meeting in about 1 and a half hours from now.
In addition to our standing agenda items we can briefly discuss conferencing solutions.
The nature of our calls is public. No confidential information is shared.
Remember that you can join our conference call with just a phone, no app is required.
(Even a land line will work; sorry no rotary phones :) )
Bill
---------------------------------------------------
William A. Mills
Chief Technologist, Open Source
Texas Instruments, Processors
20250 Century Blvd, Suit 300
Germantown MD, 20874
(work/mobile) +1-240-643-0836
All,
We have our normal meeting in about 1 and a half hours from now.
In addition to our standing agenda items we can briefly discuss
conferencing solutions.
The nature of our calls is public. No confidential information is
shared.
Remember that you can join our conference call with just a phone, no
app is required.
(Even a land line will work; sorry no rotary phones J )
Bill
---------------------------------------------------
William A. Mills
Chief Technologist, Open Source
Texas Instruments, Processors
20250 Century Blvd, Suit 300
Germantown MD, 20874
(work/mobile) +1-240-643-0836
All,
We have our normal meeting today in ~3.25 hours.
https://zoom.us/j/717134356
We have our standing items:
* Linux patch status
* Lib-openamp and lib-metal status
* openci update if any
Other items suggested by the group.
(I had some questions / comments about the remoteproc char driver if nothing else)
Thanks,
Bill
---------------------------------------------------
William A. Mills
Chief Technologist, Open Source
Texas Instruments, Processors
20250 Century Blvd, Suit 300
Germantown MD, 20874
(work/mobile) +1-240-643-0836
All,
We have our normal meeting tomorrow.
Standing Agenda Items:
* Linux patch activity
* Open-amp & Libmetal activity
* OpenAMP CI activity?
Suggestions for other topics (won't get to all of this)
* Deeper discussion of Mathieu's "MCU" sync patch set?
* Low Level implementation from Application Services call
* Enhancement to rpmsg name service
* Add endpoint description
* capabilities/feature flags per end-point
* VID:PID?
* Add optional endpoint description blobs
* expose to userspace (read via sysfs?)
* In-kernel API for request-response pattern
* More general binding for userspace API's (currently only rpmsg-char)
* rpmsg-char driver currently requires [unbind &] bind from userspace
* subtractive decode ? (bind to every name not found in kernel)
* bind to everything (in addition to in-kernel bind)
* bind via ctrl device?
* Socket interface in addition to rpmsg-char?
* bind to which?
Thanks,
Bill
---------------------------------------------------
William A. Mills
Chief Technologist, Open Source
Texas Instruments, Processors
20250 Century Blvd, Suit 300
Germantown MD, 20874
(work/mobile) +1-240-643-0836
All,
We have our meeting tomorrow.
We have our standing agenda:
* Linux Kernel pending patch status
* open-amp lib and libmetal status
* OpenAMP CI status
Anything else?
I have not sent the doodle pool for meeting at a conference in the next few months.
I think a lot of our companies have shutdown travel since we last talked.
I would like to get a verbal feel if a face to face meeting is practical in the next 3 to 6 months.
Thanks,
Bill
---------------------------------------------------
William A. Mills
Chief Technologist, Open Source
Texas Instruments, Processors
20250 Century Blvd, Suit 300
Germantown MD, 20874
(work/mobile) +1-240-643-0836
All,
We have our meeting tomorrow.
We have our standing agenda:
* Linux Kernel pending patch status
* open-amp lib and libmetal status
* OpenAMP CI status
Anything else?
I have not sent the doodle pool for meeting at a conference in the next
few months.
I think a lot of our companies have shutdown travel since we last
talked.
I would like to get a verbal feel if a face to face meeting is
practical in the next 3 to 6 months.
Thanks,
Bill
---------------------------------------------------
William A. Mills
Chief Technologist, Open Source
Texas Instruments, Processors
20250 Century Blvd, Suit 300
Germantown MD, 20874
(work/mobile) +1-240-643-0836
All,
We have our normal meeting tomorrow. Please think about agenda items.
On addition, I am collecting links to public git repos that contain carried or in-progress patches for all things remote proc.
I will round up the TI links.
If everyone else could send links to this list that would be great.
I will try to collect and correlate.
Thanks,
Bill
---------------------------------------------------
William A. Mills
Chief Technologist, Open Source
Texas Instruments, Processors
20250 Century Blvd, Suit 300
Germantown MD, 20874
(work/mobile) +1-240-643-0836
All,
We have our normal meeting tomorrow. Please think about agenda items.
On addition, I am collecting links to public git repos that contain
carried or in-progress patches for all things remote proc.
I will round up the TI links.
If everyone else could send links to this list that would be great.
I will try to collect and correlate.
Thanks,
Bill
---------------------------------------------------
William A. Mills
Chief Technologist, Open Source
Texas Instruments, Processors
20250 Century Blvd, Suit 300
Germantown MD, 20874
(work/mobile) +1-240-643-0836
Hi all,
One of the difficulties I have encountered while trying to get OpenAMP into the Linaro continuous integration loop, as well as while trying to test the GitHub OpenAMP repository code, has been the need to use proprietary tools and environments to build the OpenAMP firmware.This is what I think is needed to solve this problem. Feedback will be welcomed.
Goal: A complete open-source development environment for OpenAMP on
Linux for Cortex A and bare metal/FreeRTOS on Cortex R.
The first use for this is for Jenkins/LAVA testing. Just using a slightly
customized version of the Xilinx Yocto build for Linux and OpenAMP turns
out to be impractical due to the use of a Xilinx-specific toolchain
and the huge size of the resulting image.
The second use is for developers who want to work with OpenAMP and the
Linux kernel without needing to use a proprietary SDK or tool chain. In
fact, with the QEMU Docker container, they wouldn't even need real
hardware.
To do this requires:
Toolchains for the ARM Cortex A and Cortex R. I intend to use the
toolchains provided by ARM by default, but the eventual setup should allow
the user to switch to other toolchains, such as LLVM or a proprietary one.
A Linux root filesystem. I will create this using Yocto and a
stripped-down image recipe.
The necessary header files and libraries to compile and link
the Cortex R5 firmware for Xilinx first (the BSP). Later I
want to support other manufacturers as well.
A mechanism to update the root file system when the Linux kernel
or the OpenAMP binaries and firmware are updated.
A way of building bootable images, either for hardware or QEMU.
The above two items are part of the standard image build
process and will use available open source tools.
Something to run the resulting image. This will default to the
QEMU Docker image.
This should be easier to use for newcomers and facilitate the CI loop.
Steps:
1) Shrink the image. This can be done in two stages:
a. Build less stuff. The OpenAMP tests don't need full Perl and Python
installs, among other things.
b. Tune the kernel. There are a lot of modules we don't need.
This will also speed up build times considerably. It might even be
enough to get the CI loop started.
2) Set up the tooling to create root file systems
3) Set up the tooling to create images
4) Document all the steps required to create and boot an image.
5) Automate all of the above.
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
[copy-pasted from the Google group]
This is to announce the release of OpenAMP 2020.01. It's a
"catch up" release that incorporates the low-risk changes
proposed for OpenAMP/libmetal since the last release. See
https://github.com/OpenAMP/open-amp/releases/tag/v2020.01.0 and
https://github.com/OpenAMP/libmetal/releases/tag/v2020.01.0
With the transition of the OpenAMP project to a Linaro open source project (https://openampproject.org), we anticipate a return to the normal 6-month release cycle in (approximately) April and October.
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
Bill and friends,
I would like to talk about the various patchsets floating on the
mailing list that I'm keeping an eye on. More specifically where I
think the work is at and what the next steps are. I came up with the
following list (not in order of priority) along with some comments
that we can expand on tomorrow.
1) "V5 remoteproc: updates for omap remoteproc support" [1]
Comments: I am waiting on the people at TI that commented on V5 to
provide their ACK/comments before doing another review.
2) "remoteproc: Add support for predefined notifyids" [2]
Comments: Consensus was to wait for a new resource table definition -
anyone working on this? If not I will.
3) "V3 rpmsg: core: add API to get MTU [3]
Comments: Bjorn said he wouldn't merge the set without a client.
Arnaud pointed to that client [4] in the thread. A new set with both
feature (MTU and RPMSG tty driver) needs to be published for 5.6-rc1
and I will review/test it.
4) "V4 remoteproc: add support for co-processor loaded and booted
before kernel" [5]
Comments: Please send a 5th version when 5.6-rc1 comes out. Tero or
Suman will have to ack it before it is eventually merged. On my side
I will look at how TI has implemented that feature.
5) "V2 remoteproc: Add elf64 support in elf loader" [6]
Comments: Good conversation, please comment or ack next version.
6) "V2 remoteproc: qcom: post mortem debug support" [7]
Comments: Good conversation with Bjorn and Arnaud, waiting for Bjorn
to release another version.
Those take us back to around the September timeframe, which is about
the time I started perusing around this project. If there is a set
you've been waiting on that dates before September, please send
another revision when 5.6-rc1 is released and I will review it.
See you all tomorrow,
Mathieu
[1]. https://patchwork.kernel.org/project/linux-remoteproc/list/?series=229249
[2]. https://patchwork.kernel.org/project/linux-remoteproc/list/?series=228473
[3]. https://patchwork.kernel.org/patch/11333509/
[4]. https://patchwork.kernel.org/cover/11130213/
[5]. https://patchwork.kernel.org/patch/11265869/
[6]. https://patchwork.kernel.org/project/linux-remoteproc/list/?series=182999
[7]. https://patchwork.kernel.org/project/linux-remoteproc/list/?series=221715
On Wed, 29 Jan 2020 at 12:16, Mills, William via Openamp-rp
<openamp-rp(a)lists.openampproject.org> wrote:
>
> Hello all,
>
>
> A reminder that we have normal meeting of openamp-rp sub-project
> tomorrow.
>
> Please think about agenda topics or it will be a short meeting.
>
>
> Thanks,
>
> Bill
>
>
> ---------------------------------------------------
>
> William A. Mills
>
> Chief Technologist, Open Source
>
> Texas Instruments, Processors
>
> 20250 Century Blvd, Suit 300
>
> Germantown MD, 20874
>
> (work/mobile) +1-240-643-0836
> --
> Openamp-rp mailing list
> Openamp-rp(a)lists.openampproject.org
> https://lists.openampproject.org/mailman/listinfo/openamp-rp
Hello all,
A reminder that we have normal meeting of openamp-rp sub-project tomorrow.
Please think about agenda topics or it will be a short meeting.
Thanks,
Bill
---------------------------------------------------
William A. Mills
Chief Technologist, Open Source
Texas Instruments, Processors
20250 Century Blvd, Suit 300
Germantown MD, 20874
(work/mobile) +1-240-643-0836
Hello all,
A reminder that we have normal meeting of openamp-rp sub-project
tomorrow.
Please think about agenda topics or it will be a short meeting.
Thanks,
Bill
---------------------------------------------------
William A. Mills
Chief Technologist, Open Source
Texas Instruments, Processors
20250 Century Blvd, Suit 300
Germantown MD, 20874
(work/mobile) +1-240-643-0836
Good day Ed,
On Fri, 3 Jan 2020 at 17:59, Ed Mooring via Openamp-rp
<openamp-rp(a)lists.openampproject.org> wrote:
>
> On the December 19 call, I committed to sending the instructions I had
> provided to the Linaro LITE team to build a bootable image that can be
> used to develop and test OpenAMP with Linux on Xilinx QEMU.
>
> I am using this setup to work with Paul Sokolovsky on getting CI for
> OpenAMP on QEMU using LAVA.
>
> This is a first cut. Feedback is welcome.
I finally had time to give this a spin. Just like Bill I hit the
"zcu102-zynqmp" problem but fixed it quickly. From there the
compilation started and ran for a while until it failed when building
QEMU. This is what I got [1] when I launched "bitbake
openamp-image-minimal", hopefully one of those SHA will look
suspicious to you. I expect a simple misalignment between the
various SW repositories fetched by "repo". Speaking of which and
echoing Bill's comments, I think an exact git repository and SHA have
to be provided for each of the repositories that need to be brought in
manually, that is open-amp, libmetal and embeddedsw. At this time I
have the following:
open-amp: f98eb2a670ce Maintainers: update Ed Mooring mail address
libmetal: e3dfc2fe85e5 Maintainers: update project maintainers
embeddedsw: e8db5fb11822 Updated the license.txt file
Let me know if you find something obvious or if you think one of those
projects need to be set to a specific version.
Thanks,
Mathieu
[1]. https://pastebin.com/V1v25zK0
>
> Regards,
> Ed M
> This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
> --
> Openamp-rp mailing list
> Openamp-rp(a)lists.openampproject.org
> https://lists.openampproject.org/mailman/listinfo/openamp-rp
All,
To continue the discussion of the resource table evolution from 12/19, I have created the following wiki page:
https://github.com/OpenAMP/open-amp/wiki/Resource-Table-Evolution
Please add your ideas to this wiki page, especially the ones that we have discussed to some degree already.
Alternatively, you can start a discussion on this list and then you can capture your summary on the wiki page.
Thanks,
Bill
---------------------------------------------------
William A. Mills
Chief Technologist, Open Source
Texas Instruments, Processors
20250 Century Blvd, Suit 300
Germantown MD, 20874
(work/mobile) +1-240-643-0836
Hi Ed,
On 1/3/20 7:59 PM, Ed Mooring via Openamp-rp wrote:
> On the December 19 call, I committed to sending the instructions I had
> provided to the Linaro LITE team to build a bootable image that can be
> used to develop and test OpenAMP with Linux on Xilinx QEMU.
>
> I am using this setup to work with Paul Sokolovsky on getting CI for
> OpenAMP on QEMU using LAVA.
>
> This is a first cut. Feedback is welcome.
>
> Regards,
> Ed M
> This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
>
>
As you sent the instructions as an attachment I can't reply inline but I
will fake it.
> # Building the image
>
> In the build directory (<path to repo>/build):
>
> $ bitbake openamp-image-minimal
>
To get this at least started I used:
$ MACHINE=zcu102-zynqmp bitbake openamp-image-minimal
The instructions above leaves a default machine of qemuzynq which does
not exist. There is a qemu-zynq7 but I don't think that is right.
>From the name of the output image I am inferring that you want the
zcu102-zynqmp machine.
Please confirm or deny this assumption. Thanks.
**** What version for openamp/* git sources?
Right now I have the three dirs in the openamp dir as follows:
bill@rocky:~/w/proj/openamp/ci-xilinx$ for d in openamp/*; do (echo "***
$d"; cd $d; git remote -v; git status); done
*** openamp/embeddedsw
origin https://github.com/Xilinx/embeddedsw.git (fetch)
origin https://github.com/Xilinx/embeddedsw.git (push)
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
*** openamp/libmetal
origin https://github.com/Xilinx/libmetal.git (fetch)
origin https://github.com/Xilinx/libmetal.git (push)
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
*** openamp/open-amp
origin https://github.com/Xilinx/open-amp.git (fetch)
origin https://github.com/Xilinx/open-amp.git (push)
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
Can you please document what you are using and have tested.
Thanks,
Bill
Hi Ed,
On the 12/19 call you said you had build instructions for the R5 that
you had sent to the LITE group. You took an action item to post them
here as well. Can you do that please? It would be very helpful.
More comments below...
On 11/25/19 8:47 PM, Ed Mooring via Openamp-rp wrote:
> Here is the README for the Docker Container discussed in today's call:
> # Running the container:
>
> docker run -it xilinx-qemu
>
You had previously said to use the image named:
edmooring/qemu:xilinx-qemu
I tried running as you had it above (just xilinx-qemu) and it did not
find the image. The old name still works but has not been updated in 8
weeks.
Am I missing something? Have you published a new docker image somewhere
I can't find?
> This boots a Linux image (with ramdisk) and a device tree.
> The image contains the OpenAMP demo firmware images and
> examples.
>
> Alternatively,
>
> docker run -it -v <path_to_tftpboot_directory>:/tftpboot xilinx-qemu
>
> adds <path_to_tftpboot_directory> on the host system as /tftpboot
> inside the container, allowing a user to fetch arbitrary files, including
> Linux executables and firmware images, from within the container.
>
> # Running the OpenAMP echo test example
>
> * Log in to the emulated Linux as root (password is also "root").
> * Set up the R5 firmware: echo image_echo_test >/sys/class/remoteproc/remoteproc0/firmware
> * Start the R5: echo start >/sys/class/remoteproc/remoteproc0/state
> * Run the example: echo_test
>
Thanks for this. I have tested it myself and added it to the wiki.
> # Random notes:
>
> The version of QEMU that this uses is built from the xilinx-v2019.1
> tag on GitHub for Debian Stretch. Debian Stretch was chosen for the base
> of this container because Linaro uses it extensively and this way the
> executables are compatible across the various Linaro containers.
Thanks,
Bill
On the December 19 call, I committed to sending the instructions I had
provided to the Linaro LITE team to build a bootable image that can be
used to develop and test OpenAMP with Linux on Xilinx QEMU.
I am using this setup to work with Paul Sokolovsky on getting CI for
OpenAMP on QEMU using LAVA.
This is a first cut. Feedback is welcome.
Regards,
Ed M
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
Hello,
We have our normal meeting tomorrow as agreed last meeting.
I have updated the wiki page[1] with Notes from Last meeting and some potrencial agenda items for this week.
If you have other agenda items please reply to this e-mail and/or edit the wiki page.
So far we have:
* 64 bit support in Resource Tables
* Discuss Ben's patches?
* Discuss chair/host for Jan 2 or cancel (Bill is on vacation)
Thanks,
Bill
[1] https://github.com/OpenAMP/open-amp/wiki/OpenAMP-remoteproc-Subgroup-Meetin…
---------------------------------------------------
William A. Mills
Chief Technologist, Open Source
Texas Instruments, Processors
20250 Century Blvd, Suit 300
Germantown MD, 20874
(work/mobile) +1-240-643-0836
Hi all,
As stated in some previous OpenAMP meeting, we encountered a
limitation with remoteproc resource table. Indeed, all resources
are encoded using 32 bits fields whereas the memory accessible
on our processor is above the 32 bits boundary.
For instance, when the physical address is 0x1_0000_0000, then
this PA can't be inserted in the resource table or it will be
truncated to 0. This can temporarily be workarounded by using
device tree dma-ranges (at least on Linux) to have a correct DA
but the PA will still be truncated. Moreover, this only work
if you can remap the 64 bits memory zone to a 32 bits one (this
almost implies to have an IOMMU in front of the device).
Since 64 bits systems are now pretty common, it seems clear that
we need to modify the resource table to support 64 bits addresses.
In the same time, it will also be necessary to use 64 bits storage
for virtio device features. Some of them already need more than
32 bits (virtio-net features for instance).
Both modifications requires to handle versionning in the resource
table.
The following suggestions are mainly a RFC ! Please feel free
to comment any of the proposed modifications.
Versionning
-----------
Currently, the supported version is "1".
I propose to increment this number (version 2 ?) which will allow
to add necessary evolutions for 64 bits support. This version
should probably support both old format and new 64 bits support
(comments are welcomed).
64 bits addresses
-----------------
Since most of the systems are now using 64bits addresses, it is
necessary to support such configuration
There are various problems which occurs when modifying these fields
- Retro compatibility (We probably must keep it)
- Fields alignment (Some architecture might not handle misalignment)
- 32 bit remote vs 64 bits master
Regarding the retrocompatibility, it appears clear that modifiying
existing resources is probably not feasible due to missing
reserved fields. It will probably be necessary to create a
secondary type of resources which are almost the same as the 32bits
one. For instance for a vdev, we will have the "classic" rsc flavor:
struct fw_rsc_carveout {
u32 da;
u32 pa;
u32 len;
u32 flags;
u32 reserved;
u8 name[32];
} __packed;
And the 64 bits one:
struct fw_rsc_carveout_64 {
u64 da;
u64 pa;
u32 len;
u32 flags;
u32 reserved;
u8 name[32];
} __packed;
This does not seems really ideal and adds a lot of duplication but
I do not have (yet) any better idea (again, comments are welcomed !).
However, what should we do with the other fields ? Let them on 32
bits or change them all to use 64 bits ? If keeping some of them on
32bits, this can lead to misaligned members (since they are packed,
the compiler will force the alignment). Since some architecture do
not support that well, it's probably better to ensure all fields
will be aligned on their natural type boundary. it also means that
all structures sizes must be a multiple of 8 bytes.
If we don't want to guarantee alignment, then I do not have yet
a clear picture of what it would involve on various drivers which
accesses the memory of the resource table (rproc, virtio for the
config space, etc) and what are their assumptions about that.
If this can be accepted, then the question of the 64 bits master
versus the 32 bits remote can be addressed. I think this is probably
orthogonal to the fact we can have 64 bits addresses in the resource
table. Indeed, if both PA and DA are stored using 64 bits, then,
there is no limitation on what can be done on theses addresses.
For instance, on Linux Kernel, the device tree can allow remapping
64 bits to 32 bits using dma-ranges.
Features
--------
In virtio, the set of features is a bitfield of 64 bits. The current
virtio-rproc implementation only allows for 32bits features. This
is already limiting since virtio-net needs more than 32 bits
(VIRTIO_NET_F_STANDBY and VIRTIO_NET_F_SPEED_DUPLEX).
So these fields (gfeatures, etc) will also need to be udated to 64
bits variants. It might also be a good idea to keep in mind that
future evolutions will probably extend the available features.
Comments are welcomed !
Regards,
Clément Léger
Add proof of concept demo showing the use of RPMsg payloads
with payload information as pointer to large buffer in a
contiguously laid out memory space between APU and RPU with RPMsg
userspace on the APU side and baremetal on the RPU side.
Ben Levinsky (6):
apps: add out of band rpmsg echo demo
apps: oob echo: change message to timestamp and fix alignment
apps: oob echo : remove unused variables and fix apu side waiting
apps: oob echo: move code common in multiple files to header
apps: oob echo: remove commented out line
apps: oob echo: change packet fields to unsigned int
All,
We have an openamp remoteproc sub group call this Thursday 12/05 in our normal timeslot.
What topics should we discuss?
I won't have time to make progress on the Staging tree or CI loop from last time so I don't see value in reviting them this time.
Suman has posted a writeup for rpmsg-proto to this list.
https://lists.openampproject.org/pipermail/openamp-rp/attachments/20191125/…
This is the socket based interface to rpmsg that TI has been using for several years.
We could discuss this on Thursday.
What else should we discuss?
Thanks,
Bill
---------------------------------------------------
William A. Mills
Chief Technologist, Open Source
Texas Instruments, Processors
20450 Century Blvd
Germantown MD, 20871
(work/mobile) +1-240-643-0836
Here is the README for the Docker Container discussed in today's call:
# Running the container:
docker run -it xilinx-qemu
This boots a Linux image (with ramdisk) and a device tree.
The image contains the OpenAMP demo firmware images and
examples.
Alternatively,
docker run -it -v <path_to_tftpboot_directory>:/tftpboot xilinx-qemu
adds <path_to_tftpboot_directory> on the host system as /tftpboot
inside the container, allowing a user to fetch arbitrary files, including
Linux executables and firmware images, from within the container.
# Running the OpenAMP echo test example
* Log in to the emulated Linux as root (password is also "root").
* Set up the R5 firmware: echo image_echo_test >/sys/class/remoteproc/remoteproc0/firmware
* Start the R5: echo start >/sys/class/remoteproc/remoteproc0/state
* Run the example: echo_test
# Random notes:
The version of QEMU that this uses is built from the xilinx-v2019.1
tag on GitHub for Debian Stretch. Debian Stretch was chosen for the base
of this container because Linaro uses it extensively and this way the
executables are compatible across the various Linaro containers.
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
Hi All,
Attached are some short notes on some of the current issues. There may be couple of different implementations floating around, so issues may vary.
Regards
Suman
-----Original Appointment-----
From: Nathalie Chan King Choy [mailto:nathalie@xilinx.com]
Sent: Sunday, November 03, 2019 9:52 AM
To: Nathalie Chan King Choy; Anna, Suman; tsc(a)lists.openampproject.org; openamp-rp(a)lists.openampproject.org
Cc: Christian Daudt; Felix Burton; Michael May; nathalie-ckc(a)kestrel-omnitech.com; Manjukumar Harthikote Matha; Joe Fabbre; Raghuraman, Arvind; Vincent Chardon; Clément Leger; Tony McDowell; Bruce Ashfield; Grosen, Mark; mathieu.poirier(a)linaro.org; Wesley Skeffington; Ed T. Mooring; Mills, William; don.harbin(a)linaro.org
Subject: FW: OpenAMP weekly slot for TSC and sub-groups
When: Monday, November 25, 2019 9:00 AM-10:00 AM (UTC-08:00) Pacific Time (US & Canada).
Where: Zoom
Suman,
Welcome back!
Are you getting these meeting requests?
This one on Monday I want to talk about patch backlog. I think you should attend.
There appears to be pretty decent interest in the socket based interface.
You told me before that is has some warts. Can you write that up?
Are the limitations due to the current kernel implementation or inherent in the rpmsg protocol?
I expect there is some of both. Either way it would be good to get down in writing.
Thanks,
Bill
-----Original Appointment-----
From: Nathalie Chan King Choy [mailto:nathalie@xilinx.com]
Sent: Sunday, November 3, 2019 10:52 AM
To: Nathalie Chan King Choy; tsc(a)lists.openampproject.org<mailto:tsc@lists.openampproject.org>; openamp-rp(a)lists.openampproject.org<mailto:openamp-rp@lists.openampproject.org>
Cc: Christian Daudt; Felix Burton; Michael May; nathalie-ckc(a)kestrel-omnitech.com<mailto:nathalie-ckc@kestrel-omnitech.com>; Manjukumar Harthikote Matha; Joe Fabbre; Raghuraman, Arvind; Vincent Chardon; Clément Leger; Tony McDowell; Bruce Ashfield; Grosen, Mark; mathieu.poirier(a)linaro.org<mailto:mathieu.poirier@linaro.org>; Wesley Skeffington; Ed T. Mooring; Mills, William; Don Harbin
Subject: OpenAMP weekly slot for TSC and sub-groups
When: Monday, November 25, 2019 9:00 AM-10:00 AM (UTC-08:00) Pacific Time (US & Canada).
Where: Zoom
https://zoom.us/j/4762224131
Hi all,
Due to travel for the OpenAMP Remoteproc discussion leads, we’re pushing this Thursday’s call out to Monday.
Notes from the meetings can be found on the GitHub wiki:
https://github.com/OpenAMP/open-amp/wiki/Meeting-Notes
Best regards,
Nathalie C. Chan King Choy
Project Manager focused on Open Source & Community
<< File: ATT00001.txt >>
Hi All,
Attached are some short notes on some of the current issues. There may
be couple of different implementations floating around, so issues may
vary.
Regards
Suman
-----Original Appointment-----
From: Nathalie Chan King Choy [[1]mailto:nathalie@xilinx.com]
Sent: Sunday, November 03, 2019 9:52 AM
To: Nathalie Chan King Choy; Anna, Suman; tsc(a)lists.openampproject.org;
openamp-rp(a)lists.openampproject.org
Cc: Christian Daudt; Felix Burton; Michael May;
nathalie-ckc(a)kestrel-omnitech.com; Manjukumar Harthikote Matha; Joe
Fabbre; Raghuraman, Arvind; Vincent Chardon; Clément Leger; Tony
McDowell; Bruce Ashfield; Grosen, Mark; mathieu.poirier(a)linaro.org;
Wesley Skeffington; Ed T. Mooring; Mills, William;
don.harbin(a)linaro.org
Subject: FW: OpenAMP weekly slot for TSC and sub-groups
When: Monday, November 25, 2019 9:00 AM-10:00 AM (UTC-08:00) Pacific
Time (US & Canada).
Where: Zoom
Suman,
Welcome back!
Are you getting these meeting requests?
This one on Monday I want to talk about patch backlog. I think you
should attend.
There appears to be pretty decent interest in the socket based
interface.
You told me before that is has some warts. Can you write that up?
Are the limitations due to the current kernel implementation or
inherent in the rpmsg protocol?
I expect there is some of both. Either way it would be good to get
down in writing.
Thanks,
Bill
-----Original Appointment-----
From: Nathalie Chan King Choy [[2]mailto:nathalie@xilinx.com]
Sent: Sunday, November 3, 2019 10:52 AM
To: Nathalie Chan King Choy; [3]tsc(a)lists.openampproject.org;
[4]openamp-rp(a)lists.openampproject.org
Cc: Christian Daudt; Felix Burton; Michael May;
[5]nathalie-ckc(a)kestrel-omnitech.com; Manjukumar Harthikote Matha; Joe
Fabbre; Raghuraman, Arvind; Vincent Chardon; Clément Leger; Tony
McDowell; Bruce Ashfield; Grosen, Mark; [6]mathieu.poirier(a)linaro.org;
Wesley Skeffington; Ed T. Mooring; Mills, William; Don Harbin
Subject: OpenAMP weekly slot for TSC and sub-groups
When: Monday, November 25, 2019 9:00 AM-10:00 AM (UTC-08:00) Pacific
Time (US & Canada).
Where: Zoom
[7]https://zoom.us/j/4762224131
Hi all,
Due to travel for the OpenAMP Remoteproc discussion leads, we’re
pushing this Thursday’s call out to Monday.
Notes from the meetings can be found on the GitHub wiki:
[8]https://github.com/OpenAMP/open-amp/wiki/Meeting-Notes
Best regards,
Nathalie C. Chan King Choy
Project Manager focused on Open Source & Community
<< File: ATT00001.txt >>
References
1. mailto:nathalie@xilinx.com
2. mailto:nathalie@xilinx.com
3. mailto:tsc@lists.openampproject.org
4. mailto:openamp-rp@lists.openampproject.org
5. mailto:nathalie-ckc@kestrel-omnitech.com
6. mailto:mathieu.poirier@linaro.org
7. https://zoom.us/j/4762224131
8. https://github.com/OpenAMP/open-amp/wiki/Meeting-Notes
All,
This is a reminder that we have the openAMP remoteproc (aka "classic") meeting tomorrow.
You should already have the meeting in your calendar from Nathalie.
The time is 11am US eastern which should be 8am US Pacific and 4pm UK/UTC.
If you don't have this meeting please reply to me only and I will fwd the invite.
(For now, I don't want the zoom link in the public archive to be abused.)
Action Items from last call:
We will be focusing on the next work queue:
https://github.com/OpenAMP/open-amp/wiki/Future-Topics-for-OpenAMP-remotepr…
We gave out assignments to fill in this work last time. I see not much of it has been done. I will be working on my tasks today.
All orgs were to identify their top priorities. I suggest you pick your top 3. Reply to this list before the meeting if you think you understand the items enough to make the selection.
If you don't understand the items, please come to the meeting with questions and hopefully reply to the list with your top 3 after the meeting.
Meeting notes:
https://github.com/OpenAMP/open-amp/wiki/OpenAMP-remoteproc-Subgroup-Meetin…
Agenda:
1) Call and mail list logistics, any issues?
2) Action item check
3) Questions about scope / abstract of items
4) "Top 3" discussion
5) other open discussion
Thanks,
Bill
[You are on this list because you were subscribed to previous openamp maillists. If you wish to subscribe or unsubscribe vist https://lists.openampproject.org/mailman/listinfo/openamp-rp ]
Changed a setting & hopefully that will do the trick.
Test that calendar works.
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
Changed a setting & hopefully that will do the trick.
Test that calendar works.
This email and any attachments are intended for the sole use of the
named recipient(s) and contain(s) confidential information that may be
proprietary, privileged or copyrighted under applicable law. If you are
not the intended recipient, do not read, copy, or forward this email
message or any attachments. Delete this email message and any
attachments immediately.
Test that calendar works
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
Hi,
Testing that this list is up & running OK:
Attached some test files: Excel spreadsheet, JPEG, PNG, PDF, Word doc.
CC'd a non-list member.
Please could someone reply-all to the list to acknowledge everything made it through (and that CC of non-list member continues to work)?
* Also testing that this section with HTML formatting gets converted to plain text by Mailman.
Thanks & regards,
Nathalie
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.