Project

General

Profile

Actions

Bug #169

closed

`cbfstool coreboot.rom compact` moves bootblock

Added by henry autistici over 5 years ago. Updated almost 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
07/17/2018
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

Description

The bootblock part of a coreboot rom file should always remain at the end of the flash chip. However, running cbfstool coreboot.rom compact on the rom file relocates the bootblock so that it is followed by the free space.

Expected/suggested behaviour: Keep the bootblock at the end of the flash and relocate all free space right before it.

Actions #1

Updated by Arthur Heymans over 5 years ago

Some cbfsfiles need to be at a fixed offset, others need a certain alignment. compact could have some specific use cases but should generally not be used the main COREBOOT fmap region.

Actions #2

Updated by Patrick Georgi almost 5 years ago

  • Status changed from New to Rejected

Yes, there's little we can do about it unless we start adding alignment/positioning data to CBFS metadata so compact can do a real cleanup.

Actions

Also available in: Atom PDF