[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cbfsdisk not found

From: Gailu Singh
Subject: Re: cbfsdisk not found
Date: Sat, 25 Mar 2017 00:08:36 +0530

This is how it is calculated in coreboot

___FMAP__COREBOOT_BASE and ___FMAP__COREBOOT_SIZE are based on values available in fmd files (depending on 8MB/16Mb coreboot).

#grep -r FMAP__COREBOOT_BASE src/lib/cbfs.c: size_t fmap_top = ___FMAP__COREBOOT_BASE + ___FMAP__COREBOOT_SIZE; build/fmap_config.h:#define ___FMAP__COREBOOT_BASE 0x300800 

src/soc/intel/baytrail/romstage/ CODE_CACHE_SIZE  _ALIGN_UP_POW2(___FMAP__COREBOOT_SIZE)
src/lib/cbfs.c: size_t fmap_top = ___FMAP__COREBOOT_BASE + ___FMAP__COREBOOT_SIZE;
build/fmap_config.h:#define ___FMAP__COREBOOT_SIZE 0xc1d800

#cat src/mainboard/intel/leafhill/leafhill.16384.fmd 
address@hidden 0x1000
address@hidden 0x2ff000
address@hidden 0x800
COREBOOT(CBFS)@0x300800 0xc1d800
address@hidden 0x21000 {
address@hidden 0x10000
address@hidden 0x10000
address@hidden 0x1000
address@hidden 0x40000
address@hidden 0x7f000
address@hidden 0x1000


On Fri, Mar 24, 2017 at 11:12 PM, Andrei Borzenkov <address@hidden> wrote:
24.03.2017 20:32, Gailu Singh пишет:
>>> Could you please reference the solution for future users with the same
> problem?
> Sure. Infect I should have detailed it without asking. Sorry for that.
> Solution can be referenced to following thread in coreboot mailing list
> that provide details of memory mapping on the board answered by Adrian

Enters FMAP ... I like the

"However, you'd have to know where the FMAP is in order to parse things"

And how should we know this location?

Grub-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]