Repository navigation
nshlib: make "rpmsg dump" print the verbose dump - #4000
Merged
Merged
Conversation
RPMSGIOC_DUMP now takes a verbose flag as its argument (see the nuttx side, "drivers/rpmsg: pass a verbose flag to the dump ops"). nsh passed 0, so "rpmsg dump" would only print the brief dump. Pass 1 so the command keeps printing the endpoint and buffer lists as before. Signed-off-by: chenzihan1 <[email protected]> Signed-off-by: Bowen Wang <[email protected]>
15 tasks done
xiaoxiang781216
approved these changes
Nov 10, 2026
xiaoxiang781216
approved these changes
Nov 11, 2026
GUIDINGLI
approved these changes
Nov 11, 2026
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.
Summary
RPMSGIOC_DUMPtakes a verbose flag as its argument withapache/nuttx#21609. nsh's "rpmsg dump" passed 0, which now selects
the brief dump. Pass 1 so the command keeps printing the endpoint and
buffer lists.
Depends on apache/nuttx#21609
Impact
"rpmsg dump" output is unchanged from today's. Without the nuttx PR the
argument is ignored, so this can merge in either order.
Testing
Host: Ubuntu 22.04.5 LTS x86_64, QEMU version 10.2.1, sim: cc (Ubuntu 13.1.0-8ubuntu1~22.04) 13.1.0, qemu-armv8a: aarch64-none-elf-gcc (Arm GNU Toolchain 12.2.Rel1 (Build arm-12.24)) 12.2.1 20221205
Built and run as part of the nuttx PR's baseline: "rpmsg dump all" on
sim:rpserver/rpproxy and qemu-armv8a:rpserver/rpproxy prints the
endpoint list ("ept rpmsg-ping") and the buffer lists ("TX buffer
total N").