summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils
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:39:34 +0000
commite63e1918ffdf013fbf466ffbd563f7c36647a4c3 (patch)
treed92f97a0327cce2f7021cd8891f3c00142557d51 /meta/lib/oeqa/utils
parenta1ca7880920744b1a2e3fdf865e2bf6e469899a1 (diff)
downloadpoky-e63e1918ffdf013fbf466ffbd563f7c36647a4c3.tar.gz
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. (From OE-Core rev: 8f8db89a91142bf71d009df881107b4c1fc61237) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/utils')
-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:
121 # Set this flag so that Qemu doesn't do any grabs as SDL grabs interact 121 # Set this flag so that Qemu doesn't do any grabs as SDL grabs interact
122 # badly with screensavers. 122 # badly with screensavers.
123 os.environ["QEMU_DONT_GRAB"] = "1" 123 os.environ["QEMU_DONT_GRAB"] = "1"
124 self.qemuparams = 'bootparams="console=tty1 console=ttyS0,115200n8" qemuparams="-serial tcp:127.0.0.1:{}"'.format(threadport) 124 self.qemuparams = 'bootparams="console=tty1 console=ttyS0,115200n8 printk.time=1" qemuparams="-serial tcp:127.0.0.1:{}"'.format(threadport)
125 if qemuparams: 125 if qemuparams:
126 self.qemuparams = self.qemuparams[:-1] + " " + qemuparams + " " + '\"' 126 self.qemuparams = self.qemuparams[:-1] + " " + qemuparams + " " + '\"'
127 127