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