When using nographic, explicitly disable vga since some qemu firmware (
OpenFirmware ) defaults to std vga, and when vga is enabled then it
disables output to serial and redirects that to vga which is by design,
hwoever we expect the console output to go to serial when using
nographic, therefore its important to disable vga with nographic
especially on qemu based ppc platforms

Signed-off-by: Khem Raj <raj.k...@gmail.com>
---
 scripts/runqemu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/runqemu b/scripts/runqemu
index dd92a64553..2e31338d8e 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -462,7 +462,7 @@ class BaseConfig(object):
                     raise RunQemuError('Option nographic makes no sense 
alongside the sdl option.' % (arg))
                 if ('gtk' in sys.argv):
                     raise RunQemuError('Option nographic makes no sense 
alongside the gtk option.' % (arg))
-                self.qemu_opt_script += ' -nographic'
+                self.qemu_opt_script += ' -nographic -vga none'
                 self.kernel_cmdline_script += ' console=ttyS0'
             elif arg == 'sdl':
                 if 'gl' in sys.argv[1:]:
-- 
2.30.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#148376): 
https://lists.openembedded.org/g/openembedded-core/message/148376
Mute This Topic: https://lists.openembedded.org/mt/80785823/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to