mirror of
https://git.yoctoproject.org/poky
synced 2026-02-15 21:23:04 +01:00
After commite8b1c65394, we started seeing errors like the following during boot on genericx86 machines: uvesafb: failed to execute /sbin/v86d uvesafb: probe of uvesafb.0 failed with error -22 uvesafb: vbe_init() failed with -22 uvesafb: Getting VBE info block failed (eax=0x4f00, err=-2) These were caused because the uvesa module was being loaded during boot, when it is only meant to be loaded on qemu according to:6af89812e8Since genericx86-common.inc includes qemuboot-x86, the module also tries to be loaded on genericx86 machines, this patch removes the instruction from qemuboot-x86 and adds it in specific to both qemux86 machines confs so it is correctly loaded only on those. [YOCTO #11879] (From OE-Core rev: 261f9c382121c73b72556a151fdd4c7938b32a92) (From OE-Core rev: 554903483acb4af402feaba013366388db89e36b) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 lines
624 B
PHP
18 lines
624 B
PHP
# For runqemu
|
|
IMAGE_CLASSES += "qemuboot"
|
|
QB_SYSTEM_NAME_x86 = "qemu-system-i386"
|
|
QB_CPU_x86 = "-cpu pentium2"
|
|
QB_CPU_KVM_x86 = "-cpu pentium2"
|
|
|
|
QB_SYSTEM_NAME_x86-64 = "qemu-system-x86_64"
|
|
QB_CPU_x86-64 = "-cpu core2duo"
|
|
QB_CPU_KVM_x86-64 = "-cpu core2duo"
|
|
|
|
QB_AUDIO_DRV = "alsa"
|
|
QB_AUDIO_OPT = "-soundhw ac97,es1370"
|
|
QB_KERNEL_CMDLINE_APPEND = "vga=0 uvesafb.mode_option=${UVESA_MODE} oprofile.timer=1 uvesafb.task_timeout=-1"
|
|
# Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
|
|
QB_OPT_APPEND = "-vga vmware -show-cursor -usb -device usb-tablet -device virtio-rng-pci"
|
|
|
|
UVESA_MODE ?= "640x480-32"
|