[Skiboot] [PATCH 3/3] doc/console-log: minor updates
stewart at linux.vnet.ibm.com
Tue Aug 1 18:11:36 AEST 2017
Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
doc/console-log.rst | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/doc/console-log.rst b/doc/console-log.rst
index 9802418a23ac..ca9ec3ff04ad 100644
@@ -9,7 +9,19 @@ of the memory console, we're pretty keen on keeping its location
Events are logged in the following format:
+``[S.T,L] message`` where:
+:S: Seconds, which is the timebase divided by 512,000,000.
+ **NOTE**: The timebase is reset during boot, so zero is a few dozen
+ messages into skiboot booting.
+:T: Remaining Timebase. It is *NOT* a fraction of a second, but rather
+:L: Log level (see below)
+ [ 2.223466021,5] FLASH: Found system flash: Macronix MXxxL51235F id:0
+ [ 3.494892796,7] FLASH: flash subpartition eyecatcher CAPP
You should use the new prlog() call for any log message and set the
log level/priority appropriately.
@@ -19,7 +31,8 @@ with prlog() calls.
See timebase.h for full timebase explanation.
-Log level from skiboot.h:
@@ -61,5 +74,3 @@ still only PR_NOTICE through drivers.
People who write something like 0x1f will get a very quiet boot indeed.
More information about the Skiboot