ZYNQMP: Bootgen incorrectly reports a BIF attribute error for [keysrc_encryption]

Open Beginner friendly
#45 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
cpp
Domain
cli, tooling

Research direction

Start at bisonflex/bif.tab.cpp around line 772, where the issue identifies the architecture check for the [keysrc_encryption] attribute. Reproduce the warning with the -arch zynqmp option and the efuse_blk_key statement, then verify that bootgen accepts the statement without reporting the architecture error.

Written by the indexing model from the issue text.

Description

Bootgen should support the [keysrc_encryption] efuse_blk_key statement when used with -arch zynqmp option. However, recent versions of bootgen report:

[WARNING]: BIF attribute error !!! [keysrc_encryption] not supported for the specified architecture

The issue is caused by the use of 'or' condition instead of an 'and' at the following location:
https://github.com/Xilinx/bootgen/blob/xlnx_rel_v2025.2/bisonflex/bif.tab.cpp#L772

Dominant language
C++
Stars
64
Forks
56
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from Xilinx/bootgen

All issues in Xilinx/bootgen

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.