efuseppkbits - Unknown option on command line
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 64
- Forks
- 56
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I am trying to generate the SHA to write to the eFuse so I can properly activate the secure boot authentication
However using the documented bif file, I am having the following issue:
all:
{
[pskfile] keys/PSK.pem
[sskfile] keys/SSK.pem
[bootloader, destination_cpu=a53-0, authentication=rsa] u-boot-spl.bin
}
./bootgen –arch zynqmp –image bif.hash -o boot.bin –efuseppkbits eFUSE.txt
****** Xilinx Bootgen v2021.1
**** Build date : Jul 15 2021-00:18:02
** Copyright 1986-2021 Xilinx, Inc. All Rights Reserved.
[ERROR] : Unknown option on command line:
It is not straightforward to debug the parser (lex/bixon stuff).
Could you help me understand the error in the command line please - verbatim from the documentation?
This actually relates to https://github.com/Xilinx/bootgen/pull/10
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
Reproduce the documented bootgen command with bif.hash and the shown efuseppkbits option, then inspect the command-line parser, including the lex/bison parts named in the report, to trace why it is rejected. Done means the documented invocation is accepted and produces the expected eFUSE.txt output for the secure-boot workflow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100