Hello,
The code of the open-amp and libmetal libraries is now frozen for 2 weeks to allow non-regression tests to begin.
Of course, the PR review process continues but the PRs will be integrated after the release.
We plan to release the library the week of November 4th.
Regards,
Arnaud
ST Restricted
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 7f351a5158dbfeca62f3b2113702fc443a560f26
https://github.com/OpenAMP/libmetal/commit/7f351a5158dbfeca62f3b2113702fc44…
Author: Yongrong Wang <wangyongrong(a)xiaomi.com>
Date: 2024-10-21 (Mon, 21 Oct 2024)
Changed paths:
M lib/atomic.h
M lib/compiler.h
M lib/errno.h
Log Message:
-----------
lib: fix compile error
lib/errno.h: defined(__ARMCC_VERSION) for use GCC compile
lib/autmoic:fix compiler error:
nuttx/include/metal/compiler/gcc/atomic.h:19:13: error: conflicting type
qualifiers for 'atomic_flag'
19 | typedef int atomic_flag;
| ^~~~~~~~~~~
In file included from nuttx/include/nuttx/net/netdev_lowerhalf.h:38,
from virtio/virtio-net.c:33:
prebuilts/gcc/linux/arm/lib/gcc/arm-none-eabi/13.2.1/include/
stdatomic.h:233:3: note: previous declaration of 'atomic_flag' with
type 'atomic_flag'
233 | } atomic_flag;
| ^~~~~~~~~~~
nuttx/include/metal/compiler/gcc/atomic.h:20:14: error: conflicting
type qualifiers for 'atomic_char'
20 | typedef char atomic_char;
^~~~~~~~~~~
Signed-off-by: Yongrong Wang <wangyongrong(a)xiaomi.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/libmetal/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: bb4459fe30c954ae9772d8600e7e86515ff7ffff
https://github.com/OpenAMP/open-amp/commit/bb4459fe30c954ae9772d8600e7e8651…
Author: Bowen Wang <wangbowen6(a)xiaomi.com>
Date: 2024-10-21 (Mon, 21 Oct 2024)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: fix rpmsg_virtio_get_tx_payload_buffer() error
If rpmsg_virtio_notify_wait() returns RPMSG_SUCCESS, we should not
directly return NULL, but call rpmsg_virtio_get_tx_buffer to get
the tx buffer again.
Signed-off-by: Yongrong Wang <wangyongrong(a)xiaomi.com>
Signed-off-by: Bowen Wang <wangbowen6(a)xiaomi.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 47be1f3379db20dcff666d3508521e70ee34570c
https://github.com/OpenAMP/open-amp/commit/47be1f3379db20dcff666d3508521e70…
Author: Yongrong Wang <wangyongrong(a)xiaomi.com>
Date: 2024-10-21 (Mon, 21 Oct 2024)
Changed paths:
M lib/remoteproc/remoteproc_virtio.c
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio.c: replace metal_cpu_yield to new libmetal API metal_yield
The CPU yield is not supported by all OSes/processors. If not supported,
this causes a busy loop that monopolizes the CPU. Replace it with the
new metal_yield, it would be managed at the OS level and dispatched to
metal_cpu_yield, metal_sleep_usec, or others.
Signed-off-by: Yongrong Wang <wangyongrong(a)xiaomi.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 1ed90fd96772ec577e55cd9f5511ba7b32e070ca
https://github.com/OpenAMP/libmetal/commit/1ed90fd96772ec577e55cd9f5511ba7b…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2024-10-21 (Mon, 21 Oct 2024)
Changed paths:
M lib/system/generic/sys.h
Log Message:
-----------
lib: system: fix missing metal_yield API for generic systems.
The metal_yield API needs also to be declared for the baremetal systems.
This fix build issue in Open-amp for generic system:
/github/workspace/open-amp/lib/rpmsg/rpmsg_virtio.c:275:17:
error: implicit declaration of function 'metal_yield'
275 | metal_yield();
| ^~~~~~~~~~~
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/libmetal/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 142c40321e6116488ba929a2b79c7a907eb059fa
https://github.com/OpenAMP/libmetal/commit/142c40321e6116488ba929a2b79c7a90…
Author: Yongrong Wang <wangyongrong(a)xiaomi.com>
Date: 2024-10-21 (Mon, 21 Oct 2024)
Changed paths:
M lib/system/freertos/sys.h
M lib/system/freertos/template/sys.h
M lib/system/freertos/xlnx/sys.h
M lib/system/linux/sys.h
M lib/system/nuttx/sys.h
M lib/system/zephyr/sys.h
Log Message:
-----------
lib: system: create a new libmetal API metal_yield
Define metal_yield in sys.h files is more flexible to manage this
in libmetal, metal_yield would be managed at the OS level and
dispatched to metal_cpu_yield, metal_sleep_usec, or others.
Signed-off-by: Yongrong Wang <wangyongrong(a)xiaomi.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/libmetal/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: d0cd9285b72ef1a3bcd6aae536f747ebc1091697
https://github.com/OpenAMP/libmetal/commit/d0cd9285b72ef1a3bcd6aae536f747eb…
Author: Yongrong Wang <wangyongrong(a)xiaomi.com>
Date: 2024-10-21 (Mon, 21 Oct 2024)
Changed paths:
M lib/system/freertos/sys.h
M lib/system/freertos/template/sys.h
M lib/system/freertos/xlnx/sys.h
M lib/system/linux/sys.h
M lib/system/nuttx/sys.h
M lib/system/zephyr/sys.h
Log Message:
-----------
lib/cpu.h: create a new libmetal API metal_yield
define metal_yield in sys.h files is more flexible to manage this
in libmetal, metal_yield would be managed at the OS level and
dispatched to metal_cpu_yield, metal_sleep_usec, or others
Signed-off-by: Yongrong Wang <wangyongrong(a)xiaomi.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/libmetal/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 6a5fdf1b1f7650b65115a64bbc23729e2e215b97
https://github.com/OpenAMP/open-amp/commit/6a5fdf1b1f7650b65115a64bbc23729e…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M .github/actions/build_ci/entrypoint.sh
Log Message:
-----------
CI: reduce zephyr sdk install verbosity
Reduce the console output for the Zephyr sdk install.
This now matches the intent of libmetal but uses the documented wget
option.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Commit: 3541b5771bc7d0e0cd5259f6315639123be8fc05
https://github.com/OpenAMP/open-amp/commit/3541b5771bc7d0e0cd5259f631563912…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M .github/actions/build_ci/entrypoint.sh
M .github/workflows/continuous-integration.yml
A .github/workflows/heathcheck.yml
Log Message:
-----------
CI: Do Zephyr build tests on known good and latest versions
Allow Zephyr testing to either use locked known good values
or the very latest versions.
This brings open-amp to parity with libmetal. Open-amp did not have the
SDK URL discovery code so that was added here as part of this.
The known good versions are best for PR checking as if the build fails
it is almost always the PR itself that broke it.
The latest version is good for periodically checking compatibility with
the very latest Zephyr changes.
For now we run both on pushes and PRs.
We also run main against the latest zephyr check weekly as a look ahead.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Compare: https://github.com/OpenAMP/open-amp/compare/c3132d0d631a...3541b5771bc7
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications