linuxboot / linuxboot/fiano

Support arbitrary data at the beginning of the file?

Open
#200 5 comments 1 reaction 3 assignees View on GitHub

@GanShun is already working on this.

Since Oct 15, 2018.

question
Dominant language
Go
Stars
373
Forks
59
PR merge metrics
No merged PRs in 30d

Description

I have a vendor firmware image that prepends signature and certificates to the actual IFD image. The image is not dumped from the flash chip, but is provided along with their firmware upgrade tool.

This doesn't seem to be part of any standard, I rather believe it's a custom behaviour from the vendor's upgrade tool. This is handled, for example, by UEFITool in FfsParser::parseGenericImage, which is called only if a regular IFD starting at 0 is not found.

Even if this is a non-standard customization, I think it's an interesting feature to have. I can make a PR to support this use case with a `-generic` flag that will scan the file until it finds a valid IFD. What do you think?

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.