Skip to content

examples/shv-nxboot-updater: update-script TUI impl, bump pyshv version - #3918

Merged
xiaoxiang781216 merged 1 commit into
apache:masterfrom
zdebanos:shv-nxboot-updater-tui-script
Oct 26, 2026
Merged

xiaoxiang781216 merged 1 commit into
apache:masterfrom
zdebanos:shv-nxboot-updater-tui-script

Conversation

@zdebanos

Copy link
Copy Markdown
Contributor

Summary

This commit rewrites the shv-nxboot-updater update-script to a tui based implementation.
Also a pyshv version is increased to 0.10.1.

The script is fully working and the TUI based implementation is much lighter than the
previous gui one.

Impact

More straightforward flashing from the command-line interface.

Testing

Two commands were run to confirm the functionality:

python3 tui.py -o flash -i ./image.img -m test/device -s "tcp://test@IP_ADDR?password=test"

The script successfully flashes the image.img file (generated by boot/nxboot/tools/nximage.py)
to the target device over the SHV broker at IP_ADDR. The script also succesfully reseted the device
for the fw update to be performed.

python3 tui.py -o confirm  -m test/device -s "tcp://test@IP_ADDR?password=test"

The script succesfully confirms the firmware after the fw reset.

In both scenarios, the NuttX device was running this program:

shv_nxboot_updater -m test/device -i IP_ADDR -p test -t 3755 -u test

DOCUMENTATION TO BE ADDED.

@acassis acassis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zdebanos
zdebanos force-pushed the shv-nxboot-updater-tui-script branch from cc8ee0a to 1daaaf4 Compare October 25, 2026 16:46
This commit rewrites the shv-nxboot-updater update-script to a tui
based implementation. Also a pyshv version is increased to 0.10.1.

Signed-off-by: Stepan Pressl <pressl.stepan@gmail.com>
@zdebanos
zdebanos force-pushed the shv-nxboot-updater-tui-script branch from 1daaaf4 to a1836cd Compare October 25, 2026 18:15
@zdebanos

Copy link
Copy Markdown
Contributor Author

Documentation PR prepared: apache/nuttx#20991.

@cederom cederom left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @zdebanos :-)

@xiaoxiang781216
xiaoxiang781216 merged commit 6f8759c into apache:master Oct 26, 2026
30 of 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