Branch: refs/heads/main Home: https://github.com/OpenAMP/openamp-system-reference Commit: 4a5842466f46847438a441446d9dd75d665a810f https://github.com/OpenAMP/openamp-system-reference/commit/4a5842466f4684743... Author: Ben Levinsky ben.levinsky@amd.com Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths: M examples/legacy_apps/machine/zynqmp_r5/CMakeLists.txt A examples/legacy_apps/machine/zynqmp_r5/linker_large_text.ld A examples/legacy_apps/machine/zynqmp_r5/linker_remote.ld M examples/legacy_apps/system/generic/machine/zynqmp_r5/CMakeLists.txt R examples/legacy_apps/system/generic/machine/zynqmp_r5/linker_large_text.ld R examples/legacy_apps/system/generic/machine/zynqmp_r5/linker_remote.ld
Log Message: ----------- examples: legacy_apps: zynqmp_r5: Move linker file logic to machine/zynqmp_r5
As prep to support multiple OS's move the logic to be in area common for all RPU based OpenAMP applications.
Signed-off-by: Ben Levinsky ben.levinsky@amd.com
Commit: 9b5617141dc86b501f1a03223d3d35a84ccb8fd7 https://github.com/OpenAMP/openamp-system-reference/commit/9b5617141dc86b501... Author: Ben Levinsky ben.levinsky@amd.com Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths: M examples/legacy_apps/machine/zynqmp_r5/CMakeLists.txt A examples/legacy_apps/machine/zynqmp_r5/generic/gic_init.c A examples/legacy_apps/machine/zynqmp_r5/helper.c M examples/legacy_apps/system/generic/machine/zynqmp_r5/CMakeLists.txt R examples/legacy_apps/system/generic/machine/zynqmp_r5/helper.c
Log Message: ----------- examples: legacy_apps: zynqmp_r5: move GIC setup logic to baremetal area
As the GIC initialization logic is specific to baremetal R5, move to that location.
The logging is common though so keep it in common area.
Signed-off-by: Ben Levinsky ben.levinsky@amd.com
Commit: 4220a50955b831038895a106da1d06b295c3532e https://github.com/OpenAMP/openamp-system-reference/commit/4220a50955b831038... Author: Ben Levinsky ben.levinsky@amd.com Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths: M examples/legacy_apps/examples/echo/CMakeLists.txt A examples/legacy_apps/examples/echo/generic/main.c M examples/legacy_apps/examples/echo/rpmsg-echo.c M examples/legacy_apps/examples/echo/rpmsg-echo.h M examples/legacy_apps/examples/matrix_multiply/CMakeLists.txt A examples/legacy_apps/examples/matrix_multiply/generic/main.c M examples/legacy_apps/examples/matrix_multiply/matrix_multiply.h M examples/legacy_apps/examples/matrix_multiply/matrix_multiplyd.c M examples/legacy_apps/examples/rpc_demo/CMakeLists.txt A examples/legacy_apps/examples/rpc_demo/generic/main.c M examples/legacy_apps/examples/rpc_demo/rpc_demo.c M examples/legacy_apps/examples/rpc_demo/rpmsg-rpc-demo.h
Log Message: ----------- examples: legacy_apps: Prepare legacy demos to support other OS's
In the original OpenAMP Remote files define main as weak and then provide strong main routines to separate files for echo, matrix and rpc_demo examples so that other OS's can be added too.
Signed-off-by: Ben Levinsky ben.levinsky@amd.com
Commit: d0696e30ca11f9acc47ad3c70ac00b9c9ea994b2 https://github.com/OpenAMP/openamp-system-reference/commit/d0696e30ca11f9acc... Author: Ben Levinsky ben.levinsky@amd.com Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths: M examples/legacy_apps/machine/zynqmp_r5/CMakeLists.txt
Log Message: ----------- examples: legacy_apps: zynqmp_r5: Move library dependency logic
Move library dependency logic to zynqmp_r5 common area to ensure all OS targets will pick up dependencies.
Signed-off-by: Ben Levinsky ben.levinsky@amd.com
Commit: c3e2349c6a30d057d6782bcb57da371c525cbe3b https://github.com/OpenAMP/openamp-system-reference/commit/c3e2349c6a30d057d... Author: Ben Levinsky ben.levinsky@amd.com Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths: A examples/legacy_apps/examples/echo/freertos/main.c A examples/legacy_apps/examples/matrix_multiply/freertos/main.c A examples/legacy_apps/examples/rpc_demo/freertos/main.c
Log Message: ----------- examples: legacy_apps: Add main routines for FreeRTOS OS for echo, matrix and rpc_demo
Add main routine implementations for echo, matrix and rpc_demo examples for FreeRTOS OS.
Signed-off-by: Ben Levinsky ben.levinsky@amd.com
Commit: e0c9828a0c52f00320a7e932360b416bcfc992fd https://github.com/OpenAMP/openamp-system-reference/commit/e0c9828a0c52f0032... Author: Ben Levinsky ben.levinsky@amd.com Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths: A examples/legacy_apps/system/freertos/CMakeLists.txt
Log Message: ----------- examples: legacy_apps: freertos: Add link dependency for library
Add link dependency to ensure that library is found for FreeRTOS applications
Signed-off-by: Ben Levinsky ben.levinsky@amd.com
Commit: 019186f66d6ae55d4c33acef03a1faef345e4ebc https://github.com/OpenAMP/openamp-system-reference/commit/019186f66d6ae55d4... Author: Ben Levinsky ben.levinsky@amd.com Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths: A examples/legacy_apps/machine/zynqmp_r5/freertos/gic_init.c
Log Message: ----------- examples: legacy_apps: freertos: implement GIC setup
Introduce GIC initializatio nusing AMD FreeRTOS BSP API to connect GIC to libmetal ISR and application IRQ.
Signed-off-by: Ben Levinsky ben.levinsky@amd.com
Commit: 49d74fec0b509cba50f34a353e0a639b80a270f9 https://github.com/OpenAMP/openamp-system-reference/commit/49d74fec0b509cba5... Author: Arnaud Pouliquen arnaud.pouliquen@foss.st.com Date: 2025-06-30 (Mon, 30 Jun 2025)
Changed paths: M examples/legacy_apps/machine/zynqmp/platform_info.c M examples/legacy_apps/machine/zynqmp_r5/platform_info.c M examples/legacy_apps/machine/zynqmp_r5/zynqmp_r5_a53_rproc.c M examples/legacy_apps/system/CMakeLists.txt M examples/legacy_apps/system/freertos/CMakeLists.txt A examples/legacy_apps/system/freertos/suspend.c M examples/legacy_apps/system/generic/CMakeLists.txt A examples/legacy_apps/system/generic/suspend.c M examples/legacy_apps/system/linux/CMakeLists.txt M examples/legacy_apps/system/linux/machine/generic/platform_info.c A examples/legacy_apps/system/linux/suspend.c A examples/legacy_apps/system/suspend.h
Log Message: ----------- examples: legacy_apps: Add default routines for suspend/resume
The application or the CPU can be suspended and resumed while waiting for new RPMsg messages from the remote processor. This commit introduces `system_suspend` and `system_resume` functions, along with their implementations for different systems.
- FreeRTOS: The suspend/resume functionality involves suspending and resuming the application. - Linux and Baremetal: By default, `metal_cpu_yield()` is called. However, these functions can be redefined in the machine layer if needed.
The application can be suspended and resume waiting from new rpmsg from the remote. Add system_suspend and system_resume functions and associated implementation for the different system. For the FreeRTOS the suspend/resume consist in suspending resuming the application For Linux and baremetal metal_cpu_yield() is called by default, but some functions can be redefined in the machine on need
Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@foss.st.com
Compare: https://github.com/OpenAMP/openamp-system-reference/compare/d0546027cd32...4...
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/openamp-system-reference/settings/notifications