linuxboot / linuxboot/fiano

Decompress PEI modules

Open
#112 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

The `FVFileTypePEIM` line was commented out in `supportedFiles` to prevent PEI sections from being compressed. This was necessary because PEI sections would re-compress to a larger size and overflow the PEI firmware volume.

To fix this, only sections which have been changed should be re-compressed. It might be possible to implement this with dirty bits, diffing or hashing.

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

Start by locating the supportedFiles configuration and the commented FVFileTypePEIM entry, then trace how PEI sections are decompressed and recompressed. Compare dirty bits, diffing, and hashing as possible ways to identify changed sections; done means unchanged sections are not recompressed and the PEI firmware volume does not overflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
embedded-iot, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.