[coreboot-gerrit] New patch to review for coreboot: 5c16e26 storm: fix CBFS definitions

Aaron Durbin (adurbin@google.com) gerrit at coreboot.org
Tue Apr 7 21:48:40 CEST 2015


Aaron Durbin (adurbin at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9372

-gerrit

commit 5c16e26e5901d5559b1d15a21d95bef2e0f4f6ac
Author: Vadim Bendebury <vbendeb at chromium.org>
Date:   Fri Oct 10 13:35:01 2014 -0700

    storm: fix CBFS definitions
    
    It's been a while since SBL blob size was reduced. As CBFS area by
    definition includes the bootblock, storm configuration needs to be
    updated to address the changes in layout.
    
    Incidentally, it looks like CBFS_SIZE configuration setting is not
    used on ARM platforms, this will have to be addressed separately.
    
    BRANCH=storm
    BUG=chromium:422501
    TEST=storm firmware does not report the failure to find payload anymore
    
    Original-Change-Id: I37abf76a9d8884b3431633f57f64896c3a5fb135
    Original-Signed-off-by: Vadim Bendebury <vbendeb at chromium.org>
    Original-Reviewed-on: https://chromium-review.googlesource.com/222898
    Original-Reviewed-by: Aaron Durbin <adurbin at chromium.org>
    
    (cherry picked from commit b104d5c1c328b8bd9c6f926ed4fe3e4948860fbc)
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
    
    Change-Id: I2800bf4ac6383c5ceb47330f07efaaf64e5d80d9
---
 src/soc/qualcomm/ipq806x/Kconfig      | 4 ++--
 src/soc/qualcomm/ipq806x/memlayout.ld | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/soc/qualcomm/ipq806x/Kconfig b/src/soc/qualcomm/ipq806x/Kconfig
index 9e6a053..8cc7233 100644
--- a/src/soc/qualcomm/ipq806x/Kconfig
+++ b/src/soc/qualcomm/ipq806x/Kconfig
@@ -27,11 +27,11 @@ config BOOTBLOCK_ROM_OFFSET
 
 config CBFS_HEADER_ROM_OFFSET
 	hex "offset of master CBFS header in ROM"
-	default 0x228000
+	default 0x1b4000
 
 config CBFS_ROM_OFFSET
 	hex "offset of CBFS data in ROM"
-	default 0x228080
+	default 0x1b4080
 
 config MBN_ENCAPSULATION
 	depends on USE_BLOBS
diff --git a/src/soc/qualcomm/ipq806x/memlayout.ld b/src/soc/qualcomm/ipq806x/memlayout.ld
index 3059603..de1b129 100644
--- a/src/soc/qualcomm/ipq806x/memlayout.ld
+++ b/src/soc/qualcomm/ipq806x/memlayout.ld
@@ -29,7 +29,7 @@ SECTIONS
 	TTB(0x2A05C000, 48K)
 
 	DRAM_START(0x40000000)
-	CBFS_CACHE(0x405CC000, 192K)
+	CBFS_CACHE(0x405C0000, 240K)
 	STACK(0x405FC000, 16K)
 	/* TODO: "256K bytes left for TZBSP"... what does that mean? */
 	BOOTBLOCK(0x40600000, 32K)



More information about the coreboot-gerrit mailing list