Project

General

Profile

Actions

Bug #25

closed

Alignments greater than fmap size fail on x86

Added by Patrick Georgi almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
01/20/2016
Due date:
% Done:

0%

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

Description

Because fmap comes before CBFS on x86 (for architectural reasons), CBFS is offset by the fmap size.

Since cbfstool handles alignment relative to CBFS start (and not flash start), having an alignment of 0x1000 bytes with an fmap of 0x100 bytes leads to a placement at n*0x1000 + 0x100, which normally isn't the intent of the alignment request.

cbfstool needs to calculate alignments relative to the flash image, not CBFS start.

Actions

Also available in: Atom PDF