Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 224cdea1886a883be7a4652192ae56d485efca6e
https://github.com/OpenAMP/libmetal/commit/224cdea1886a883be7a4652192ae56d4…
Author: Ben Levinsky <ben.levinsky(a)amd.com>
Date: 2023-12-20 (Wed, 20 Dec 2023)
Changed paths:
M lib/system/generic/xlnx/CMakeLists.txt
M lib/system/generic/xlnx/sys.h
A lib/system/generic/xlnx/sys_devicetree.h
Log Message:
-----------
lib: generic: xlnx: Enable CMake handling for System Device Tree Flow
For AMD-Xilinx tooling, there is a new System Device Tree (SDT) BSP
with different symbols for GIC than the classic BSP. This causes issues
when linking Libmetal against the SDT Flow BSP. Note that there is a
planned deprecation of the classic BSP.
For AMD-Xilinx System Device Tree (SDT) Flow, one of the files provided
by BSP is bspconfig.h. This file provides reference to the symbols that
describe GIC Device ID and GIC distributor Base Address. AMD-Xilinx
tools that use the SDT Flow BSP will provide symbol 'SDT' to signal that
the SDT Flow BSP is present. If SDT symbol is present then the Libmetal
build will include the new header "lib/system/generic/xlnx/sdt.h" to
preserve library build.
Signed-off-by: Ben Levinsky <ben.levinsky(a)amd.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: f55c02a7b582825399d37171625aa47ae5b41eb2
https://github.com/OpenAMP/libmetal/commit/f55c02a7b582825399d37171625aa47a…
Author: Johan Hedberg <johan.hedberg(a)intel.com>
Date: 2023-12-15 (Fri, 15 Dec 2023)
Changed paths:
M lib/system/zephyr/alloc.c
M lib/system/zephyr/alloc.h
Log Message:
-----------
Zephyr integration: Use K_HEAP_MEM_POOL_SIZE
This define should be used instead of the Kconfig option to determine if
the k_malloc family of functions are available.
Signed-off-by: Johan Hedberg <johan.hedberg(a)intel.com>
Branch: refs/heads/virtio-exp
Home: https://github.com/OpenAMP/open-amp
Commit: ead7ad8bb0a0db925e3a7e2a42ca6def8b8c399b
https://github.com/OpenAMP/open-amp/commit/ead7ad8bb0a0db925e3a7e2a42ca6def…
Author: Felipe Neves <felipe.neves(a)linaro.org>
Date: 2023-12-14 (Thu, 14 Dec 2023)
Changed paths:
M cmake/options.cmake
M lib/include/openamp/virtio.h
A lib/include/openamp/virtio_mmio_dev.h
M lib/virtio_mmio/CMakeLists.txt
A lib/virtio_mmio/virtio_mmio_dev.c
Log Message:
-----------
virtio-mmio: add initial support for Virtio MMIO device side
Signed-off-by: Felipe Neves <felipe.neves(a)linaro.org>
virtio_mmio_dev: initial support for device side
virtio mmio transport, it is based on work done originally
by Nicolas Granger from ST: <nicolas.granger01(a)st.com>
Signed-off-by: Felipe Neves <felipe.neves(a)linaro.org>
Commit: a76b28b2486089cd0c861233f4d7bebf8acf63fc
https://github.com/OpenAMP/open-amp/commit/a76b28b2486089cd0c861233f4d7bebf…
Author: Felipe Neves <felipe.neves(a)linaro.org>
Date: 2023-12-14 (Thu, 14 Dec 2023)
Changed paths:
M lib/include/openamp/virtio_mmio.h
R lib/include/openamp/virtio_mmio_dev.h
M lib/virtio_mmio/virtio_mmio_dev.c
Log Message:
-----------
virtio_mmio: unify device and driver interfaces into a
single header file.
Signed-off-by: Felipe Neves <felipe.neves(a)linaro.org>
Compare: https://github.com/OpenAMP/open-amp/compare/23058fc10872...a76b28b24860
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 34f9a7c7be026e6429c5870a049027c7c2458988
https://github.com/OpenAMP/open-amp/commit/34f9a7c7be026e6429c5870a049027c7…
Author: Bowen Wang <wangbowen6(a)xiaomi.com>
Date: 2023-12-05 (Tue, 05 Dec 2023)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: add RPMSG_ASSERT to check the virtqueue add error
Add RPMSG_ASSERT() to rpmsg_virtio_return_buffer() to check the
possible virtqueue buffer add error.
Signed-off-by: Bowen Wang <wangbowen6(a)xiaomi.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 1cff9f92d176b198329191f194ef5bb0d683b2c9
https://github.com/OpenAMP/open-amp/commit/1cff9f92d176b198329191f194ef5bb0…
Author: Guiding Li <liguiding1(a)xiaomi.com>
Date: 2023-12-05 (Tue, 05 Dec 2023)
Changed paths:
M lib/remoteproc/remoteproc.c
Log Message:
-----------
remoteproc: clear bitmap in remoteproc_stop()
Fix parse res_table failed when repeat start the remoteproc.
If we don't clear the bitmap it will failed in
handle_vdev_rsc() -> remoteproc_allocate_id()
Signed-off-by: Guiding Li <liguiding1(a)xiaomi.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 95802c1d0328d2d0fe97fc744aa213eb8bc0e466
https://github.com/OpenAMP/open-amp/commit/95802c1d0328d2d0fe97fc744aa213eb…
Author: Guiding Li <liguiding1(a)xiaomi.com>
Date: 2023-12-05 (Tue, 05 Dec 2023)
Changed paths:
M lib/include/openamp/remoteproc.h
M lib/include/openamp/remoteproc_virtio.h
M lib/include/openamp/rpmsg.h
M lib/include/openamp/virtio.h
M lib/remoteproc/remoteproc.c
M lib/remoteproc/remoteproc_virtio.c
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
openamp: add new ops wait_notified() to avoid looping in tx buffer get
Give users a chance to handle the no tx buffer situation when get tx
buffer, with this patch, user can call rproc_virtio_set_wait_notified()
to set the wait_notified() callback and this callback function will be
called to handle the wait when no tx buffer in tx virtqueue.
Signed-off-by: Guiding Li <liguiding1(a)xiaomi.com>
Signed-off-by: Bowen Wang <wangbowen6(a)xiaomi.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: b33183fea5dc6954e5928a26049752e6ed9c87df
https://github.com/OpenAMP/open-amp/commit/b33183fea5dc6954e5928a26049752e6…
Author: Bowen Wang <wangbowen6(a)xiaomi.com>
Date: 2023-11-29 (Wed, 29 Nov 2023)
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: add release cb and refcnt in endpoint to fix ept used-after-free
if rpmsg service free the ept when has got the ept from the ept
list in rpmsg_virtio_rx_callback, there is a used after free about
the ept, so add refcnt to end point and call the rpmsg service
release callback when ept callback fininshed.
Signed-off-by: Bowen Wang <wangbowen6(a)xiaomi.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 79b1a2cbe46aba1feaa3d90678dc31cbbdb279dc
https://github.com/OpenAMP/open-amp/commit/79b1a2cbe46aba1feaa3d90678dc31cb…
Author: Guiding Li <liguiding1(a)xiaomi.com>
Date: 2023-11-22 (Wed, 22 Nov 2023)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: let rpmsg_virtio_get_tx_buffer() always return idx in host side
In rpmsg host side, the tx buffer index is not assigned when this buffer
is obtained from the reclaimer list, this commit let
rpmsg_virtio_get_tx_buffer() always get correct idx.
Note: the idx in rpmsg host side is not used, so this commit is just
an improvement and not fix any issue.
Signed-off-by: Guiding Li <liguiding1(a)xiaomi.com>
Signed-off-by: Bowen Wang <wangbowen6(a)xiaomi.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: cce796dff4baa6865142f40db6e4b914ac8fb1b9
https://github.com/OpenAMP/open-amp/commit/cce796dff4baa6865142f40db6e4b914…
Author: Dan Milea <dan.milea(a)windriver.com>
Date: 2023-11-21 (Tue, 21 Nov 2023)
Changed paths:
M lib/service/rpmsg/rpc/rpmsg_rpc_client.c
Log Message:
-----------
service: rpmsg_rpc: fix build error
The if (&rpc->ept) comparison will always evaluate as 'true',
since rpc == &rpc->ept and rpc is previously checked to be valid.
This produces an error when building open-amp with gcc >= 13.
Signed-off-by: Dan Milea <dan.milea(a)windriver.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: 9d91673933e95c50bcde59f56c2f3dcb15c0744b
https://github.com/OpenAMP/openamp-system-reference/commit/9d91673933e95c50…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-11-20 (Mon, 20 Nov 2023)
Changed paths:
M examples/linux/dts/xilinx/zcu102-openamp.dtso
Log Message:
-----------
dtb: Fix zcu102 bare-metal
A holdover from the dtsi model was getting both mailbox configs in the
bare-metal dtb for zcu102.
Fix this by making the zcu102-openamp overlay only disable the serial
port and not include the zynqmp-openamp overlay defs.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Branch: refs/heads/v2023.10
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: 1907df6ca1e0b412d394bf6d4ec74737490b59c3
https://github.com/OpenAMP/openamp-system-reference/commit/1907df6ca1e0b412…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-11-18 (Sat, 18 Nov 2023)
Changed paths:
M examples/linux/dts/xilinx/.gitignore
M examples/linux/dts/xilinx/Makefile
R examples/linux/dts/xilinx/kria-openamp-lockstep.dts
R examples/linux/dts/xilinx/kria-openamp-split.dts
R examples/linux/dts/xilinx/zcu102-openamp-base.dtsi
R examples/linux/dts/xilinx/zcu102-openamp-lockstep.dts
R examples/linux/dts/xilinx/zcu102-openamp-split.dts
A examples/linux/dts/xilinx/zcu102-openamp.dtso
R examples/linux/dts/xilinx/zynqmp-openamp.dtsi
A examples/linux/dts/xilinx/zynqmp-openamp.dtso
R examples/linux/dts/xilinx/zynqmp-split.dtsi
A examples/linux/dts/xilinx/zynqmp-split.dtso
Log Message:
-----------
Xilinx DTS: Switch to all overlays
Build upstream DTBs and DTBOs (mostly) as is.
(Overlay support is added to zcu102).
Then build a series of overlays that can be applied to the upstream base.
These overlays can be used at boot time if desired.
Then go ahead and apply the overlays to the bases to produce full dtbs
so people that don't want to learn about overlays can just use the one
dtb that they want.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Commit: d7bbc47ce059e8b68f024ffac9247eb0d4513f88
https://github.com/OpenAMP/openamp-system-reference/commit/d7bbc47ce059e8b6…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-11-18 (Sat, 18 Nov 2023)
Changed paths:
M examples/linux/dts/xilinx/Makefile
A examples/linux/dts/xilinx/xilinx-openamp-for-v6.5.dtso
Log Message:
-----------
dtb: Add Xilinx baremetal demo compatible DTB for v6.5 kernel
The Xilinx baremetal apps as built by Xilinx v2023.2 use a different
mailbox configuration than the Zephyr examples do.
We wish to align these in the future but for now we need a different DTB.
We can not use the Xilinx v2023.2 built DTB as it is not compatible with
the upstream remoteproc driver (it is still using the pre-upstream driver.)
This change adds an overlay for this configuration and then also applies
it to make complete dtbs. Boot configs can either apply the overlays at
boot time or use the complete dtbs.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Commit: 901d6722b2cd8ccb9775d7c2707077556c26a4cb
https://github.com/OpenAMP/openamp-system-reference/commit/901d6722b2cd8ccb…
Author: Tanmay <tanmay.shah(a)amd.com>
Date: 2023-11-18 (Sat, 18 Nov 2023)
Changed paths:
M examples/linux/dts/xilinx/zynqmp-openamp.dtso
Log Message:
-----------
examples: dts: fix reserved memory nodes for core1 rpmsg
Xilinx remoteproc driver expects node name to be vdev0vringx
and vdev0buffer. Remoteproc framework will add memory
carveouts based on these names. Fix current node names for
core1 rpmsg accordingly.
Commit: a54c1d9b57a6030bfb58e3fae92cdf7a8df4fdf9
https://github.com/OpenAMP/openamp-system-reference/commit/a54c1d9b57a6030b…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-11-18 (Sat, 18 Nov 2023)
Changed paths:
A examples/linux/dts/st/.gitignore
A examples/linux/dts/st/Makefile
A examples/linux/dts/st/README.md
A examples/linux/dts/st/st-audio-disable.dtso
Log Message:
-----------
dts: ST audio disable workaround for v6.5.8
Our current configuration for generic-armv7a for v6.5.8 causes kernel
oops related to audio. So disable everything related to audio as a
workaround.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Commit: a4026cfa399b062da11a235d98f80251d29a5860
https://github.com/OpenAMP/openamp-system-reference/commit/a4026cfa399b062d…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-11-19 (Sun, 19 Nov 2023)
Changed paths:
M examples/linux/dts/xilinx/zcu102-openamp.dtso
Log Message:
-----------
dtb: Fix zcu102 bare-metal
A holdover from the dtsi model was getting both mailbox configs in the
bare-metal dtb for zcu102.
Fix this by making the zcu102-openamp overlay only disable the serial
port and not include the zynqmp-openamp overlay defs.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Compare: https://github.com/OpenAMP/openamp-system-reference/compare/3716dbba0154...…
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: f3f365d3f4f1c2bf4170294c8a7629feaad57926
https://github.com/OpenAMP/libmetal/commit/f3f365d3f4f1c2bf4170294c8a7629fe…
Author: Daniel Leung <daniel.leung(a)intel.com>
Date: 2023-11-20 (Mon, 20 Nov 2023)
Changed paths:
M lib/system/zephyr/sys.c
Log Message:
-----------
zephyr: use k_cpu_idle instead of arch_cpu_idle
arch_cpu_idle() is an internal API that should not be used
outside of the main Zephyr. Use k_cpu_idle() instead, which
is the same thing (at least for now).
Signed-off-by: Daniel Leung <daniel.leung(a)intel.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 78043fa8b25b090620f69d29a490c9fdbf0cf3a1
https://github.com/OpenAMP/open-amp/commit/78043fa8b25b090620f69d29a490c9fd…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2023-11-20 (Mon, 20 Nov 2023)
Changed paths:
M apps/examples/echo/rpmsg-echo.c
M apps/examples/echo/rpmsg-ping.c
M apps/tests/msg/rpmsg-ping.c
Log Message:
-----------
apps: Add use of rpmsg_virtio_get_tx/rx_buffer_size API
Print the max size of the RX and TX buffer payloads.
This allows to test the new API in the CI.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: 964b4bb145f501bd69b635f030f8b843351931ad
https://github.com/OpenAMP/openamp-system-reference/commit/964b4bb145f501bd…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-11-18 (Sat, 18 Nov 2023)
Changed paths:
M examples/linux/dts/xilinx/.gitignore
M examples/linux/dts/xilinx/Makefile
R examples/linux/dts/xilinx/kria-openamp-lockstep.dts
R examples/linux/dts/xilinx/kria-openamp-split.dts
R examples/linux/dts/xilinx/zcu102-openamp-base.dtsi
R examples/linux/dts/xilinx/zcu102-openamp-lockstep.dts
R examples/linux/dts/xilinx/zcu102-openamp-split.dts
A examples/linux/dts/xilinx/zcu102-openamp.dtso
R examples/linux/dts/xilinx/zynqmp-openamp.dtsi
A examples/linux/dts/xilinx/zynqmp-openamp.dtso
R examples/linux/dts/xilinx/zynqmp-split.dtsi
A examples/linux/dts/xilinx/zynqmp-split.dtso
Log Message:
-----------
Xilinx DTS: Switch to all overlays
Build upstream DTBs and DTBOs (mostly) as is.
(Overlay support is added to zcu102).
Then build a series of overlays that can be applied to the upstream base.
These overlays can be used at boot time if desired.
Then go ahead and apply the overlays to the bases to produce full dtbs
so people that don't want to learn about overlays can just use the one
dtb that they want.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Commit: 578448a3da03c12d3ee991257d602af511f09e80
https://github.com/OpenAMP/openamp-system-reference/commit/578448a3da03c12d…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-11-18 (Sat, 18 Nov 2023)
Changed paths:
M examples/linux/dts/xilinx/Makefile
A examples/linux/dts/xilinx/xilinx-openamp-for-v6.5.dtso
Log Message:
-----------
dtb: Add Xilinx baremetal demo compatible DTB for v6.5 kernel
The Xilinx baremetal apps as built by Xilinx v2023.2 use a different
mailbox configuration than the Zephyr examples do.
We wish to align these in the future but for now we need a different DTB.
We can not use the Xilinx v2023.2 built DTB as it is not compatible with
the upstream remoteproc driver (it is still using the pre-upstream driver.)
This change adds an overlay for this configuration and then also applies
it to make complete dtbs. Boot configs can either apply the overlays at
boot time or use the complete dtbs.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Commit: 87ffea5a5ce7d15c12d54165ecf1511c0deffcd3
https://github.com/OpenAMP/openamp-system-reference/commit/87ffea5a5ce7d15c…
Author: Tanmay <tanmay.shah(a)amd.com>
Date: 2023-11-18 (Sat, 18 Nov 2023)
Changed paths:
M examples/linux/dts/xilinx/zynqmp-openamp.dtso
Log Message:
-----------
examples: dts: fix reserved memory nodes for core1 rpmsg
Xilinx remoteproc driver expects node name to be vdev0vringx
and vdev0buffer. Remoteproc framework will add memory
carveouts based on these names. Fix current node names for
core1 rpmsg accordingly.
Compare: https://github.com/OpenAMP/openamp-system-reference/compare/0cbde86fcd14...…
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 0a67afa94eee1579b693926f66ca5a3676acac60
https://github.com/OpenAMP/libmetal/commit/0a67afa94eee1579b693926f66ca5a36…
Author: Alberto Escolar Piedras <alberto.escolar.piedras(a)nordicsemi.no>
Date: 2023-11-10 (Fri, 10 Nov 2023)
Changed paths:
M lib/system/zephyr/sys.h
Log Message:
-----------
Zephyr integration: Add support for hosted test environment
Provide the metal_sleep_usec() required for hosted
environments.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras(a)nordicsemi.no>
Commit: dabb14f6774e2ee23ae11dd84e684997bab092c3
https://github.com/OpenAMP/libmetal/commit/dabb14f6774e2ee23ae11dd84e684997…
Author: Alberto Escolar Piedras <alberto.escolar.piedras(a)nordicsemi.no>
Date: 2023-11-10 (Fri, 10 Nov 2023)
Changed paths:
A lib/processor/hosted/CMakeLists.txt
A lib/processor/hosted/atomic.h
A lib/processor/hosted/cpu.h
Log Message:
-----------
Add support for hosted test environments
Add a new hosted test environment "processor".
This is meant as a build target used when the
code is not built for a real target
but as part of a test in a hosted environment
(for ex. as a test environment like Zephyr's
native_sim target).
When building for this target PROJECT_PROCESSOR
should be set as "hosted".
In this, the "metal_sleep_usec()" call
is expected to be provided by the system folder
headers.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras(a)nordicsemi.no>
Commit: 85fb13958de5d2ac81a9bdb1e650783c3afac254
https://github.com/OpenAMP/libmetal/commit/85fb13958de5d2ac81a9bdb1e650783c…
Author: Alberto Escolar Piedras <alberto.escolar.piedras(a)nordicsemi.no>
Date: 2023-11-10 (Fri, 10 Nov 2023)
Changed paths:
M lib/atomic.h
M lib/config.h
M lib/cpu.h
M lib/processor/CMakeLists.txt
R lib/processor/aarch64/CMakeLists.txt
R lib/processor/aarch64/atomic.h
R lib/processor/arm/CMakeLists.txt
R lib/processor/arm/atomic.h
R lib/processor/arm/cpu.h
R lib/processor/ceva/CMakeLists.txt
R lib/processor/csky/CMakeLists.txt
R lib/processor/csky/cpu.h
A lib/processor/generic/atomic.h
A lib/processor/generic/cpu.h
R lib/processor/hosted/CMakeLists.txt
R lib/processor/hosted/atomic.h
R lib/processor/microblaze/CMakeLists.txt
R lib/processor/microblaze/atomic.h
R lib/processor/microblaze/cpu.h
R lib/processor/riscv/CMakeLists.txt
R lib/processor/riscv/cpu.h
R lib/processor/x86/CMakeLists.txt
R lib/processor/x86/atomic.h
R lib/processor/x86_64/CMakeLists.txt
R lib/processor/x86_64/atomic.h
R lib/processor/xtensa/CMakeLists.txt
R lib/processor/xtensa/atomic.h
Log Message:
-----------
Refactor equal processor headers into new generic ones
Refactor all processor headers which had the same content
into a generic set, to reduce the number of duplicates.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras(a)nordicsemi.no>
Compare: https://github.com/OpenAMP/libmetal/compare/8041e1c27648...85fb13958de5
Branch: refs/heads/fix_core1_rpmsg_dt_nodes
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: 5865a2e0fb19153bb85447fd258939dbe9d59945
https://github.com/OpenAMP/openamp-system-reference/commit/5865a2e0fb19153b…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2023-11-07 (Tue, 07 Nov 2023)
Changed paths:
M examples/linux/dts/xilinx/zynqmp-openamp.dtsi
Log Message:
-----------
examples: dts: fix reserved memory nodes for core1 rpmsg
Xilinx remoteproc driver expects node name to be vdev0vringx
and vdev0buffer. Remoteproc framework will add memory
carveouts based on these names. Fix current node names for
core1 rpmsg accordingly.
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/meta-openamp
Commit: 098059a411ff3c64934f7f870fdec251b0006c6f
https://github.com/OpenAMP/meta-openamp/commit/098059a411ff3c64934f7f870fde…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-11-06 (Mon, 06 Nov 2023)
Changed paths:
A recipes-openamp/libmetal/libmetal_v2023.10.bb
A recipes-openamp/open-amp/open-amp_v2023.10.bb
M recipes-openamp/rpmsg-examples/rpmsg-example.inc
Log Message:
-----------
Set the defaults to the v2023.10 release
* Add recipes for the v2023.10 release of libmetal and open-amp and use
the commit of the v2023.10.0 tag
* Lock the Linux examples and utilities to the v2023.10.0 tag
* Use the real branch name, not main
* fix license md5sum as is done in -dev recipes
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/meta-openamp
Commit: 59ef6be7a5a23f854ee26bdc6be4a405e5a0aa97
https://github.com/OpenAMP/meta-openamp/commit/59ef6be7a5a23f854ee26bdc6be4…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-11-06 (Mon, 06 Nov 2023)
Changed paths:
A recipes-openamp/rpmsg-examples/rpmsg-utils_1.0.bb
Log Message:
-----------
Add rpmsg_utils: User space utilities to exercise /dev/rpmsg*
This set of utilities has existed for over a year but have not been built
or packaged in OE until now.
These utilities are in the same git rep as the other examples.
Rev them as a group and reuse the inc file.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: d51364594d95e63c0b51b3c5ea73d0dbf3c99a04
https://github.com/OpenAMP/open-amp/commit/d51364594d95e63c0b51b3c5ea73d0db…
Author: Guiding Li <liguiding1(a)xiaomi.com>
Date: 2023-11-06 (Mon, 06 Nov 2023)
Changed paths:
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
openamp: add new API rpmsg_virtio_get_rx_buffer_size()
This API can be used by the endpoint callback to limit the rx
buffer usage range.
Signed-off-by: Guiding Li <liguiding1(a)xiaomi.com>
Signed-off-by: Bowen Wang <wangbowen6(a)xiaomi.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 8041e1c2764812a8d6feded09e68d87bc7812b3e
https://github.com/OpenAMP/libmetal/commit/8041e1c2764812a8d6feded09e68d87b…
Author: Ledion Daja <ledion.daja(a)arm.com>
Date: 2023-11-06 (Mon, 06 Nov 2023)
Changed paths:
M lib/compiler/armcc/errno.h
Log Message:
-----------
lib: add guards for errno values for ARMCC compiler
The new guards prevent redefinition of errno values which have already
been defined in the standard libraries.
Signed-off-by: Ledion Daja <ledion.daja(a)arm.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 9855f84ae92cfcd571c883bc88a53695f9cfb7b1
https://github.com/OpenAMP/libmetal/commit/9855f84ae92cfcd571c883bc88a53695…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2023-11-06 (Mon, 06 Nov 2023)
Changed paths:
M lib/atomic.h
M lib/compiler.h
M lib/errno.h
Log Message:
-----------
lib: compiler support of arm compiler v6
The predefined macro __CC_ARM available on 5.x is migrated to the
macro __arm__ for the version 6.x. Add defines to support both versions.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/meta-openamp
Commit: 27f22afd75a43c86e166acf0cfdfc3bbed486f0a
https://github.com/OpenAMP/meta-openamp/commit/27f22afd75a43c86e166acf0cfdf…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-11-04 (Sat, 04 Nov 2023)
Changed paths:
M conf/layer.conf
Log Message:
-----------
Declare support for YP 4.2 and 4.3
* Set the default policy for the master branch
* update for current release names for 2023/09
* Keep one Xilinx specific EOL release
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Commit: 74d1f450a6dd77b5bd56888910be0f417938a1bd
https://github.com/OpenAMP/meta-openamp/commit/74d1f450a6dd77b5bd56888910be…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-11-04 (Sat, 04 Nov 2023)
Changed paths:
A recipes-openamp/rpmsg-examples/rpmsg-utils_1.0.bb
Log Message:
-----------
Add rpmsg_utils: User space utilities to exercise /dev/rpmsg*
This set of utilities has existed for over a year but have not been built
or packaged in OE until now.
These utilities are in the same git rep as the other examples.
Rev them as a group and reuse the inc file.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Commit: c7832c3af30732db405b84807558711b1491b42a
https://github.com/OpenAMP/meta-openamp/commit/c7832c3af30732db405b84807558…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-11-04 (Sat, 04 Nov 2023)
Changed paths:
A recipes-openamp/libmetal/libmetal_v2023.10.bb
A recipes-openamp/open-amp/open-amp_v2023.10.bb
M recipes-openamp/rpmsg-examples/rpmsg-example.inc
Log Message:
-----------
Set the defaults to the v2023.10 release
* Add recipes for the v2023.10 release of libmetal and open-amp and use
the commit of the v2023.10.0 tag
* Lock the Linux examples and utilities to the v2023.10.0 tag
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Commit: 33dc6e4b631b0c3ab0fe391ad58f769e321189d0
https://github.com/OpenAMP/meta-openamp/commit/33dc6e4b631b0c3ab0fe391ad58f…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-11-04 (Sat, 04 Nov 2023)
Changed paths:
M recipes-openamp/libmetal/libmetal_v2023.10.bb
M recipes-openamp/open-amp/open-amp_v2023.10.bb
Log Message:
-----------
FIX: Use real branch name in libmetal and open-amp
Commit: ccf44a78421a9807442d39151f2d58de707bfe2d
https://github.com/OpenAMP/meta-openamp/commit/ccf44a78421a9807442d39151f2d…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-11-04 (Sat, 04 Nov 2023)
Changed paths:
M recipes-openamp/libmetal/libmetal_v2023.10.bb
M recipes-openamp/open-amp/open-amp_v2023.10.bb
Log Message:
-----------
FIX: libmetal and open-amp fix license md5sum
The License file (& md5sum) is the same as for the -dev version.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Compare: https://github.com/OpenAMP/meta-openamp/compare/6e94a35e084b...ccf44a78421a
Branch: refs/heads/master
Home: https://github.com/OpenAMP/meta-openamp
Commit: 156d8010ae55a46289f82950d2e07bda6a077d8f
https://github.com/OpenAMP/meta-openamp/commit/156d8010ae55a46289f82950d2e0…
Author: Ben Levinsky <ben.levinsky(a)amd.com>
Date: 2023-05-16 (Tue, 16 May 2023)
Changed paths:
M vendor/xilinx/recipes-openamp/open-amp/open-amp-xlnx.inc
Log Message:
-----------
vendor/xilinx open-amp-xlnx: add versal-net platform support
Pass switch to OpenAMP repo so that it can configure for versal_net as
needed.
Presently the Yocto recipe is just informing the repo that the target is
versal-net platform.
In the repo this is only conveying interrupt information but can be
extended in the future.
Signed-off-by: Ben Levinsky <ben.levinsky(a)amd.com>
Commit: 6e94a35e084b56bcb1220721a56b7fc727cb5ef2
https://github.com/OpenAMP/meta-openamp/commit/6e94a35e084b56bcb1220721a56b…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-11-04 (Sat, 04 Nov 2023)
Changed paths:
M vendor/xilinx/recipes-openamp/open-amp/open-amp-xlnx.inc
Log Message:
-----------
Merge pull request #36 from bentheredonethat/versal-net-support-linux
vendor/xilinx open-amp-xlnx: Add switch for Versal_net
Compare: https://github.com/OpenAMP/meta-openamp/compare/0d2d3478b046...6e94a35e084b
Branch: refs/heads/v2023.10
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: 3716dbba0154259d5efa3fa359313cce69cd163d
https://github.com/OpenAMP/openamp-system-reference/commit/3716dbba0154259d…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-11-03 (Fri, 03 Nov 2023)
Changed paths:
M west.yml
Log Message:
-----------
west.yml: Lock the manifest for the v2023.10.0 release
Lock the versions of libmetal, open-amp, and openamp-zephyr-modules to
their v2023.10.0 tags.
This commit is also the first on the v2023.10 branch which will be updated
if there is every another v2023.10.x release.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: 0cbde86fcd1448f9c56dbd1f892db41270cd8ac5
https://github.com/OpenAMP/openamp-system-reference/commit/0cbde86fcd1448f9…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-11-03 (Fri, 03 Nov 2023)
Changed paths:
M examples/linux/dts/.gitignore
A examples/linux/dts/xilinx/.gitignore
A examples/linux/dts/xilinx/Makefile
M examples/linux/dts/xilinx/README.md
A examples/linux/dts/xilinx/kria-openamp-lockstep.dts
A examples/linux/dts/xilinx/kria-openamp-split.dts
A examples/linux/dts/xilinx/zcu102-openamp-base.dtsi
M examples/linux/dts/xilinx/zcu102-openamp-lockstep.dts
M examples/linux/dts/xilinx/zcu102-openamp-split.dts
A examples/linux/dts/xilinx/zynqmp-openamp.dtsi
A examples/linux/dts/xilinx/zynqmp-split.dtsi
Log Message:
-----------
Xilinx DTS: Use upstream source and only change what we need to.
Instead of checking in decompiled dtbs, use the the upstream kernel as
the source of DTS. Then use include files to change what we need to.
* Use the Linux v6.5.8 DTS source files
* Using include files add the openamp specific definitions
* Update example/dts/,gitignore to ignore dtbo files everywhere
* Update xilinx/.gitignore to ignore the specific products of the Makefile
* This handles the current versions of zcu102 and kv260
* This handles lockstep and split mode of the R5 subsystem
The OpenAMP devicetree changes here are the work of Tanmay Shah
and the Makefile and restructure to include files is by Bill Mills.
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: bbefedd4950c05113e4025688d160196c61157c3
https://github.com/OpenAMP/open-amp/commit/bbefedd4950c05113e4025688d160196…
Author: Guiding Li <liguiding1(a)xiaomi.com>
Date: 2023-10-31 (Tue, 31 Oct 2023)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/rpmsg/rpmsg.c
Log Message:
-----------
rpmsg: set ept address to incease num when alloc from the bitmap
CPU0 CPU1
create_ept1:addr1 create_ept1
OK <====== msg1
OK <====== msg2
OK <====== msg3
msg4
<====== msg4 on the virtioqueue
close_ept1 close_ept1
create_ept2:addr1 create_ept1
(same addr with ept1)
msg4
ept2 recv ept1 msg ERROR <======
The msg4 which belong to ep1, error received by ept2.
For this issue, I give a resolve method:
Let the rpmsg_get_address() always return a new increased num.
Signed-off-by: Guiding Li <liguiding1(a)xiaomi.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 694620ff25fc6e4f9ced9899d0f038df95cc435e
https://github.com/OpenAMP/libmetal/commit/694620ff25fc6e4f9ced9899d0f038df…
Author: Guiding Li <liguiding1(a)xiaomi.com>
Date: 2023-10-31 (Tue, 31 Oct 2023)
Changed paths:
M lib/utilities.h
Log Message:
-----------
libmetal: set ept address loop++ in bitmap
CPU0 CPU1
create_ept1:addr1 create_ept1
OK <====== msg1
OK <====== msg2
OK <====== msg3
msg4
<====== msg4 on the virtioqueue
close_ept1 close_ept1
create_ept2:addr1 create_ept1
(same addr with ept1)
msg4
ept2 recv ept1 msg ERROR <======
The msg4 which belong to ep1, error received by ept2.
For the issue, I give a resolve method,
for the rpmsg_get_address(), always return a new increased num.
Signed-off-by: Guiding Li <liguiding1(a)xiaomi.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: e087ea5d38c2278047b796c0a0123124cdcdee05
https://github.com/OpenAMP/libmetal/commit/e087ea5d38c2278047b796c0a0123124…
Author: Guiding Li <liguiding1(a)xiaomi.com>
Date: 2023-10-31 (Tue, 31 Oct 2023)
Changed paths:
M lib/list.h
Log Message:
-----------
libmetal: add metal_list_for_each_safe() support
Add a more secure way to traverse linked lists
Signed-off-by: Guiding Li <liguiding1(a)xiaomi.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: c2cb18c450688d3e04b247305db741c4a4ccbdbb
https://github.com/OpenAMP/open-amp/commit/c2cb18c450688d3e04b247305db741c4…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2023-10-31 (Tue, 31 Oct 2023)
Changed paths:
M README.md
Log Message:
-----------
README: Point people to the official open-amp doc instead of the wiki
The doc reference is now the the Sphinx based OpenAMP-docs:
https://openamp.readthedocs.io/en/latest/.
The wiki documentation is deprecated, it should contains
only meeting notes.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: 3e0228a6133befd94ef5a86207c9dfbe16589303
https://github.com/OpenAMP/open-amp/commit/3e0228a6133befd94ef5a86207c9dfbe…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2023-10-31 (Tue, 31 Oct 2023)
Changed paths:
M README.md
Log Message:
-----------
README: add line wrap for line containing more than 100 characters.
To respect the coding rule and improve the readme read, wrap long lines
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Compare: https://github.com/OpenAMP/open-amp/compare/4e13c0935682...3e0228a6133b
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: 5ade8282cb2486bbc8b3a1a8b3fb20fa187345c7
https://github.com/OpenAMP/openamp-system-reference/commit/5ade8282cb2486bb…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-10-29 (Sun, 29 Oct 2023)
Changed paths:
M examples/zephyr/rpmsg_multi_services/boards/kv260_r5.overlay
M examples/zephyr/rpmsg_multi_services/boards/qemu_cortex_r5.overlay
A examples/zephyr/rpmsg_multi_services/boards/zynqmp_r5_override.dtsi
Log Message:
-----------
zephyr: fixup kv260_r5 DT memory until it can be fixed in Zephyr
We are currently using Zephyr v3.5.0.
The memory definitions for kv260_r5 are inappropriate for general usage
and for ours. (This is partially our doing so not throwing stones.)
The current flash definition refers to the QSPI XIP area of the zynqmp.
This is unlikely to be appropriate to use in the general case. The
current usage also assumes use at offset 0 in the QSPI which is even less
likely to be appropriate. It is OK zynqmp_r5 to define this (perhaps with the name
of qspi-xip) but it should not be selected as the default for flash.
Let people that needs this opt into it.
For now we disable the zephyr,flash choice. This does not eliminate the
memory report line but it at least shows a region size of 0.
Likewise for the definition of RAM. Zynqmp_r5 defines 64MB of RAM
starting at offset 0. This would be a mix of TCM and DDR depending on the R5 mode
split vs lockstep mode.
In lockstep, DDR would be used for anything >=256K.
For split mode, DDR would be used for 64K to 128K-1 and for >=192K.
Using DDR like this is dangerous if another OS is running on the A53s.
Linux for example does not reserve this early DDR memory for use by the
the R5(s).
For now assume lockstep (only mode supported by Zephyr v3.5.0) and provide
a new memory definition for combined TCM and use it for RAM.
Put all these overrides in an include file so they are easy to undo when
Zephyr upstream is fixed.
We are using qemu_cortex_r5 as stand-in for zcu102_r5 for right now so do
the same for that board. However once we have zcu102_r5 we should leave
qemu_cortex_r5 alone as its purpose is a generic R5 target not a full
zynqmp system.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: bc7d38249365185868847b14160048ef83d84dbb
https://github.com/OpenAMP/libmetal/commit/bc7d38249365185868847b14160048ef…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2023-10-27 (Fri, 27 Oct 2023)
Changed paths:
M .github/actions/build_ci/entrypoint.sh
Log Message:
-----------
CI: Zephyr: Get latest version of the zephyr sdk
To avoid having any misalignment between Zephyr and the SDK during
CI tests, consider getting the latest version of the Zephyr SDK
automatically instead of hardcoding it.
This approach should ensure that the latest version of sdk is always used.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 4e13c093568282068311043d983af69564a7127d
https://github.com/OpenAMP/open-amp/commit/4e13c093568282068311043d983af695…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2023-10-25 (Wed, 25 Oct 2023)
Changed paths:
M .github/workflows/stales.yml
Log Message:
-----------
github action: Fix stales action to not close PR/issue after 7 days
By default the action closes the PR or issue 7 days after adding the
stale label.
The expected behavior is that the pull requests and issues will never be
closed automatically by the bot.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 6b8f7736e2ecd279a226ba5381c3f78022932db4
https://github.com/OpenAMP/libmetal/commit/6b8f7736e2ecd279a226ba5381c3f780…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2023-10-25 (Wed, 25 Oct 2023)
Changed paths:
M .github/workflows/stales.yml
Log Message:
-----------
github action: Fix stales action to not close PR/issue after 7 days
By default the action closes the PR or issue 7 days after adding the
stale label.
The expected behavior is that the pull requests and issues will never be
closed automatically by the bot.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: fcb4bddcc5abca86c2f61a18ac15c6b5ec6d448e
https://github.com/OpenAMP/openamp-system-reference/commit/fcb4bddcc5abca86…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-10-24 (Tue, 24 Oct 2023)
Changed paths:
M west.yml
Log Message:
-----------
zephyr manifest: Use Zephyr v3.5.0 from upstream
Use Zephyr from upstream when we don't have patches as it looks better
Update to the v3.5.0 release as kv260_r5 needs it and
we should pre-test with it before Zephyr updates to our
2023.10.* release.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Commit: f5427c96e75106f99fc5bb0b1a2ddde0bc647131
https://github.com/OpenAMP/openamp-system-reference/commit/f5427c96e75106f9…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-10-24 (Tue, 24 Oct 2023)
Changed paths:
M west.yml
Log Message:
-----------
west.yml: Clone our libraries and their zephyr glue
This manifest allows us to use our repos for the open-amp and libmetal
libraries. As our libraries do not have the zephyr dir, they are not
seem as zephyr modules.
To make this work easily with zephyr we also add a zephyr glue layer.
This layer _is_ seen as a zephyr module and integrates both libraries.
Several approaches were tried for this and this was the chosen method for
the following reasons:
Pros:
* All needed files are provided by just doing the west update
* We don't need to set any ENV vars each time like EXTRA_ZEPHYR_MODULES
* It works with our samples and zephyr stock samples
* The version of open-amp and libmetal are directly controlled in
the manifest
* It is low maintenance as the module boiler plate is unlikely to change
much.
Cons:
* One extra repo
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Co-authored-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Compare: https://github.com/OpenAMP/openamp-system-reference/compare/b282586c8a63...…
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: b282586c8a638bb2a51cf5e13749f252e254ad6e
https://github.com/OpenAMP/openamp-system-reference/commit/b282586c8a638bb2…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2023-10-23 (Mon, 23 Oct 2023)
Changed paths:
M examples/zephyr/dual_qemu_ivshmem/host/src/main.c
M examples/zephyr/dual_qemu_ivshmem/remote/src/main.c
M examples/zephyr/rpmsg_multi_services/src/main_remote.c
Log Message:
-----------
examples: zephyr: Switch main return type from void to int
Zephyr requires now a main return.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: de33a8d6756a7faefe2eeee4edd1bc76eb412d49
https://github.com/OpenAMP/open-amp/commit/de33a8d6756a7faefe2eeee4edd1bc76…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2023-10-19 (Thu, 19 Oct 2023)
Changed paths:
M lib/include/openamp/virtio.h
Log Message:
-----------
virtio: Fix delete_virtqueues function
The function should return void. the reason is that
vdev->func->delete_virtqueues() is optional and return void.
To be generic we should call virtio_delete_virtqueues in all cases.
Then depending on the dispatcher we do nothing or call delete_virtqueues()
Fixes: 7f90610 ("virtio: add create_virtqueues and delete_virtqueues in virtio_dispatch")
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Hello,
The v2023.10 release of the OpenAMP project repositories is planned at the end of this month.
The feature freeze is scheduled for the 15th of October, after which no new features are accepted until the release.
Only bug fixes will be allowed.
Regards,
Arnaud
ST Restricted
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 9dd72ddbfd0bcaa9afb7906af7cd8e31f293465c
https://github.com/OpenAMP/libmetal/commit/9dd72ddbfd0bcaa9afb7906af7cd8e31…
Author: Ben Levinsky <ben.levinsky(a)amd.com>
Date: 2023-10-17 (Tue, 17 Oct 2023)
Changed paths:
M lib/system/freertos/zynqmp_a53/sys.c
M lib/system/generic/zynqmp_a53/sys.c
Log Message:
-----------
lib: a53: remove redundant MB and GB macros
lib/utilities.h provided MB and GB macros so include from there
instead of providing the definition again for a53 platforms.
Signed-off-by: Ben Levinsky <ben.levinsky(a)amd.com>
Commit: 45a8edaddd1d66efb8f0ff00f5f4e7d4c1f0bb9c
https://github.com/OpenAMP/libmetal/commit/45a8edaddd1d66efb8f0ff00f5f4e7d4…
Author: Ben Levinsky <ben.levinsky(a)amd.com>
Date: 2023-10-17 (Tue, 17 Oct 2023)
Changed paths:
M cmake/options.cmake
M lib/system/generic/CMakeLists.txt
R lib/system/generic/microblaze_generic/CMakeLists.txt
R lib/system/generic/microblaze_generic/sys.c
R lib/system/generic/microblaze_generic/sys.h
M lib/system/generic/sys.h
A lib/system/generic/xlnx/CMakeLists.txt
A lib/system/generic/xlnx/irq.c
A lib/system/generic/xlnx/microblaze_generic/CMakeLists.txt
A lib/system/generic/xlnx/microblaze_generic/sys.c
A lib/system/generic/xlnx/sys.c
A lib/system/generic/xlnx/sys.h
R lib/system/generic/xlnx_common/CMakeLists.txt
R lib/system/generic/xlnx_common/irq.c
R lib/system/generic/xlnx_common/sys.h
R lib/system/generic/xlnx_common/zynqmp_aarch64/CMakeLists.txt
R lib/system/generic/xlnx_common/zynqmp_aarch64/sys.c
R lib/system/generic/xlnx_common/zynqmp_aarch64/sys.h
R lib/system/generic/zynq7/CMakeLists.txt
R lib/system/generic/zynq7/sys.c
R lib/system/generic/zynq7/sys.h
R lib/system/generic/zynqmp_a53/CMakeLists.txt
R lib/system/generic/zynqmp_a53/sys.c
R lib/system/generic/zynqmp_a53/sys.h
R lib/system/generic/zynqmp_a72/CMakeLists.txt
R lib/system/generic/zynqmp_a72/sys.h
R lib/system/generic/zynqmp_a78/CMakeLists.txt
R lib/system/generic/zynqmp_a78/sys.h
R lib/system/generic/zynqmp_r5/CMakeLists.txt
R lib/system/generic/zynqmp_r5/sys.c
R lib/system/generic/zynqmp_r5/sys.h
Log Message:
-----------
lib: generic: consolidate common Xilinx code
Move common code in Xilinx area to consolidated location to remove
redundant code.
Enable A72 and A78 build in Standalone BSP.
lib: generic: Add support for a78 with System Device Tree flow
System Device Tree workflow is AMD-Xilinx workflow whereby the BSP,
libraries and applications in software are derived from a
hardware-design. The hardware-design is used to generate a system
device tree (SDT) that describes information for Linux and other
processing environments.
The xreg/xcpu files are not generated for SDT workflow. Because of
this do not include if SDT symbol is present in BSP.
Signed-off-by: Ben Levinsky <ben.levinsky(a)amd.com>
Commit: f6a87a8cdba9fdf7b1bd162e93a1e756ffa4bb45
https://github.com/OpenAMP/libmetal/commit/f6a87a8cdba9fdf7b1bd162e93a1e756…
Author: Ben Levinsky <ben.levinsky(a)amd.com>
Date: 2023-10-17 (Tue, 17 Oct 2023)
Changed paths:
M lib/system/freertos/CMakeLists.txt
M lib/system/freertos/sys.h
A lib/system/freertos/xlnx/CMakeLists.txt
A lib/system/freertos/xlnx/irq.c
A lib/system/freertos/xlnx/sys.c
A lib/system/freertos/xlnx/sys.h
R lib/system/freertos/xlnx_common/CMakeLists.txt
R lib/system/freertos/xlnx_common/irq.c
R lib/system/freertos/xlnx_common/sys.h
R lib/system/freertos/zynq7/CMakeLists.txt
R lib/system/freertos/zynq7/sys.c
R lib/system/freertos/zynq7/sys.h
R lib/system/freertos/zynqmp_a53/CMakeLists.txt
R lib/system/freertos/zynqmp_a53/sys.c
R lib/system/freertos/zynqmp_a53/sys.h
R lib/system/freertos/zynqmp_r5/CMakeLists.txt
R lib/system/freertos/zynqmp_r5/sys.c
R lib/system/freertos/zynqmp_r5/sys.h
Log Message:
-----------
lib: freertos: consolidate common Xilinx code
Move common code in Xilinx area to consolidated location to remove
redundant code.
Enable A72 and A78 build in BSP for FreeRTOS OS.
Signed-off-by: Ben Levinsky <ben.levinsky(a)amd.com>
Compare: https://github.com/OpenAMP/libmetal/compare/9fe00e058203...f6a87a8cdba9
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 9fe00e05820381342c1381093ddd41f48d92292a
https://github.com/OpenAMP/libmetal/commit/9fe00e05820381342c1381093ddd41f4…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2023-10-17 (Tue, 17 Oct 2023)
Changed paths:
M CMakeLists.txt
M cmake/collect.cmake
M cmake/depends.cmake
M cmake/options.cmake
M cmake/platforms/cross-freertos-gcc.cmake
M cmake/platforms/cross-generic-gcc.cmake
M cmake/platforms/cross-generic-iar.cmake
M cmake/platforms/cross-linux-gcc.cmake
M cmake/platforms/template-freertos.cmake
M cmake/platforms/template-generic.cmake
M cmake/platforms/zynq7-freertos.cmake
M cmake/platforms/zynq7-generic-iar.cmake
M cmake/platforms/zynq7-generic.cmake
M cmake/platforms/zynq7-linux.cmake
M cmake/platforms/zynqmp-a53-freertos.cmake
M cmake/platforms/zynqmp-a53-generic.cmake
M cmake/platforms/zynqmp-linux.cmake
M cmake/platforms/zynqmp-r5-freertos.cmake
M cmake/platforms/zynqmp-r5-generic.cmake
M doc/CMakeLists.txt
M examples/CMakeLists.txt
M examples/system/freertos/zynqmp_r5/zynqmp_amp_demo/CMakeLists.txt
M examples/system/generic/zynqmp_r5/zynqmp_amp_demo/CMakeLists.txt
M examples/system/linux/zynqmp/zynqmp_amp_demo/CMakeLists.txt
M lib/CMakeLists.txt
M lib/compiler/CMakeLists.txt
M lib/compiler/armcc/CMakeLists.txt
M lib/compiler/gcc/CMakeLists.txt
M lib/compiler/iar/CMakeLists.txt
M lib/processor/CMakeLists.txt
M lib/processor/aarch64/CMakeLists.txt
M lib/processor/arm/CMakeLists.txt
M lib/processor/ceva/CMakeLists.txt
M lib/processor/csky/CMakeLists.txt
M lib/processor/microblaze/CMakeLists.txt
M lib/processor/riscv/CMakeLists.txt
M lib/processor/x86/CMakeLists.txt
M lib/processor/x86_64/CMakeLists.txt
M lib/system/CMakeLists.txt
M lib/system/freertos/CMakeLists.txt
M lib/system/freertos/template/CMakeLists.txt
M lib/system/freertos/xlnx_common/CMakeLists.txt
M lib/system/freertos/zynq7/CMakeLists.txt
M lib/system/freertos/zynqmp_a53/CMakeLists.txt
M lib/system/freertos/zynqmp_r5/CMakeLists.txt
M lib/system/generic/CMakeLists.txt
M lib/system/generic/microblaze_generic/CMakeLists.txt
M lib/system/generic/template/CMakeLists.txt
M lib/system/generic/xlnx_common/CMakeLists.txt
M lib/system/generic/zynq7/CMakeLists.txt
M lib/system/generic/zynqmp_r5/CMakeLists.txt
M lib/system/linux/CMakeLists.txt
M lib/system/nuttx/CMakeLists.txt
M lib/system/zephyr/CMakeLists.txt
M test/CMakeLists.txt
M test/system/CMakeLists.txt
M test/system/freertos/CMakeLists.txt
M test/system/freertos/zynq7/CMakeLists.txt
M test/system/freertos/zynqmp_a53/CMakeLists.txt
M test/system/freertos/zynqmp_r5/CMakeLists.txt
M test/system/generic/CMakeLists.txt
M test/system/generic/microblaze_generic/CMakeLists.txt
M test/system/generic/zynq7/CMakeLists.txt
M test/system/generic/zynqmp_a53/CMakeLists.txt
M test/system/generic/zynqmp_r5/CMakeLists.txt
M test/system/linux/CMakeLists.txt
M test/system/linux/zynq/CMakeLists.txt
M test/system/zephyr/CMakeLists.txt
Log Message:
-----------
Remove vim editor configuration in files
Remove all remaining instances of "# vim: ..." in files.
This vim settings were part of the initial commit. But no reason
to keep them.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: cd8823876fb6920571abbeecc570a9da0cb546ba
https://github.com/OpenAMP/open-amp/commit/cd8823876fb6920571abbeecc570a9da…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2023-10-16 (Mon, 16 Oct 2023)
Changed paths:
M lib/include/openamp/virtio.h
M lib/virtio/virtio.c
Log Message:
-----------
virtio: make unused function virtio_describe() deprecated
The virtio_describe() function does not seem usable.
Therefore, it should be marked as deprecated to initiate
the removal process.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 6d5f40f4b343e2452252ea23a8781a02633d3e03
https://github.com/OpenAMP/libmetal/commit/6d5f40f4b343e2452252ea23a8781a02…
Author: Alberto Escolar Piedras <alberto.escolar.piedras(a)nordicsemi.no>
Date: 2023-10-16 (Mon, 16 Oct 2023)
Changed paths:
M .github/actions/build_ci/entrypoint.sh
Log Message:
-----------
CI: Zephyr build: Be less verbose
* Do not run the tar extract verbose, as
that generated ~50.000 lines of output slowing down
things and generating a huge log.
* Reduce the progress output of wget to only print one dot
every megabyte, instead of every kilobyte reducing a lot
the log output.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras(a)nordicsemi.no>
Commit: e979bf75efadadc65113f403105ee876bbfff1fa
https://github.com/OpenAMP/libmetal/commit/e979bf75efadadc65113f403105ee876…
Author: Alberto Escolar Piedras <alberto.escolar.piedras(a)nordicsemi.no>
Date: 2023-10-16 (Mon, 16 Oct 2023)
Changed paths:
M .github/actions/build_ci/entrypoint.sh
Log Message:
-----------
CI: Fix entrypoint indentation
The file had a mix of spaces and tabs for indentation
Fix it.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras(a)nordicsemi.no>
Commit: 549f13b2b8a3019bb7e4c9b75d250e53e4100357
https://github.com/OpenAMP/libmetal/commit/549f13b2b8a3019bb7e4c9b75d250e53…
Author: Alberto Escolar Piedras <alberto.escolar.piedras(a)nordicsemi.no>
Date: 2023-10-16 (Mon, 16 Oct 2023)
Changed paths:
M .github/actions/build_ci/entrypoint.sh
Log Message:
-----------
CI: Zephyr: Only fetch needed branches instead of everything
Have west only fetch the needed branches instead of doing
a full clone of all repositories.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras(a)nordicsemi.no>
Compare: https://github.com/OpenAMP/libmetal/compare/2dc45613f1e6...549f13b2b8a3
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 2dc45613f1e61b1991875a6ecf32c1ee30f912cc
https://github.com/OpenAMP/libmetal/commit/2dc45613f1e61b1991875a6ecf32c1ee…
Author: Alberto Escolar Piedras <alberto.escolar.piedras(a)nordicsemi.no>
Date: 2023-10-16 (Mon, 16 Oct 2023)
Changed paths:
M test/system/zephyr/main.c
Log Message:
-----------
Fix Zephyr testcase with latest Zephyr
In Zephyr PR #63351 , commit:
a35e40f410750f3205f0d87489aa0dfa4006e1d3
Support for k_mem_block was removed which was used
by this Zephyr test.
Update the tets to just use a void* (which is what should be
used instead).
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras(a)nordicsemi.no>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 329fe101e48e1d4155e0454dd19484437142f041
https://github.com/OpenAMP/open-amp/commit/329fe101e48e1d4155e0454dd1948443…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-10-13 (Fri, 13 Oct 2023)
Changed paths:
M doc/CMakeLists.txt
Log Message:
-----------
Docs: style doxygen when built as part of OpenAMP docs
Detect when we are a submodule of OpenAMP-docs.
If so use the top level's Doxyfile overrides on top of our Doxyfile.
If not, no change.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 37f1660b20a778cba9e338679e5df3e6f2dd8408
https://github.com/OpenAMP/libmetal/commit/37f1660b20a778cba9e338679e5df3e6…
Author: Sergei Korneichuk <sergei.korneichuk(a)amd.com>
Date: 2023-10-13 (Fri, 13 Oct 2023)
Changed paths:
M cmake/options.cmake
M lib/CMakeLists.txt
M lib/log.h
Log Message:
-----------
log: add function name, line number prefix
Add convenience macros metal_err, metal_warn, metal_info, metal_dbg
to avoid using excessively long and redundant metal_log(METAL_LOG_*).
Add "function-name:line-number" prefix to all messages if the option
WITH_FUNC_LINE_LOG is set ON during the configuration phase.
Signed-off-by: Sergei Korneichuk <sergei.korneichuk(a)amd.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: afca7e703803e43b216f8afe2f7515870637a4da
https://github.com/OpenAMP/openamp-system-reference/commit/afca7e703803e43b…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-10-12 (Thu, 12 Oct 2023)
Changed paths:
A .readthedocs.yaml
Log Message:
-----------
Docs: enable readthedocs rendering (for PRs)
The Readthedocs pull-request integration is nice to have for PR review.
So run the whole OpenAMP-docs build but use the PR's commit
This also requires a ReadTheDocs project to install its integration for
this repo. The project should enable "Build pull request for this project".
It is currently in the Advanced Settings panel.
The project will also run for the main branch but that should be
ignored and only the main project URL should be shown outside of PRs.
To this end the sub-module project names will use "-prs" in the name.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 2dc51f1c73dede3d8f54a8fd6dbbbfb3690778d7
https://github.com/OpenAMP/open-amp/commit/2dc51f1c73dede3d8f54a8fd6dbbbfb3…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-10-12 (Thu, 12 Oct 2023)
Changed paths:
A .readthedocs.yaml
Log Message:
-----------
Docs: enable readthedocs rendering (for PRs)
The Readthedocs pull-request integration is nice to have for PR review.
So run the whole OpenAMP-docs build but use the PR's commit
This also requires a ReadTheDocs project to install its integration for
this repo. The project should enable "Build pull request for this project".
It is currently in the Advanced Settings panel.
The project will also run for the main branch but that should be
ignored and only the main project URL should be shown outside of PRs.
To this end the sub-module project names will use "-prs" in the name.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: ddd72ecacf29d95a3fa3d8fcf1f61195f6298be3
https://github.com/OpenAMP/libmetal/commit/ddd72ecacf29d95a3fa3d8fcf1f61195…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-10-12 (Thu, 12 Oct 2023)
Changed paths:
M README.md
Log Message:
-----------
README: Point people to the offical docs not the wiki
The content from the wiki has been moved to the Sphinx based OpenAMP-docs.
Meeting notes will continue to be in the wiki only.
The wiki data is probably out of date and will get more out of date as
we go. So point people to the official docs.
(Separately we plan to delete the non-meeting note wiki pages.)
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: dceaa9f2c4f79bed70323f414a0839e3cd8a0636
https://github.com/OpenAMP/libmetal/commit/dceaa9f2c4f79bed70323f414a0839e3…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-10-11 (Wed, 11 Oct 2023)
Changed paths:
M .readthedocs.yaml
Log Message:
-----------
Docs: fix for the readthedocs PR rendering
The original procedure worked only when the PR was coming from the same
repo that was the target of the PR. This is not normally the case.
The original check out has the commit we need. Just use it as the remote,
fetch and checkout the commit hash we need.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 9994a326f8c162a867986b6d9e39fa8c6b5d271d
https://github.com/OpenAMP/libmetal/commit/9994a326f8c162a867986b6d9e39fa8c…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-10-10 (Tue, 10 Oct 2023)
Changed paths:
A .readthedocs.yaml
Log Message:
-----------
Docs: enable readthedocs rendering (for PRs)
The Readthedocs pull-request integration is nice to have for PR review.
Run the whole OpenAMP-docs build but use the PR's commit
This also requires a ReadTheDocs project to install its integration for
this repo. The project should enable "Build pull request for this project".
It is currently in the Advanced Settings panel.
The project will also run for the main branch but that should be
ignored and only the main project URL should be shown outside of PRs.
To this end the sub-module project names will use "-prs" in the name.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Commit: d7c605c272a6c263c5d941c38744e74868b2f309
https://github.com/OpenAMP/libmetal/commit/d7c605c272a6c263c5d941c38744e748…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2023-10-10 (Tue, 10 Oct 2023)
Changed paths:
M doc/CMakeLists.txt
Log Message:
-----------
Docs: style doxygen when built as part of OpenAMP docs
Detect when we are a submodule of OpenAMP-docs.
If so use the top level's Doxyfile overrides on top of our Doxyfile.
If not, no change.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Compare: https://github.com/OpenAMP/libmetal/compare/92ffb1f1a5ff...d7c605c272a6
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: ee579128df62855fef1ada3e521668e31d58c212
https://github.com/OpenAMP/openamp-system-reference/commit/ee579128df62855f…
Author: Gustavo Romero <gustavo.romero(a)linaro.org>
Date: 2023-10-10 (Tue, 10 Oct 2023)
Changed paths:
M examples/zephyr/dual_qemu_ivshmem/rpmsg_ivshmem_backend/rpmsg_ivshmem_backend.c
Log Message:
-----------
examples: dual_qemu_ivshmem: Print shmem address and size
Prints the shared memory (shmem) address and size for ivshmem.
This information is useful in certain test scenarios, particularly when
the remote side needs to be aware of the shmem address on the other
side (host side).
Signed-off-by: Gustavo Romero <gustavo.romero(a)linaro.org>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 937ba1d700a4d5b3b28459fdf66c55e54cb34c6c
https://github.com/OpenAMP/open-amp/commit/937ba1d700a4d5b3b28459fdf66c55e5…
Author: Tammy Leino <tammy.leino(a)siemens.com>
Date: 2023-10-06 (Fri, 06 Oct 2023)
Changed paths:
M Doxyfile
M lib/include/openamp/remoteproc.h
M lib/include/openamp/remoteproc_loader.h
M lib/include/openamp/remoteproc_virtio.h
M lib/include/openamp/rpmsg.h
M lib/include/openamp/rpmsg_rpc_client_server.h
M lib/include/openamp/rpmsg_virtio.h
M lib/include/openamp/virtio.h
M lib/include/openamp/virtio_mmio.h
M lib/include/openamp/virtio_ring.h
M lib/rpmsg/rpmsg_internal.h
Log Message:
-----------
Doxygen updates for data structures
Improved doxygen formatting and consistency for data structures.
Signed-off-by: Tammy Leino <tammy.leino(a)siemens.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: b24d294d2f23c6ce62c653f31f1ebfc27ebb9797
https://github.com/OpenAMP/libmetal/commit/b24d294d2f23c6ce62c653f31f1ebfc2…
Author: Gustavo Romero <gustavo.romero(a)linaro.org>
Date: 2023-10-05 (Thu, 05 Oct 2023)
Changed paths:
M README.md
Log Message:
-----------
Move libmetal Wiki link to Overview section
This commit fixes a duplicated definite article 'the' in the last
section and moves the corrected paragraph to the "Overview" section.
This change is made because the paragraph contains the Wiki link that
provides valuable information about libmetal internals, including a
detailed section titled "OpenAMP Overview".
It also addresses multiple format issues, including missing or duplicate
spaces in the text, and corrects the line length to match the format
used in README.md.
Signed-off-by: Gustavo Romero <gustavo.romero(a)linaro.org>
Commit: 92ffb1f1a5ff27ef9314971f8c952c526c788c10
https://github.com/OpenAMP/libmetal/commit/92ffb1f1a5ff27ef9314971f8c952c52…
Author: Gustavo Romero <gustavo.romero(a)linaro.org>
Date: 2023-10-05 (Thu, 05 Oct 2023)
Changed paths:
M MAINTAINERS.md
Log Message:
-----------
Fix typo in MAINTAINERS.md text
Remove duplicated indefinite article in the text.
Signed-off-by: Gustavo Romero <gustavo.romero(a)linaro.org>
Compare: https://github.com/OpenAMP/libmetal/compare/0bb6d9ed1b93...92ffb1f1a5ff
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: f28515408f72bcfc936d11a172c2a87d9e9d8242
https://github.com/OpenAMP/openamp-system-reference/commit/f28515408f72bcfc…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2023-10-04 (Wed, 04 Oct 2023)
Changed paths:
A examples/zephyr/rpmsg_multi_services/boards/kv260_r5.overlay
M examples/zephyr/rpmsg_multi_services/src/sample.yaml
Log Message:
-----------
examples: zephyr: add kv260_r5 board support
Add dt overlay with zephyr,ipc and zephyr,ipc_shm nodes
for AMD-xilinx zynqmp based kv260 board.
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Hi Erwan, Arnaud, et all
I am using the Open-AMP ping pong example available in STM32CubeMX/IDE on a STM32H7 SoC. The example (not sure if it it is the same version) is at https://github.com/STMicroelectronics/STM32CubeH7/tree/master/Projects/STM3…
It is a Bare-metal example. I am trying find out which example in Zephyr can interface with this example. Currently I am using https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/subsys/ipc/o… since it uses resource table as in the PingPong Bare-metal example. But as you know the open-amp package used in Zephyr side is very new (I am using Zephyr 3.4.0). I have made couple of changes listed below to work with the PingPong example
1. resource_table in linker file to use the SRAM4 on STM32H7 SoC that I am using
2. I had to define CONFIG_RAM_CONSOLE=y since without it, the shared memory resource table offsets are different as seen by the Bare-metal side.
3. The PingPong application is using name service. So I have updated Zephyr side to use name service.
4. Remove tty application. Modify the Client application to receive a 4 byte data, increment and send it back to Master
With these changes, I can see the NS message sent out by CM4 running Zephyr. But my CM7 Bare-metal application doesn't see the message.
So the first question is if Open-AMP/Shared memory structs are compatible? Other piece of information is Zephyr runs on CM4 and Bare-metal on CM7.
On my debug, I found that the vring struct in memory has len = 0 instead of 100. Not sure where that goes wrong. Still debugging
Hi Experts,
I have also posted this to zephyr dev mailing list and thought to add it here as well as it is related to OpenAMP.
I tried it in v3.4.x version of Zephyr before the final v3.4.0 release.
I am able to get the OpenAMP Bare-metal sample application work for core-to-core messaging using the STM32CubeIDE. We are using Zephyr in our project that interfaces with Bare-metal. The OpenAMP master runs on Bare-metal and it uses resource table. So I am working to enable the samples/subsys/openamp_rsc_table. I am able to build this sample for another STM32 board as
west -v build -p always -b stm32mp157c_dk2 samples/subsys/ipc/openamp_rsc_table
I have added the overlay and conf required to my project files and trying to build the sample and get the below linker error. As my target is also M4 on STM32H755 SoC, I believe I am missing some change to allow the metal_io_read() to be resolved to a proper library function. Some has suggested using set(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -latomic") per https://github.com/alexa/avs-device-sdk/issues/1404
I have tried to add it to the lib/openamp CMakeLists.txt but didn't help. Since this sample builds fine for stm32mp157c_dk2 , some build flag missing for my STM32H755 SoC??? Any help on this will be appreciated.
Log here
[362/372] Linking CXX executable zephyr\zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map C:/xxxx/build/zephyr/zephyr_pre0.map
cmd.exe /C "cd . && C:\xxxx\zephyr-sdk-0.16.1\arm-zephyr-eabi\bin\arm-zephyr-eabi-g++.exe -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr\zephyr_pre0.elf zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj -fuse-ld=bfd -Wl,-T zephyr/linker_zephyr_pre0.cmd -Wl,-Map=C:/xxxxx/zephyr/zephyr_pre0.map -Wl,--whole-archive app/libapp.a zephyr/libzephyr.a zephyr/arch/common/libarch__common.a zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a zephyr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a zephyr/lib/libc/minimal/liblib__libc__minimal.a zephyr/lib/libc/common/liblib__libc__common.a zephyr/lib/posix/liblib__posix.a zephyr/subsys/fs/libsubsys__fs.a zephyr/subsys/random/libsubsys__random.a zephyr/subsys/sd/libsubsys__sd.a zephyr/subsys/net/libsubsys__net.a zephyr/subsys/net/ip/libsubsys__net__ip.a zephyr/subsys/net/lib/config/libsubsys__net__lib__config.a zephyr/drivers/disk/libdrivers__disk.a zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a zephyr/drivers/clock_control/libdrivers__clock_control.a zephyr/drivers/console/libdrivers__console.a zephyr/drivers/gpio/libdrivers__gpio.a zephyr/drivers/ipm/libdrivers__ipm.a zephyr/drivers/pinctrl/libdrivers__pinctrl.a zephyr/drivers/reset/libdrivers__reset.a zephyr/drivers/serial/libdrivers__serial.a zephyr/drivers/timer/libdrivers__timer.a modules/stm32/stm32cube/lib..__modules__hal__stm32__stm32cube.a modules/libmetal/libmetal/lib/libmetal.a modules/littlefs/libmodules__littlefs.a modules/mbedtls/libmbedTLSBase.a modules/mbedtls/libmbedTLSCrypto.a modules/mbedtls/libmbedTLSX509.a modules/mbedtls/libmodules__mbedtls.a modules/open-amp/open-amp/lib/libopen_amp.a -Wl,--no-whole-archive zephyr/kernel/libkernel.a -L"c:/users/murali.karicheri/zephyr-sdk-0.16.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v7e-m/nofp" -LC:/xxxxx/build/zephyr -lgcc zephyr/arch/common/libisr_tables.a modules/mbedtls/libmbedTLSBase.a modules/mbedtls/libmbedTLSCrypto.a modules/mbedtls/libmbedTLSX509.a -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -Wl,--gc-sections -Wl,--build-id=none -Wl,--sort-common=descending -Wl,--sort-section=alignment -Wl,-u,_OffsetAbsSyms -Wl,-u,_ConfigAbsSyms -nostdlib -static -Wl,-X -Wl,-N -Wl,--orphan-handling=warn -Wl,-no-pie && cmd.exe /C "cd /D C:\xxxx\build\zephyr && "C:\Program Files\CMake\bin\cmake.exe" -E echo ""
c:/xxxxx/zephyr-sdk-0.16.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: modules/open-amp/open-amp/lib/libopen_amp.a(remoteproc_virtio.c.obj): in function `metal_io_read':
C:xxxxx/build/modules/libmetal/libmetal/lib/include/metal/io.h:252: undefined reference to `__atomic_load_8'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' --build 'C:\xxxx\build'
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 3882872bd5d89bbcd87ea3c5288a71882fde89de
https://github.com/OpenAMP/open-amp/commit/3882872bd5d89bbcd87ea3c5288a7188…
Author: Iuliana Prodan <iuliana.prodan(a)nxp.com>
Date: 2023-09-18 (Mon, 18 Sep 2023)
Changed paths:
M cmake/options.cmake
Log Message:
-----------
options: fix typo
Fix typo for WITH_DCACHE_BUFFERS option.
Signed-off-by: Iuliana Prodan <iuliana.prodan(a)nxp.com>
Commit: ca0747ebece056b50a50b67130a12b0e900a9f71
https://github.com/OpenAMP/open-amp/commit/ca0747ebece056b50a50b67130a12b0e…
Author: Iuliana Prodan <iuliana.prodan(a)nxp.com>
Date: 2023-09-18 (Mon, 18 Sep 2023)
Changed paths:
M lib/include/openamp/virtqueue.h
M lib/virtio/virtqueue.c
Log Message:
-----------
virtqueue: move VRING_FLUSH and VRING_INVALIDATE to header
Move VRING_FLUSH and VRING_INVALIDATE defines to header file.
Signed-off-by: Iuliana Prodan <iuliana.prodan(a)nxp.com>
Commit: 95a9038ca6598460d85c853d12b027b4e256dff2
https://github.com/OpenAMP/open-amp/commit/95a9038ca6598460d85c853d12b027b4…
Author: Iuliana Prodan <iuliana.prodan(a)nxp.com>
Date: 2023-09-18 (Mon, 18 Sep 2023)
Changed paths:
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: buffers flush/invalidate
Do buffers flush and invalidate the same as with vrings
and resource table:
- add defines in header file;
- call BUFFER_FLUSH/BUFFER_INVALIDATE where necessary.
Signed-off-by: Iuliana Prodan <iuliana.prodan(a)nxp.com>
Commit: b4f10fbb693fb5e573ad377bc17f95fcb6eebcab
https://github.com/OpenAMP/open-amp/commit/b4f10fbb693fb5e573ad377bc17f95fc…
Author: Iuliana Prodan <iuliana.prodan(a)nxp.com>
Date: 2023-09-18 (Mon, 18 Sep 2023)
Changed paths:
M lib/include/openamp/remoteproc_virtio.h
M lib/include/openamp/rpmsg_virtio.h
M lib/include/openamp/virtqueue.h
M lib/virtio/virtqueue.c
Log Message:
-----------
virtqueue: define a common cache flush/invalidate
Since all cache operations, for vrings, buffer and
resource table are using metal_cache_flush and
metal_cache_invalidate, define a common function for all.
Signed-off-by: Iuliana Prodan <iuliana.prodan(a)nxp.com>
Commit: f2162a69ac6764749a2e326d580921095c2527d9
https://github.com/OpenAMP/open-amp/commit/f2162a69ac6764749a2e326d58092109…
Author: Iuliana Prodan <iuliana.prodan(a)nxp.com>
Date: 2023-09-18 (Mon, 18 Sep 2023)
Changed paths:
M README.md
M cmake/options.cmake
M lib/include/openamp/remoteproc_virtio.h
M lib/include/openamp/rpmsg_virtio.h
M lib/include/openamp/virtqueue.h
Log Message:
-----------
options: add option for all cache operations
Add WITH_DCACHE operation used for all cache operations:
vrings, buffers and resource table.
The other options will be deprecated - add warning
message for this.
Add info for WITH_DCACHE option in README.
Signed-off-by: Iuliana Prodan <iuliana.prodan(a)nxp.com>
Compare: https://github.com/OpenAMP/open-amp/compare/ca723b84185c...f2162a69ac67
Mathieu & Arnaud,
At first glance this seems like what we need to make the DMA API only
use buffers in a range we define.
https://lwn.net/ml/linux-kernel/20210106034124.30560-1-tientzu@chromium.org/
Bill
--
Bill Mills
Principal Technical Consultant, Linaro
+1-240-643-0836
TZ: US Eastern
Work Schedule: Tues/Wed/Thur
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 0ad1183a821bf3713dbb825887d86054d5458fa3
https://github.com/OpenAMP/libmetal/commit/0ad1183a821bf3713dbb825887d86054…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2023-09-11 (Mon, 11 Sep 2023)
Changed paths:
M lib/utilities.h
Log Message:
-----------
lib: utilities: add MB and GB defines
If MB and GB definition is not available then define new ones
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 6d571fd068e1998a39a39c1d18d5ff10195274e9
https://github.com/OpenAMP/libmetal/commit/6d571fd068e1998a39a39c1d18d5ff10…
Author: Ben Levinsky <ben.levinsky(a)amd.com>
Date: 2023-09-11 (Mon, 11 Sep 2023)
Changed paths:
M lib/system/freertos/sys.h
Log Message:
-----------
lib: system: freertos: Add metal/errno.h to match standalone
As lib/system/generic/sys.h has metal/errno.h add this to the freertos
equivalent.
This fixes some compilation issues when linking against certain FreeRTOS port
BSPs.
Signed-off-by: Ben Levinsky <ben.levinsky(a)amd.com>
Hello All,
RPMsg in U-Boot is under development. First proof of concept patch v1 was sent to upstream mailing list as RFC patch here: http://patchwork.ozlabs.org/project/uboot/list/?series=365
Here is the video of demo of RPMsg framework introduced in above patch series:
https://www.youtube.com/watch?v=PxGNR_FYGt8
This document explains patch series and motivation to introduce RPMsg in U-Boot and future work that needs to be done: https://drive.google.com/file/d/1Bjtzj58klMPVuWEtRK89oyem7_Hdajn8/view?usp=…
This patch series is very basic implementation of virtio based RPMsg framework referenced from the Linux kernel. For now, U-Boot is communicating with remote processor over fix hard-coded endpoint. More advance features such as name-service, multiple endpoint support etc.. will be added in coming revisions of this patch series. Meanwhile, please feel free to review existing work and provide review comments and any other suggestions.
Thanks,
Tanmay
Hello All,
RPMsg in U-Boot is under development. First proof of concept patch v1
was sent to upstream mailing list as RFC patch here:
[1]http://patchwork.ozlabs.org/project/uboot/list/?series=365
Here is the video of demo of RPMsg framework introduced in above patch
series:
[2]https://www.youtube.com/watch?v=PxGNR_FYGt8
This document explains patch series and motivation to introduce RPMsg
in U-Boot and future work that needs to be done:
[3]https://drive.google.com/file/d/1Bjtzj58klMPVuWEtRK89oyem7_Hdajn8/vi
ew?usp=sharing
This patch series is very basic implementation of virtio based RPMsg
framework referenced from the Linux kernel. For now, U-Boot is
communicating with remote processor over fix hard-coded endpoint. More
advance features such as name-service, multiple endpoint support etc..
will be added in coming revisions of this patch series. Meanwhile,
please feel free to review existing work and provide review comments
and any other suggestions.
Thanks,
Tanmay
References
1. http://patchwork.ozlabs.org/project/uboot/list/?series=365
2. https://www.youtube.com/watch?v=PxGNR_FYGt8
3. https://drive.google.com/file/d/1Bjtzj58klMPVuWEtRK89oyem7_Hdajn8/view?usp=…
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 548f6428557acaa1ac218ab74b1e04b16f183f1c
https://github.com/OpenAMP/libmetal/commit/548f6428557acaa1ac218ab74b1e04b1…
Author: Sergei Korneichuk <sergei.korneichuk(a)amd.com>
Date: 2023-08-21 (Mon, 21 Aug 2023)
Changed paths:
M lib/atomic.h
Log Message:
-----------
Export each of the memory_order enumerators
The lib/atomic.h exports memory_order enum into the global namespace,
but none of its enumerators. According to Section 7.3.3 "The using
declaration" of the C++ standard: "specifying an enumeration name
in a using-declaration does not declare its enumerators in
the using-declaration's declarative region." See also:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0943r1.html
Signed-off-by: Sergei Korneichuk <sergei.korneichuk(a)amd.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: c2c89575efbfa3428fa825dc0e06957fc7cce409
https://github.com/OpenAMP/openamp-system-reference/commit/c2c89575efbfa342…
Author: Felipe Neves <felipe.neves(a)linaro.org>
Date: 2023-08-17 (Thu, 17 Aug 2023)
Changed paths:
M examples/zephyr/README.md
A examples/zephyr/dual_qemu_ivshmem/.gitignore
A examples/zephyr/dual_qemu_ivshmem/README.rst
A examples/zephyr/dual_qemu_ivshmem/host/CMakeLists.txt
A examples/zephyr/dual_qemu_ivshmem/host/app.overlay
A examples/zephyr/dual_qemu_ivshmem/host/boards/pcie_ivshmem.dtsi
A examples/zephyr/dual_qemu_ivshmem/host/boards/qemu_cortex_a53.conf
A examples/zephyr/dual_qemu_ivshmem/host/prj.conf
A examples/zephyr/dual_qemu_ivshmem/host/src/main.c
A examples/zephyr/dual_qemu_ivshmem/remote/CMakeLists.txt
A examples/zephyr/dual_qemu_ivshmem/remote/app.overlay
A examples/zephyr/dual_qemu_ivshmem/remote/boards/pcie_ivshmem.dtsi
A examples/zephyr/dual_qemu_ivshmem/remote/boards/qemu_cortex_a53.conf
A examples/zephyr/dual_qemu_ivshmem/remote/prj.conf
A examples/zephyr/dual_qemu_ivshmem/remote/src/main.c
A examples/zephyr/dual_qemu_ivshmem/rpmsg_ivshmem_backend/rpmsg_ivshmem_backend.c
A examples/zephyr/dual_qemu_ivshmem/rpmsg_ivshmem_backend/rpmsg_ivshmem_backend.h
Log Message:
-----------
examples: dual_qemu_ivshmem: add RPMsg over IVSHMEM sample code.
The additions include a backend to glue the Zephyr IVSHMEM
device driver into the openAMP code making it usable to send
data between two QEMU instances using the RPMsg protocol.
Also a custom shell command in the host side application
is provided to send string messages for a number of times.
Signed-off-by: Felipe Neves <felipe.neves(a)linaro.org>
Commit: 9c752508112513cf44892a45fdfc2007d37ad591
https://github.com/OpenAMP/openamp-system-reference/commit/9c752508112513cf…
Author: Felipe Neves <felipe.neves(a)linaro.org>
Date: 2023-08-17 (Thu, 17 Aug 2023)
Changed paths:
M west.yml
Log Message:
-----------
west: update zephyr revsion to v3.4-branch
This revision contains the IVSHMEM infrastructure
needed to make the RPMsg over it to work.
Signed-off-by: Felipe Neves <felipe.neves(a)linaro.org>
Compare: https://github.com/OpenAMP/openamp-system-reference/compare/6a612fae306c...…
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: e63d07d10577b06c5b3fc8e1c20ede74779d3132
https://github.com/OpenAMP/open-amp/commit/e63d07d10577b06c5b3fc8e1c20ede74…
Author: Dan Milea <dan.milea(a)windriver.com>
Date: 2023-08-17 (Thu, 17 Aug 2023)
Changed paths:
M cmake/options.cmake
M lib/CMakeLists.txt
M lib/include/openamp/rpmsg_virtio.h
M lib/include/openamp/virtio.h
A lib/include/openamp/virtio_mmio.h
M lib/include/openamp/virtqueue.h
M lib/virtio/virtio.c
A lib/virtio_mmio/CMakeLists.txt
A lib/virtio_mmio/virtio_mmio_drv.c
Log Message:
-----------
virtio: virtio-mmio framework
VIRTIO MMIO transport for OpenAMP.
Signed-off-by: Dan Milea <dan.milea(a)windriver.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: f2144b12ae6394712288e0c4a89da381b9830766
https://github.com/OpenAMP/libmetal/commit/f2144b12ae6394712288e0c4a89da381…
Author: Andrew Davis <afd(a)ti.com>
Date: 2023-08-16 (Wed, 16 Aug 2023)
Changed paths:
M lib/alloc.h
M lib/system/freertos/alloc.h
M lib/system/generic/alloc.h
M lib/system/linux/alloc.h
M lib/system/nuttx/alloc.h
M lib/system/zephyr/alloc.h
Log Message:
-----------
lib: refactor alloc.h to not need forward declaration
This should have no functional change, but makes this header consistent
with how the other headers are organized.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Remote Processor Messaging (RPMsg) framework is used to communicate
with remote processor. RPMsg is a virtio-based messaging bus that
allows U-Boot drivers to communicate with remote processors available
on the system. This patch also introduces new virtio transport layer
driver.
To keep things minimal for now hard-coded endpoint is used in U-Boot
to communicate with remote processor using RPMsg protocol. This will
be modified to use multiple endpoints in future.
U-Boot can't receive interrupts from remote processor as per design.
Hence, user has to know when the data will be available from remote
processor and call rpmsg_recv accordingly. Mostly it will be called
to receive response of query done using rpmsg_send.
Some code is already available to allocate memory for RPMsg however,
that framework is mostly TI platform specific and isn't used by any
other platforms. This series makes sure it does not break
previous code for other platforms. If platforms wants to use this new
framework it is expected to set "support_rpmsg_virtio" flag in
relative remoteproc device's platform data.
Also the framework introduced by this series is ported from the Linux
kernel so other platforms which already support RPMsg in the Linux
kernel can easily use this framework in U-Boot as well.
---
Tanmay Shah (10):
remoteproc: move resource table definition
firmware: zynqmp: move zynqmp_pm_request_node API
remoteproc: add remoteproc virtio transport driver
drivers: add RPMsg framework
rpmsg: add sample client driver
cmd: add rpmsg framework commands
remoteproc: add attach/detach commands
remoteproc: add zynqmp driver
configs: zynqmp: enable remoteproc and rpmsg
configs: sandbox: enable rpmsg
MAINTAINERS | 15 +
arch/sandbox/dts/test.dts | 8 +
cmd/Kconfig | 6 +
cmd/Makefile | 1 +
cmd/remoteproc.c | 14 +-
cmd/rpmsg.c | 61 +++
configs/sandbox_defconfig | 4 +
configs/xilinx_zynqmp_virt_defconfig | 6 +
drivers/Kconfig | 2 +
drivers/Makefile | 1 +
drivers/firmware/firmware-zynqmp.c | 27 ++
drivers/power/domain/zynqmp-power-domain.c | 7 -
drivers/remoteproc/Kconfig | 20 +
drivers/remoteproc/Makefile | 2 +
drivers/remoteproc/rproc-elf-loader.c | 33 --
drivers/remoteproc/rproc-uclass.c | 125 +++++-
drivers/remoteproc/rproc_virtio.c | 422 +++++++++++++++++++++
drivers/remoteproc/xlnx_rproc.c | 411 ++++++++++++++++++++
drivers/rpmsg/Kconfig | 39 ++
drivers/rpmsg/Makefile | 13 +
drivers/rpmsg/rpmsg-uclass.c | 156 ++++++++
drivers/rpmsg/rpmsg_internal.h | 52 +++
drivers/rpmsg/rpmsg_sample_client.c | 63 +++
drivers/rpmsg/sandbox_test_rpmsg.c | 88 +++++
drivers/rpmsg/virtio_rpmsg_bus.c | 384 +++++++++++++++++++
drivers/virtio/virtio-uclass.c | 1 +
drivers/virtio/virtio_ring.c | 16 +
include/dm/uclass-id.h | 1 +
include/remoteproc.h | 130 ++++++-
include/rpmsg.h | 145 +++++++
include/rproc_virtio.h | 33 ++
include/virtio.h | 7 +-
include/virtio_ring.h | 32 ++
include/zynqmp_firmware.h | 30 +-
test/dm/Makefile | 1 +
test/dm/rpmsg.c | 41 ++
36 files changed, 2321 insertions(+), 76 deletions(-)
create mode 100644 cmd/rpmsg.c
create mode 100644 drivers/remoteproc/rproc_virtio.c
create mode 100644 drivers/remoteproc/xlnx_rproc.c
create mode 100644 drivers/rpmsg/Kconfig
create mode 100644 drivers/rpmsg/Makefile
create mode 100644 drivers/rpmsg/rpmsg-uclass.c
create mode 100644 drivers/rpmsg/rpmsg_internal.h
create mode 100644 drivers/rpmsg/rpmsg_sample_client.c
create mode 100644 drivers/rpmsg/sandbox_test_rpmsg.c
create mode 100644 drivers/rpmsg/virtio_rpmsg_bus.c
create mode 100644 include/rpmsg.h
create mode 100644 include/rproc_virtio.h
create mode 100644 test/dm/rpmsg.c
base-commit: 94e7cb181ad6bd25d36a11c58e0df64e9f815888
--
2.25.1
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: 56b3456aca4f0da33df426e191ff6b0723e0033d
https://github.com/OpenAMP/openamp-system-reference/commit/56b3456aca4f0da3…
Author: Andrew Davis <afd(a)ti.com>
Date: 2023-07-21 (Fri, 21 Jul 2023)
Changed paths:
A examples/linux/common/common.c
A examples/linux/common/common.h
M examples/linux/rpmsg-echo-test/Makefile
M examples/linux/rpmsg-echo-test/echo_test.c
M examples/linux/rpmsg-mat-mul/Makefile
M examples/linux/rpmsg-mat-mul/mat_mul_demo.c
M examples/linux/rpmsg-proxy-app/Makefile
M examples/linux/rpmsg-proxy-app/proxy_app.c
Log Message:
-----------
examples: linux: Factor out app_rpmsg_create_ept into common file
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 811b152988d06352e9fa37667d2d8c1ec8bb7b6a
https://github.com/OpenAMP/openamp-system-reference/commit/811b152988d06352…
Author: Andrew Davis <afd(a)ti.com>
Date: 2023-07-21 (Fri, 21 Jul 2023)
Changed paths:
M examples/linux/common/common.c
M examples/linux/common/common.h
M examples/linux/rpmsg-echo-test/echo_test.c
M examples/linux/rpmsg-mat-mul/mat_mul_demo.c
M examples/linux/rpmsg-proxy-app/proxy_app.c
Log Message:
-----------
examples: linux: Factor out get_rpmsg_ept_dev_name into common file
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 03733bd4a3effe811397c891dc8709c4d3988c6e
https://github.com/OpenAMP/openamp-system-reference/commit/03733bd4a3effe81…
Author: Andrew Davis <afd(a)ti.com>
Date: 2023-07-21 (Fri, 21 Jul 2023)
Changed paths:
M examples/linux/common/common.c
M examples/linux/common/common.h
M examples/linux/rpmsg-echo-test/echo_test.c
M examples/linux/rpmsg-mat-mul/mat_mul_demo.c
M examples/linux/rpmsg-proxy-app/proxy_app.c
Log Message:
-----------
examples: linux: Factor out bind_rpmsg_chrdev into common file
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: e801fa0607ca7989f29226b3da7382bc19369801
https://github.com/OpenAMP/openamp-system-reference/commit/e801fa0607ca7989…
Author: Andrew Davis <afd(a)ti.com>
Date: 2023-07-21 (Fri, 21 Jul 2023)
Changed paths:
M examples/linux/common/common.c
M examples/linux/common/common.h
M examples/linux/rpmsg-echo-test/echo_test.c
M examples/linux/rpmsg-mat-mul/mat_mul_demo.c
M examples/linux/rpmsg-proxy-app/proxy_app.c
Log Message:
-----------
examples: linux: Factor out get_rpmsg_chrdev_fd into common file
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 0ec83bfd5b3008b2713ce5a7b2f33fab26c6b5c8
https://github.com/OpenAMP/openamp-system-reference/commit/0ec83bfd5b3008b2…
Author: Andrew Davis <afd(a)ti.com>
Date: 2023-07-21 (Fri, 21 Jul 2023)
Changed paths:
M examples/linux/common/common.c
M examples/linux/common/common.h
M examples/linux/rpmsg-echo-test/echo_test.c
M examples/linux/rpmsg-mat-mul/mat_mul_demo.c
M examples/linux/rpmsg-proxy-app/proxy_app.c
Log Message:
-----------
examples: linux: Factor out lookup_channel into common file
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 3b2a0ebf7ef6598cb193b01f3d5c585f454fe4af
https://github.com/OpenAMP/openamp-system-reference/commit/3b2a0ebf7ef6598c…
Author: Andrew Davis <afd(a)ti.com>
Date: 2023-07-21 (Fri, 21 Jul 2023)
Changed paths:
M examples/linux/rpmsg-mat-mul/mat_mul_demo.c
Log Message:
-----------
examples: rpmsg-mat-mul: Cleanup matrix printout
Make matrix_print() into a common function and use it for both printing
the input and output matrices. Also add 3 wide padding so the output
looks more like a table when the numbers are not all the same length.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 7615f43e710cbdb3bbc6acf25aaed35f3328629b
https://github.com/OpenAMP/openamp-system-reference/commit/7615f43e710cbdb3…
Author: Andrew Davis <afd(a)ti.com>
Date: 2023-07-21 (Fri, 21 Jul 2023)
Changed paths:
M examples/linux/rpmsg-echo-test/echo_test.c
M examples/linux/rpmsg-mat-mul/mat_mul_demo.c
M examples/linux/rpmsg-proxy-app/proxy_app.c
Log Message:
-----------
examples: linux: Remove uses of global variables
Usually considered bad practice and the code is more readable without.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 2dadb557f9b1db6b9bd4b4fe97fef0d57a0e6734
https://github.com/OpenAMP/openamp-system-reference/commit/2dadb557f9b1db6b…
Author: Andrew Davis <afd(a)ti.com>
Date: 2023-07-21 (Fri, 21 Jul 2023)
Changed paths:
M examples/linux/rpmsg-mat-mul/mat_mul_demo.c
Log Message:
-----------
examples: rpmsg-mat-mul: Only send 32bit shutdown message
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 2c5d2064e45faf7e3a542d1232593beec40ff940
https://github.com/OpenAMP/openamp-system-reference/commit/2c5d2064e45faf7e…
Author: Andrew Davis <afd(a)ti.com>
Date: 2023-07-21 (Fri, 21 Jul 2023)
Changed paths:
M examples/linux/rpmsg-mat-mul/mat_mul_demo.c
Log Message:
-----------
examples: rpmsg-mat-mul: Cleanup printouts and remove debug statements
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: db1f74a00c63d25b676d2874d28457c464408b9b
https://github.com/OpenAMP/openamp-system-reference/commit/db1f74a00c63d25b…
Author: Andrew Davis <afd(a)ti.com>
Date: 2023-07-21 (Fri, 21 Jul 2023)
Changed paths:
M examples/linux/common/common.c
Log Message:
-----------
examples: linux: Close file on error in bind_rpmsg_chrdev
The file should be closed when returning from this function in the error
path. Fix this here.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Compare: https://github.com/OpenAMP/openamp-system-reference/compare/7f1fb3b84edc...…
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: a2456e61ee5b7c55eb3901bdcdd836b7e0f83bbc
https://github.com/OpenAMP/open-amp/commit/a2456e61ee5b7c55eb3901bdcdd836b7…
Author: Iuliana Prodan <iuliana.prodan(a)nxp.com>
Date: 2023-07-17 (Mon, 17 Jul 2023)
Changed paths:
M cmake/options.cmake
M lib/include/openamp/remoteproc_virtio.h
M lib/remoteproc/remoteproc_virtio.c
Log Message:
-----------
remoteproc: do cache invalidation before reading rsc_table info
Do a cache invalidation before reading the resource table's info
since this ca be in a cacheable region.
Make this optional, based on VIRTIO_CACHED_RSC_TABLE.
Signed-off-by: Iuliana Prodan <iuliana.prodan(a)nxp.com>
Commit: 5891cb4b2e813d1c9d10def998952b062304e43f
https://github.com/OpenAMP/open-amp/commit/5891cb4b2e813d1c9d10def998952b06…
Author: Iuliana Prodan <iuliana.prodan(a)nxp.com>
Date: 2023-07-17 (Mon, 17 Jul 2023)
Changed paths:
M README.md
Log Message:
-----------
README: add new cache option for resource table
Add info for WITH_DCACHE_RSC_TABLE option.
Signed-off-by: Iuliana Prodan <iuliana.prodan(a)nxp.com>
Compare: https://github.com/OpenAMP/open-amp/compare/7f906105a9ff...5891cb4b2e81
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 7f906105a9ffef8e59287f0fca68fc8f8df7725c
https://github.com/OpenAMP/open-amp/commit/7f906105a9ffef8e59287f0fca68fc8f…
Author: Bowen Wang <wangbowen6(a)xiaomi.com>
Date: 2023-07-12 (Wed, 12 Jul 2023)
Changed paths:
M lib/include/openamp/virtio.h
M lib/virtio/virtio.c
Log Message:
-----------
virtio: add create_virtqueues and delete_virtqueues in virtio_dispatch
This is the first step to decoupling the virtio device and transport
layer.
Signed-off-by: Bowen Wang <wangbowen6(a)xiaomi.com>
Hello,
I am new to this mailing list. I have done some work recently to get the RPMSG sample running on a dual core STM32H device from ST and it works. In this case both Host and Remote runs Zephyr. My goal is to replace the Remote with a bare-metal and did some research and found open-amp can be used for the same. However, I don't see any libmetal port on STM32 under lib/system/generic. My understanding is that with this, I would be able to modify an existing example in open-amp (under https://github.com/OpenAMP/open-amp/tree/main/apps/examples/rpmsg_sample_ech...) to work with the Zephyr rpmsg example at https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/subsys/ipc/rp...)
Has anyone attempted anything like this that I can leverage on? Other than the libmetal port, what else would be needed to get this inter-work with Zephyr RPMSG sample or should I attempt a different sample from Zephyr to work with open-amp sample? Any help to get me in the right direction would be appreciated.
Thanks.
Murali Karicheri
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 4976e580d4aeb8c88952ba0c00e750b300cc18bf
https://github.com/OpenAMP/libmetal/commit/4976e580d4aeb8c88952ba0c00e750b3…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2023-07-10 (Mon, 10 Jul 2023)
Changed paths:
M .github/workflows/compliance.yml
M scripts/ci/check_compliance.py
Log Message:
-----------
CI: Fix checkpatch
The CI does not consider "check" reported by checkpatch.
This commit fixes it by:
- rebasing check_compliance.py compliance.yml to integrate Zephyr updates,
- add detection of the "check" in the report.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: dcc21e665704b4eab5b5a77910ab39b188d62f31
https://github.com/OpenAMP/open-amp/commit/dcc21e665704b4eab5b5a77910ab39b1…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2023-07-10 (Mon, 10 Jul 2023)
Changed paths:
M .github/workflows/compliance.yml
M scripts/ci/check_compliance.py
Log Message:
-----------
CI: Fix checkpatch
The CI does not consider "check" reported by checkpatch.
This commit fixes it by:
- rebasing check_compliance.py compliance.yml to integrate Zephyr updates,
- add detection of the "check" in the report.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 6e4b016151dec9419e72c3fc9887f19e7f412e27
https://github.com/OpenAMP/libmetal/commit/6e4b016151dec9419e72c3fc9887f19e…
Author: Ben Levinsky <ben.levinsky(a)xilinx.com>
Date: 2023-06-29 (Thu, 29 Jun 2023)
Changed paths:
M lib/system/generic/xlnx_common/CMakeLists.txt
A lib/system/generic/xlnx_common/zynqmp_aarch64/CMakeLists.txt
A lib/system/generic/xlnx_common/zynqmp_aarch64/sys.c
A lib/system/generic/xlnx_common/zynqmp_aarch64/sys.h
M lib/system/generic/zynqmp_a53/CMakeLists.txt
M lib/system/generic/zynqmp_a53/sys.h
A lib/system/generic/zynqmp_a72/CMakeLists.txt
A lib/system/generic/zynqmp_a72/sys.h
M lib/utilities.h
Log Message:
-----------
lib: add support for A72 Baremetal
Enable cache, IPI, exception and shared-memory operations on Versal A72
for Libmetal.
Additionally, as the code for A72 and A53 is almost identical, move
the common code to generic/xlnx_common/zynqmp_aarch64 and differentiate
the slight differences with macro checks.
Signed-off-by: Ben Levinsky <ben.levinsky(a)xilinx.com>
Acked-by: tanmay.shah(a)xilinx.com
Commit: 7ec5b636e7d6f9d1eb9e19d9689375cbb4be7499
https://github.com/OpenAMP/libmetal/commit/7ec5b636e7d6f9d1eb9e19d9689375cb…
Author: Ben Levinsky <ben.levinsky(a)amd.com>
Date: 2023-06-29 (Thu, 29 Jun 2023)
Changed paths:
M lib/system/generic/xlnx_common/zynqmp_aarch64/sys.c
A lib/system/generic/zynqmp_a78/CMakeLists.txt
A lib/system/generic/zynqmp_a78/sys.h
Log Message:
-----------
lib: add support for A78 Baremetal
Enable cache, IPI, exception and shared-memory operations on Versal A78
for Libmetal.
Signed-off-by: Ben Levinsky <ben.levinsky(a)amd.com>
Compare: https://github.com/OpenAMP/libmetal/compare/cd104fa0fd89...7ec5b636e7d6
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: b177618da42e401c6d0f3810f7594f33023111c3
https://github.com/OpenAMP/open-amp/commit/b177618da42e401c6d0f3810f7594f33…
Author: Bowen Wang <wangbowen6(a)xiaomi.com>
Date: 2023-06-22 (Thu, 22 Jun 2023)
Changed paths:
M lib/include/openamp/virtio.h
M lib/virtio/virtio.c
Log Message:
-----------
virtio: follow virtio v1.2 spec, add more virtio status and device id
Follow the virtio v1.2 spec, add more virtio status and device id
definition in virtio.h
Signed-off-by: Bowen Wang <wangbowen6(a)xiaomi.com>
Hello,
I am new to this mailing list. I have done some work recently to get the RPMSG sample running on a dual core STM32H device from ST and it works. In this case both Host and Remote runs Zephyr. My goal is to replace the Remote with a bare-metal and did some research and found open-amp can be used for the same. However, I don't see any libmetal port on STM32 under lib/system/generic. My understanding is that with this, I would be able to modify an existing example in open-amp (under https://github.com/OpenAMP/open-amp/tree/main/apps/examples/rpmsg_sample_ec…) to work with the Zephyr rpmsg example at https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/subsys/ipc/r…)
Has anyone attempted anything like this that I can leverage on? Other than the libmetal port, what else would be needed to get this inter-work with Zephyr RPMSG sample or should I attempt a different sample from Zephyr to work with open-amp sample? Any help to get me in the right direction would be appreciated.
Thanks.
Murali Karicheri
S&C Electric.
________________________________
NOTICE OF CONFIDENTIALITY:
This message may contain information that is considered confidential and which may be prohibited from disclosure under applicable law or by contractual agreement. The information is intended solely for the use of the individual or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the information contained in or attached to this message is strictly prohibited. If you have received this email transmission in error, please notify the sender by replying to this email and then delete it from your system.
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 2345b74998e9c9a606266572c658f5e76fe7e82a
https://github.com/OpenAMP/libmetal/commit/2345b74998e9c9a606266572c658f5e7…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2023-06-05 (Mon, 05 Jun 2023)
Changed paths:
M .github/workflows/continuous-integration.yml
Log Message:
-----------
CI: update checkout action to V3
Node.js 12 actions are deprecated. Use the checkout V3
action to use Node.js 16
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: cd104fa0fd89b722501aba948effe6e9f940b79c
https://github.com/OpenAMP/libmetal/commit/cd104fa0fd89b722501aba948effe6e9…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2023-06-05 (Mon, 05 Jun 2023)
Changed paths:
M .github/actions/build_ci/entrypoint.sh
Log Message:
-----------
CI: fix zephyr build issue related to the VERSION file
The Zephyr cmake fails in version.cmake because some fields
are not present in the libmetal VERSION file
Add dummy fields for the CI to fix compatibility issue
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Compare: https://github.com/OpenAMP/libmetal/compare/28fa2351d6a8...cd104fa0fd89
ST Restricted
> -----Original Message-----
> From: Mathieu Poirier <mathieu.poirier(a)linaro.org>
> Sent: Saturday, May 20, 2023 1:00 AM
> To: Bill Mills <bill.mills(a)linaro.org>
> Cc: Shah, Tanmay <tanmay.shah(a)amd.com>; ed.mooring(a)gmail.com;
> tammy.leino(a)siemens.com; Arnaud POULIQUEN
> <arnaud.pouliquen(a)st.com>; openamp-rp(a)lists.openampproject.org
> Subject: Re: [RFC]: Variable RpMsg buffer size in Linux Kernel
>
> On Thu, 18 May 2023 at 10:27, Bill Mills <bill.mills(a)linaro.org> wrote:
> >
> >
> >
> > On 5/18/23 12:00 PM, Shah, Tanmay wrote:
> > > Hi all,
> > >
> > > As of now, rpmsg buffer size is decided by RPMSG_BUF_SIZE macro.
> > > This is fixed to 512 bytes.
> > >
> > > If platform needs to send larger than 512 bytes of payload, then the
> > > payload needs to be split between multiple buffers.
> > >
> > > Instead of that, it would be useful if platform can configure
> > > RPMSG_BUF_SIZE somehow.
> > >
> > > There are multiple options to achieve this:
> > >
> > > 1. Move RPMSG_BUF_SIZE to Kconfig -> The approach is not accepted as
> > > single kernel may not work for all platforms.
> > > 2. Keep device-tree property that mentions rpmsg buffer size.
> > > 1. Something in dts: “rpmsg-buf-size = <512>”
> > > 2. This way one kernel can work for all the platforms. If property
> > > is not mentioned, then we fallback to default size of 512 bytes.
> > > 3. Dynamic buffer allocation
> > > 1. This effort was done previously. Please refer to following
> > > discussion from kernel and openamp library:
> > >
> > > i.Openamp library: https://github.com/OpenAMP/open-amp/pull/155
> > > <https://github.com/OpenAMP/open-amp/pull/155>
> > >
> > > 1. Conclusion:
> > >
> > > https://github.com/OpenAMP/open-amp/issues/322#issuecomment-
> 98657382
> > > 8
> > > <https://github.com/OpenAMP/open-amp/issues/322#issuecomment-
> 9865738
> > > 28>
> > >
> > > ii.Kernel:
> > > https://patchwork.kernel.org/project/linux-remoteproc/cover/15489492
> > > 80-31794-1-git-send-email-xiaoxiang(a)xiaomi.com/
> > > <https://patchwork.kernel.org/project/linux-remoteproc/cover/1548949
> > > 280-31794-1-git-send-email-xiaoxiang(a)xiaomi.com/>
> > >
> >
> > Lore link to same:
> > https://lore.kernel.org/lkml/20190605043452.GI22737@tuxbook-pro/T/
> >
> > I saw nothing in this thread that I would call a rejection.
> >
> > It made the size choice based on the virtio config space which could
> > come from firmware resource table now or virtio device config space if
> > using virtio-mmio etc.
> >
> > Bjorn did point out that a system where each side allocated its own
> > buffers of whatever size desired would be more flexible but:
> > * did not object to this step
> > * that would be a pretty big departure from what we have not and we
> > would still need to negotiate its use.
> >
> > The biggest issues I saw with the patch series was the details of how
> > it did the config. That could have been fixed with a bit more effort.
> >
> > I would vote we just resurrect this patch set and clean it up rather
> > than going down the DTS route.
> >
>
> I agree - I did not find anything controversial in that patchset either. We can
> start with that and later supplement with the DTS if needed.
Also in favor of this approach
Regards,
Arnaud
>
> > Bill
> >
> > > 2. As part of this, RPMSG_BUF_SIZE is configurable on library side,
> > > but not on kernel side.
> > >
> > > If it looks reasonable to go with approach 2 without side-effects, I
> > > can develop and send the patch.
> > >
> > > Thanks,
> > >
> > > Tanmay
> > >
> >
> > --
> > Bill Mills
> > Principal Technical Consultant, Linaro
> > +1-240-643-0836
> > TZ: US Eastern
> > Work Schedule: Tues/Wed/Thur
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 1697a15f477578104e81092406fb2318a56e2f72
https://github.com/OpenAMP/open-amp/commit/1697a15f477578104e81092406fb2318…
Author: Ben Levinsky <ben.levinsky(a)amd.com>
Date: 2023-05-22 (Mon, 22 May 2023)
Changed paths:
M apps/machine/zynqmp/platform_info.c
Log Message:
-----------
apps: zynqmp: Add Versal_net IPI values.
Enable Linux demos to run on Versal_net by updating the IPI values that
are specific to this hardware platform.
Signed-off-by: Ben Levinsky <ben.levinsky(a)amd.com>
On 5/18/23 12:00 PM, Shah, Tanmay wrote:
> Hi all,
>
> As of now, rpmsg buffer size is decided by RPMSG_BUF_SIZE macro. This is
> fixed to 512 bytes.
>
> If platform needs to send larger than 512 bytes of payload, then the
> payload needs to be split between multiple buffers.
>
> Instead of that, it would be useful if platform can configure
> RPMSG_BUF_SIZE somehow.
>
> There are multiple options to achieve this:
>
> 1. Move RPMSG_BUF_SIZE to Kconfig -> The approach is not accepted as
> single kernel may not work for all platforms.
> 2. Keep device-tree property that mentions rpmsg buffer size.
> 1. Something in dts: “rpmsg-buf-size = <512>”
> 2. This way one kernel can work for all the platforms. If property
> is not mentioned, then we fallback to default size of 512 bytes.
> 3. Dynamic buffer allocation
> 1. This effort was done previously. Please refer to following
> discussion from kernel and openamp library:
>
> i.Openamp library: https://github.com/OpenAMP/open-amp/pull/155
> <https://github.com/OpenAMP/open-amp/pull/155>
>
> 1. Conclusion:
> https://github.com/OpenAMP/open-amp/issues/322#issuecomment-986573828 <https://github.com/OpenAMP/open-amp/issues/322#issuecomment-986573828>
>
> ii.Kernel:
> https://patchwork.kernel.org/project/linux-remoteproc/cover/1548949280-3179… <https://patchwork.kernel.org/project/linux-remoteproc/cover/1548949280-3179…>
>
Lore link to same:
https://lore.kernel.org/lkml/20190605043452.GI22737@tuxbook-pro/T/
I saw nothing in this thread that I would call a rejection.
It made the size choice based on the virtio config space which could
come from firmware resource table now or virtio device config space if
using virtio-mmio etc.
Bjorn did point out that a system where each side allocated its own
buffers of whatever size desired would be more flexible but:
* did not object to this step
* that would be a pretty big departure from what we have not and we
would still need to negotiate its use.
The biggest issues I saw with the patch series was the details of how it
did the config. That could have been fixed with a bit more effort.
I would vote we just resurrect this patch set and clean it up rather
than going down the DTS route.
Bill
> 2. As part of this, RPMSG_BUF_SIZE is configurable on library side,
> but not on kernel side.
>
> If it looks reasonable to go with approach 2 without side-effects, I can
> develop and send the patch.
>
> Thanks,
>
> Tanmay
>
--
Bill Mills
Principal Technical Consultant, Linaro
+1-240-643-0836
TZ: US Eastern
Work Schedule: Tues/Wed/Thur
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 873039d24eeee314606d48d280e905fcc7672351
https://github.com/OpenAMP/open-amp/commit/873039d24eeee314606d48d280e905fc…
Author: Tammy Leino <tammy.leino(a)siemens.com>
Date: 2023-04-26 (Wed, 26 Apr 2023)
Changed paths:
M lib/include/openamp/elf_loader.h
M lib/include/openamp/remoteproc.h
M lib/include/openamp/remoteproc_virtio.h
M lib/include/openamp/rpmsg.h
M lib/include/openamp/rpmsg_retarget.h
M lib/include/openamp/rpmsg_rpc_client_server.h
M lib/include/openamp/rpmsg_virtio.h
M lib/include/openamp/rsc_table_parser.h
M lib/include/openamp/version.h
M lib/include/openamp/virtqueue.h
M lib/remoteproc/rsc_table_parser.c
M lib/rpmsg/rpmsg.c
M lib/rpmsg/rpmsg_virtio.c
M lib/virtio/virtqueue.c
Log Message:
-----------
Function header description consistency
Updated function header descriptions formatting to be consistent.
Signed-off-by: Tammy Leino <tammy.leino(a)siemens.com>
Commit: 1c29b1525a878971de53e282b72eb44e74b7ad1f
https://github.com/OpenAMP/open-amp/commit/1c29b1525a878971de53e282b72eb44e…
Author: Tammy Leino <tammy.leino(a)siemens.com>
Date: 2023-04-26 (Wed, 26 Apr 2023)
Changed paths:
M Doxyfile
Log Message:
-----------
Updates to Doxyfile
Set tabs to 8 spaces and enabled doc generation for static functions.
Signed-off-by: Tammy Leino <tammy.leino(a)siemens.com>
Compare: https://github.com/OpenAMP/open-amp/compare/14f3f8405bf2...1c29b1525a87
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 14f3f8405bf29fd28e5a73c1b8ca065ffa269cc8
https://github.com/OpenAMP/open-amp/commit/14f3f8405bf29fd28e5a73c1b8ca065f…
Author: Sergei Korneichuk <sergei.korneichuk(a)amd.com>
Date: 2023-04-24 (Mon, 24 Apr 2023)
Changed paths:
M cmake/options.cmake
M lib/version.c
Log Message:
-----------
version: use generated version_def.h
Using command line to define the OPENAMP_VERSION string macro breaks
Cygwin build on some releases of Microsoft Windows and CMake. Remove all
OPENAMP_VERSION macros from cmake compiler flags and use the ones from
the generated version_def.h file.
Signed-off-by: Sergei Korneichuk <sergei.korneichuk(a)amd.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 7106b6765401f9ec1f2edbc134ae752d2cc9bc39
https://github.com/OpenAMP/open-amp/commit/7106b6765401f9ec1f2edbc134ae752d…
Author: Dwaipayan Ray <dwaipayanray1(a)gmail.com>
Date: 2023-04-20 (Thu, 20 Apr 2023)
Changed paths:
M scripts/checkpatch.pl
Log Message:
-----------
checkpatch: fix TYPO_SPELLING check for words with apostrophe
checkpatch reports a false TYPO_SPELLING warning for some words containing
an apostrophe when run with --codespell option.
A false positive is "doesn't". Occurrence of the word causes checkpatch
to emit the following warning:
"WARNING: 'doesn'' may be misspelled - perhaps 'doesn't'?"
Modify the regex pattern to be more in line with the codespell default
word matching regex. This fixes the word capture and avoids the false
warning.
In addition, highlight the misspelled word location by adding a caret
below the word.
Signed-off-by: Dwaipayan Ray <dwaipayanray1(a)gmail.com>
Suggested-by: Joe Perches <joe(a)perches.com>
Reported-by: Peilin Ye <yepeilin.cs(a)gmail.com>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 05bcc7dd74ab4800be8a12c8dfcad4f407bf30ac
https://github.com/OpenAMP/libmetal/commit/05bcc7dd74ab4800be8a12c8dfcad4f4…
Author: Dwaipayan Ray <dwaipayanray1(a)gmail.com>
Date: 2023-04-20 (Thu, 20 Apr 2023)
Changed paths:
M scripts/checkpatch.pl
Log Message:
-----------
checkpatch: fix TYPO_SPELLING check for words with apostrophe
checkpatch reports a false TYPO_SPELLING warning for some words containing
an apostrophe when run with --codespell option.
A false positive is "doesn't". Occurrence of the word causes checkpatch
to emit the following warning:
"WARNING: 'doesn'' may be misspelled - perhaps 'doesn't'?"
Modify the regex pattern to be more in line with the codespell default
word matching regex. This fixes the word capture and avoids the false
warning.
In addition, highlight the misspelled word location by adding a caret
below the word.
Signed-off-by: Dwaipayan Ray <dwaipayanray1(a)gmail.com>
Suggested-by: Joe Perches <joe(a)perches.com>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: a136ce83b316adca299e6880687071ea2f56571b
https://github.com/OpenAMP/libmetal/commit/a136ce83b316adca299e6880687071ea…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2023-04-20 (Thu, 20 Apr 2023)
Changed paths:
M lib/system/freertos/mutex.h
Log Message:
-----------
lib: system: freertos: remove deprecated METAL_MUTEX_INIT
The METAL_MUTEX_INIT macro has been deprecated in release 2021.04.0
Remove it after it has been in a deprecated state for 2 years.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
All,
Since the openamp-rp meeting is tied to UK time, it will appear 1 hour
later than normal to any of use who have already done Daylight savings time.
Bill
--
Bill Mills
Principal Technical Consultant, Linaro
+1-240-643-0836
TZ: US Eastern
Work Schedule: Tues/Wed/Thur
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 5a87db2f0cac43d6d19a128fe00dee0bbd93b6f4
https://github.com/OpenAMP/libmetal/commit/5a87db2f0cac43d6d19a128fe00dee0b…
Author: Gustavo Henrique Nihei <gustavo.nihei(a)espressif.com>
Date: 2023-03-23 (Thu, 23 Mar 2023)
Changed paths:
M lib/system/nuttx/irq.c
Log Message:
-----------
nuttx: Add missing include header in IRQ implementation
Missing header became evident after a code refactor in another NuttX
component, which resulted in build warnings.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei(a)espressif.com>
Hi Team,
I just wanted to know,
what are the IPC mechanisms used in openAMP?
What is the IPC supported by the current version?
Which IPC mechanism used in echotest, matrix multiplication, & proxy
applications?
Thanks & regards,
Raveem
Hi Team,
I just wanted to know,
what are the IPC mechanisms used in openAMP?
What is the IPC supported by the current version?
Which IPC mechanism used in echotest, matrix multiplication, & proxy
applications?
Thanks & regards,
Raveem
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: d4145ecd7505f03f12f2ee41ffd0d120bb056253
https://github.com/OpenAMP/open-amp/commit/d4145ecd7505f03f12f2ee41ffd0d120…
Author: Yunfei Li <liyunfei33(a)huawei.com>
Date: 2023-03-14 (Tue, 14 Mar 2023)
Changed paths:
M apps/examples/linux_rpc_demo/linux_rpc_demo.c
M apps/system/linux/machine/generic/platform_info.c
Log Message:
-----------
apps:Fix atomic_flag error for clang compilation
Change atomic_int to atomic_flag to solve the error
reported when compiling with clang.
Signed-off-by: Yunfei Li <liyunfei33(a)huawei.com>
Commit: 1b9754867b916bfbfb3520b7cd8cae6b6b236097
https://github.com/OpenAMP/open-amp/commit/1b9754867b916bfbfb3520b7cd8cae6b…
Author: Yunfei Li <liyunfei33(a)huawei.com>
Date: 2023-03-14 (Tue, 14 Mar 2023)
Changed paths:
M lib/include/openamp/rpmsg_retarget.h
M lib/proxy/rpmsg_retarget.c
Log Message:
-----------
lib:Fix atomic_flag error for clang compilation
Change atomic_int to atomic_flag to solve the error
reported when compiling with clang.
Signed-off-by: Yunfei Li <liyunfei33(a)huawei.com>
Compare: https://github.com/OpenAMP/open-amp/compare/246540f3d6fd...1b9754867b91
Branch: refs/heads/master
Home: https://github.com/OpenAMP/meta-openamp
Commit: 0d2d3478b0461c17ae040dd4f8c025e5e0e290c3
https://github.com/OpenAMP/meta-openamp/commit/0d2d3478b0461c17ae040dd4f8c0…
Author: Ben Levinsky <ben.levinsky(a)amd.com>
Date: 2023-03-10 (Fri, 10 Mar 2023)
Changed paths:
M vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/libmetal/libmetal-xlnx-standalone.bb
A vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/libmetal/patches/0001-lib-atomic-add-defines-for-build.patch
M vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/open-amp-decoupling.bb
M vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/open-amp-standalone.bb
R vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/overlays/openamp-overlay-kernel.yaml
A vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/overlays/openamp-overlay-versal.yaml
A vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/overlays/openamp-overlay-zynqmp.yaml
Log Message:
-----------
vendor/xilinx: meta-xilinx-standalone-experimental: Update to work with latest sources
As there has been a re-structuring of meta-openamp, there was a regression
in support. This patch ensures that using latest SDT and OpenAMP overlays works
with latest Lopper to generate OpenAMP DTs and apps for Versal and ZU+
Signed-off-by: Ben Levinsky <ben.levinsky(a)amd.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 246540f3d6fd9bd86d6ae82c68d285570076670b
https://github.com/OpenAMP/open-amp/commit/246540f3d6fd9bd86d6ae82c68d28557…
Author: Guiding Li <liguiding1(a)xiaomi.com>
Date: 2023-03-07 (Tue, 07 Mar 2023)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg: do cache_invalidate() when real data returned
This is a bugfix when open VIRTIO_CACHED_BUFFERS
Signed-off-by: Guiding Li <liguiding1(a)xiaomi.com>
Branch: refs/heads/master-next
Home: https://github.com/OpenAMP/meta-openamp
Commit: 507e7839dd85ce990779577016659104da512aa5
https://github.com/OpenAMP/meta-openamp/commit/507e7839dd85ce99077957701665…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-21 (Mon, 21 Nov 2022)
Changed paths:
R recipes-openamp/rpmsg-examples/rpmsg-echo-test/LICENSE
R recipes-openamp/rpmsg-examples/rpmsg-echo-test/Makefile
R recipes-openamp/rpmsg-examples/rpmsg-echo-test/echo_test.c
M recipes-openamp/rpmsg-examples/rpmsg-echo-test_1.0.bb
A recipes-openamp/rpmsg-examples/rpmsg-example.inc
R recipes-openamp/rpmsg-examples/rpmsg-mat-mul/LICENSE
R recipes-openamp/rpmsg-examples/rpmsg-mat-mul/Makefile
R recipes-openamp/rpmsg-examples/rpmsg-mat-mul/mat_mul_demo.c
M recipes-openamp/rpmsg-examples/rpmsg-mat-mul_1.0.bb
R recipes-openamp/rpmsg-examples/rpmsg-proxy-app/LICENSE
R recipes-openamp/rpmsg-examples/rpmsg-proxy-app/Makefile
R recipes-openamp/rpmsg-examples/rpmsg-proxy-app/proxy_app.c
R recipes-openamp/rpmsg-examples/rpmsg-proxy-app/proxy_app.h
M recipes-openamp/rpmsg-examples/rpmsg-proxy-app_1.0.bb
Log Message:
-----------
recipes-openamp: get rpmsg apps from new repo
remove rpmsg-echo-test, rpmsg-mat-mul and rpmsg-proxy-app
source files and modify relative recipe to sync code from
openamp-system-reference repo
Refactored rpmsg-example.inc by Bill Mills
* set a real and useful SHA1 hash by default so no AUTOREV
* Allow SRCREV to be overridden in mass in the local.conf file
* (:pn-xxx override is also possible)
* removed sha256sum, not used for git
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Commit: 70e85419c256266c85ac8a226596fccf7ad4b694
https://github.com/OpenAMP/meta-openamp/commit/70e85419c256266c85ac8a226596…
Author: Ben Levinsky <ben.levinsky(a)xilinx.com>
Date: 2023-01-03 (Tue, 03 Jan 2023)
Changed paths:
A vendor/xilinx/recipes-openamp/open-amp/open-amp-dev_%.bbappend
A vendor/xilinx/recipes-openamp/open-amp/open-amp-xlnx.inc
M vendor/xilinx/recipes-openamp/open-amp/open-amp-xlnx_v2022.1.bb
M vendor/xilinx/recipes-openamp/open-amp/open-amp-xlnx_v2022.2.bb
M vendor/xilinx/recipes-openamp/open-amp/open-amp_%.bbappend
Log Message:
-----------
open-amp: demos: Ensure demos are added to all implementations
Signed-off-by: Ben Levinsky <ben.levinsky(a)xilinx.com>
Moved work under the vendor directory
Signed-off-by: Mark Hatle <mark.hatle(a)amd.com>
Commit: cf81c2476292f970a6bda9ffd8f5fd34f7723370
https://github.com/OpenAMP/meta-openamp/commit/cf81c2476292f970a6bda9ffd8f5…
Author: Ben Levinsky <ben.levinsky(a)amd.com>
Date: 2023-02-06 (Mon, 06 Feb 2023)
Changed paths:
M recipes-openamp/rpmsg-examples/rpmsg-example.inc
Log Message:
-----------
recipes-openamp: rpmsg-examples: Use latest commit
Latest commit updates usage of driver unload/load in rpmsg-kernel-space apps
Signed-off-by: Ben Levinsky <ben.levinsky(a)amd.com>
Compare: https://github.com/OpenAMP/meta-openamp/compare/cd5cc9274321...cf81c2476292
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: 7f1fb3b84edc1b3eab62a7ade7f88e99f7e78b93
https://github.com/OpenAMP/openamp-system-reference/commit/7f1fb3b84edc1b3e…
Author: Ben Levinsky <ben.levinsky(a)amd.com>
Date: 2023-02-06 (Mon, 06 Feb 2023)
Changed paths:
M examples/linux/rpmsg-echo-test/README.md
M examples/linux/rpmsg-echo-test/echo_test.c
M examples/linux/rpmsg-mat-mul/README.md
M examples/linux/rpmsg-mat-mul/mat_mul_demo.c
M examples/linux/rpmsg-proxy-app/README.md
M examples/linux/rpmsg-proxy-app/proxy_app.c
Log Message:
-----------
examples: linux: remove any loading or unloading of modules
As the requirements for RPMsg usage can change over time, remove the loading
and unloading of drivers in the Linux app. Instead put the onus on the user to
manage the driver.
Update documentation of demos in READMEs
Signed-off-by: Ben Levinsky <ben.levinsky(a)amd.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/meta-openamp
Commit: 70e85419c256266c85ac8a226596fccf7ad4b694
https://github.com/OpenAMP/meta-openamp/commit/70e85419c256266c85ac8a226596…
Author: Ben Levinsky <ben.levinsky(a)xilinx.com>
Date: 2023-01-03 (Tue, 03 Jan 2023)
Changed paths:
A vendor/xilinx/recipes-openamp/open-amp/open-amp-dev_%.bbappend
A vendor/xilinx/recipes-openamp/open-amp/open-amp-xlnx.inc
M vendor/xilinx/recipes-openamp/open-amp/open-amp-xlnx_v2022.1.bb
M vendor/xilinx/recipes-openamp/open-amp/open-amp-xlnx_v2022.2.bb
M vendor/xilinx/recipes-openamp/open-amp/open-amp_%.bbappend
Log Message:
-----------
open-amp: demos: Ensure demos are added to all implementations
Signed-off-by: Ben Levinsky <ben.levinsky(a)xilinx.com>
Moved work under the vendor directory
Signed-off-by: Mark Hatle <mark.hatle(a)amd.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/meta-openamp
Commit: 507e7839dd85ce990779577016659104da512aa5
https://github.com/OpenAMP/meta-openamp/commit/507e7839dd85ce99077957701665…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-21 (Mon, 21 Nov 2022)
Changed paths:
R recipes-openamp/rpmsg-examples/rpmsg-echo-test/LICENSE
R recipes-openamp/rpmsg-examples/rpmsg-echo-test/Makefile
R recipes-openamp/rpmsg-examples/rpmsg-echo-test/echo_test.c
M recipes-openamp/rpmsg-examples/rpmsg-echo-test_1.0.bb
A recipes-openamp/rpmsg-examples/rpmsg-example.inc
R recipes-openamp/rpmsg-examples/rpmsg-mat-mul/LICENSE
R recipes-openamp/rpmsg-examples/rpmsg-mat-mul/Makefile
R recipes-openamp/rpmsg-examples/rpmsg-mat-mul/mat_mul_demo.c
M recipes-openamp/rpmsg-examples/rpmsg-mat-mul_1.0.bb
R recipes-openamp/rpmsg-examples/rpmsg-proxy-app/LICENSE
R recipes-openamp/rpmsg-examples/rpmsg-proxy-app/Makefile
R recipes-openamp/rpmsg-examples/rpmsg-proxy-app/proxy_app.c
R recipes-openamp/rpmsg-examples/rpmsg-proxy-app/proxy_app.h
M recipes-openamp/rpmsg-examples/rpmsg-proxy-app_1.0.bb
Log Message:
-----------
recipes-openamp: get rpmsg apps from new repo
remove rpmsg-echo-test, rpmsg-mat-mul and rpmsg-proxy-app
source files and modify relative recipe to sync code from
openamp-system-reference repo
Refactored rpmsg-example.inc by Bill Mills
* set a real and useful SHA1 hash by default so no AUTOREV
* Allow SRCREV to be overridden in mass in the local.conf file
* (:pn-xxx override is also possible)
* removed sha256sum, not used for git
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 6244b2e0c4feb46b1d7f615eb51afa32058542c9
https://github.com/OpenAMP/libmetal/commit/6244b2e0c4feb46b1d7f615eb51afa32…
Author: Hiago De Franco <hiagofranco(a)gmail.com>
Date: 2023-01-03 (Tue, 03 Jan 2023)
Changed paths:
M README.md
Log Message:
-----------
readme: Fix broken openamp-rp mailing list link
Fix broken link that gives "page not found".
Signed-off-by: Hiago De Franco <hiagofranco(a)gmail.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: c5fa9ff0b282383586cd943863da5d525780d4b1
https://github.com/OpenAMP/open-amp/commit/c5fa9ff0b282383586cd943863da5d52…
Author: Hiago De Franco <hiagofranco(a)gmail.com>
Date: 2022-12-19 (Mon, 19 Dec 2022)
Changed paths:
M README.md
Log Message:
-----------
readme: Fix broken openamp-rp mailing list link
Fix broken link that gives "page not found".
Signed-off-by: Hiago De Franco <hiagofranco(a)gmail.com>
All,
For the benefit of new subscribers:
If you wish to be added to the meeting invite (to get calendar updates)
let me know.
Topic: OpenAMP RP Call
Time: Every two weeks on Thursdays starting Feb 25, 2021 04:00 PM London
Join Zoom Meeting
https://linaro-org.zoom.us/j/95276449391?pwd=eDRCQzlnZGN1VlUvaFNoZ0V3RlNEZz…
Meeting ID: 952 7644 9391
Passcode: 8250
One tap mobile
+13017158592,,95276449391# US (Washington DC)
+16465588656,,95276449391# US (New York)
Find your local number: https://linaro-org.zoom.us/u/ahCT9aRQm
Bill
--
Bill Mills
Principal Technical Consultant, Linaro
+1-240-643-0836
TZ: US Eastern
Work Schedule: Tues/Wed/Thur
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: c1f93a1b5d89a1376e009e06e2a2d8a7547a3b70
https://github.com/OpenAMP/open-amp/commit/c1f93a1b5d89a1376e009e06e2a2d8a7…
Author: Tammy Leino <tammy_leino(a)mentor.com>
Date: 2022-12-14 (Wed, 14 Dec 2022)
Changed paths:
M CMakeLists.txt
A Doxyfile
M cmake/depends.cmake
M cmake/options.cmake
A doc/CMakeLists.txt
A doc/Doxyfile.in
A doc/apps/echo_test/README.md
A doc/apps/matrix_multiply/README.md
A doc/apps/rpc_demo/README.md
A doc/data-structure.md
A doc/img-src/coprocessor-rpmsg-ns-dynamic.gv
A doc/img-src/coprocessor-rpmsg-ns.gv
A doc/img-src/coprocessor-rpmsg-static-ep.gv
A doc/img-src/gen-graph.py
A doc/img-src/rproc-lcm-state-machine.gv
A doc/img/coprocessor-rpmsg-ns-dynamic.png
A doc/img/coprocessor-rpmsg-ns.png
A doc/img/coprocessor-rpmsg-static-ep.png
A doc/img/rproc-lcm-state-machine.png
A doc/openamp.png
A doc/remoteproc-design.md
A doc/rpmsg-design.md
R docs/apps/echo_test/README.md
R docs/apps/matrix_multiply/README.md
R docs/apps/rpc_demo/README.md
R docs/data-structure.md
R docs/img-src/coprocessor-rpmsg-ns-dynamic.gv
R docs/img-src/coprocessor-rpmsg-ns.gv
R docs/img-src/coprocessor-rpmsg-static-ep.gv
R docs/img-src/gen-graph.py
R docs/img-src/rproc-lcm-state-machine.gv
R docs/img/coprocessor-rpmsg-ns-dynamic.png
R docs/img/coprocessor-rpmsg-ns.png
R docs/img/coprocessor-rpmsg-static-ep.png
R docs/img/rproc-lcm-state-machine.png
R docs/remoteproc-design.md
R docs/rpmsg-design.md
Log Message:
-----------
Added build for Doxygen docs
Build workflow will generate html files from source if Doxygen is present.
Signed-off-by: Tammy Leino <tammy_leino(a)mentor.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: 1e91a368c674574e1eea70f495891a0b814952e4
https://github.com/OpenAMP/openamp-system-reference/commit/1e91a368c674574e…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-12-13 (Tue, 13 Dec 2022)
Changed paths:
M examples/linux/rpmsg-echo-test/README.md
M examples/linux/rpmsg-mat-mul/README.md
M examples/linux/rpmsg-proxy-app/README.md
Log Message:
-----------
examples: Modify README formatting
Current README.md contains many titles with # prefix of each line.
It generates lots of indexes when these README files are linked in
openamp-docs repo.
Remove redundant # prefix. Only keep it for demo title, compilation steps
and demo run steps. This way, openamp-docs generates minimal index in table
of content.
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: a48ec036fd1a5522760e5ac9b94938280461d780
https://github.com/OpenAMP/libmetal/commit/a48ec036fd1a5522760e5ac9b9493828…
Author: Sergei Korneichuk <sergei.korneichuk(a)amd.com>
Date: 2022-12-13 (Tue, 13 Dec 2022)
Changed paths:
M examples/system/freertos/zynqmp_r5/zynqmp_amp_demo/ipi_latency_demod.c
M examples/system/freertos/zynqmp_r5/zynqmp_amp_demo/ipi_shmem_demod.c
M examples/system/freertos/zynqmp_r5/zynqmp_amp_demo/shmem_atomic_demod.c
M examples/system/freertos/zynqmp_r5/zynqmp_amp_demo/shmem_latency_demod.c
M examples/system/freertos/zynqmp_r5/zynqmp_amp_demo/shmem_throughput_demod.c
M examples/system/generic/zynqmp_r5/zynqmp_amp_demo/common.h
M examples/system/generic/zynqmp_r5/zynqmp_amp_demo/ipi_latency_demod.c
M examples/system/generic/zynqmp_r5/zynqmp_amp_demo/ipi_shmem_demod.c
M examples/system/generic/zynqmp_r5/zynqmp_amp_demo/shmem_atomic_demod.c
M examples/system/generic/zynqmp_r5/zynqmp_amp_demo/shmem_latency_demod.c
M examples/system/generic/zynqmp_r5/zynqmp_amp_demo/shmem_throughput_demod.c
M examples/system/linux/zynqmp/zynqmp_amp_demo/common.h
M examples/system/linux/zynqmp/zynqmp_amp_demo/ipi_latency_demo.c
M examples/system/linux/zynqmp/zynqmp_amp_demo/ipi_shmem_demo.c
M examples/system/linux/zynqmp/zynqmp_amp_demo/shmem_atomic_demo.c
M examples/system/linux/zynqmp/zynqmp_amp_demo/shmem_latency_demo.c
M examples/system/linux/zynqmp/zynqmp_amp_demo/shmem_throughput_demo.c
Log Message:
-----------
examples: use atomic_flag type, __sync functions
Use atomic_flag type and the GCC __sync built-in functions for atomic
memory access. Initialize using ATOMIC_FLAG_INIT as a compound literal
or a cast if scalar type depending on which atomic.h is used.
The Linux client clears shared memory in ipi_shmem_echo().
Do not clear it again from the RPU in ipi_shmem_echod() to avoid a race.
Signed-off-by: Sergei Korneichuk <sergei.korneichuk(a)amd.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: a810894247026beb51fc4ef8eb8399ec266ef39b
https://github.com/OpenAMP/openamp-system-reference/commit/a810894247026beb…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-12-07 (Wed, 07 Dec 2022)
Changed paths:
A examples/linux/dts/xilinx/README.md
A examples/linux/dts/xilinx/zcu102-openamp-lockstep.dts
A examples/linux/dts/xilinx/zcu102-openamp-split.dts
Log Message:
-----------
examples: Add zcu102 dts
The base dts is taken from Xilinx Yocto 2022.1_update3 release.
locstep.dts configures RPU and TCM in lockstep mode and split.dts contains
RPU and TCM in split mode
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Commit: 8ffce20c8c00bf4f320c57e8cf6e4e1993f0ed4d
https://github.com/OpenAMP/openamp-system-reference/commit/8ffce20c8c00bf4f…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-12-07 (Wed, 07 Dec 2022)
Changed paths:
A examples/linux/dts/.gitignore
Log Message:
-----------
examples: dts: Add .gitignore file
Ignore any *.dtb files
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Compare: https://github.com/OpenAMP/openamp-system-reference/compare/732628bdee53...…
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: 88e34fcac93a12da8ea6b3e84a586acf0d70701f
https://github.com/OpenAMP/openamp-system-reference/commit/88e34fcac93a12da…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-12-07 (Wed, 07 Dec 2022)
Changed paths:
R examples/linux/rpmsg-echo-test/README
A examples/linux/rpmsg-echo-test/README.md
R examples/linux/rpmsg-mat-mul/README
A examples/linux/rpmsg-mat-mul/README.md
R examples/linux/rpmsg-proxy-app/README
A examples/linux/rpmsg-proxy-app/README.md
Log Message:
-----------
examples: style README file with markdown
Markdown formatting helps to separate headings with body description and code.
Rename current README files to README.md and format with markdown syntax.
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Commit: 732628bdee53e56a8f72310840a583b6db15da07
https://github.com/OpenAMP/openamp-system-reference/commit/732628bdee53e56a…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-12-07 (Wed, 07 Dec 2022)
Changed paths:
M examples/linux/rpmsg-echo-test/README.md
M examples/linux/rpmsg-mat-mul/README.md
M examples/linux/rpmsg-proxy-app/README.md
Log Message:
-----------
examples: linux: add "How to" steps from Xilinx zcu102 platform
Add link reference of instructions to compile RPU firmware from openamp library.
Add steps to run linux demos on Xilinx ZynqMP zcu102 board or platform.
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Compare: https://github.com/OpenAMP/openamp-system-reference/compare/36287c851769...…
Branch: refs/heads/virtio-exp
Home: https://github.com/OpenAMP/open-amp
Commit: ba0c59f8a314a616029add5e00d38226320a7200
https://github.com/OpenAMP/open-amp/commit/ba0c59f8a314a616029add5e00d38226…
Author: Dan Milea <dan.milea(a)windriver.com>
Date: 2022-12-01 (Thu, 01 Dec 2022)
Changed paths:
M cmake/options.cmake
M lib/include/openamp/virtio_mmio.h
A lib/include/openamp/virtio_mmio_hvl.h
M lib/virtio/virtqueue.c
M lib/virtio_mmio/CMakeLists.txt
M lib/virtio_mmio/virtio_mmio.c
A lib/virtio_mmio/virtio_mmio_hvl.c
Log Message:
-----------
virtio-mmio: hypervisor-less mode
Added support for hypervisor-less virtio.
Signed-off-by: Dan Milea <dan.milea(a)windriver.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 3586171a46bce1c625a4baf8f426d007eb3548ee
https://github.com/OpenAMP/open-amp/commit/3586171a46bce1c625a4baf8f426d007…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-11-28 (Mon, 28 Nov 2022)
Changed paths:
M apps/examples/linux_rpc_demo/linux_rpc_demo.c
M apps/examples/linux_rpc_demo/linux_rpc_demod.c
M apps/examples/nocopy_echo/rpmsg-nocopy-ping.c
M apps/tests/msg/rpmsg-nocopy-ping.c
Log Message:
-----------
apps: Fix warnings about declaration of shadows variables
fix warnings reported by gcc with compilation flag '-Wshadow'
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: 081172c53ca863f06608348f8e076b0cf7dc8bc6
https://github.com/OpenAMP/open-amp/commit/081172c53ca863f06608348f8e076b0c…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-11-28 (Mon, 28 Nov 2022)
Changed paths:
M .github/actions/build_ci/entrypoint.sh
Log Message:
-----------
CI: add more build warning checks and force them to error.
Add CMAKE_C_FLAGS warnings to highlight potential issue:
"-Wall -Wextra -Wshadow -Wunused-but-set-variable"
And force warning as error with "-Werror"
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Compare: https://github.com/OpenAMP/open-amp/compare/452510d946d6...081172c53ca8
Branch: refs/heads/virtio-exp
Home: https://github.com/OpenAMP/open-amp
Commit: 350c20789493945510a26eaa3287ea7b4f8c3a5e
https://github.com/OpenAMP/open-amp/commit/350c20789493945510a26eaa3287ea7b…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-11-23 (Wed, 23 Nov 2022)
Changed paths:
M .github/actions/build_ci/entrypoint.sh
Log Message:
-----------
CI: fix Zephyr build issue resulting from the introduction of sysbuild
"Sysbuild is a higher-level build system that can be used to combine
multiple other build systems together"
Add the option by default for all platform as it is compatible with
a single image.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 452510d946d68f92b116b0cf71dea0daf513d906
https://github.com/OpenAMP/open-amp/commit/452510d946d68f92b116b0cf71dea0da…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-11-23 (Wed, 23 Nov 2022)
Changed paths:
M .github/actions/build_ci/entrypoint.sh
Log Message:
-----------
CI: fix Zephyr build issue resulting from the introduction of sysbuild
"Sysbuild is a higher-level build system that can be used to combine
multiple other build systems together"
Add the option by default for all platform as it is compatible with
a single image.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Branch: refs/heads/master-next
Home: https://github.com/OpenAMP/meta-openamp
Commit: 70ef735bba1f154dd97c32ab2d206477b3078455
https://github.com/OpenAMP/meta-openamp/commit/70ef735bba1f154dd97c32ab2d20…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-09 (Wed, 09 Nov 2022)
Changed paths:
R recipes-openamp/libmetal/libmetal-xlnx_v2022.1.bb
R recipes-openamp/libmetal/libmetal-xlnx_v2022.2.bb
R recipes-openamp/open-amp/open-amp-xlnx_v2022.1.bb
R recipes-openamp/open-amp/open-amp-xlnx_v2022.2.bb
A vendor/xilinx/recipes-openamp/libmetal/libmetal-xlnx_v2022.1.bb
A vendor/xilinx/recipes-openamp/libmetal/libmetal-xlnx_v2022.2.bb
A vendor/xilinx/recipes-openamp/open-amp/open-amp-xlnx_v2022.1.bb
A vendor/xilinx/recipes-openamp/open-amp/open-amp-xlnx_v2022.2.bb
Log Message:
-----------
Move libmetal-xlnx and open-amp-xlnx to the Xilinx vendor area
Beside the move, the include needed to be modified since we're re-using the
core libmetal/open-amp inc file.
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: dc8616778de950a0f168f5e5c3afb3ad81baf0a3
https://github.com/OpenAMP/meta-openamp/commit/dc8616778de950a0f168f5e5c3af…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
A recipes-openamp/libmetal/libmetal-dev_git.bb
M recipes-openamp/libmetal/libmetal.inc
R recipes-openamp/libmetal/libmetal_git.bb
Log Message:
-----------
libmetal: Allow for multiple providers, and selection with PREFERRED_PROVIDER
Follow the example of the linux-yocto recipe, and allow for multiple
providers, including the base libmetal, libmetal-dev and optional
libmetal-<vendor> recipes.
libmetal-dev was also modified that only if selected will it use AUTOREV
this ensures on a build w/o network access we don't get a failure evaluating
the AUTOREV.
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: 905dd8e62122ee0e68c7ea1b10b25b13b651f004
https://github.com/OpenAMP/meta-openamp/commit/905dd8e62122ee0e68c7ea1b10b2…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
A recipes-openamp/open-amp/open-amp-dev_git.bb
M recipes-openamp/open-amp/open-amp.inc
R recipes-openamp/open-amp/open-amp_git.bb
Log Message:
-----------
open-amp: Allow for multiple providers, and selection with PREFERRED_PROVIDER
Like libmetal, follow the example of libmetal and allow for multiple
providers, including the base open-amp, open-amp-dev and optional
open-amp-<vendor> recipes.
open-amp-dev was also modified that only if selected will it use AUTOREV.
This ensures a build w/o network access doesn't get a failure when
evaluating the AUTOREV.
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: 197a5ec03831f3101968bc9931f98c1a8f350b54
https://github.com/OpenAMP/meta-openamp/commit/197a5ec03831f3101968bc9931f9…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
A vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/libmetal/libmetal-xlnx-standalone.bb
R vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/libmetal/libmetal_standalone.bb
A vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/open-amp-decoupling.bb
A vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/open-amp-standalone.bb
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
Log Message:
-----------
vendor/xilinx: Rename alternative experimental open-amp and libmetal version
The versions were renamed so that they can now be selected using
PREFERRED_PROVIDER.
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: 6a9a0724381fd37eedfdbd96e64d736a1fe57e1a
https://github.com/OpenAMP/meta-openamp/commit/6a9a0724381fd37eedfdbd96e64d…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
M vendor/xilinx/layer.inc
Log Message:
-----------
vendor/xilinx/layer.inc: Blacklisting is no longer required
Additionally PNBLACKLIST is no longer supported in newer releases,
This can throw an error if enabled.
Reported-by: Varalaxmi Bingi <varalaxmi.bingi(a)xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: 8f65620d127daeb47acb12e817d688ed867be2b2
https://github.com/OpenAMP/meta-openamp/commit/8f65620d127daeb47acb12e817d6…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
M conf/layer.conf
M vendor/xilinx/layer.inc
Log Message:
-----------
layer.conf: Rework vendor specific inclusions
Including the vendor layer information using ${@...} syntax is not reliable
as the order of the BBFILES_COLLECTIONS can change depending on layer.conf
and other factors.
Instead move to include all of the vendor layer.inc files, but set the rule
that a layer.inc file must only use BBFILES_DYNAMIC and any other settings
must not conflict with non-vendor or other potential vendor's setitngs.
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: 3417e2c42fcff2a8aa2c293b36e9cb64adc1dd32
https://github.com/OpenAMP/meta-openamp/commit/3417e2c42fcff2a8aa2c293b36e9…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
M vendor/xilinx/recipes-openamp/open-amp/open-amp-xlnx_v2022.2.bb
Log Message:
-----------
vendor/xilinx open-amp-xlnx: Point to vendor open-amp fork
The specific commit is only available in the vendor's fork and not the
full open-amp tree.
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: cd5cc9274321ea9d808a7800cfcba26320cf53a5
https://github.com/OpenAMP/meta-openamp/commit/cd5cc9274321ea9d808a7800cfcb…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
M recipes-openamp/open-amp/open-amp.inc
Log Message:
-----------
open-amp: Fix ALLOW_EMPTY for demos package
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Compare: https://github.com/OpenAMP/meta-openamp/compare/1e06a82f039c...cd5cc9274321
Branch: refs/heads/master
Home: https://github.com/OpenAMP/meta-openamp
Commit: 70ef735bba1f154dd97c32ab2d206477b3078455
https://github.com/OpenAMP/meta-openamp/commit/70ef735bba1f154dd97c32ab2d20…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-09 (Wed, 09 Nov 2022)
Changed paths:
R recipes-openamp/libmetal/libmetal-xlnx_v2022.1.bb
R recipes-openamp/libmetal/libmetal-xlnx_v2022.2.bb
R recipes-openamp/open-amp/open-amp-xlnx_v2022.1.bb
R recipes-openamp/open-amp/open-amp-xlnx_v2022.2.bb
A vendor/xilinx/recipes-openamp/libmetal/libmetal-xlnx_v2022.1.bb
A vendor/xilinx/recipes-openamp/libmetal/libmetal-xlnx_v2022.2.bb
A vendor/xilinx/recipes-openamp/open-amp/open-amp-xlnx_v2022.1.bb
A vendor/xilinx/recipes-openamp/open-amp/open-amp-xlnx_v2022.2.bb
Log Message:
-----------
Move libmetal-xlnx and open-amp-xlnx to the Xilinx vendor area
Beside the move, the include needed to be modified since we're re-using the
core libmetal/open-amp inc file.
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: dc8616778de950a0f168f5e5c3afb3ad81baf0a3
https://github.com/OpenAMP/meta-openamp/commit/dc8616778de950a0f168f5e5c3af…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
A recipes-openamp/libmetal/libmetal-dev_git.bb
M recipes-openamp/libmetal/libmetal.inc
R recipes-openamp/libmetal/libmetal_git.bb
Log Message:
-----------
libmetal: Allow for multiple providers, and selection with PREFERRED_PROVIDER
Follow the example of the linux-yocto recipe, and allow for multiple
providers, including the base libmetal, libmetal-dev and optional
libmetal-<vendor> recipes.
libmetal-dev was also modified that only if selected will it use AUTOREV
this ensures on a build w/o network access we don't get a failure evaluating
the AUTOREV.
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: 905dd8e62122ee0e68c7ea1b10b25b13b651f004
https://github.com/OpenAMP/meta-openamp/commit/905dd8e62122ee0e68c7ea1b10b2…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
A recipes-openamp/open-amp/open-amp-dev_git.bb
M recipes-openamp/open-amp/open-amp.inc
R recipes-openamp/open-amp/open-amp_git.bb
Log Message:
-----------
open-amp: Allow for multiple providers, and selection with PREFERRED_PROVIDER
Like libmetal, follow the example of libmetal and allow for multiple
providers, including the base open-amp, open-amp-dev and optional
open-amp-<vendor> recipes.
open-amp-dev was also modified that only if selected will it use AUTOREV.
This ensures a build w/o network access doesn't get a failure when
evaluating the AUTOREV.
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: 197a5ec03831f3101968bc9931f98c1a8f350b54
https://github.com/OpenAMP/meta-openamp/commit/197a5ec03831f3101968bc9931f9…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
A vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/libmetal/libmetal-xlnx-standalone.bb
R vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/libmetal/libmetal_standalone.bb
A vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/open-amp-decoupling.bb
A vendor/xilinx/meta-xilinx-standalone-experimental/recipes-openamp/open-amp/open-amp-standalone.bb
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
Log Message:
-----------
vendor/xilinx: Rename alternative experimental open-amp and libmetal version
The versions were renamed so that they can now be selected using
PREFERRED_PROVIDER.
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: 6a9a0724381fd37eedfdbd96e64d736a1fe57e1a
https://github.com/OpenAMP/meta-openamp/commit/6a9a0724381fd37eedfdbd96e64d…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
M vendor/xilinx/layer.inc
Log Message:
-----------
vendor/xilinx/layer.inc: Blacklisting is no longer required
Additionally PNBLACKLIST is no longer supported in newer releases,
This can throw an error if enabled.
Reported-by: Varalaxmi Bingi <varalaxmi.bingi(a)xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: 8f65620d127daeb47acb12e817d688ed867be2b2
https://github.com/OpenAMP/meta-openamp/commit/8f65620d127daeb47acb12e817d6…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
M conf/layer.conf
M vendor/xilinx/layer.inc
Log Message:
-----------
layer.conf: Rework vendor specific inclusions
Including the vendor layer information using ${@...} syntax is not reliable
as the order of the BBFILES_COLLECTIONS can change depending on layer.conf
and other factors.
Instead move to include all of the vendor layer.inc files, but set the rule
that a layer.inc file must only use BBFILES_DYNAMIC and any other settings
must not conflict with non-vendor or other potential vendor's setitngs.
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: 3417e2c42fcff2a8aa2c293b36e9cb64adc1dd32
https://github.com/OpenAMP/meta-openamp/commit/3417e2c42fcff2a8aa2c293b36e9…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
M vendor/xilinx/recipes-openamp/open-amp/open-amp-xlnx_v2022.2.bb
Log Message:
-----------
vendor/xilinx open-amp-xlnx: Point to vendor open-amp fork
The specific commit is only available in the vendor's fork and not the
full open-amp tree.
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: cd5cc9274321ea9d808a7800cfcba26320cf53a5
https://github.com/OpenAMP/meta-openamp/commit/cd5cc9274321ea9d808a7800cfcb…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
M recipes-openamp/open-amp/open-amp.inc
Log Message:
-----------
open-amp: Fix ALLOW_EMPTY for demos package
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Compare: https://github.com/OpenAMP/meta-openamp/compare/1e06a82f039c...cd5cc9274321
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: cd4fb67a4f5080665bc9d31c8272f7c411e037c2
https://github.com/OpenAMP/libmetal/commit/cd4fb67a4f5080665bc9d31c8272f7c4…
Author: Manikanta Sreeram <manikanta.sreeram(a)xilinx.com>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
M LICENSE.md
Log Message:
-----------
Update LICENSE.md to cover CI test scripts
Update LICENSE.md with full and SPDX identifier details.
Note: Neither Apache nor GPL are used by the libmetal library itself.
Signed-off-by: Manikanta Sreeram <manikanta.sreeram(a)xilinx.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: ea2b8941385f47b655306deed030d495471caf48
https://github.com/OpenAMP/libmetal/commit/ea2b8941385f47b655306deed030d495…
Author: Carlo Caione <ccaione(a)baylibre.com>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
M lib/system/zephyr/cache.h
Log Message:
-----------
zephyr: cache: Use new cache API
Use the new cache API for the cache hooks.
Signed-off-by: Carlo Caione <ccaione(a)baylibre.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: 15550e1f1e1437dde5f8c22e01b488de641ec19e
https://github.com/OpenAMP/openamp-system-reference/commit/15550e1f1e1437dd…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-16 (Wed, 16 Nov 2022)
Changed paths:
M examples/linux/rpmsg-proxy-app/proxy_app.c
Log Message:
-----------
examples: rpmsg-proxy-app: fix rpmsg char dev path
rpmsg_dev_name string needed to find correct rpmsg_char
device. This is required for the linux kernel >= 6.0.
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: 1d4ec0cecb68312d61dd7fe6387f390e2c8a8089
https://github.com/OpenAMP/openamp-system-reference/commit/1d4ec0cecb68312d…
Author: Bjorn Andersson <bjorn.andersson(a)linaro.org>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
A examples/linux/rpmsg-utils/LICENSE
A examples/linux/rpmsg-utils/Makefile
A examples/linux/rpmsg-utils/README
A examples/linux/rpmsg-utils/rpmsgexport.c
Log Message:
-----------
rpmsgexport implementation
Signed-off-by: Bjorn Andersson <bjorn.andersson(a)linaro.org>
Commit: 7cc1e61220e11ad0327d63f574ccef0d71f49258
https://github.com/OpenAMP/openamp-system-reference/commit/7cc1e61220e11ad0…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M examples/linux/rpmsg-utils/Makefile
M examples/linux/rpmsg-utils/README
A examples/linux/rpmsg-utils/rpmsg_export_ept.c
R examples/linux/rpmsg-utils/rpmsgexport.c
Log Message:
-----------
Rename rpmsgexport to rpmsg_export_ept
Before adding new binary rename it for binaries naming coherency
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: 774e7dfd8276c0a07430c3cdac12db403ee1d59c
https://github.com/OpenAMP/openamp-system-reference/commit/774e7dfd8276c0a0…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M examples/linux/rpmsg-utils/Makefile
M examples/linux/rpmsg-utils/README
A examples/linux/rpmsg-utils/rpmsg_destroy_ept.c
Log Message:
-----------
add rpmsg_destroy_ept binary
Add util to destroy a rpmsg_char endpoint
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: 74fae4949c1f5dde30e2f0887c829914f85f1012
https://github.com/OpenAMP/openamp-system-reference/commit/74fae4949c1f5dde…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M examples/linux/rpmsg-utils/Makefile
M examples/linux/rpmsg-utils/README
A examples/linux/rpmsg-utils/rpmsg_ping.c
Log Message:
-----------
Add ping test to test /dev/rpmsgX
The ping test can test up to 2 /dev/rpmsgX device devices in parallel.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: 51f6dd8a3ced60001424db98e473d5919db5332c
https://github.com/OpenAMP/openamp-system-reference/commit/51f6dd8a3ced6000…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M examples/linux/rpmsg-utils/Makefile
M examples/linux/rpmsg-utils/README
A examples/linux/rpmsg-utils/rpmsg_export_dev.c
Log Message:
-----------
Add rpmsg_export_dev
Add tool to handle the RPMSG_CREATE_DEV_IOCTL and
RPMSG_RELEASE_DEV_IOCTL.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Compare: https://github.com/OpenAMP/openamp-system-reference/compare/eb2b4d0c76e7...…
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: c20abf2489aa2a6c7da3e3c568a6c07405d712b0
https://github.com/OpenAMP/openamp-system-reference/commit/c20abf2489aa2a6c…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
A examples/zephyr/rpmsg_multi_services/CMakeLists.txt
A examples/zephyr/rpmsg_multi_services/README.rst
A examples/zephyr/rpmsg_multi_services/boards/stm32mp157c_dk2.overlay
A examples/zephyr/rpmsg_multi_services/prj.conf
A examples/zephyr/rpmsg_multi_services/sample.yaml
A examples/zephyr/rpmsg_multi_services/src/CMakeLists.txt
A examples/zephyr/rpmsg_multi_services/src/README.rst
A examples/zephyr/rpmsg_multi_services/src/boards/stm32mp157c_dk2.overlay
A examples/zephyr/rpmsg_multi_services/src/main_remote.c
A examples/zephyr/rpmsg_multi_services/src/prj.conf
A examples/zephyr/rpmsg_multi_services/src/sample.yaml
Log Message:
-----------
zephyr: rpmsg_multi_services: duplicate the zephyr openamp_rsc_table sample
Create the rpmsg multiservices example by copying the zephyr
samples/subsys/ipc/openamp_rsc_table sample.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: be604bee68e27559aece7b37e1d3f6a144cbe4f0
https://github.com/OpenAMP/openamp-system-reference/commit/be604bee68e27559…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M examples/zephyr/rpmsg_multi_services/src/main_remote.c
Log Message:
-----------
zephyr: rpmsg_multi_services: fix naming for the rpmsg_sample_client servicee
Correction of the naming of some variables, from "sc" to "cs",
when used for the rpmsg "sample client" service
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: 26b7d18d259ddc6b4bda034228d6d5b65b0f8987
https://github.com/OpenAMP/openamp-system-reference/commit/26b7d18d259ddc6b…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M examples/zephyr/rpmsg_multi_services/CMakeLists.txt
M examples/zephyr/rpmsg_multi_services/README.rst
M examples/zephyr/rpmsg_multi_services/prj.conf
R examples/zephyr/rpmsg_multi_services/sample.yaml
Log Message:
-----------
zephyr: rpmsg_multi_services: update project naming
This sample will be extend to demonstrate multi rpmsg channels in parallel
change the name of the project that is named "zephyr_openamp_rsc_table"
in Zephyr.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: 1389c4d9901ad16155f338bb026de10c1b83c829
https://github.com/OpenAMP/openamp-system-reference/commit/1389c4d9901ad161…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
A west.yml
Log Message:
-----------
manifest: add west manifest
add out of tree Zephyr manifest to allow to get the example
Commit: b2f0e46d936d931a369dde1deb244c585da37c5b
https://github.com/OpenAMP/openamp-system-reference/commit/b2f0e46d936d931a…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
A examples/zephyr/README.md
Log Message:
-----------
examples: zephyr: add README file
Add readme to explain how to setup and build environment
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: fc319f9da1adfeb05e863cf703a53f604d3a8d4e
https://github.com/OpenAMP/openamp-system-reference/commit/fc319f9da1adfeb0…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M examples/zephyr/rpmsg_multi_services/src/main_remote.c
Log Message:
-----------
examples: zephyr:rmpsg_multi_services: add a second TTY channel
Add a second TTY channel that could be instantiate by the remote side
using the name service announcement.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: d6bbe2298200f95e9f9b534fda3529d16ab3d506
https://github.com/OpenAMP/openamp-system-reference/commit/d6bbe2298200f95e…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M examples/zephyr/rpmsg_multi_services/src/main_remote.c
Log Message:
-----------
examples: zephyr:rmpsg_multi_services: add service bind/unbind support
Allow to bind a rpmsg_tty channel and unbind it
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: eb2b4d0c76e797287b2f87d90ac03ac147c3fa73
https://github.com/OpenAMP/openamp-system-reference/commit/eb2b4d0c76e79728…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M examples/zephyr/rpmsg_multi_services/src/main_remote.c
Log Message:
-----------
examples: zephyr:rmpsg_multi_services: Add rpmsg raw channel support
Add the support of a rpmsg raw channel that responds to Linux
rpmsg_char driver.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Compare: https://github.com/OpenAMP/openamp-system-reference/compare/950e45ebe735...…
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: 8c15815a5c54d7fcef599bfcf32a417d909b6d79
https://github.com/OpenAMP/openamp-system-reference/commit/8c15815a5c54d7fc…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
A examples/linux/rpmsg-mat-mul/Makefile
A examples/linux/rpmsg-mat-mul/mat_mul_demo.c
Log Message:
-----------
examples: move rpmsg-mat-mul app from meta-openamp
rpmsg-mat-mul application demonstrates simple IPC communication between
Host and Remote processor using rpmsg framework in linux kernel.
meta-openamp layer must contain only Yocto related files and not source files.
Move this application source code to openamp-system-reference repository.
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Commit: 283013371b272da5e67fd6919b6e98071ff1379b
https://github.com/OpenAMP/openamp-system-reference/commit/283013371b272da5…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
A examples/linux/rpmsg-mat-mul/README
Log Message:
-----------
examples: rpmsg-mat-mul: Add README
README file for rpmsg-mat-mul explains app functionality
and points to corresponding firmware to run on remote processor
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Commit: 91e9b49abe53329757673224a1ff172db8c6f0e5
https://github.com/OpenAMP/openamp-system-reference/commit/91e9b49abe533297…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M examples/linux/rpmsg-mat-mul/mat_mul_demo.c
Log Message:
-----------
examples: rpmsg-mat-mul: fix command line options
Print correct options to pass to command line if invalid option is passed.
use strtol over atoi to make sure we accept base 10 number as command line
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Commit: 32e714cd73b5d5b7b71a4bfe94a5d92e0cf456f6
https://github.com/OpenAMP/openamp-system-reference/commit/32e714cd73b5d5b7…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
A examples/linux/rpmsg-proxy-app/Makefile
A examples/linux/rpmsg-proxy-app/proxy_app.c
A examples/linux/rpmsg-proxy-app/proxy_app.h
Log Message:
-----------
examples: move rpmsg-proxy-app from meta-openamp
rpmsg-proxy-app demonstrates use of proxy service to use host file system.
This app also demonstrates standard IO redirection of remote processor to
host processor's stdIO.
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Commit: 77f94efb52b81616a01eb74f4b901f0302123b65
https://github.com/OpenAMP/openamp-system-reference/commit/77f94efb52b81616…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
A examples/linux/rpmsg-proxy-app/README
Log Message:
-----------
examples: rpmsg-proxy-app: add README
README file explains operation of this app and how to interact with
this demo. It also points to corresponding firmware of remote processor.
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Commit: 5439ca1f9abec61a3c096f2851c89f514fea144e
https://github.com/OpenAMP/openamp-system-reference/commit/5439ca1f9abec61a…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M examples/linux/rpmsg-proxy-app/proxy_app.c
Log Message:
-----------
examples: rpmsg-proxy-app: remove redundant code
Remove unused command line parsing and other unused code
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Commit: 950e45ebe7359fe288bd7f22899fc12282c631f5
https://github.com/OpenAMP/openamp-system-reference/commit/950e45ebe7359fe2…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M examples/linux/rpmsg-mat-mul/mat_mul_demo.c
M examples/linux/rpmsg-proxy-app/proxy_app.c
Log Message:
-----------
examples: linux: fix rpmsg_ctrl interface path
As per kernel >= 6.0 rpmsg_ctrl* device will be available under
virtio*.rpmsg_ctrl.*.* directory. Make sure new changes are
backward compatibile with kernel < 6.0
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Compare: https://github.com/OpenAMP/openamp-system-reference/compare/5d4b284cdec9...…
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: 6470501769c127545a5d838faabdafd916cfd36f
https://github.com/OpenAMP/openamp-system-reference/commit/6470501769c12754…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
A LICENSE.md
Log Message:
-----------
Add LICENSE file
This project uses same license as openamp project.
So copy over open-amp project license file and add AMD copyrights line
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Commit: 8fdd792ac69ca44ca56bfa5f8c51d81c2029a115
https://github.com/OpenAMP/openamp-system-reference/commit/8fdd792ac69ca44c…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
A examples/linux/rpmsg-echo-test/Makefile
A examples/linux/rpmsg-echo-test/echo_test.c
Log Message:
-----------
Move rpmsg-echo-test examples from meta-openamp
examples directory will contain different apps demonstrating
various functionality of openamp framework
This particular app was moved from meta-openamp project as
meta-openamp is supposed to have only Yocto bitbake recipes and
not source files.
This app demonstrates fast IPC communication without data corruption
between Host and Remote processor. IPC communication is done via
rpmsg framework in kernelspace
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Commit: 001a2495f7f410b648e9d45cb96a1dcc7c96b4c9
https://github.com/OpenAMP/openamp-system-reference/commit/001a2495f7f410b6…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
A examples/linux/rpmsg-echo-test/README
Log Message:
-----------
rpmsg-echo-test: Add README file
README file describes functionality of this application.
It also contains information about corresponding remote firmware
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Commit: 68f9599c7524dc95d479dba96ec1678c024072d1
https://github.com/OpenAMP/openamp-system-reference/commit/68f9599c7524dc95…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M examples/linux/rpmsg-echo-test/echo_test.c
Log Message:
-----------
rpmsg-echo-test: fix app documentation
Fix description of the app and add SPDX license Identifier
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Commit: 8094c7794a9718735763c0572bce5fbf47e570e8
https://github.com/OpenAMP/openamp-system-reference/commit/8094c7794a971873…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M examples/linux/rpmsg-echo-test/echo_test.c
Log Message:
-----------
rpmsg-echo-test: fix command line option handling
Print help text if any unwanted command line option is passed.
Also use strtol over atoi to convert command line string to decimal
where required.
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Commit: 7984199ab2ee2b2e186b9afbcec685edcde85c76
https://github.com/OpenAMP/openamp-system-reference/commit/7984199ab2ee2b2e…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M examples/linux/rpmsg-echo-test/echo_test.c
Log Message:
-----------
rpmsg-echo-test: change ambiguous api name
rpmsg_create_ept name is used in open-amp library.
Change this API name to app_rpmsg_create_ept to avoid confusion
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Commit: 0a51535f424ab1e21bd7214865028d5284a8ccbe
https://github.com/OpenAMP/openamp-system-reference/commit/0a51535f424ab1e2…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M examples/linux/rpmsg-echo-test/echo_test.c
Log Message:
-----------
examples: get rpmsg_ctrl from new path
Kernel uses rpmsg_ctrl from virtio0.rpmsg_ctrl.0.0 directory.
Add this support without breaking backward compatibility
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Commit: d23da048dd9934eafdf5c1ca2ac611639965cc07
https://github.com/OpenAMP/openamp-system-reference/commit/d23da048dd9934ea…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M examples/linux/rpmsg-echo-test/echo_test.c
Log Message:
-----------
rpmsg-echo-test: use __progname
use __progname instead of hardcode binary name
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Commit: a79851d7ffb883184addcae02ffd3d1b75ea63bd
https://github.com/OpenAMP/openamp-system-reference/commit/a79851d7ffb88318…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M examples/linux/rpmsg-echo-test/echo_test.c
Log Message:
-----------
rpmsg-echo-test: modprobe rpmsg_ctrl driver
Attempt to probe rpmsg_ctrl driver for kernel >= 6.0.
If failed, then assume it's kernel < 6.0 and continue execution.
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Commit: 5d4b284cdec95a1b7485e4597f3de0aaf481ccea
https://github.com/OpenAMP/openamp-system-reference/commit/5d4b284cdec95a1b…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-11-15 (Tue, 15 Nov 2022)
Changed paths:
M examples/linux/rpmsg-echo-test/echo_test.c
Log Message:
-----------
rpmsg-echo-test: replace offensive terminology
replace "Master" with "Host"
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Compare: https://github.com/OpenAMP/openamp-system-reference/compare/c6ca3b15661a...…
Branch: refs/heads/master
Home: https://github.com/OpenAMP/meta-openamp
Commit: 49ddd1933e362c299310bab2571cb8a2a40fcfb2
https://github.com/OpenAMP/meta-openamp/commit/49ddd1933e362c299310bab2571c…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-08 (Tue, 08 Nov 2022)
Changed paths:
A recipes-openamp/libmetal/libmetal-xlnx_v2022.2.bb
M vendor/xilinx/recipes-openamp/libmetal/libmetal_%.bbappend
Log Message:
-----------
libmetal-xlnx: Merge in Xilinx 2022.2 release
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
(cherry picked from commit 8678b5740c8e46010742888787806757b179ba81)
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: 9f33f80721147ca15ac49d1e08fbba9859088d43
https://github.com/OpenAMP/meta-openamp/commit/9f33f80721147ca15ac49d1e08fb…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-08 (Tue, 08 Nov 2022)
Changed paths:
A recipes-openamp/open-amp/open-amp-xlnx_v2022.2.bb
M vendor/xilinx/recipes-openamp/open-amp/open-amp_%.bbappend
Log Message:
-----------
open-amp-xlnx: Merge in Xilinx 2022.2 release
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
(cherry picked from commit 889ec35932e2b009cb6b9ca87a33ce87a87291af)
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: 90519a331b5169a55fa332dc4b67855e9f5ef409
https://github.com/OpenAMP/meta-openamp/commit/90519a331b5169a55fa332dc4b67…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-08 (Tue, 08 Nov 2022)
Changed paths:
M conf/layer.conf
Log Message:
-----------
meta-openamp: declare the layer also compatible with langdale
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
(cherry picked from commit 7d3227ad0320e1a6d389f913fd0e4f552db43a5d)
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: 11dc317f784aa84110cdb515ae20b2d7208ce461
https://github.com/OpenAMP/meta-openamp/commit/11dc317f784aa84110cdb515ae20…
Author: Mark Hatle <mark.hatle(a)amd.com>
Date: 2022-11-08 (Tue, 08 Nov 2022)
Changed paths:
M vendor/xilinx/recipes-kernel/linux/linux-%.bbappend
R vendor/xilinx/recipes-kernel/linux/openamp-kmeta/cfg/remoteproc-zynqmp.cfg
R vendor/xilinx/recipes-kernel/linux/openamp-kmeta/cfg/remoteproc-zynqmp.scc
R vendor/xilinx/recipes-kernel/linux/openamp-kmeta/cfg/sparsevmemmap.cfg
R vendor/xilinx/recipes-kernel/linux/openamp-kmeta/cfg/sparsevmemmap.scc
A vendor/xilinx/recipes-kernel/linux/openamp-xilinx-kmeta/cfg/remoteproc-zynqmp.cfg
A vendor/xilinx/recipes-kernel/linux/openamp-xilinx-kmeta/cfg/remoteproc-zynqmp.scc
A vendor/xilinx/recipes-kernel/linux/openamp-xilinx-kmeta/cfg/sparsevmemmap.cfg
A vendor/xilinx/recipes-kernel/linux/openamp-xilinx-kmeta/cfg/sparsevmemmap.scc
Log Message:
-----------
vendor linux-%.bbappend: Move kmeta to vendor specific name
Re-using the base openamp-kmeta name meant that only this one was available
and not both the base and vendor version. Rename to vendor specific to
allow both paths to be available for parsing.
Signed-off-by: Mark Hatle <mark.hatle(a)amd.com>
(cherry picked from commit ac878a11dd9c15e09b32c5e504fa92e984f7ee58)
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: 1e06a82f039cb162930e984b00a38bec8dcdc7dd
https://github.com/OpenAMP/meta-openamp/commit/1e06a82f039cb162930e984b00a3…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2022-11-08 (Tue, 08 Nov 2022)
Changed paths:
M recipes-kernel/linux/openamp-kmeta/cfg/openamp.cfg
M recipes-kernel/linux/openamp-kmeta/cfg/remoteproc-arm64.cfg
M recipes-kernel/linux/openamp-kmeta/cfg/remoteproc-armv7a.cfg
Log Message:
-----------
kernel config fragments: add RPMSG_CTRL and RPMSG_TTY
Since 5.18 RPMSG_CTRL is separate from RPMSG_CHAR.
Enabled it as a module.
Older kernels will ignore this. You will get a warning.
Also enable RPMSG_TTY driver for TTY devices from RPMSG
This is done in the qemu and generic machines only for now.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Compare: https://github.com/OpenAMP/meta-openamp/compare/c00633a6ab8f...1e06a82f039c
Branch: refs/heads/master-next
Home: https://github.com/OpenAMP/meta-openamp
Commit: 49ddd1933e362c299310bab2571cb8a2a40fcfb2
https://github.com/OpenAMP/meta-openamp/commit/49ddd1933e362c299310bab2571c…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-08 (Tue, 08 Nov 2022)
Changed paths:
A recipes-openamp/libmetal/libmetal-xlnx_v2022.2.bb
M vendor/xilinx/recipes-openamp/libmetal/libmetal_%.bbappend
Log Message:
-----------
libmetal-xlnx: Merge in Xilinx 2022.2 release
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
(cherry picked from commit 8678b5740c8e46010742888787806757b179ba81)
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: 9f33f80721147ca15ac49d1e08fbba9859088d43
https://github.com/OpenAMP/meta-openamp/commit/9f33f80721147ca15ac49d1e08fb…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-08 (Tue, 08 Nov 2022)
Changed paths:
A recipes-openamp/open-amp/open-amp-xlnx_v2022.2.bb
M vendor/xilinx/recipes-openamp/open-amp/open-amp_%.bbappend
Log Message:
-----------
open-amp-xlnx: Merge in Xilinx 2022.2 release
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
(cherry picked from commit 889ec35932e2b009cb6b9ca87a33ce87a87291af)
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: 90519a331b5169a55fa332dc4b67855e9f5ef409
https://github.com/OpenAMP/meta-openamp/commit/90519a331b5169a55fa332dc4b67…
Author: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Date: 2022-11-08 (Tue, 08 Nov 2022)
Changed paths:
M conf/layer.conf
Log Message:
-----------
meta-openamp: declare the layer also compatible with langdale
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
(cherry picked from commit 7d3227ad0320e1a6d389f913fd0e4f552db43a5d)
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: 11dc317f784aa84110cdb515ae20b2d7208ce461
https://github.com/OpenAMP/meta-openamp/commit/11dc317f784aa84110cdb515ae20…
Author: Mark Hatle <mark.hatle(a)amd.com>
Date: 2022-11-08 (Tue, 08 Nov 2022)
Changed paths:
M vendor/xilinx/recipes-kernel/linux/linux-%.bbappend
R vendor/xilinx/recipes-kernel/linux/openamp-kmeta/cfg/remoteproc-zynqmp.cfg
R vendor/xilinx/recipes-kernel/linux/openamp-kmeta/cfg/remoteproc-zynqmp.scc
R vendor/xilinx/recipes-kernel/linux/openamp-kmeta/cfg/sparsevmemmap.cfg
R vendor/xilinx/recipes-kernel/linux/openamp-kmeta/cfg/sparsevmemmap.scc
A vendor/xilinx/recipes-kernel/linux/openamp-xilinx-kmeta/cfg/remoteproc-zynqmp.cfg
A vendor/xilinx/recipes-kernel/linux/openamp-xilinx-kmeta/cfg/remoteproc-zynqmp.scc
A vendor/xilinx/recipes-kernel/linux/openamp-xilinx-kmeta/cfg/sparsevmemmap.cfg
A vendor/xilinx/recipes-kernel/linux/openamp-xilinx-kmeta/cfg/sparsevmemmap.scc
Log Message:
-----------
vendor linux-%.bbappend: Move kmeta to vendor specific name
Re-using the base openamp-kmeta name meant that only this one was available
and not both the base and vendor version. Rename to vendor specific to
allow both paths to be available for parsing.
Signed-off-by: Mark Hatle <mark.hatle(a)amd.com>
(cherry picked from commit ac878a11dd9c15e09b32c5e504fa92e984f7ee58)
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Commit: 1e06a82f039cb162930e984b00a38bec8dcdc7dd
https://github.com/OpenAMP/meta-openamp/commit/1e06a82f039cb162930e984b00a3…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2022-11-08 (Tue, 08 Nov 2022)
Changed paths:
M recipes-kernel/linux/openamp-kmeta/cfg/openamp.cfg
M recipes-kernel/linux/openamp-kmeta/cfg/remoteproc-arm64.cfg
M recipes-kernel/linux/openamp-kmeta/cfg/remoteproc-armv7a.cfg
Log Message:
-----------
kernel config fragments: add RPMSG_CTRL and RPMSG_TTY
Since 5.18 RPMSG_CTRL is separate from RPMSG_CHAR.
Enabled it as a module.
Older kernels will ignore this. You will get a warning.
Also enable RPMSG_TTY driver for TTY devices from RPMSG
This is done in the qemu and generic machines only for now.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Signed-off-by: Mark Hatle <mark.hatle(a)kernel.crashing.org>
Compare: https://github.com/OpenAMP/meta-openamp/compare/49ddd1933e36%5E...1e06a82f0…
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 46d041808804f83a902a9f60fdfb6beffed22470
https://github.com/OpenAMP/open-amp/commit/46d041808804f83a902a9f60fdfb6bef…
Author: Ed Mooring <ed.mooring(a)gmail.com>
Date: 2022-11-04 (Fri, 04 Nov 2022)
Changed paths:
M apps/machine/zynqmp_r5/rsc_table.c
Log Message:
-----------
zynqmp_r5 resource table: Change notifyid for the virtio device.
1. At firmware build time, the resource table for the Xilinx zynqmp_r5
is set up with notifyid==0 for the rpmsg virtio device. The vrings are
set up with notifyid==1 for vring0 and notifyid==2 for vring1.
2. When the firmware is loaded onto the R5 via the Linux remoteproc sysfs
interface, the kernel remoteproc implementation ignores the notifyid
values for the vrings, and reallocates them, changing the resource
table. On the Xilinx configuration I tested on, this results in vring0
being allocated notifyid 0, and vring1 being allocated notifyid 1.
3. When the remote processor is started, it parses the resource table. When
it gets to the virtio device, it calls handle_vdev_rsc(), which
in turn calls remoteproc_allocate_id() with the vdev's notifyid of
0. This successfully returns 0. Then handle_vdev_rsc() goes through the
vrings. On vring0, it calls remoteproc_allocate_id(), with notifyid set to
0, because Linux changed vring0.notifyid from 1 to 0 in (2) above. This
results in remoteproc_allocate_id() returning RSC_NOTIFY_ID_ANY. This
causes handle_vdev_rsc() to return -RPROC_ERR_RSC_TAB_NP after commit
03c80a1, which causes the firmware startup to fail.
This appeared to work in previous versions, because
remoteproc_allocate_id() returning RSC_NOTIFY_ID_ANY was effectively
ignored, leaving the notifyid unchanged and allowing execution to
continue.
Set the value of notifyid for the virtio device (rvdev) to 31 to
avoid possible conflicts with the Linux imposed values.
Signed-off-by: Ed Mooring <ed.mooring(a)gmail.com>
Commit: 568d507be81a27230ba3f0260485f2ee699f5aa0
https://github.com/OpenAMP/open-amp/commit/568d507be81a27230ba3f0260485f2ee…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-11-04 (Fri, 04 Nov 2022)
Changed paths:
M VERSION
Log Message:
-----------
release: open-amp 2022.10.0
Set library version to 1.3.0
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Signed-off-by: Ed Mooring <ed.mooring(a)gmail.com>
Compare: https://github.com/OpenAMP/open-amp/compare/88d2e4ce38b8...568d507be81a
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 88d2e4ce38b8fe4af4ce84b2ec68a6b10a328169
https://github.com/OpenAMP/open-amp/commit/88d2e4ce38b8fe4af4ce84b2ec68a6b1…
Author: Ed Mooring <ed.mooring(a)gmail.com>
Date: 2022-11-04 (Fri, 04 Nov 2022)
Changed paths:
M apps/machine/zynqmp_r5/rsc_table.c
Log Message:
-----------
zynqmp_r5 resource table: Change notifyid for the virtio device.
1. At firmware build time, the resource table for the Xilinx zynqmp_r5
is set up with notifyid==0 for the rpmsg virtio device. The vrings are
set up with notifyid==1 for vring0 and notifyid==2 for vring1.
2. When the firmware is loaded onto the R5 via the Linux remoteproc sysfs
interface, the kernel remoteproc implementation ignores the notifyid
values for the vrings, and reallocates them, changing the resource
table. On the Xilinx configuration I tested on, this results in vring0
being allocated notifyid 0, and vring1 being allocated notifyid 1.
3. When the remote processor is started, it parses the resource table. When
it gets to the virtio device, it calls handle_vdev_rsc(), which
in turn calls remoteproc_allocate_id() with the vdev's notifyid of
0. This successfully returns 0. Then handle_vdev_rsc() goes through the
vrings. On vring0, it calls remoteproc_allocate_id(), with notifyid set to
0, because Linux changed vring0.notifyid from 1 to 0 in (2) above. This
results in remoteproc_allocate_id() returning RSC_NOTIFY_ID_ANY. This
causes handle_vdev_rsc() to return -RPROC_ERR_RSC_TAB_NP after commit
03c80a1, which causes the firmware startup to fail.
This appeared to work in previous versions, because
remoteproc_allocate_id() returning RSC_NOTIFY_ID_ANY was effectively
ignored, leaving the notifyid unchanged and allowing execution to
continue.
Set the value of notifyid for the virtio device (rvdev) to 31 to
avoid possible conflicts with the Linux imposed values.
Signed-off-by: Ed Mooring <ed.mooring(a)gmail.com>
Hi All,
I have 2 items for discussion for the community call tomorrow:
For the Remoteproc-core API rproc_get_by_child
I have a use case where I would like to call this on the current
rproc->device.
2 things:
1. At
https://github.com/torvalds/linux/blob/master/drivers/remoteproc/remoteproc…
There may be a bug here in that if the device is copied, then
device->type comparison will fail.
Can we change this to “if (!strncmp(dev->type->name, (&rproc_type)->name,
strlen((&rproc_type)->name)) ? That way even if the device is copied the
check will work.
1. For the same API, is it Ok to extend the for loop so it supports
search on the ‘current’ device passed in?
That is change
https://github.com/torvalds/linux/blob/master/drivers/remoteproc/remoteproc…
“for (dev = dev->parent; dev; dev = dev->parent) {“
to
“for (; dev; dev = dev->parent) {“
This way we can account for the current device having the rproc dev.
The reasoning for why this arises is that I have a use case where a driver
is trying to call rproc_boot() to establish an RPMsg connection.
(1) comes up because a device structure is copied so the comparison will
not work as currently constructed.
(2) comes up in our use case because the rproc structure device in an
internal driver doesn’t yet have a child to iterate up from. (2) is solved
in our use case by starting at the current device.
Thanks,
Ben
Hi All,
I have 2 items for discussion for the community call tomorrow:
For the Remoteproc-core API rproc_get_by_child
I have a use case where I would like to call this on the current
rproc->device.
2 things:
1. At [1]https://github.com/torvalds/linux/blob/master/drivers/remotep
roc/remoteproc_core.c#L2644 There may be a bug here in that if
the device is copied, then device->type comparison will fail.
Can we change this to “if (!strncmp(dev->type->name,
(&rproc_type)->name, strlen((&rproc_type)->name)) ? That way even if
the device is copied the check will work.
2. For the same API, is it Ok to extend the for loop so it supports
search on the ‘current’ device passed in?
That is
change [2]https://github.com/torvalds/linux/blob/master/drivers/remotep
roc/remoteproc_core.c#L2643
“for (dev = dev->parent; dev; dev = dev->parent) {“
to
“for (; dev; dev = dev->parent) {“
This way we can account for the current device having the rproc dev.
The reasoning for why this arises is that I have a use case where a
driver is trying to call rproc_boot() to establish an RPMsg connection.
(1) comes up because a device structure is copied so the comparison
will not work as currently constructed.
(2) comes up in our use case because the rproc structure device in an
internal driver doesn’t yet have a child to iterate up from. (2) is
solved in our use case by starting at the current device.
Thanks,
Ben
References
1. https://github.com/torvalds/linux/blob/master/drivers/remoteproc/remoteproc…
2. https://github.com/torvalds/linux/blob/master/drivers/remoteproc/remoteproc…
Hi all,
During the late stages of testing of the v2022.10 OpenAMP library, I ran
across a failure that looks like there is an unexpected interaction between
the library and the Linux remoteproc implementations. We have decided
to delay the release until we understand the problem better.
Regards,
Ed M
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: cd7f331045889650189d1357fc079987236c4c0c
https://github.com/OpenAMP/open-amp/commit/cd7f331045889650189d1357fc079987…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-10-20 (Thu, 20 Oct 2022)
Changed paths:
M lib/remoteproc/remoteproc_virtio.c
Log Message:
-----------
remoteproc: Fix build warning in rproc_virtio_create_vdev function
The arm-none-eabi-gcc complains when VIRTIO_DEVICE_ONLY is enable
remoteproc_virtio.c:222:29: warning: variable 'vring_rsc'
set but not used [-Wunused-but-set-variable]
222 | struct fw_rsc_vdev_vring *vring_rsc;
| ^~~~~~~~~
The vring_rsc variable should be declared and set only if
VIRTIO_DEVICE_ONLY is not enable.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 4e1fa03814331fb87ad238072789207db5dbc374
https://github.com/OpenAMP/open-amp/commit/4e1fa03814331fb87ad238072789207d…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M docs/rpmsg-design.md
M lib/include/openamp/rpmsg.h
M lib/rpmsg/rpmsg.c
Log Message:
-----------
rpmsg: Add rpmsg_release_tx_buffer API
Add an API to be able to release unused TX buffer that will not be
sent.
For instance this API can be called in case of error between the
buffer reservation and the send to the remote side.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: 753a20368b2ab4b27b893eb44d7a7a5bdd840394
https://github.com/OpenAMP/open-amp/commit/753a20368b2ab4b27b893eb44d7a7a5b…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M docs/rpmsg-design.md
Log Message:
-----------
docs: add no-copy user API description
Add short description of the no-copy user interface.
Add some sub-chapters to increase the readability.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: 2e0015af74cee05cb82ff65c73f725670e28603e
https://github.com/OpenAMP/open-amp/commit/2e0015af74cee05cb82ff65c73f72567…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M lib/include/openamp/virtqueue.h
M lib/virtio/virtqueue.c
Log Message:
-----------
virtqueue: Add helper to get the buffer address from descriptor index
As it possible to get the buffer length we need also to retrieve
the address associated to the descriptor index.
This is need by rpmsg virtio to implement the buffer recycler.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: 6dad72724fcb056414e0193805362647e347ae59
https://github.com/OpenAMP/open-amp/commit/6dad72724fcb056414e0193805362647…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg virtio: Implement the Tx buffer reclaimer
With the no-copy feature a tx buffer can be get, filled and then
sent to the remote side.
In Some error cases the application can need to release it instead
of sending it to the remote side.
As the virtqueue is updated when the buffer it get, it is not
possible to manage this use case at virtqueue level.
This patchset implements the release based on a buffer recycler.
The principle is to store the released buffer in a 'reclaimer' list.
On next get pmsg_virtio_get_tx_buffer call the buffer is reused.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: 80555a314e5cdc92533fec26e48941cd2db60108
https://github.com/OpenAMP/open-amp/commit/80555a314e5cdc92533fec26e48941cd…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M apps/tests/msg/CMakeLists.txt
A apps/tests/msg/rpmsg-nocopy-echo.c
A apps/tests/msg/rpmsg-nocopy-ping.c
Log Message:
-----------
test: Add test for the no-copy validation.
Add test to validate the no copy and the associated Tx buffer
recycler.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Compare: https://github.com/OpenAMP/open-amp/compare/988da0074d9c...80555a314e5c
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 988da0074d9c5cd95b693218f0eea05bbcee6d2b
https://github.com/OpenAMP/open-amp/commit/988da0074d9c5cd95b693218f0eea05b…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M apps/examples/rpc_demo/rpc_demo.c
Log Message:
-----------
examples: apps: Update rpc_demo description
rpc_demo.c file creates firmware that runs on remote processor.
The current description implies that proxy service is implemented
on remote side which is not true. Fix description and explicitly
mention that proxy service is implemented on host side
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 4f2d0c2106560b4bbe91e8b3f2d25d8b01e4958c
https://github.com/OpenAMP/open-amp/commit/4f2d0c2106560b4bbe91e8b3f2d25d8b…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M README.md
Log Message:
-----------
README: Remove deprecated method to build open-amp lib for zephyr
The instructions to build open-amp for zephyr do not work.
Instead of trying to maintain a cross dependency between the zephyr
and the open-amp, just reference the zephyr project and documentation
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 17b2594ab6e7929bac7d876748bed0d16a657f1e
https://github.com/OpenAMP/open-amp/commit/17b2594ab6e7929bac7d876748bed0d1…
Author: Sergei Korneichuk <sergei.korneichuk(a)amd.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M apps/examples/rpc_demo/rpc_demod.c
Log Message:
-----------
app: rpc_demod: fix buffer overflow in handle_read
Fix the following error:
Remote>Opened file 'remote.file' with fd = 8
*** buffer overflow detected ***: rpc_demod-shared
1. Change RPC_BUFF_SIZE to accomodate the remote
2. Set size to the minimum of the request or the buffer size
Signed-off-by: Sergei Korneichuk <sergei.korneichuk(a)amd.com>
Commit: bb6d16837b2c0e8f5c6d2c18c220846c2df43607
https://github.com/OpenAMP/open-amp/commit/bb6d16837b2c0e8f5c6d2c18c220846c…
Author: Ben Levinsky <ben.levinsky(a)xilinx.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M apps/examples/load_fw/load_fw.c
M apps/examples/load_fw/zynqmp_rpu_lcm_rproc_example.c
Log Message:
-----------
apps: examples: load_fw: fix up for -werror
with werror flag compilation fails. update to build
Signed-off-by: Ben Levinsky <ben.levinsky(a)xilinx.com>
Commit: 29fbf24ef926d553e56092c9d4513a4752a7b0cb
https://github.com/OpenAMP/open-amp/commit/29fbf24ef926d553e56092c9d4513a47…
Author: Manikanta Sreeram <manikanta.sreeram(a)xilinx.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M apps/examples/load_fw/lscript.ld
M apps/system/generic/machine/zynqmp_r5/linker_large_text.ld
M apps/system/generic/machine/zynqmp_r5/linker_remote.ld
Log Message:
-----------
apps: update linker scripts to SPDX license
Update linker scripts to SPDX based licensing.
Signed-off-by: Manikanta Sreeram <manikanta.sreeram(a)xilinx.com>
Commit: 2e9f3a31cc70dc04bd2c5fc45fb96602173003b2
https://github.com/OpenAMP/open-amp/commit/2e9f3a31cc70dc04bd2c5fc45fb96602…
Author: Manikanta Sreeram <manikanta.sreeram(a)xilinx.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M LICENSE.md
Log Message:
-----------
Update LICENSE.md to cover CI test scripts
Add Apache and GPL licensing to cover CI test scripts in case they
are converted to SPDX:
Apache-2.0
scripts/ci/check_compliance.py
scripts/do_checkpatch.sh
scripts/gitlint/commit_rules.py
GPL-2.0
scripts/checkpatch.pl
scripts/spelling.txt
Note: Neither Apache nor GPL are used by the libmetal library itself.
Signed-off-by: Manikanta Sreeram <manikanta.sreeram(a)xilinx.com>
Commit: 4ab1ce6f95a9046363d4b3d3f19075d373c03bb4
https://github.com/OpenAMP/open-amp/commit/4ab1ce6f95a9046363d4b3d3f19075d3…
Author: Ben Levinsky <ben.levinsky(a)xilinx.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
M apps/examples/rpc_demo/rpc_demod.c
Log Message:
-----------
app: rpc_demod: replace copy_from_shbuf with metal_io_block_read
After a toolchain upgrade, the OpenAMP rpc_demod application would
fail with a bus error on AArch64 Linux. This was because the call to
copy_from_shbuf() was now inlined by the optimizer and the compiler
generated code that used 8-byte copies ("ldp x10, x11 [x4, #16]" followed
by the corresponding store instruction). The bus error happened when
the address in x4 (the index) was 4-byte aligned, but not 8-byte aligned.
This would not be a problem with normal user-space memory, but the memory
used for the shared buffer between the remote processor and Linux is
mapped as device memory. On AArch64, device memory is strictly ordered
and the alignment and width of accesses must match.
Replace copy_from_shbuf() with a call to metal_io_block_read(), which
is intended to do this sort of thing, and also makes this a better
example of how to use OpenAMP.
Return error only on a negative return value from copy_from_shbuf in
rpmsg_endpoint_cb.
Signed-off-by: Ben Levinsky <ben.levinsky(a)xilinx.com>
Compare: https://github.com/OpenAMP/open-amp/compare/2b6a38a9c689...4ab1ce6f95a9
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 2b6a38a9c6890869960ed41d6a1dc9930c079e0d
https://github.com/OpenAMP/open-amp/commit/2b6a38a9c6890869960ed41d6a1dc993…
Author: Guiding Li <liguiding1(a)xiaomi.com>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
openamp: should kick remote when use release_rx_buffer
There is missing virtqueue_kick when use hold_rx/release_rx
Signed-off-by: Guiding Li <liguiding1(a)xiaomi.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: bb0be05b8a4b5b7dc48e1db824c795ca5c551d61
https://github.com/OpenAMP/open-amp/commit/bb0be05b8a4b5b7dc48e1db824c795ca…
Author: Guiding Li <liguiding1(a)xiaomi.com>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
openamp: should kick remote when use release_rx_buffer
There is missing virtqueue_kick when use hold_rx/release_rx
Signed-off-by: Guiding Li <liguiding1(a)xiaomi.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: e62c824489b0943212999311c7fe20f7b396b958
https://github.com/OpenAMP/open-amp/commit/e62c824489b0943212999311c7fe20f7…
Author: Jiuzhu Dong <dongjiuzhu1(a)xiaomi.com>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M lib/include/openamp/rpmsg_virtio.h
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
openamp: divide shram to TX shram & RX shram by config:split_shpool
In the multi core of lower power device, when one of core enters sleep,
it needs to put its corresponding share memory into retention mode to
save power consumption. Based on the limitations of the chip design,
when the CPU to which share memory belongs goes to sleep, the share
memory enters the retention mode, and other cores will not be able
to access it. When the share memory divides tx shm and rx shm
and the core of tx shm and rx shm are different, so that when one
CPU sleeps, the other CPU can still access its own tx shm.
Signed-off-by: Guiding Li <liguiding1(a)xiaomi.com>
Signed-off-by: Jiuzhu Dong <dongjiuzhu1(a)xiaomi.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 88f38c90204bf5821c7f8232434aa1adefa976ac
https://github.com/OpenAMP/open-amp/commit/88f38c90204bf5821c7f8232434aa1ad…
Author: Tammy Leino <tammy_leino(a)mentor.com>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M lib/include/openamp/remoteproc.h
M lib/remoteproc/remoteproc.c
M lib/remoteproc/rsc_table_parser.c
Log Message:
-----------
Potential overflow of notifyid on 64-bit architectures
handle_vdev_rsc sets end to RSC_NOTIFY_ID_ANY in case of wildcard notifyid
Signed-off-by: Tammy Leino <tammy_leino(a)mentor.com>
Branch: refs/heads/master
Home: https://github.com/OpenAMP/meta-openamp
Commit: 5b7a7c3eb3e2e8ae39b37acf7cd410da5bba04b3
https://github.com/OpenAMP/meta-openamp/commit/5b7a7c3eb3e2e8ae39b37acf7cd4…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2022-10-09 (Sun, 09 Oct 2022)
Changed paths:
M recipes-kernel/linux/linux-%.bbappend
A recipes-kernel/linux/openamp-kmeta/cfg/remoteproc-generic-arm64.scc
R recipes-kernel/linux/openamp-kmeta/cfg/remoteproc-genericarm64.scc
Log Message:
-----------
add real generic-arm64 support
Support the real generic-arm64 machine from meta-arm.
Since meta-arm uses a dash between generic and arm, match that.
(Even though genericx86 does not use a dash.)
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Commit: c00633a6ab8f4ac48da783a082dd7b34e03ff065
https://github.com/OpenAMP/meta-openamp/commit/c00633a6ab8f4ac48da783a082dd…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2022-10-09 (Sun, 09 Oct 2022)
Changed paths:
M recipes-kernel/linux/linux-%.bbappend
A recipes-kernel/linux/openamp-kmeta/cfg/armv7a-feature-parity.cfg
A recipes-kernel/linux/openamp-kmeta/cfg/remoteproc-armv7a.cfg
A recipes-kernel/linux/openamp-kmeta/cfg/remoteproc-generic-armv7a.scc
Log Message:
-----------
Add support for armv7 for qemuarm and generic-armv7a
Add real kernel config fragments for armv7a.
Support qemuarm from oe-core and generic-armv7a from meta-openamp-bsp.
Add a placeholder file to add things to multi_arm_v7 to make it match
arm64 defconfig. However currently nothing found.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Compare: https://github.com/OpenAMP/meta-openamp/compare/67e07aa036be...c00633a6ab8f
Branch: refs/heads/master
Home: https://github.com/OpenAMP/meta-openamp
Commit: f46cd2f8f696be324d02f3c8b810eaa25048de2e
https://github.com/OpenAMP/meta-openamp/commit/f46cd2f8f696be324d02f3c8b810…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2022-05-20 (Fri, 20 May 2022)
Changed paths:
M recipes-openamp/libmetal/libmetal_git.bb
A recipes-openamp/libmetal/libmetal_v2022.04.bb
M recipes-openamp/open-amp/open-amp_git.bb
A recipes-openamp/open-amp/open-amp_v2022.04.bb
Log Message:
-----------
openamp & libmetal: add 2022.04 releases & make git autorev
Add specific recipies for openamp and libmetal 2022.04 release.
Make the _git versions AUTOREV on main and user must opt in.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Commit: c82a6aba6d2e7037cd188eec8c62f7d46f6fdcd8
https://github.com/OpenAMP/meta-openamp/commit/c82a6aba6d2e7037cd188eec8c62…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2022-05-20 (Fri, 20 May 2022)
Changed paths:
M recipes-openamp/libmetal/libmetal.inc
M recipes-openamp/open-amp/open-amp.inc
Log Message:
-----------
openamp & libmetal: fix BSD QA warning
Declare specific BSD licenses to pass QA checks.
openamp uses mostly BSD-3-Clause but BSD-2-Clause for the virtio layer.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Commit: 67e07aa036be9dc9ac71b4567d484ae6c945f2b4
https://github.com/OpenAMP/meta-openamp/commit/67e07aa036be9dc9ac71b4567d48…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2022-05-20 (Fri, 20 May 2022)
Changed paths:
M recipes-openamp/rpmsg-examples/rpmsg-echo-test_1.0.bb
M recipes-openamp/rpmsg-examples/rpmsg-mat-mul_1.0.bb
M recipes-openamp/rpmsg-examples/rpmsg-proxy-app_1.0.bb
Log Message:
-----------
rpmsg-examples: fix BSD QA warning
Declare specific BSD licenses to pass QA checks.
All these examples use BSD-3-Clause.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Compare: https://github.com/OpenAMP/meta-openamp/compare/b6e2a13fdd8f...67e07aa036be
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 03c80a13417f67f94852cf7d5cb160f1bdf8271e
https://github.com/OpenAMP/open-amp/commit/03c80a13417f67f94852cf7d5cb160f1…
Author: Tammy Leino <tammy_leino(a)mentor.com>
Date: 2022-10-04 (Tue, 04 Oct 2022)
Changed paths:
M lib/remoteproc/rsc_table_parser.c
Log Message:
-----------
handle_vdev_rsc must return error if notifyid cannot be assigned
Updated handle_vdev_rsc to return error if a unique id cannot be assigned
Signed-off-by: Tammy Leino <tammy_leino(a)mentor.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: e40eea8ff1fe16267ef71fbebe48c5455e15fbfa
https://github.com/OpenAMP/open-amp/commit/e40eea8ff1fe16267ef71fbebe48c545…
Author: Tammy Leino <tammy_leino(a)mentor.com>
Date: 2022-10-04 (Tue, 04 Oct 2022)
Changed paths:
M lib/include/openamp/remoteproc_virtio.h
M lib/remoteproc/remoteproc_virtio.c
Log Message:
-----------
Vring descriptor count must be limited to 65k per device
Code must ensure we don't overflow the 16-bit count in vring_alloc_info
Signed-off-by: Tammy Leino <tammy_leino(a)mentor.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: c1c4e5599268a211860cfed2fd0b344ded57498c
https://github.com/OpenAMP/libmetal/commit/c1c4e5599268a211860cfed2fd0b344d…
Author: Tammy Leino <tammy_leino(a)mentor.com>
Date: 2022-10-04 (Tue, 04 Oct 2022)
Changed paths:
M lib/list.h
Log Message:
-----------
New routine to find a node on a list
metal_list_find_node is used to ensure a node is not on a list before adding it
Signed-off-by: Tammy Leino <tammy_leino(a)mentor.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 54595de0065c46514a083909180f28a0c52a7c87
https://github.com/OpenAMP/open-amp/commit/54595de0065c46514a083909180f28a0…
Author: Sergei Korneichuk <sergei.korneichuk(a)amd.com>
Date: 2022-10-03 (Mon, 03 Oct 2022)
Changed paths:
M apps/examples/linux_rpc_demo/linux_rpc_demo.c
Log Message:
-----------
linux_rpc_demo: do not include rsc_table.h
No symbols from rsc_table.h are used in linux_rpc_demo.c and
the demo fails to build for Zynq, ZynqMP, and Versal systems.
Remove include rsc_table.h.
Signed-off-by: Sergei Korneichuk <sergei.korneichuk(a)amd.com>