oxidecomputer / oxidecomputer/humility
`humity qspi --write` error when sector 0 is non-empty could maybe say something about `--write-sector0`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 584
- Forks
- 63
- Avg merge
- 3h
- Merged PRs (30d)
- 2
Description
presently, the humility qspi --write command will complain when the first 65552B of the input is not 0xff:
humility qspi failed: cannot skip sector 0 with non-empty bytes
passing --write-sector0 will cause it to write the non-empty sector 0 regardless. so maybe the error could mention that or something?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the humility qspi --write command entry point and locate the cannot skip sector 0 with non-empty bytes error text. Reproduce the case with non-0xff bytes in the first 65552B, then verify that the resulting message points users to --write-sector0 while that flag continues to permit the write.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, embedded-iot
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100