Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: f21fea6c32e803d75f74f0b4b7e922f29aea5c05
https://github.com/OpenAMP/libmetal/commit/f21fea6c32e803d75f74f0b4b7e922f2…
Author: Bowen Wang <wangbowen6(a)xiaomi.com>
Date: 2024-02-23 (Fri, 23 Feb 2024)
Changed paths:
M lib/system/nuttx/io.c
Log Message:
-----------
libmetal/nuttx/io.c: width matched access when read/write size = 1,2,4,8
Follow the virtio spec v1.2:
The driver MUST only use 32 bit wide and aligned reads and writes to access
the control registers described in table 4.1. For the device-specific
configuration space, the driver MUST use 8 bit wide accesses for 8 bit
wide fields, 16 bit wide and aligned accesses for 16 bit wide fields
and 32 bit wide and aligned accesses for 32 and 64 bit wide fields.
Signed-off-by: Bowen Wang <wangbowen6(a)xiaomi.com>
Signed-off-by: Jukka Laitinen <jukkax(a)ssrc.tii.ae>
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: f94dde55e0f06809c331513641e0482bafe3d390
https://github.com/OpenAMP/open-amp/commit/f94dde55e0f06809c331513641e0482b…
Author: Umair Khan <umair_khan(a)mentor.com>
Date: 2024-02-22 (Thu, 22 Feb 2024)
Changed paths:
M apps/examples/load_fw/load_fw.c
Log Message:
-----------
load_fw: The firmware loading loop terminates prematurely
The remoteproc_load_noblock() is a non-blocking API designed to load
the remote firmware in streaming mode. The application has to continue
supplying the firmware data blocks until the complete firmware is
loaded. The load_fw example does this and checks the `nlen` variable
(returned by the remoteproc_load_noblock() API) for zero to determine
if the firmware loading is complete. However, `nlen` (contains the
filesize of the next program header) alone can't be taken as the
sufficient condition to mark the completion of firmware loading as
0 is a valid value for filesize for sections that don't require
loading to the target memory such as the .bss section. This patch
proposes checking filesize as well as memsize as a better metric to
mark completion of the firmware loading loop.
Signed-off-by: Umair Khan <umair_khan(a)mentor.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: 5d93a3c19331eea88f5612d7e4eb1a0f1fcfdd6a
https://github.com/OpenAMP/libmetal/commit/5d93a3c19331eea88f5612d7e4eb1a0f…
Author: Rajiv Mohan <rajiv.mohan(a)amd.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M lib/system/freertos/xlnx/sys.c
Log Message:
-----------
FreeRTOS Avoid mem mapping in MPU for region mapped
FreeRTOS patch for Avoiding memory mapping in MPU config table for region
that are already mapped by bsp and no change in attribute property
Signed-off-by: Rajiv Mohan <rajiv.mohan(a)amd.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: 3517a078369c041dc74252b87d7347c397d1d1c3
https://github.com/OpenAMP/libmetal/commit/3517a078369c041dc74252b87d7347c3…
Author: Rajiv Mohan <rajiv.mohan(a)amd.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M lib/system/generic/xlnx/sys.c
Log Message:
-----------
lib: xlnx: Avoid mapping in MPU for region mapped by bsp
Avoiding memory mapping in MPU config table for region that are already
mapped by bsp and no change in attribute property.
Signed-off-by: Rajiv Mohan <rajiv.mohan(a)amd.com>
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.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: b48965acdfe70bd5ac6ff916796e1b409a590542
https://github.com/OpenAMP/open-amp/commit/b48965acdfe70bd5ac6ff916796e1b40…
Author: Umair Khan <umair.khan.uet59(a)gmail.com>
Date: 2024-02-16 (Fri, 16 Feb 2024)
Changed paths:
M lib/remoteproc/elf_loader.c
Log Message:
-----------
Fixes #550: ELF loader loads ELF sections to their load addresses
Unlike the Linux rproc elf loader, the OpenAMP elf loader loads
the remote elf program segments to their load addresses instead
of their link addresses. This results in memory corruption when
the remote firmware attempts to relocate segments from their link
addresses to load addresses at runtime such as the data section.
Signed-off-by: Umair Khan <umair.khan.uet59(a)gmail.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 7bf3cff391caeaf42b9ccb9ca77192c5a85f3eb4
https://github.com/OpenAMP/open-amp/commit/7bf3cff391caeaf42b9ccb9ca77192c5…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M lib/remoteproc/remoteproc_virtio.c
Log Message:
-----------
remoteproc_virtio: fix vrings_info structure init
Only the first index of the vring_info is set to 0.
Apply the memset to the whole memory allocated.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/meta-openamp
Commit: 36a86e5677ae2c27c8e18ddf597f6bc6cd5298be
https://github.com/OpenAMP/meta-openamp/commit/36a86e5677ae2c27c8e18ddf597f…
Author: Ben Levinsky <ben.levinsky(a)amd.com>
Date: 2024-01-22 (Mon, 22 Jan 2024)
Changed paths:
A vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/overlays/openamp-overlay-versal-net.yaml
M vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/overlays/openamp-overlay-versal.yaml
M vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/overlays/openamp-overlay-zynqmp.yaml
Log Message:
-----------
vendor/xilinx: meta-xilinx-standalone-experimental: Update overlays to work with latest lopper
Lopper has updates for YAML handling. Update YAML for this.
Signed-off-by: Ben Levinsky <ben.levinsky(a)amd.com>
Commit: f397d784da984938d0b0ce3e191fc4b58429ca0a
https://github.com/OpenAMP/meta-openamp/commit/f397d784da984938d0b0ce3e191f…
Author: Ben Levinsky <ben.levinsky(a)amd.com>
Date: 2024-01-22 (Mon, 22 Jan 2024)
Changed paths:
R vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/libmetal/libmetal-xlnx-standalone.bb
A vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/libmetal/libmetal-xlnx.inc
R vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/libmetal/patches/0001-lib-atomic-add-defines-for-build.patch
Log Message:
-----------
vendor/xilinx: meta-xilinx-standalone-experimental: libmetal: Unify recipe to work for SDT Flow
For AMD-Xilinx SDT Flow ensure libmetal works with latest.
As part of this clean up to be in one recipe.
Signed-off-by: Ben Levinsky <ben.levinsky(a)amd.com>
Commit: b506426628d5b43e729ea12860051bf6904b85b5
https://github.com/OpenAMP/meta-openamp/commit/b506426628d5b43e729ea1286005…
Author: Ben Levinsky <ben.levinsky(a)amd.com>
Date: 2024-01-22 (Mon, 22 Jan 2024)
Changed paths:
R vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/open-amp-decoupling.bb
R vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/open-amp-standalone.bb
A vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/open-amp-xlnx.inc
M vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/overlays/openamp-overlay-versal-net.yaml
M vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/overlays/openamp-overlay-versal.yaml
Log Message:
-----------
vendor/xilinx: meta-xilinx-standalone-experimental: open-amp: Unify recipe to work for SDT Flow
For AMD-Xilinx SDT Flow ensure open-amp works with latest.
As part of this clean up to be in one recipe.
Signed-off-by: Ben Levinsky <ben.levinsky(a)amd.com>
Compare: https://github.com/OpenAMP/meta-openamp/compare/098059a411ff...b506426628d5
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: b32187e4fb890c5014b93dd734a0aab9eaebcfb7
https://github.com/OpenAMP/open-amp/commit/b32187e4fb890c5014b93dd734a0aab9…
Author: Guiding Li <liguiding1(a)xiaomi.com>
Date: 2024-01-10 (Wed, 10 Jan 2024)
Changed paths:
M lib/rpmsg/rpmsg_internal.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
openamp: change rx/tx buffer hold flag to count
Before this commit, if rpmsg_hold_rx_buffer() is called in the endpoint
callback to hold current rx buffer and call rpmsg_release_rx_buffer()
to release this buffer immediately, this rx buffer will be returned to
the virtqueue twice:
1. the first time is in rpmsg_virtio_release_rx_buffer()
2. and the second time is in rpmsg_virtio_return_buffer() after ept->cb()
Follow shows this process:
rpmsg_virtio_rx_callback()
- get rp_hdr
- ept->cb(data = RPMSG_LOCATE_DATA(rp_hdr))
- rpsmg_hold_rx_buffer(data)
- rpmsg_release_rx_buffer(data) return buffer to virtqueue
- rpmsg_virtio_return_buffer(data) return same buffer to virtqueue again
So this commit changes the HELD flag in rp_hdr to count to avoid this
use case and also supports hold/release rx buffer recursively.
Signed-off-by: Guiding Li <liguiding1(a)xiaomi.com>
Signed-off-by: Yin Tao <yintao(a)xiaomi.com>
Signed-off-by: Bowen Wang <wangbowen6(a)xiaomi.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 62a003d7c417e23be8905c61f7db17815938b475
https://github.com/OpenAMP/open-amp/commit/62a003d7c417e23be8905c61f7db1781…
Author: Bowen Wang <wangbowen6(a)xiaomi.com>
Date: 2024-01-09 (Tue, 09 Jan 2024)
Changed paths:
M lib/remoteproc/remoteproc_virtio.c
Log Message:
-----------
remoteproc_virtio: initialize the virtio device id when create vdev
Should init the device ID when create the virtio device.
Signed-off-by: Bowen Wang <wangbowen6(a)xiaomi.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 1957ed269cdc2f878bf5d1924dadac12dece82f2
https://github.com/OpenAMP/open-amp/commit/1957ed269cdc2f878bf5d1924dadac12…
Author: Taras Zaporozhets <zaporozhets.taras(a)gmail.com>
Date: 2024-01-04 (Thu, 04 Jan 2024)
Changed paths:
M lib/CMakeLists.txt
Log Message:
-----------
lib: Add include directory to open_amp-static target
Include a header directory in the open_amp-static target, enabling
building and linking static library using CMake subdirectory.
Signed-off-by: Taras Zaporozhets <zaporozhets.taras(a)gmail.com>