Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xaionaro opened this issue Jan 17, 2022 · 1 comment
Open

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

xaionaro opened this issue Jan 17, 2022 · 1 comment

Comments

@xaionaro
Copy link
Member

xaionaro commented Jan 17, 2022

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
xaionaro added a commit that referenced this issue Jan 17, 2022
@xaionaro
Copy link
Member Author

Created a PR to workaround the problem.

orangecms pushed a commit that referenced this issue Mar 22, 2022
orangecms pushed a commit that referenced this issue Mar 22, 2022
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

No branches or pull requests

1 participant