enable qemu audio
cover enable qemu audio
From: Zhai Edwin <[email protected]>
This patch enables qemu audio by exporting emulated sound card to guest and enabling host oss/also driver.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: gzhai/fix2
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=gzhai/fix2
Thanks,
Zhai Edwin <[email protected]>
---
Zhai Edwin (1):
qemu: enable audio support
meta/recipes-devtools/qemu/qemu.inc | 2 +- scripts/poky-qemu | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletions(-)
PATCH 1/1 qemu: enable audio support
From: Zhai Edwin <[email protected]>
On qemux86, export ac97 & es1370 emulated device to guest, and enable host oss&alsa driver. So end user can get sound from qemux86 guest if the sound card driver installed.
[BUGID #488] got fixed.
--- meta/recipes-devtools/qemu/qemu.inc | 2 +- scripts/poky-qemu | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletions(-)
meta/recipes-devtools/qemu/qemu.inc +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "http://qemu.org" LICENSE = "GPLv2 & LGPLv2.1" DEPENDS = "zlib" -EXTRA_OECONF = "--target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user --disable-werror --disable-vnc-tls --enable-kvm" +EXTRA_OECONF = "--target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user --disable-werror --disable-vnc-tls --enable-kvm --audio-drv-list=oss,alsa --audio-card-list=ac97,es1370" #EXTRA_OECONF += "--disable-sdl" inherit autotools
scripts/poky-qemu +7 -0
@@ -129,6 +129,13 @@ while [ $i -le $# ]; do SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -serial stdio" SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT console=ttyS0" ;; + "audio") + if [[ "x$MACHINE" == "xqemux86" || "x$MACHINE" == "xqemux86-64" ]]; then + echo "Enable audio on qemu. Pls. install snd_intel8x0 or snd_ens1370 driver in linux guest."; + QEMU_AUDIO_DRV="alsa" + SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -soundhw ac97,es1370" + fi + ;; "kvm") KVM_ENABLED="yes" KVM_CAPABLE=`grep 'vmx\|smx' /proc/cpuinfo`
Signature · 1 line
1.6.3.3
Re: [PATCH 1/1] qemu: enable audio support
Quoted 5 lines · Zhai Edwin
From: Zhai Edwin<[email protected]>
On qemux86, export ac97& es1370 emulated device to guest, and enable host oss&alsa driver. So end user can get sound from qemux86 guest if the sound card driver installed.
Is there a reason to limit this to qemux86/x86_64? Or are you assuming they won't work on other platforms (I have vague memories of putting an actual es1370 card in a powerpc platform, a long long time ago...)? Or have you confirmed elsewhere it's not supported outside these platforms?
Thanks!
Signature · 2 lines
Tom Rini Mentor Graphics Corporation
Re: [PATCH 1/1] qemu: enable audio support
Quoted 5 lines · Tom Rini
Quoted 3 lines · Zhai Edwin
From: Zhai Edwin<[email protected]>
On qemux86, export ac97& es1370 emulated device to guest, and
Quoted 9 lines
enable host oss&alsa
Quoted 2 lines
driver. So end user can get sound from qemux86 guest if the sound card driver installed.
Is there a reason to limit this to qemux86/x86_64? Or are you assuming they won't work on other platforms (I have vague memories of putting an actual es1370 card in a powerpc platform, a long long time ago...)? Or have you confirmed elsewhere it's not supported outside these platforms?
I have not tested other platforms, so only enable qemux86/x86_64. But enabling on other platform is easy: Just change the poky-qemu script.
Quoted 11 lines
Thanks!
Signature · 6 lines
Tom Rini Mentor Graphics Corporation _______________________________________________ poky mailing list [email protected] https://lists.yoctoproject.org/listinfo/poky
Re: [PATCH 1/1] qemu: enable audio support
In reply to Tom RiniQuoted 11 lines · Tom Rini
Quoted 5 lines · Zhai Edwin
From: Zhai Edwin<[email protected]>
On qemux86, export ac97& es1370 emulated device to guest, and enable host oss&alsa driver. So end user can get sound from qemux86 guest if the sound card driver installed.
Is there a reason to limit this to qemux86/x86_64? Or are you assuming they won't work on other platforms (I have vague memories of putting an actual es1370 card in a powerpc platform, a long long time ago...)? Or have you confirmed elsewhere it's not supported outside these platforms?
I think this is a case of one step at a time. Getting sound working on any of the qemu platforms is a step forward and once we get things working (and merged) for that, we can think about others which might be trickier.
Cheers,
Richard
Re: [PATCH 1/1] qemu: enable audio support
In reply to Zhai EdwinQuoted 5 lines · Zhai Edwin
From: Zhai Edwin <[email protected]>
On qemux86, export ac97 & es1370 emulated device to guest, and enable host oss&alsa driver. So end user can get sound from qemux86 guest if the sound card driver installed.
I presume that you tested the sound, if you send me the working .config (or better a config fragement), I'll update the base configs for the qemu* platforms to at least build and make the modules available.
Looks good BTW!
Bruce
Quoted 48 lines
[BUGID #488] got fixed.
Signed-off-by Zhai Edwin <[email protected]>---
meta/recipes-devtools/qemu/qemu.inc | 2 +-scripts/poky-qemu| 7 +++++++2 files changed, 8 insertions(+), 1 deletions(-)meta/recipes-devtools/qemu/qemu.inc +0
-0@@ -3,7 +3,7 @@ HOMEPAGE = "http://qemu.org"LICENSE = "GPLv2 & LGPLv2.1"
DEPENDS = "zlib"meta/recipes-devtools/qemu/qemu.inc +1
-1-EXTRA_OECONF = "--target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user --disable-werror --disable-vnc-tls --enable-kvm" +EXTRA_OECONF = "--target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user --disable-werror --disable-vnc-tls --enable-kvm --audio-drv-list=oss,alsa --audio-card-list=ac97,es1370"#EXTRA_OECONF += "--disable-sdl"
inherit autotools
scripts/poky-qemu +0
-0@@ -129,6 +129,13 @@ while [ $i -le $# ]; doSCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -serial stdio" SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT console=ttyS0"
;;
+ "audio")
+ if [[ "x$MACHINE" == "xqemux86" || "x$MACHINE" == "xqemux86-64" ]]; then
+ echo "Enable audio on qemu. Pls. installsnd_intel8x0orsnd_ens1370driver in linux guest.";
+ QEMU_AUDIO_DRV="alsa"
+ SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -soundhw ac97,es1370"
+ fi
+ ;;
"kvm")
KVM_ENABLED="yes"
KVM_CAPABLE=grep 'vmx\|smx' /proc/cpuinfo
--
1.6.3.3_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Re: [PATCH 1/1] qemu: enable audio support
Quoted 4 lines · Bruce Ashfield
Quoted 2 lines · Zhai Edwin
From: Zhai Edwin <[email protected]>
Quoted 9 lines
Quoted 1 line
On qemux86, export ac97 & es1370 emulated device to guest, and
enable host oss&alsa
Quoted 2 lines
driver. So end user can get sound from qemux86 guest if the sound card driver installed.
I presume that you tested the sound, if you send me the working .config (or better a config fragement), I'll update the base configs for the qemu* platforms to at least build and make the modules available.
Bruce,
I have tested a ubuntu disk image and heard the sound. What's the simple way to change the kernel config for test?
Thanks,
edwin
Quoted 70 lines
Looks good BTW!
Bruce
Review
Quoted 10 lines
[BUGID #488] got fixed.
Signed-off-by Zhai Edwin <[email protected]>--- meta/recipes-devtools/qemu/qemu.inc | 2 +- scripts/poky-qemu | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletions(-)(quoted diff) +0
-0b/meta/recipes-devtools/qemu/qemu.inc
meta/recipes-devtools/qemu/qemu.inc HOMEPAGE = "http://qemu.org" · line 6
Quoted 8 lines
index 33c2c71..2c6b114 100644
meta/recipes-devtools/qemu/qemu.inc +0
-1@@ -3,7 +3,7 @@ HOMEPAGE = "http://qemu.org" LICENSE = "GPLv2 & LGPLv2.1" DEPENDS = "zlib" -EXTRA_OECONF ="--target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user --disable-werror --disable-vnc-tls --enable-kvm"
meta/recipes-devtools/qemu/qemu.inc HOMEPAGE = "http://qemu.org" · line 6
Quoted 1 line
meta/recipes-devtools/qemu/qemu.inc +1
-0+EXTRA_OECONF ="--target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user --disable-werror --disable-vnc-tls --enable-kvm
--audio-drv-list=oss,alsa --audio-card-list=ac97,es1370"scripts/poky-qemu while [ $i -le $# ]; do · line 133
Quoted 13 lines
meta/recipes-devtools/qemu/qemu.inc +0
-0#EXTRA_OECONF += "--disable-sdl" inherit autotoolsscripts/poky-qemu +2
-0@@ -129,6 +129,13 @@ while [ $i -le $# ]; do SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -serial stdio" SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT console=ttyS0" ;; + "audio") + if [[ "x$MACHINE" == "xqemux86" || "x$MACHINE" =="xqemux86-64" ]]; then
scripts/poky-qemu while [ $i -le $# ]; do · line 134
Quoted 1 line
scripts/poky-qemu +1
-0+ echo "Enable audio on qemu. Pls. install
snd_intel8x0orsnd_ens1370driver in linux guest.";scripts/poky-qemu while [ $i -le $# ]; do · line 136
Quoted 2 lines
scripts/poky-qemu +2
-0+ QEMU_AUDIO_DRV="alsa" + SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -soundhwac97,es1370"
Quoted 13 lines
scripts/poky-qemu +2
-1+ fi + ;; "kvm") KVM_ENABLED="yes" KVM_CAPABLE=`grep 'vmx\|smx' /proc/cpuinfo` --1.6.3.3
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/pokySignature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Re: [PATCH 1/1] qemu: enable audio support
Quoted 12 lines · Edwin
Quoted 9 lines · Bruce Ashfield
Quoted 6 lines · Zhai Edwin
From: Zhai Edwin <[email protected]>
On qemux86, export ac97 & es1370 emulated device to guest, and enable host oss&alsa
driver. So end user can get sound from qemux86 guest if the sound card driver installed.
Quoted 8 lines
Quoted 4 lines
I presume that you tested the sound, if you send me the working .config (or better a config fragement), I'll update the base configs for the qemu* platforms to at least build and make the modules available.
Bruce,
I have tested a ubuntu disk image and heard the sound. What's the simple way to change the kernel config for test?
Aha. Maybe I misunderstood. Did you need to change our qemu target kernel configuration to hear the sound ? If not, then this is a host side configuration item and we don't need to change the BSP configuration at all to enable sound!
Cheers,
Bruce
Quoted 75 lines
Thanks,
edwinQuoted 69 lines
Looks good BTW!
Bruce
Quoted 53 lines
[BUGID #488] got fixed.
Signed-off-by Zhai Edwin <[email protected]>---
meta/recipes-devtools/qemu/qemu.inc | 2 +-scripts/poky-qemu| 7 +++++++2 files changed, 8 insertions(+), 1 deletions(-)meta/recipes-devtools/qemu/qemu.inc +0
-0@@ -3,7 +3,7 @@ HOMEPAGE = "http://qemu.org"LICENSE = "GPLv2 & LGPLv2.1"
DEPENDS = "zlib"-EXTRA_OECONF = "--target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user --disable-werror --disable-vnc-tls --enable-kvm"
+EXTRA_OECONF = "--target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user --disable-werror --disable-vnc-tls --enable-kvm --audio-drv-list=oss,alsa
--audio-card-list=ac97,es1370"#EXTRA_OECONF += "--disable-sdl"
inherit autotools
scripts/poky-qemu +0
-0@@ -129,6 +129,13 @@ while [ $i -le $# ]; doSCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -serial stdio" SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT console=ttyS0" ;;
+ "audio")
+ if [[ "x$MACHINE" == "xqemux86" || "x$MACHINE" == "xqemux86-64" ]]; then
+ echo "Enable audio on qemu. Pls. installsnd_intel8x0orsnd_ens1370driver in linux guest.";
+ QEMU_AUDIO_DRV="alsa"
+ SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -soundhw ac97,es1370"
+ fi
+ ;;
"kvm")
KVM_ENABLED="yes"
KVM_CAPABLE=grep 'vmx\|smx' /proc/cpuinfo
--
1.6.3.3Quoted 5 lines
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Re: [PATCH 1/1] qemu: enable audio support
Quoted 24 lines · Bruce Ashfield
Quoted 5 lines · Edwin
Quoted 2 lines · Bruce Ashfield
On Mon, Feb 21, 2011 at 9:06 PM, Zhai Edwin <[email protected]>
Quoted 3 lines · wrote:
Quoted 3 lines
Quoted 3 lines
From: Zhai Edwin <[email protected]>
On qemux86, export ac97 & es1370 emulated device to guest, and
enable
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
host oss&alsa
driver. So end user can get sound from qemux86 guest if the soundcard
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
driver installed.
I presume that you tested the sound, if you send me the working
.config
Quoted 1 line
Quoted 1 line
(or better a config fragement), I'll update the base configs for
the qemu*
Quoted 3 lines
Quoted 2 lines
platforms to at least build and make the modules available.
Quoted 8 lines
Quoted 2 lines
Bruce,
I have tested a ubuntu disk image and heard the sound. What's thesimple way
Quoted 1 line
to change the kernel config for test?
Aha. Maybe I misunderstood. Did you need to change our qemu target kernel configuration to hear the sound ?
Yes, I mean qemux86/x86_64 target kernel config, so that target kernel can use emulated sound card device to make some noise on host:)
I know there is something tricky to change the qemu target config as some internal tools are used. Last time, I hacked to add one extra config file including all changed entries. But forget it now:(
What's your suggestion for our kernel user to hack the config?
Quoted 97 lines
If not, then this is a host side
configuration item and we don't need to change the BSP configuration at all to enable sound!Cheers,
Bruce
Quoted 27 lines
Thanks,
edwinQuoted 22 lines
Looks good BTW!
Bruce
Quoted 18 lines
[BUGID #488] got fixed.
Signed-off-by Zhai Edwin <[email protected]>--- meta/recipes-devtools/qemu/qemu.inc | 2 +- scripts/poky-qemu | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletions(-)meta/recipes-devtools/qemu/qemu.inc +0
-0@@ -3,7 +3,7 @@ HOMEPAGE = "http://qemu.org" LICENSE = "GPLv2 & LGPLv2.1" DEPENDS = "zlib"Quoted 2 lines
Quoted 2 lines
meta/recipes-devtools/qemu/qemu.inc HOMEPAGE = "http://qemu.org" · line 6
Quoted 2 lines
meta/recipes-devtools/qemu/qemu.inc +0
-1-EXTRA_OECONF ="--target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user
Quoted 4 lines
Quoted 4 lines
meta/recipes-devtools/qemu/qemu.inc HOMEPAGE = "http://qemu.org" · line 8
Quoted 4 lines
meta/recipes-devtools/qemu/qemu.inc +1
-1--disable-werror --disable-vnc-tls --enable-kvm" +EXTRA_OECONF ="--target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user
Quoted 1 line
Quoted 1 line
Quoted 1 line
--disable-werror --disable-vnc-tls --enable-kvm
--audio-drv-list=oss,alsa
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--audio-card-list=ac97,es1370"
#EXTRA_OECONF += "--disable-sdl"
Quoted 13 lines
Quoted 5 lines
Quoted 5 lines
inherit autotools
scripts/poky-qemu +0
-0Quoted 8 lines
Quoted 8 lines
scripts/poky-qemu +2
-0@@ -129,6 +129,13 @@ while [ $i -le $# ]; do SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -serial stdio" SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT console=ttyS0" ;; + "audio") + if [[ "x$MACHINE" == "xqemux86" || "x$MACHINE" =="xqemux86-64" ]]; then
+ echo "Enable audio on qemu. Pls. install
snd_intel8x0Quoted 3 lines
Quoted 3 lines
scripts/poky-qemu
Quoted 3 lines
or
snd_ens1370driver in linux guest.";scripts/poky-qemu +2
-0+ QEMU_AUDIO_DRV="alsa" + SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -soundhwac97,es1370"
Quoted 21 lines
Quoted 20 lines
Quoted 8 lines
scripts/poky-qemu +2
-1+ fi + ;; "kvm") KVM_ENABLED="yes" KVM_CAPABLE=`grep 'vmx\|smx' /proc/cpuinfo` --1.6.3.3
Quoted 5 lines
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Re: [PATCH 1/1] qemu: enable audio support
Quoted 31 lines · Edwin
Quoted 28 lines · Bruce Ashfield
Quoted 5 lines · Edwin
Quoted 2 lines · Bruce Ashfield
On Mon, Feb 21, 2011 at 9:06 PM, Zhai Edwin <[email protected]>
Quoted 3 lines · wrote:
Quoted 3 lines
Quoted 3 lines
From: Zhai Edwin <[email protected]>
On qemux86, export ac97 & es1370 emulated device to guest, and
enable
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
host oss&alsa
driver. So end user can get sound from qemux86 guest if the soundcard
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
driver installed.
I presume that you tested the sound, if you send me the working
.config
Quoted 1 line
Quoted 1 line
(or better a config fragement), I'll update the base configs for
the qemu*
Quoted 5 lines
Quoted 2 lines
platforms to at least build and make the modules available.
Bruce,
I have tested a ubuntu disk image and heard the sound. What's thesimple way
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
to change the kernel config for test?
Aha. Maybe I misunderstood. Did you need to change our qemu target kernel configuration to hear the sound ?
Yes, I mean qemux86/x86_64 target kernel config, so that target kernel can use emulated sound card device to make some noise on host:)
I just noticed the bugs that were assigned to me for this, I'll update the bugzilla cases with the information on how to modify the configuration.
Quoted 4 lines
I know there is something tricky to change the qemu target config as some internal tools are used. Last time, I hacked to add one extra config file including all changed entries. But forget it now:(
Luckily it isn't all that tricky anymore. If you create any file with ".cfg" as the extension that contains a series of kernel configuration values and add it to the SRC_URI in the same manner as any patch/defconfig, you've done most of the work to modifying the kernel configuration. The contents of that .cfg file will be added to the end of the kernel configuration and applied to the kernel build.
Those changes can then be sent for merging into the kernel repository as default values for the BSP in question.
Quoted 2 lines
What's your suggestion for our kernel user to hack the config?
See above. Start with a .cfg file, and then when you are happy with the configuration changes, you can either modify the 'meta' branch directly or simply send the .cfg file to me in a pull request and I'll apply it to the meta branch and merge it into the repository as the default for the BSP in question.'
If you search the mailing list for email from TomZ about the intel BSPs, you'll have some good examples on how to modify the meta branch directly (if you are interested).
Let me know if you need more details and I'd be more than happy to help out here! In particular if the documentation in or kernel/BSP guides isn't sufficient to help here, we should definitely improve it.
Cheers,
Bruce
Quoted 102 lines
Quoted 94 lines
If not, then this is a host side
configuration item and we don't need to change the BSP configuration at all to enable sound!Cheers,
Bruce
Quoted 27 lines
Thanks,
edwinQuoted 22 lines
Looks good BTW!
Bruce
Quoted 18 lines
[BUGID #488] got fixed.
Signed-off-by Zhai Edwin <[email protected]>---
meta/recipes-devtools/qemu/qemu.inc | 2 +-scripts/poky-qemu| 7 +++++++2 files changed, 8 insertions(+), 1 deletions(-)meta/recipes-devtools/qemu/qemu.inc +0
-0@@ -3,7 +3,7 @@ HOMEPAGE = "http://qemu.org"LICENSE = "GPLv2 & LGPLv2.1"
DEPENDS = "zlib"Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
-EXTRA_OECONF =
"--target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--disable-werror --disable-vnc-tls --enable-kvm"
+EXTRA_OECONF =
"--target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user
Quoted 1 line
Quoted 1 line
Quoted 1 line
--disable-werror --disable-vnc-tls --enable-kvm
--audio-drv-list=oss,alsa
Quoted 28 lines
Quoted 28 lines
Quoted 28 lines
--audio-card-list=ac97,es1370"
#EXTRA_OECONF += "--disable-sdl"
inherit autotools
scripts/poky-qemu +0
-0@@ -129,6 +129,13 @@ while [ $i -le $# ]; doSCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -serial stdio" SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT console=ttyS0" ;;
+ "audio")
+ if [[ "x$MACHINE" == "xqemux86" || "x$MACHINE" == "xqemux86-64" ]]; then
+ echo "Enable audio on qemu. Pls. installsnd_intel8x0orsnd_ens1370driver in linux guest.";
+ QEMU_AUDIO_DRV="alsa"
+ SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -soundhw ac97,es1370"
+ fi
+ ;;
"kvm")
KVM_ENABLED="yes"
KVM_CAPABLE=grep 'vmx\|smx' /proc/cpuinfo
--
1.6.3.3Quoted 13 lines
Quoted 8 lines
Quoted 5 lines
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/pokyQuoted 4 lines
--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"Quoted 4 lines
--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky