diff options
author | Hung-Te Lin <hungte@chromium.org> | 2019-01-22 15:52:02 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-01-23 14:55:10 +0000 |
commit | 6e44d7c4523ad29a5f7f25bb91160b5bbde9649c (patch) | |
tree | 763f23b89329e5dd3a189f939cabbaf4ddd6a389 | |
parent | 03f654c8ee62af8b2cef81864c6a16d4f1b1c955 (diff) |
google/kukui: Revise FMAP layout for larger CBFS
Kukui with vboot enabled will build with `detachable_ui`, which needs
larger space in CBFS for more complicated assets. So we need to revise
FMAP sections:
- BOOTBLOCK (not really used) only needs <= 32K.
- GBB can be much smaller since assets moved from GBB to CBFS.
- FMAP is re-ordered (with the cost of less efficient in bsearch) so CBFS can
get larger continuous space.
- COREBOOT(CBFS) should take all space left.
Since FMAP and COREBOOT have changed location, the system will need to
reflash EC (which contains the new bootblock) as well.
BUG=b:123202015
TEST=Builds and boots on Kukui P1
Change-Id: I22cff99dca8c396c5897c3f6631721af40f3ffbd
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: https://review.coreboot.org/c/31035
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: You-Cheng Syu <youcheng@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
-rw-r--r-- | src/mainboard/google/kukui/chromeos.fmd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/google/kukui/chromeos.fmd b/src/mainboard/google/kukui/chromeos.fmd index 1602f809ce..c563e08c1b 100644 --- a/src/mainboard/google/kukui/chromeos.fmd +++ b/src/mainboard/google/kukui/chromeos.fmd @@ -1,10 +1,10 @@ FLASH@0x0 0x800000 { WP_RO@0x0 0x200000 { RO_SECTION@0x0 0x1f0000 { - BOOTBLOCK@0 128K - COREBOOT(CBFS)@0x20000 0xe0000 - FMAP@0x100000 0x1000 - GBB@0x101000 0xeef00 + BOOTBLOCK@0 32K + FMAP@0x8000 0x1000 + COREBOOT(CBFS)@0x9000 0x1e4000 + GBB@0x1ed000 0x2f00 RO_FRID@0x1eff00 0x100 } RO_VPD@0x1f0000 0x10000 |