mirror of
https://git.yoctoproject.org/poky
synced 2026-09-29 07:36:20 +02:00
Configrations: MACHINE: qemux86-64 require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" Reproduce steps: bitbake lib32-core-image-minimal runqemu qemux86-64 nographic lib32-core-image-minimal Errors: qemu cannot bootup since: Booting from ROM... This kernel requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot - please use a kernel appropriate for your CPU. QEMU: Terminated For lib32 image, override has x86, so the qemubin set to qemu-system-i386, fix by move QB_SYSTEM_NAME to corresponding conf, don't use the override (From OE-Core rev: ffaf86f175b2e6caa3a0067f7b3725930b053715) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 lines
616 B
PHP
17 lines
616 B
PHP
# For runqemu
|
|
IMAGE_CLASSES += "qemuboot"
|
|
QB_CPU_x86 = "-cpu core2duo"
|
|
QB_CPU_KVM_x86 = "-cpu core2duo"
|
|
|
|
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"
|
|
QB_OPT_APPEND = "-vga vmware -show-cursor -usb -device usb-tablet"
|
|
# Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
|
|
QB_OPT_APPEND += "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0"
|
|
|
|
UVESA_MODE ?= "640x480-32"
|