Thanks. That also worked.

For the benefit of others:
I copied build/fmap.fmd to src/mainboard/$VENDOR/$BOARD/ and then
updated the FMDFILE config item to point to it.
  CONFIG_FMDFILE="src/mainboard/$VENDOR/$BOARD/fmap.fmd"

It may help to look at util/cbfstool/default-x86.fmd to see the names
of the values.

Ben

On Tue, Jan 19, 2016 at 4:55 AM, Zeh, Werner <[email protected]> wrote:
> 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:[email protected]] 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 <[email protected]> wrote:
>> 2016-01-18 21:34 GMT+01:00 Ben Gardner <[email protected]>:
>>> 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: [email protected] 
> http://www.coreboot.org/mailman/listinfo/coreboot

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to