Branch: refs/heads/main Home: https://github.com/OpenAMP/openamp-system-reference Commit: c1849243878fa57686ab67fc8571e0a3dab24c94 https://github.com/OpenAMP/openamp-system-reference/commit/c1849243878fa5768... Author: Ben Levinsky ben.levinsky@amd.com Date: 2026-01-26 (Mon, 26 Jan 2026)
Changed paths: M examples/libmetal/machine/remote/amd_rpu/system/generic/amp_demo_os.h
Log Message: ----------- examples: libmetal: amd_rpu: baremetal: Fix wait condition
As the resume condition clears the flag, this should check if clear.
Signed-off-by: Ben Levinsky ben.levinsky@amd.com
Commit: a1606dff2d51f3f00ced4b463ba64fc274eb1899 https://github.com/OpenAMP/openamp-system-reference/commit/a1606dff2d51f3f00... Author: Ben Levinsky ben.levinsky@amd.com Date: 2026-01-26 (Mon, 26 Jan 2026)
Changed paths: M examples/libmetal/machine/remote/amd_rpu/system/generic/gic_init.c
Log Message: ----------- examples: libmetal: amd_rpu: baremetal: Use AMD recommended ISR via IPIPSU driver
AMD BSP recommended usage recommends using IPI driver to hook in IPIPSU driver.
Reference example here: https://github.com/xilinx/embeddedsw/blob/master/XilinxProcessorIPLib/driver...
As part of this remove unneeded lines.
Also use config.h provided IPI value to get the IPIPSU instance.
Signed-off-by: Ben Levinsky ben.levinsky@amd.com
Commit: c5211b46efc4b831df04203fb3886fde75d0e5d8 https://github.com/OpenAMP/openamp-system-reference/commit/c5211b46efc4b831d... Author: Ben Levinsky ben.levinsky@amd.com Date: 2026-01-26 (Mon, 26 Jan 2026)
Changed paths: M examples/libmetal/demos/irq_shmem_demo/README.md M examples/libmetal/demos/irq_shmem_demo/host/irq_shmem_demo.c M examples/libmetal/demos/irq_shmem_demo/remote/irq_shmem_demo.c M examples/libmetal/machine/host/amd_linux_userspace/CMakeLists.txt M examples/libmetal/machine/host/amd_linux_userspace/README.md M examples/libmetal/machine/host/amd_linux_userspace/common.h A examples/libmetal/machine/host/amd_linux_userspace/config.h.in M examples/libmetal/machine/host/amd_linux_userspace/platform_init.c M examples/libmetal/machine/remote/amd_rpu/CMakeLists.txt M examples/libmetal/machine/remote/amd_rpu/README.md M examples/libmetal/machine/remote/amd_rpu/build_deps.cmake M examples/libmetal/machine/remote/amd_rpu/common.h A examples/libmetal/machine/remote/amd_rpu/config.h.in A examples/libmetal/machine/remote/amd_rpu/linker_files/lscript_r5.ld.in A examples/libmetal/machine/remote/amd_rpu/linker_files/lscript_r52_generic.ld.in A examples/libmetal/machine/remote/amd_rpu/linker_files/lscript_versal_net_r5.ld.in A examples/libmetal/machine/remote/amd_rpu/linker_files/lscript_versal_r5.ld.in M examples/libmetal/machine/remote/amd_rpu/platform_init.c M examples/libmetal/machine/remote/amd_rpu/system/generic/gic_init.c
Log Message: ----------- examples: libmetal: align demo carveouts with OpenAMP layout
Move the libmetal host/remote demo off the legacy single 3ed80000.shm window to the OpenAMP-style carveouts at 0x09860000 with separate descriptor UIOs (9860000.shm_desc, 9864000.shm_desc) and payload (9868000.shm), update the platform init code to open/map the new descriptor regions, add optional config-driven IPI overrides, and match the RPU defaults to the same layout.
As part of this, mimic OpenAMP vendor-specific demos in that they will also support support use of unified CMake-driven symbols. This enables external tooling to generate a .cmake file from the system device tree that configures the demo for the target platform without manual edits to source files.
Key changes:
- Add config.h.in templates for both Linux host and RPU remote that use #cmakedefine to optionally override defaults from common.h
- Separate monolithic SHM_BASE_ADDR/SHM_SIZE into distinct carveouts: * SHM0_DESC_BASE/SIZE - descriptor ring 0 * SHM1_DESC_BASE/SIZE - descriptor ring 1 * SHM_PAYLOAD_BASE/SIZE - data payload area
- Wrap all platform-specific IPI symbols in #ifndef guards: * IPI_DEV_NAME, IPI_BASE_ADDR, IPI_MASK
- Wrap all platform-specific TTC symbols in #ifndef guards: * TTC_DEV_NAME, TTC0_BASE_ADDR, TTC_NODEID
- Include demo-specific specific symbols for IPI, Shared memory and TTC as provided by configure-time generated config.h file.
- Configure linker script via .cmake metadata too.
Signed-off-by: Ben Levinsky ben.levinsky@amd.com
Commit: 54d438856c372c5704d5f8640f97e48558388efd https://github.com/OpenAMP/openamp-system-reference/commit/54d438856c372c570... Author: Ben Levinsky ben.levinsky@amd.com Date: 2026-01-26 (Mon, 26 Jan 2026)
Changed paths: M examples/libmetal/machine/host/amd_linux_userspace/CMakeLists.txt R examples/libmetal/machine/host/amd_linux_userspace/ipi-uio.c
Log Message: ----------- examples: libmetal: amd_linux_userspace: remove UIO unused C file
UIO C file is dead code. remove it.
Signed-off-by: Ben Levinsky ben.levinsky@amd.com
Commit: a591224d413fb3d7d028e6ce3af1b2bf875d7dee https://github.com/OpenAMP/openamp-system-reference/commit/a591224d413fb3d7d... Author: Ben Levinsky ben.levinsky@amd.com Date: 2026-01-26 (Mon, 26 Jan 2026)
Changed paths: M examples/libmetal/machine/host/amd_linux_userspace/CMakeLists.txt
Log Message: ----------- examples: libmetal: amd_linux_userspace: simplify build
Simplify build as it was previously based off legacy Libmetal Linux AMP Demo.
Streamline it to just pick up and deliver a statically linked executable.
Signed-off-by: Ben Levinsky ben.levinsky@amd.com
Compare: https://github.com/OpenAMP/openamp-system-reference/compare/1a21aaefa874...a...
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/openamp-system-reference/settings/notifications
openamp-rp@lists.openampproject.org