Skip to content

Add -t/--terminal flag to stream serial output after burn#49

Merged
widgetii merged 1 commit intomasterfrom
feature/terminal-flag
Apr 20, 2026
Merged

Add -t/--terminal flag to stream serial output after burn#49
widgetii merged 1 commit intomasterfrom
feature/terminal-flag

Conversation

@widgetii
Copy link
Copy Markdown
Member

Summary

Adds -t/--terminal flag that keeps the serial port open after burn and streams raw output until Ctrl-C. No data is lost between burn completion and seeing boot messages.

defib burn -c hi3516ev300 -p /dev/ttyUSB0 -f u-boot.bin --power-cycle -t

Test plan

  • 326 tests pass
  • Tested on hi3516av200: vendor U-Boot boot log streams immediately after transfer

🤖 Generated with Claude Code

After firmware upload completes, keeps the serial port open and
streams raw output until Ctrl-C. This lets you see U-Boot boot
messages immediately without losing data between burn and connecting
a separate terminal.

Usage:
  defib burn -c hi3516ev300 -p /dev/ttyUSB0 -f u-boot.bin -t

Tested on hi3516av200 hardware — vendor U-Boot boot log visible
immediately after transfer.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@widgetii widgetii merged commit 9719256 into master Apr 20, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant