Marc Jones (marc.jones(a)se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10737
-gerrit
commit 9f259bfb6cac21332d4bd6478faab17d0e85c546
Author: Furquan Shaikh <furquan(a)google.com>
Date: Wed Oct 29 10:48:57 2014 -0700
haswell: Use _timestamp region
Use timestamp region instead of storing timestamps in local variables before
cbmem is up.
BUG=None
BRANCH=None
TEST=cbmem -t reports correct timestamps on falco and peppy (for both normal
boot and suspend/resume).
Original-Change-Id: If5883721553090f51c0bfcb5677aad55c54f82b3
Original-Signed-off-by: Furquan Shaikh <furquan(a)google.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/226362
Original-Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
Original-Commit-Queue: Furquan Shaikh <furquan(a)chromium.org>
Original-Tested-by: Furquan Shaikh <furquan(a)chromium.org>
(cherry picked from commit 61dbca0b181335d187d742c4a63472f2f2cc9a1b)
Signed-off-by: Marc Jones <marc.jones(a)se-eng.com>
Change-Id: Ibb98f32f24bac1d3560eb257bf0d9f4310a5828f
---
src/cpu/intel/haswell/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/cpu/intel/haswell/Kconfig b/src/cpu/intel/haswell/Kconfig
index 779f1d6..2ed1c61 100644
--- a/src/cpu/intel/haswell/Kconfig
+++ b/src/cpu/intel/haswell/Kconfig
@@ -27,6 +27,7 @@ config CPU_SPECIFIC_OPTIONS
select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
select PARALLEL_CPU_INIT
select PARALLEL_MP
+ select HAS_PRECBMEM_TIMESTAMP_REGION
config BOOTBLOCK_CPU_INIT
string
Marc Jones (marc.jones(a)se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10734
-gerrit
commit d1971748f29739cc3cfd840306754c596b2b4cc6
Author: Furquan Shaikh <furquan(a)google.com>
Date: Tue Oct 14 15:26:47 2014 -0700
memlayout: Add TIMESTAMP region
This region is used to store the timestamps from bootblock and verstage when
cbmem is not yet initialized. Once cbmem is setup, the timestamps from this
region can be retrieved and filled up properly in cbmem. In order to achieve
this a new Kconfig option is introduced HAS_TIMESTAMP_REGION. This is to
maintain compatbility with older boards which do not use this region.
BUG=chrome-os-partner:32973
BRANCH=None
TEST=cbmem -t and verified timestamps on ryu
Change-Id: I4d78653c0595523eeeb02115423e7fecceea5e1e
Signed-off-by: Furquan Shaikh <furquan(a)google.com>
Reviewed-on: https://chromium-review.googlesource.com/223348
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi(a)chromium.org>
Tested-by: Furquan Shaikh <furquan(a)chromium.org>
Commit-Queue: Furquan Shaikh <furquan(a)chromium.org>
(cherry picked from commit 3f77e81a369d032cbb0bc072872b373533b000e9)
Signed-off-by: Marc Jones <marc.jones(a)se-eng.com>
---
src/Kconfig | 8 ++++++++
src/include/memlayout.h | 3 +++
src/include/symbols.h | 4 ++++
3 files changed, 15 insertions(+)
diff --git a/src/Kconfig b/src/Kconfig
index 94b3508..814fd23 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -200,6 +200,14 @@ config COLLECT_TIMESTAMPS
Make coreboot create a table of timer-ID/timer-value pairs to
allow measuring time spent at different phases of the boot process.
+config HAS_PRECBMEM_TIMESTAMP_REGION
+ bool "Timestamp region exists for pre-cbmem timestamps"
+ depends on COLLECT_TIMESTAMPS
+ help
+ A separate region is maintained to allow storing of timestamps before
+ cbmem comes up. This is useful for storing timestamps across different
+ stage boundaries.
+
config USE_BLOBS
bool "Allow use of binary-only repository"
default n
diff --git a/src/include/memlayout.h b/src/include/memlayout.h
index 2771f2f..a529628 100644
--- a/src/include/memlayout.h
+++ b/src/include/memlayout.h
@@ -47,6 +47,9 @@
#define DRAM_START(addr) SYMBOL(dram, addr)
+#define TIMESTAMP(addr, size) \
+ REGION(timestamp, addr, size, 8)
+
#define PRERAM_CBMEM_CONSOLE(addr, size) \
REGION(preram_cbmem_console, addr, size, 4)
diff --git a/src/include/symbols.h b/src/include/symbols.h
index 9102e82..3fbf819 100644
--- a/src/include/symbols.h
+++ b/src/include/symbols.h
@@ -28,6 +28,10 @@ extern u8 _esram[];
extern u8 _dram[];
+extern u8 _timestamp[];
+extern u8 _etimestamp[];
+#define _timestamp_size (_etimestamp - _timestamp)
+
extern u8 _preram_cbmem_console[];
extern u8 _epreram_cbmem_console[];
#define _preram_cbmem_console_size \
the following patch was just integrated into master:
commit d13fd1b013f1639521aa1a682d147db758db398f
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Tue Jun 30 21:59:23 2015 +0200
nvidia/tegra210: reserve more room for the romstage in vboot builds
Change-Id: I11c2e270179c54af8687435ff662a509ac714505
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
Reviewed-on: http://review.coreboot.org/10733
Reviewed-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Tested-by: build bot (Jenkins)
See http://review.coreboot.org/10733 for details.
-gerrit
the following patch was just integrated into master:
commit e3fe4e7572a60cf7444ee87228edb509d020e0b7
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Tue Jun 30 21:58:45 2015 +0200
google/foster: roll up fixes to compile with vboot
Change-Id: I796e0fa64f9a858a54b09a82fbec1f0576e7e124
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
Reviewed-on: http://review.coreboot.org/10732
Reviewed-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Tested-by: build bot (Jenkins)
See http://review.coreboot.org/10732 for details.
-gerrit
the following patch was just integrated into master:
commit 84a124de6b776ea8eb81f1a09801fe802d06fc33
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Tue Jun 30 21:58:45 2015 +0200
google/smaug: roll up fixes to compile with vboot
Change-Id: I256410ff6c0107bbbaaf49b909d63ca61e88a22c
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
Reviewed-on: http://review.coreboot.org/10731
Reviewed-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Tested-by: build bot (Jenkins)
See http://review.coreboot.org/10731 for details.
-gerrit
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10733
-gerrit
commit 76783ef86b8dacaac1693d9adb6a6fa88c8b505a
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Tue Jun 30 21:59:23 2015 +0200
nvidia/tegra210: reserve more room for the romstage in vboot builds
Change-Id: I11c2e270179c54af8687435ff662a509ac714505
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
---
src/soc/nvidia/tegra210/include/soc/memlayout_vboot2.ld | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/soc/nvidia/tegra210/include/soc/memlayout_vboot2.ld b/src/soc/nvidia/tegra210/include/soc/memlayout_vboot2.ld
index 7aa98e0..5c8f346 100644
--- a/src/soc/nvidia/tegra210/include/soc/memlayout_vboot2.ld
+++ b/src/soc/nvidia/tegra210/include/soc/memlayout_vboot2.ld
@@ -37,8 +37,8 @@ SECTIONS
VBOOT2_WORK(0x40014000, 16K)
STACK(0x40018000, 2K)
BOOTBLOCK(0x40019000, 24K)
- VERSTAGE(0x4001F000, 56K)
- ROMSTAGE(0x4002D000, 76K)
+ VERSTAGE(0x4001F000, 52K)
+ ROMSTAGE(0x4002C000, 80K)
SRAM_END(0x40040000)
DRAM_START(0x80000000)