utk: building ExtHeader erase polarity not 0x00 or 0xFF, got 0xf0
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 373
- Forks
- 59
- PR merge metrics
- No merged PRs in 30d
Description
Hello. It looks like verb create-fv does not work in the utk tool on an empty image:
xaionaro@void:~/go/src/github.com/linuxboot/fiano$ dd if=/dev/zero of=/tmp/image bs=1K count=64
64+0 records in
64+0 records out
65536 bytes (66 kB, 64 KiB) copied, 0.00071909 s, 91.1 MB/s
xaionaro@void:~/go/src/github.com/linuxboot/fiano$ go run ./cmds/utk/ /tmp/image create-fv $((32 * 1024)) $((32 * 1024 - 16)) "61C0F511-A691-4F54-974F-B9A42172CE53"
2022/01/17 19:41:14 [fiano][FATAL] building ExtHeader erase polarity not 0x00 or 0xFF, got 0xf0
exit status 1
Contributor guide
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
Reproduce the reported utk create-fv command on the empty 64 KiB image, then trace the create-fv path where the ExtHeader erase polarity is validated. Done means the command completes successfully instead of reporting polarity 0xf0.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, embedded-iot
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100