Skip to content

Add firmware auto-download to TUI#5

Merged
widgetii merged 3 commits intomasterfrom
feature/tui-firmware-download
Mar 30, 2026
Merged

Add firmware auto-download to TUI#5
widgetii merged 3 commits intomasterfrom
feature/tui-firmware-download

Conversation

@widgetii
Copy link
Copy Markdown
Member

Summary

Completes firmware auto-download across all three interfaces (CLI, WebUI, TUI).

The TUI main screen now shows a context-aware download button:

  • Chip with OpenIPC firmware: green "Download U-Boot for {chip}" button
  • Already cached: "Re-download" button + "✓ Cached: filename (236 KB)" status
  • No OpenIPC build: disabled button + "Enter a local firmware file path below"

Start button auto-enables when firmware is available (downloaded or local file).

🤖 Generated with Claude Code

widgetii and others added 3 commits March 30, 2026 15:52
The TUI main screen now shows a download button when a chip with
OpenIPC firmware is selected. Shows cached status, download progress,
and error handling. Local file input still available below.

Flow:
1. Select chip → "Download U-Boot for hi3516ev300" button appears
2. Click → downloads and caches firmware
3. Start button enables automatically
4. Cached firmware shown with size on subsequent launches

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix BadIdentifier crash: stage ids now replace spaces with hyphens
- Remove duplicate log messages (Boot mode entered x2, Recovery complete x3)
- Remove artificial handshake timeouts — wait forever for user to power-cycle
- Add "power-cycle the device now!" to all handshake messages (all 3 protocols)
- Apply same fixes to WebUI JS (infinite loop, consistent messages)
- Add regression test for ProgressScreen stage id rendering

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@widgetii widgetii merged commit 77b7b0c into master Mar 30, 2026
12 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