[coreboot] cbfstool: CBFS alignment broken due to FMAP

Zeh, Werner werner.zeh at siemens.com
Tue Jan 19 11:55:40 CET 2016


Hi Ben.

Alternatively you can use your own flash map setup file where you modify
FMAP_FMAP_SIZE to your needs and point Kconfig to your modified fmd-file.

In this way you can leave Makefile.inc unchanged and get your image right as well.

Werner

-----Ursprüngliche Nachricht-----
Von: coreboot [mailto:coreboot-bounces at coreboot.org] Im Auftrag von Ben Gardner
Gesendet: Montag, 18. Januar 2016 21:54
An: Patrick Georgi
Cc: coreboot
Betreff: Re: [coreboot] cbfstool: CBFS alignment broken due to FMAP

Thank you. That worked.

On Mon, Jan 18, 2016 at 2:46 PM, Patrick Georgi <pgeorgi at google.com> wrote:
> 2016-01-18 21:34 GMT+01:00 Ben Gardner <gardner.ben at gmail.com>:
>> Is there a work-around for this? For example, is there an option to 
>> pad the FMAP out to 4 KB?
> The workaround is indeed to increase the FMAP region's size to 4K.
>
> To do this, edit $(top)/Makefile.inc, line 708 (since you're on x86, 
> otherwise line 723):
> FMAP_FMAP_SIZE := 0x100
> to
> FMAP_FMAP_SIZE := 0x1000
>
>
> Patrick
> --
> Google Germany GmbH, ABC-Str. 19, 20354 Hamburg Registergericht und 
> -nummer: Hamburg, HRB 86891, Sitz der Gesellschaft: Hamburg
> Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle

--
coreboot mailing list: coreboot at coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot


More information about the coreboot mailing list