summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
authorJon Mason <jdmason@kudzu.us>2021-03-10 18:05:32 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-03-11 14:00:36 +0000
commit16d1669ff9f28013db829593c018b418304abad3 (patch)
tree660cb131b65ffadf1992b874a51910da80130d58 /meta/lib/oeqa
parentbd0ada8994ce3c1cb3a2d67dc9e8fae5c348118e (diff)
downloadpoky-16d1669ff9f28013db829593c018b418304abad3.tar.gz
runqemu: correct forcing of ttyS0
Some platforms do not use ttyS* for their serial consoles (e.g., qemuarm and qemuarm64). The hardcoding of this can cause issues. Modify runqemu to use the serial consoles defined in SERIAL_CONSOLES instead of hardcoding. (From OE-Core rev: 9dea4cd2f9f46ab3a75562639a22d8f56b4d26af) Signed-off-by: Jon Mason <jon.mason@arm.com> Change-Id: I746d56de5669c955c5e29d3ded70c0a4d3171f17 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-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 77ec939ad7..eb23dbceb8 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -176,7 +176,7 @@ class QemuRunner:
176 self.logger.error("Failed to create listening socket: %s" % msg[1]) 176 self.logger.error("Failed to create listening socket: %s" % msg[1])
177 return False 177 return False
178 178
179 bootparams = 'console=tty1 console=ttyS0,115200n8 printk.time=1' 179 bootparams = ' printk.time=1'
180 if extra_bootparams: 180 if extra_bootparams:
181 bootparams = bootparams + ' ' + extra_bootparams 181 bootparams = bootparams + ' ' + extra_bootparams
182 182