summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>2015-11-04 22:52:11 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-16 11:32:45 +0000
commit8f8db89a91142bf71d009df881107b4c1fc61237 (patch)
tree54d3163bef3230fbc9950f87c46e7ad64dcf0b47
parent245113ca1075bc3f0c47952e80b437229f855080 (diff)
downloadopenembedded-core-contrib-8f8db89a91142bf71d009df881107b4c1fc61237.tar.gz
openembedded-core-contrib-8f8db89a91142bf71d009df881107b4c1fc61237.tar.bz2
openembedded-core-contrib-8f8db89a91142bf71d009df881107b4c1fc61237.zip
qemurunner: Enable timestamps on kernel boot-up
Having the timestamps in the log is useful when debugging those cases when the booting time takes longer than expected. printk.times=1 enables stamping into every printk Kernel call. Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index bdc6e0a8f8..abbafd51e4 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -121,7 +121,7 @@ class QemuRunner:
# Set this flag so that Qemu doesn't do any grabs as SDL grabs interact
# badly with screensavers.
os.environ["QEMU_DONT_GRAB"] = "1"
- self.qemuparams = 'bootparams="console=tty1 console=ttyS0,115200n8" qemuparams="-serial tcp:127.0.0.1:{}"'.format(threadport)
+ self.qemuparams = 'bootparams="console=tty1 console=ttyS0,115200n8 printk.time=1" qemuparams="-serial tcp:127.0.0.1:{}"'.format(threadport)
if qemuparams:
self.qemuparams = self.qemuparams[:-1] + " " + qemuparams + " " + '\"'