Skip to content

nshlib: make "rpmsg dump" print the verbose dump - #4000

Merged
GUIDINGLI merged 1 commit into
apache:masterfrom
CV-Bowen:up/P62-nsh-rpmsg-dump-verbose
Nov 11, 2026
Merged

GUIDINGLI merged 1 commit into
apache:masterfrom
CV-Bowen:up/P62-nsh-rpmsg-dump-verbose

Conversation

@CV-Bowen

Copy link
Copy Markdown
Contributor

Summary

RPMSGIOC_DUMP takes a verbose flag as its argument with
apache/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").

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]>
@GUIDINGLI
GUIDINGLI merged commit bb7a9f6 into apache:master Nov 11, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants