* [Qemu-devel] How did you test sound on the Spitz emulation?
@ 2008-07-16 21:13 Michael Opdenacker
2008-07-16 22:52 ` [Qemu-devel] " andrzej zaborowski
0 siblings, 1 reply; 4+ messages in thread
From: Michael Opdenacker @ 2008-07-16 21:13 UTC (permalink / raw)
To: Jan Kiszka, Andrzej Zaborowski; +Cc: qemu-devel mailing list
Hello qemu developers,
I'm trying to test your implementation of sound support in the Sharp
Spitz machine emulated by qemu...
The problem is that I haven't managed to find a Linux version in which
sound works.
Here's the command line I used with Linux 2.6.26:
qemu-system-arm -M spitz -show-cursor -soundhw all -m 256 -mtdblock /dev/null -kernel vmlinuz-arm-spitz-2.6.26 -hda root-arm.ext2 -append "root=/dev/hda rootfstype=ext2 rw"
The kernel, root filesystem and the kernel configuration files can be
found on http://free-electrons.com/issues/qemu/jul16-2008/ (the upload
will be complete in less than an hour)
Here's what I get in the kernel log when I try to modprobe the
snd-soc-spitz module (full log on
http://free-electrons.com/issues/qemu/jul16-2008/dmesg.log)
ASoC version 0.13.2
WM8750: WM8750 Audio Codec 0.12
i2c: error: exhausted retries
i2c: msg_num: 0 msg_idx: -2000 msg_ptr: 0
i2c: ICR: 000007e0 ISR: 00000002
i2c: log: [00000442:000007e0]
Here are more details after adding I2C debug options (full log on
http://free-electrons.com/issues/qemu/jul16-2008/dmesg-debug.log)
ASoC version 0.13.2
WM8750: WM8750 Audio Codec 0.12
i2c-core: driver [WM8750 I2C Codec] registered
i2c-adapter i2c-1: found normal entry for adapter 1, addr 0x1b
i2c-adapter i2c-1: master_xfer[0] W, addr=0x1b, len=0
i2c-adapter i2c-1: setting to bus master
i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=00000442,
ICR=000007e1, IBMR=00
i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=00000002,
ICR=000007e0, IBMR=00
i2c-adapter i2c-1: Retrying transmission
i2c-adapter i2c-1: setting to bus master
i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=00000442,
ICR=000007e1, IBMR=00
i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=00000002,
ICR=000007e0, IBMR=00
i2c-adapter i2c-1: Retrying transmission
i2c-adapter i2c-1: setting to bus master
i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=00000442,
ICR=000007e1, IBMR=00
i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=00000002,
ICR=000007e0, IBMR=00
i2c-adapter i2c-1: Retrying transmission
i2c-adapter i2c-1: setting to bus master
i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=00000442,
ICR=000007e1, IBMR=00
i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=00000002,
ICR=000007e0, IBMR=00
i2c-adapter i2c-1: Retrying transmission
i2c-adapter i2c-1: setting to bus master
i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=00000442,
ICR=000007e1, IBMR=00
i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=00000002,
ICR=000007e0, IBMR=00
i2c-adapter i2c-1: Retrying transmission
i2c-adapter i2c-1: setting to bus master
i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=00000442,
ICR=000007e1, IBMR=00
i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=00000002,
ICR=000007e0, IBMR=00
i2c-adapter i2c-1: Retrying transmission
i2c: error: exhausted retries
i2c: msg_num: 0 msg_idx: -2000 msg_ptr: 0
i2c: ICR: 000007e0 ISR: 00000002
i2c: log: [00000442:000007e0]
I also tried 2.6.23, 2.6.24 and 2.6.25, but with no success either. I
both tested qemu 0.9.1 from Ubuntu Hardy and a svn snapshot I compiled
yesterday (Jul 15, 2008).
How did you test the emulated WM8750 chip on the Spitz machine? Working
kernel configurations and qemu command line options are welcome!
Are there any other options to get both framebuffer and sound support
with qemu-system-arm?
Thank you in advance for your hints,
Cheers,
Michael.
--
Michael Opdenacker, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Qemu-devel] Re: How did you test sound on the Spitz emulation?
2008-07-16 21:13 [Qemu-devel] How did you test sound on the Spitz emulation? Michael Opdenacker
@ 2008-07-16 22:52 ` andrzej zaborowski
2008-07-16 23:14 ` Jan Kiszka
2008-07-17 9:58 ` Michael Opdenacker
0 siblings, 2 replies; 4+ messages in thread
From: andrzej zaborowski @ 2008-07-16 22:52 UTC (permalink / raw)
To: Michael Opdenacker; +Cc: Jan Kiszka, qemu-devel mailing list
2008/7/16 Michael Opdenacker <michael-lists@free-electrons.com>:
> Hello qemu developers,
>
> I'm trying to test your implementation of sound support in the Sharp
> Spitz machine emulated by qemu...
>
> The problem is that I haven't managed to find a Linux version in which
> sound works.
>
> Here's the command line I used with Linux 2.6.26:
>
> qemu-system-arm -M spitz -show-cursor -soundhw all -m 256 -mtdblock /dev/null -kernel vmlinuz-arm-spitz-2.6.26 -hda root-arm.ext2 -append "root=/dev/hda rootfstype=ext2 rw"
>
> The kernel, root filesystem and the kernel configuration files can be
> found on http://free-electrons.com/issues/qemu/jul16-2008/ (the upload
> will be complete in less than an hour)
>
> Here's what I get in the kernel log when I try to modprobe the
> snd-soc-spitz module (full log on
> http://free-electrons.com/issues/qemu/jul16-2008/dmesg.log)
>
> ASoC version 0.13.2
> WM8750: WM8750 Audio Codec 0.12
> i2c: error: exhausted retries
> i2c: msg_num: 0 msg_idx: -2000 msg_ptr: 0
> i2c: ICR: 000007e0 ISR: 00000002
> i2c: log: [00000442:000007e0]
>
> Here are more details after adding I2C debug options (full log on
> http://free-electrons.com/issues/qemu/jul16-2008/dmesg-debug.log)
>
> ASoC version 0.13.2
> WM8750: WM8750 Audio Codec 0.12
> i2c-core: driver [WM8750 I2C Codec] registered
> i2c-adapter i2c-1: found normal entry for adapter 1, addr 0x1b
> i2c-adapter i2c-1: master_xfer[0] W, addr=0x1b, len=0
> i2c-adapter i2c-1: setting to bus master
> i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=00000442,
> ICR=000007e1, IBMR=00
> i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=00000002,
> ICR=000007e0, IBMR=00
> i2c-adapter i2c-1: Retrying transmission
> i2c-adapter i2c-1: setting to bus master
> i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=00000442,
> ICR=000007e1, IBMR=00
> i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=00000002,
> ICR=000007e0, IBMR=00
> i2c-adapter i2c-1: Retrying transmission
> i2c-adapter i2c-1: setting to bus master
> i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=00000442,
> ICR=000007e1, IBMR=00
> i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=00000002,
> ICR=000007e0, IBMR=00
> i2c-adapter i2c-1: Retrying transmission
> i2c-adapter i2c-1: setting to bus master
> i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=00000442,
> ICR=000007e1, IBMR=00
> i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=00000002,
> ICR=000007e0, IBMR=00
> i2c-adapter i2c-1: Retrying transmission
> i2c-adapter i2c-1: setting to bus master
> i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=00000442,
> ICR=000007e1, IBMR=00
> i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=00000002,
> ICR=000007e0, IBMR=00
> i2c-adapter i2c-1: Retrying transmission
> i2c-adapter i2c-1: setting to bus master
> i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=00000442,
> ICR=000007e1, IBMR=00
> i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=00000002,
> ICR=000007e0, IBMR=00
> i2c-adapter i2c-1: Retrying transmission
> i2c: error: exhausted retries
> i2c: msg_num: 0 msg_idx: -2000 msg_ptr: 0
> i2c: ICR: 000007e0 ISR: 00000002
> i2c: log: [00000442:000007e0]
>
> I also tried 2.6.23, 2.6.24 and 2.6.25, but with no success either. I
> both tested qemu 0.9.1 from Ubuntu Hardy and a svn snapshot I compiled
> yesterday (Jul 15, 2008).
>
> How did you test the emulated WM8750 chip on the Spitz machine? Working
> kernel configurations and qemu command line options are welcome!
I tested it with kernels and rootfs'es from pokylinux.org autobuilder,
but they may have stopped working in the meantime. :(
When I last tried to build a kernel for spitz outside OE, I had to
apply ASoC patches from opensource.wolfsonmicro.com because ASoC was
not in mainline yet (2.6.19 I think).
>
> Are there any other options to get both framebuffer and sound support
> with qemu-system-arm?
Not any of those which have full Linux mainline support. Otherwise
there is the PalmT|E (cheetah), MusicPal and Neo1973.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Qemu-devel] Re: How did you test sound on the Spitz emulation?
2008-07-16 22:52 ` [Qemu-devel] " andrzej zaborowski
@ 2008-07-16 23:14 ` Jan Kiszka
2008-07-17 9:58 ` Michael Opdenacker
1 sibling, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2008-07-16 23:14 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 4386 bytes --]
andrzej zaborowski wrote:
> 2008/7/16 Michael Opdenacker <michael-lists@free-electrons.com>:
>> Hello qemu developers,
>>
>> I'm trying to test your implementation of sound support in the Sharp
>> Spitz machine emulated by qemu...
>>
>> The problem is that I haven't managed to find a Linux version in which
>> sound works.
>>
>> Here's the command line I used with Linux 2.6.26:
>>
>> qemu-system-arm -M spitz -show-cursor -soundhw all -m 256 -mtdblock /dev/null -kernel vmlinuz-arm-spitz-2.6.26 -hda root-arm.ext2 -append "root=/dev/hda rootfstype=ext2 rw"
>>
>> The kernel, root filesystem and the kernel configuration files can be
>> found on http://free-electrons.com/issues/qemu/jul16-2008/ (the upload
>> will be complete in less than an hour)
>>
>> Here's what I get in the kernel log when I try to modprobe the
>> snd-soc-spitz module (full log on
>> http://free-electrons.com/issues/qemu/jul16-2008/dmesg.log)
>>
>> ASoC version 0.13.2
>> WM8750: WM8750 Audio Codec 0.12
>> i2c: error: exhausted retries
>> i2c: msg_num: 0 msg_idx: -2000 msg_ptr: 0
>> i2c: ICR: 000007e0 ISR: 00000002
>> i2c: log: [00000442:000007e0]
>>
>> Here are more details after adding I2C debug options (full log on
>> http://free-electrons.com/issues/qemu/jul16-2008/dmesg-debug.log)
>>
>> ASoC version 0.13.2
>> WM8750: WM8750 Audio Codec 0.12
>> i2c-core: driver [WM8750 I2C Codec] registered
>> i2c-adapter i2c-1: found normal entry for adapter 1, addr 0x1b
>> i2c-adapter i2c-1: master_xfer[0] W, addr=0x1b, len=0
>> i2c-adapter i2c-1: setting to bus master
>> i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=00000442,
>> ICR=000007e1, IBMR=00
>> i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=00000002,
>> ICR=000007e0, IBMR=00
>> i2c-adapter i2c-1: Retrying transmission
>> i2c-adapter i2c-1: setting to bus master
>> i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=00000442,
>> ICR=000007e1, IBMR=00
>> i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=00000002,
>> ICR=000007e0, IBMR=00
>> i2c-adapter i2c-1: Retrying transmission
>> i2c-adapter i2c-1: setting to bus master
>> i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=00000442,
>> ICR=000007e1, IBMR=00
>> i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=00000002,
>> ICR=000007e0, IBMR=00
>> i2c-adapter i2c-1: Retrying transmission
>> i2c-adapter i2c-1: setting to bus master
>> i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=00000442,
>> ICR=000007e1, IBMR=00
>> i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=00000002,
>> ICR=000007e0, IBMR=00
>> i2c-adapter i2c-1: Retrying transmission
>> i2c-adapter i2c-1: setting to bus master
>> i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=00000442,
>> ICR=000007e1, IBMR=00
>> i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=00000002,
>> ICR=000007e0, IBMR=00
>> i2c-adapter i2c-1: Retrying transmission
>> i2c-adapter i2c-1: setting to bus master
>> i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=00000442,
>> ICR=000007e1, IBMR=00
>> i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=00000002,
>> ICR=000007e0, IBMR=00
>> i2c-adapter i2c-1: Retrying transmission
>> i2c: error: exhausted retries
>> i2c: msg_num: 0 msg_idx: -2000 msg_ptr: 0
>> i2c: ICR: 000007e0 ISR: 00000002
>> i2c: log: [00000442:000007e0]
>>
>> I also tried 2.6.23, 2.6.24 and 2.6.25, but with no success either. I
>> both tested qemu 0.9.1 from Ubuntu Hardy and a svn snapshot I compiled
>> yesterday (Jul 15, 2008).
>>
>> How did you test the emulated WM8750 chip on the Spitz machine? Working
>> kernel configurations and qemu command line options are welcome!
>
> I tested it with kernels and rootfs'es from pokylinux.org autobuilder,
> but they may have stopped working in the meantime. :(
> When I last tried to build a kernel for spitz outside OE, I had to
> apply ASoC patches from opensource.wolfsonmicro.com because ASoC was
> not in mainline yet (2.6.19 I think).
>
>> Are there any other options to get both framebuffer and sound support
>> with qemu-system-arm?
>
> Not any of those which have full Linux mainline support. Otherwise
> there is the PalmT|E (cheetah), MusicPal and Neo1973.
...with MusicPal not being mainline either. (Specifically the audio
driver that comes with that device is something you don't want to look
at. Really.)
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Qemu-devel] Re: How did you test sound on the Spitz emulation?
2008-07-16 22:52 ` [Qemu-devel] " andrzej zaborowski
2008-07-16 23:14 ` Jan Kiszka
@ 2008-07-17 9:58 ` Michael Opdenacker
1 sibling, 0 replies; 4+ messages in thread
From: Michael Opdenacker @ 2008-07-17 9:58 UTC (permalink / raw)
To: andrzej zaborowski; +Cc: Jan Kiszka, qemu-devel mailing list
On 07/17/2008 12:52 AM, andrzej zaborowski wrote:
> 2008/7/16 Michael Opdenacker <michael-lists@free-electrons.com>:
>
>> How did you test the emulated WM8750 chip on the Spitz machine? Working
>> kernel configurations and qemu command line options are welcome!
>>
>
> I tested it with kernels and rootfs'es from pokylinux.org autobuilder,
> but they may have stopped working in the meantime. :(
> When I last tried to build a kernel for spitz outside OE, I had to
> apply ASoC patches from opensource.wolfsonmicro.com because ASoC was
> not in mainline yet (2.6.19 I think).
>
Thanks for your quick reply. That was a long time ago. I'll investigate
this in a few weeks as soon as I have enough time, and will try to fix
mainline Linux and/or qemu. I just wish I had access to the real
hardware...
>> Are there any other options to get both framebuffer and sound support
>> with qemu-system-arm?
>>
>
> Not any of those which have full Linux mainline support. Otherwise
> there is the PalmT|E (cheetah), MusicPal and Neo1973.
>
Thanks for the suggestions!
Cheers,
Michael.
--
Michael Opdenacker, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-07-17 9:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-16 21:13 [Qemu-devel] How did you test sound on the Spitz emulation? Michael Opdenacker
2008-07-16 22:52 ` [Qemu-devel] " andrzej zaborowski
2008-07-16 23:14 ` Jan Kiszka
2008-07-17 9:58 ` Michael Opdenacker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).