Rpmsg multi services upstream cleanup - #115
Open
bentheredonethat wants to merge 5 commits into
Open
Conversation
Configure the RPMsg multi-services example to use the AMD IPI mailbox on Versal R5. Keep memory and linker placement outside the application so generated platform inputs remain the source of the RPU memory layout. Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
rsc_table_get() returns its address through a void double pointer. Receive the address using the interface's declared type before assigning it to the application's resource-table pointer, avoiding an incompatible pointer type at the call site. Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
RPU memory placement can be generated from a platform domain description, but the example previously had no way to select that complete linker script. Add an optional Kconfig path which enables Zephyr's custom linker script support while preserving normal board and SoC selection when it is unset. Document how to pass the generated device tree and linker script together so they describe one consistent memory layout. Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
The raw responder did not terminate its text response, allowing clients which printed it as a C string to display bytes beyond the received payload. Bound and terminate raw responses, derive response lengths from their prefixes, and terminate rpmsg_ping input at the length returned by read(). Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
Linux can own the physical UART while loading an RPU application through remoteproc. Disable serial support for the AMD RPU targets and use the RAM console where required so the example does not contend for that UART. Keep immediate logging for Versal Net, enable OpenAMP cache maintenance on Versal2, and retain the executable-memory settings used by the generated R52 memory policies. Represent the supported platforms and tags as YAML sequences so Twister retains every entry and can build all AMD RPU targets. Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.