Skip to content

feat: resolve firmware binaries from FW_URI - #1270

Open
Spina7 wants to merge 1 commit into
Dasharo:mainfrom
Spina7:fw-uri-cache
Open

feat: resolve firmware binaries from FW_URI#1270
Spina7 wants to merge 1 commit into
Dasharo:mainfrom
Spina7:fw-uri-cache

Conversation

@Spina7

@Spina7 Spina7 commented May 20, 2026

Copy link
Copy Markdown

Summary

  • Add FW_URI support for resolving firmware binaries automatically while preserving existing FW_FILE behavior.
  • Cache downloaded binaries under ${FW_CACHE_DIR:-$HOME/.cache/osfv/firmware}.
  • Use FW_VERSION as an optional cache subdirectory to keep release binaries separate.
  • Document the new regression wrapper usage.

Closes #980

Test plan

  • bash -n scripts/lib/robot.sh
  • bash -n scripts/regression.sh
  • Verified resolve_fw_file downloads a file:// test ROM into FW_CACHE_DIR/FW_VERSION/ and exports FW_FILE.
  • Verified a second resolve_fw_file call reuses the cached binary.
  • git diff --check

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.

Automate managing firmware binaries in OSFV

1 participant