Branch: refs/heads/main Home: https://github.com/OpenAMP/openamp-system-reference Commit: 75c158b008d6d758c39870814dbf8a92cc084867 https://github.com/OpenAMP/openamp-system-reference/commit/75c158b008d6d758c... Author: Tanmay Shah tanmay.shah@amd.com Date: 2025-07-23 (Wed, 23 Jul 2025)
Changed paths: M examples/legacy_apps/machine/zynqmp_r5/helper.c M examples/legacy_apps/machine/zynqmp_r5/platform_info.c M examples/legacy_apps/machine/zynqmp_r5/rsc_table.c M examples/legacy_apps/machine/zynqmp_r5/rsc_table.h
Log Message: ----------- legacy_apps: zynqmp_r5: restore initial resources
Resource table can get corrupted during un-controlled reboot of host. This can cause crash when attach happens after reboot. Restore initial good version of resource table before re-creating virtio devices.
As part of this, first the server takes the resource table snapshot to before any IPC events are in place to prevent this issue during system-init. Secondly helper.c will call get_resource_table so that the future call to restore_initial_rsc_table will have the resource set up.
Otherwise the snapshot can still fail if the resource is not set up.
Signed-off-by: Tanmay Shah tanmay.shah@amd.com Signed-off-by: Ben Levinsky ben.levinsky@amd.com
Commit: 29232c244a8ef3136205031f891c361fdfb44472 https://github.com/OpenAMP/openamp-system-reference/commit/29232c244a8ef3136... Author: Tanmay Shah tanmay.shah@amd.com Date: 2025-07-23 (Wed, 23 Jul 2025)
Changed paths: M examples/legacy_apps/machine/zynqmp_r5/linker_large_text.ld M examples/legacy_apps/machine/zynqmp_r5/linker_remote.ld M examples/legacy_apps/machine/zynqmp_r5/rsc_table.c M examples/legacy_apps/machine/zynqmp_r5/rsc_table.h
Log Message: ----------- legacy_apps: zynqmp_r5: add rsc table metadata section
During attach detach operation, resource table needs to be retrieved by host. In such case firmware is expected to provided metadata by host. This metadata is expected by firmware at the start address of shared memory beteween host and remote.
Add padding to ensure no section overlap.
Signed-off-by: Tanmay Shah tanmay.shah@amd.com Signed-off-by: Ben Levinsky ben.levinsky@amd.com
Compare: https://github.com/OpenAMP/openamp-system-reference/compare/49d74fec0b50...2...
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/openamp-system-reference/settings/notifications
openamp-rp@lists.openampproject.org