mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
qemu: uprev v4.2.0 -> v5.0.0
Major update after v4.2.
Changes:
- os_find_datadir() was changed after the v4.2 release
causing v5.0 to not find the bios and not boot the
image. Fix is sent to upstream qemu.
See: qemu/find_datadir.patch
- v5.0 binary had host contamination for dynamically linked
libraries, "--extra-ldflags='${LDFLAGS}'" in EXTRA_OECONF
resolved the issue
- bluetooth code was removed: qemu.git$ git show 1d4ffe8dc7
hence removed PACKAGECONFIG[bluez]
- -show-cursor qemu option is now deprecated, updated
scripts/runqemu to use updated option instead
- added PACKAGECONFIG definitions
- added qemu-ptest to conf/distro/include/ptest-packagelists.inc
- increased support for ARM architecture, cpu and board
- removed patches merged upstream and refreshed
existing ones
Testing:
Build core-image-minimal against the machines in
openembedded-core/meta/conf/machine and succesfully
booted with qemu v5.0
Ran qemu-ptest on x86-64 and arm64 with identical results:
PASS: 1166
SKIP: 0
FAIL: 0
(From OE-Core rev: ee9ec9e344541c1ccd9b9b8e3b8c1e00d008ad85)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f5bbb3ba2d
commit
a3102471e4
@@ -461,27 +461,27 @@ class BaseConfig(object):
|
||||
elif arg == 'sdl':
|
||||
if 'gl' in sys.argv[1:]:
|
||||
self.set_dri_path()
|
||||
self.qemu_opt_script += ' -vga virtio -display sdl,gl=on'
|
||||
self.qemu_opt_script += ' -vga virtio -display sdl,gl=on,show-cursor=on'
|
||||
elif 'gl-es' in sys.argv[1:]:
|
||||
self.set_dri_path()
|
||||
self.qemu_opt_script += ' -vga virtio -display sdl,gl=es'
|
||||
self.qemu_opt_script += ' -vga virtio -display sdl,gl=es,show-cursor=on'
|
||||
else:
|
||||
self.qemu_opt_script += ' -display sdl'
|
||||
self.qemu_opt_script += ' -display sdl,show-cursor=on'
|
||||
elif arg == 'gtk':
|
||||
if 'gl' in sys.argv[1:]:
|
||||
self.set_dri_path()
|
||||
self.qemu_opt_script += ' -vga virtio -display gtk,gl=on'
|
||||
self.qemu_opt_script += ' -vga virtio -display gtk,gl=on,show-cursor=on'
|
||||
elif 'gl-es' in sys.argv[1:]:
|
||||
self.set_dri_path()
|
||||
self.qemu_opt_script += ' -vga virtio -display gtk,gl=es'
|
||||
self.qemu_opt_script += ' -vga virtio -display gtk,gl=es,show-cursor=on'
|
||||
else:
|
||||
self.qemu_opt_script += ' -display gtk'
|
||||
self.qemu_opt_script += ' -display gtk,show-cursor=on'
|
||||
elif arg == 'gl' or arg == 'gl-es':
|
||||
# These args are handled inside sdl or gtk blocks above
|
||||
pass
|
||||
elif arg == 'egl-headless':
|
||||
self.set_dri_path()
|
||||
self.qemu_opt_script += ' -vga virtio -display egl-headless'
|
||||
self.qemu_opt_script += ' -vga virtio -display egl-headless,show-cursor=on'
|
||||
elif arg == 'serial':
|
||||
self.kernel_cmdline_script += ' console=ttyS0'
|
||||
self.serialconsole = True
|
||||
|
||||
Reference in New Issue
Block a user