Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10734
-gerrit
commit 02b34e5683793d00405115e0325505d3e97cdc64
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 269f7d2..3679685 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 a3aa8da2acec28670b724b7897ae054592746674
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Wed Jul 1 16:58:36 2015 -0700
sandy/ivybridge: use LAPIC timer in SMM
This fixes an issue with using the flash driver in SMM for writing
the event log through an SMM call.
Change-Id: If18c77634cca4563f770f09b0f0797ece24308ce
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Reviewed-on: http://review.coreboot.org/10762
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi(a)google.com>
See http://review.coreboot.org/10762 for details.
-gerrit
the following patch was just integrated into master:
commit cdf8ee60711c1773337b9a907435b908420de920
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Wed Jul 1 14:51:41 2015 -0700
purin: chromeos.c also needed in romstage
Otherwise the Chrome OS build won't succeed.
Change-Id: Idf93a09f53d08b6c201f1de140f0fff35f928dcc
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Reviewed-on: http://review.coreboot.org/10760
Reviewed-by: Marc Jones <marc.jones(a)se-eng.com>
Tested-by: build bot (Jenkins)
See http://review.coreboot.org/10760 for details.
-gerrit
the following patch was just integrated into master:
commit cecabc19a536f4600fd7d702277baf8313725a07
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Wed Jul 1 17:37:57 2015 -0700
ME/IFD binaries: Implement sane defaults for file paths
Change-Id: I81298aca07c18359e8e4bf5b2d8926d6b45a30c5
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Reviewed-on: http://review.coreboot.org/10763
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <gaumless(a)gmail.com>
See http://review.coreboot.org/10763 for details.
-gerrit