Xlnx add trace buf and update address space#98
Open
tnmysh wants to merge 5 commits intoOpenAMP:mainfrom
Open
Conversation
Collaborator
tnmysh
commented
Mar 13, 2026
- Add trace buffer support
- Update current DDR addresses to match latest system device-tree standards
- fix trivial compiler warning during building matrix multiply demo
- Allow native cmake build
f6a6178 to
833a6b4
Compare
arnopo
requested changes
Mar 18, 2026
|
|
||
| /* Init circular buffer */ | ||
| circ.c_buf = get_rsc_trace_info(&circ.c_len); | ||
| if (circ.c_buf && circ.c_len) |
Collaborator
There was a problem hiding this comment.
Suggested change
| if (circ.c_buf && circ.c_len) | |
| if (!circ.c_buf || !circ.c_len) | |
| metal_err("invalid trace buffer\n"); |
Collaborator
Author
There was a problem hiding this comment.
Didn't apply this one, let me know if this is must.
If xlnx toolchain is not used to build demos, then allow building xlnx demos with native cmake build system. Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
platform_info.h was changed to platform_info_common.h, replace it accordingly for echo demo. Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
fix following compiler warning:
warning: passing argument 1 of 'rpmsg_matrix_app' fr
om incompatible pointer type [-Wincompatible-pointer-types]
47 | rpmsg_matrix_app(rpdev, platform);
| ^~~~~
Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
As per latest SDT standard AMD-xilinx EDF yocto is released with fixed memory regions for each core to use. Update the default address for cluster-A core0 to use as per this standard. Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
trace buffer is a circular buffer to store logs. Linux remoteproc subsystem creates a debugfs file that can be used to print these logs on linux side. Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
833a6b4 to
b59ecf4
Compare
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.