New
OpenAMP Release 2024.05.0 - v1.6.0
This release
- Fix the remoteproc lelf loader,
- add API release callback for the endpoint management to ensure that endpoint is released before freeing associate resources,
- add API wait callback to avoid looping in tx buffer get,
- add API for retrieving message buffer sizes,
- various code improvement in the library and application,
- fixes various bugs.
API Updates:
Deprecated APIs:
-
cmake:
- Deprecate
VIRTIO_DEVICE_ONLYandVIRTIO_DRIVER_ONLYthat are replaced byVIRTIO_DEVICE_SUPPORT=0/1andVIRTIO_DEVICE_SUPPORT=0/1. - Remove deprecated
VIRTIO_MASTER_ONLYandVIRTIO_MASTER_ONLYconfigs.
- Deprecate
-
virtio:
- Deprecate
virtio_create_virtqueuesandvirtio_delete_virtqueuesthat should only be used internally.
- Deprecate
-
virtio rpmsg:
- deprecate
rpmsg_virtio_set_statusandrpmsg_virtio_get_status, virtio API should be used instead.
- deprecate
New APIs:
-
rpmsg:
- Add new
rpmsg_ept_release_cbto inform application that a endpoint has been released.
- Add new
-
virtio rpmsg:
rpmsg_virtio_get_rx_buffer_sizeandrpmsg_get_rx_buffer_size: get the RPMsg buffer payload size.
-
virtio:
wait_notifiedops to implement specific action in virtio transport layer waiting new TX free buffer.
What's Changed
- rpmsg: set ept address to incease num when alloc from the bitmap by @GUIDINGLI in https://github.com/OpenAMP/open-amp/pull/514
- openamp: add new API rpmsg_virtio_get_rx_buffer_size() by @CV-Bowen in https://github.com/OpenAMP/open-amp/pull/521
- apps: Add use of rpmsg_virtio_get_tx/rx_buffer_size API by @arnopo in https://github.com/OpenAMP/open-amp/pull/535
- Fix https://github.com/OpenAMP/open-amp/issues/455 by @danmilea in https://github.com/OpenAMP/open-amp/pull/533
- rpmsg: let rpmsg_virtio_get_tx_buffer() always return idx in host side by @CV-Bowen in https://github.com/OpenAMP/open-amp/pull/520
- rpmsg: add release cb and refcnt in endpoint to fix ept used-after-free by @yintao707 in https://github.com/OpenAMP/open-amp/pull/508
- openamp: add new ops wait_notified() to avoid looping in tx buffer get by @CV-Bowen in https://github.com/OpenAMP/open-amp/pull/518
- remoteproc: clear bitmap when stop/shutdown by @CV-Bowen in https://github.com/OpenAMP/open-amp/pull/522
- rpmsg_virtio: add RPMSG_ASSERT to check the virtqueue add error by @CV-Bowen in https://github.com/OpenAMP/open-amp/pull/526
- Add missing include with EINVAL definition by @zaporozhets in https://github.com/OpenAMP/open-amp/pull/544
- lib: add include directory to open_amp-static target by @zaporozhets in https://github.com/OpenAMP/open-amp/pull/545
- remoteproc_virtio: initialize the virtio device id when create vdev by @CV-Bowen in https://github.com/OpenAMP/open-amp/pull/540
- openamp: change rx buffer hold flag to count by @CV-Bowen in https://github.com/OpenAMP/open-amp/pull/524
- remoteproc_virtio: fix vrings_info structure init by @arnopo in https://github.com/OpenAMP/open-amp/pull/554
- Fixes #550: OpenAMP elf loader loads ELF sections to their load addresses by @UmairKhanUET in https://github.com/OpenAMP/open-amp/pull/551
- load_fw: The firmware loading loop terminates prematurely by @UmairKhanUET in https://github.com/OpenAMP/open-amp/pull/556
- remoteproc_virtio: optimize the remoteproc virtio transport layer by @CV-Bowen in https://github.com/OpenAMP/open-amp/pull/489
- remoteproc: fix management of non loadable segments by @UmairKhanUET in https://github.com/OpenAMP/open-amp/pull/553
- openamp: decouple rpmsg virtio and remoteproc by @wyr8899 in https://github.com/OpenAMP/open-amp/pull/549
- Cleanup rsc_table_parser code and API by @glneo in https://github.com/OpenAMP/open-amp/pull/562
- Remove layer breaking functions from rpmsg_virtio by @glneo in https://github.com/OpenAMP/open-amp/pull/561
- remoteproc: Fix the NULL vs RPROC_IS_ERR() bug for remoteproc_get_rsc_table() by @mengtanhzc in https://github.com/OpenAMP/open-amp/pull/571
- apps: system: linux: Use metal_io_finish() for closing io by @glneo in https://github.com/OpenAMP/open-amp/pull/573
New Contributors
- @yintao707 made their first contribution in https://github.com/OpenAMP/open-amp/pull/508
- @zaporozhets made their first contribution in https://github.com/OpenAMP/open-amp/pull/544
- @UmairKhanUET made their first contribution in https://github.com/OpenAMP/open-amp/pull/551
- @wyr8899 made their first contribution in https://github.com/OpenAMP/open-amp/pull/549
- @mengtanhzc made their first contribution in https://github.com/OpenAMP/open-amp/pull/571
Full Changelog: https://github.com/OpenAMP/open-amp/compare/v2023.10.0...v2024.05.0