From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJGDG-0003es-26 for qemu-devel@nongnu.org; Wed, 16 Jul 2008 19:15:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJGDD-0003eb-Kg for qemu-devel@nongnu.org; Wed, 16 Jul 2008 19:15:08 -0400 Received: from [199.232.76.173] (port=43083 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJGDD-0003eY-Ej for qemu-devel@nongnu.org; Wed, 16 Jul 2008 19:15:07 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:35937) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJGDC-0001Vz-Ne for qemu-devel@nongnu.org; Wed, 16 Jul 2008 19:15:07 -0400 Message-ID: <487E80F3.2050304@web.de> Date: Thu, 17 Jul 2008 01:14:59 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <487E6480.1090102@free-electrons.com> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig099EE000360E41489D821155" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: How did you test sound on the Spitz emulation? Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig099EE000360E41489D821155 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable andrzej zaborowski wrote: > 2008/7/16 Michael Opdenacker : >> 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 /d= ev/null -kernel vmlinuz-arm-spitz-2.6.26 -hda root-arm.ext2 -append "root= =3D/dev/hda rootfstype=3Dext2 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=3D0x1b, len=3D0 >> i2c-adapter i2c-1: setting to bus master >> i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=3D00000442, >> ICR=3D000007e1, IBMR=3D00 >> i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=3D00000002, >> ICR=3D000007e0, IBMR=3D00 >> i2c-adapter i2c-1: Retrying transmission >> i2c-adapter i2c-1: setting to bus master >> i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=3D00000442, >> ICR=3D000007e1, IBMR=3D00 >> i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=3D00000002, >> ICR=3D000007e0, IBMR=3D00 >> i2c-adapter i2c-1: Retrying transmission >> i2c-adapter i2c-1: setting to bus master >> i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=3D00000442, >> ICR=3D000007e1, IBMR=3D00 >> i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=3D00000002, >> ICR=3D000007e0, IBMR=3D00 >> i2c-adapter i2c-1: Retrying transmission >> i2c-adapter i2c-1: setting to bus master >> i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=3D00000442, >> ICR=3D000007e1, IBMR=3D00 >> i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=3D00000002, >> ICR=3D000007e0, IBMR=3D00 >> i2c-adapter i2c-1: Retrying transmission >> i2c-adapter i2c-1: setting to bus master >> i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=3D00000442, >> ICR=3D000007e1, IBMR=3D00 >> i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=3D00000002, >> ICR=3D000007e0, IBMR=3D00 >> i2c-adapter i2c-1: Retrying transmission >> i2c-adapter i2c-1: setting to bus master >> i2c-adapter i2c-1: state:i2c_pxa_handler:876: ISR=3D00000442, >> ICR=3D000007e1, IBMR=3D00 >> i2c-adapter i2c-1: state:i2c_pxa_irq_txempty:832: ISR=3D00000002, >> ICR=3D000007e0, IBMR=3D00 >> 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? Workin= g >> kernel configurations and qemu command line options are welcome! >=20 > 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). >=20 >> Are there any other options to get both framebuffer and sound support >> with qemu-system-arm? >=20 > Not any of those which have full Linux mainline support. Otherwise > there is the PalmT|E (cheetah), MusicPal and Neo1973. =2E..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 --------------enig099EE000360E41489D821155 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkh+gPgACgkQniDOoMHTA+krWwCdHo/8XRIdW6ypnghd+HN3XwE9 v7IAnRlkWPd1YGRUEiwco/tLnvZbsyFl =m/bM -----END PGP SIGNATURE----- --------------enig099EE000360E41489D821155--