linuxboot / linuxboot/fiano

utk: building ExtHeader erase polarity not 0x00 or 0xFF, got 0xf0

Open
#356 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.