From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L0CRx-0008S3-AI for qemu-devel@nongnu.org; Wed, 12 Nov 2008 04:55:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L0CRv-0008Rr-Kp for qemu-devel@nongnu.org; Wed, 12 Nov 2008 04:55:48 -0500 Received: from [199.232.76.173] (port=39023 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0CRv-0008Ro-BS for qemu-devel@nongnu.org; Wed, 12 Nov 2008 04:55:47 -0500 Received: from ik-out-1112.google.com ([66.249.90.183]:46794) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L0CRu-0001RT-QD for qemu-devel@nongnu.org; Wed, 12 Nov 2008 04:55:47 -0500 Received: by ik-out-1112.google.com with SMTP id b32so291717ika.2 for ; Wed, 12 Nov 2008 01:55:45 -0800 (PST) Date: Wed, 12 Nov 2008 11:56:08 +0100 From: Kristoffer Ericson Message-Id: <20081112115608.af656fee.kristoffer.ericson@gmail.com> In-Reply-To: <20081112133313.967c82e2.yoshii.takashi@gmail.com> References: <20081110233926.3d8c7fd1.kristoffer.ericson@gmail.com> <20081111141335.3c869c26.yoshii.takashi@gmail.com> <20081111122700.79906a33.kristoffer.ericson@gmail.com> <20081112133313.967c82e2.yoshii.takashi@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Wed__12_Nov_2008_11_56_08_+0100_0NGAzQGS3_Mh1_X." Subject: [Qemu-devel] Re: Qemu SH4 status #2 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: yoshii.takashi@gmail.com Cc: qemu-devel@nongnu.org, takasi-y@ops.dti.ne.jp, "linux-sh@vger.kernel.org" --Signature=_Wed__12_Nov_2008_11_56_08_+0100_0NGAzQGS3_Mh1_X. Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 12 Nov 2008 13:33:13 +0900 yoshii.takashi@gmail.com wrote: > Hi, >=20 > > I'm still getting segmentation fault at exact same > > location. Have you made additional patches? > Please find attached file "qemu081111.diff". > Basically, this is an aggregate of patches found on qemu-devel ML, > with some conflicts against current svn source being resolved, > and some small fix are added, which are scheduled to be posted after > I finished with my pending patches. >=20 > I post this to share information between qemu and linux/sh people, > and hopefully accelerate debugging with linux people's help. >=20 I will give it a try later today. Big thx! > Another file "linuxconfig_r2d_qemu.diff" is diff for linux kernel > configuretion. It changes following parameters from r2d+'s defconfig. > - Cache -> off (qemu has no cache) > - commandline change (for debugging) > - 8139too -> 8139cp (qemu's default is c+, still thinking how to switch) > - SH SPI -> off (sci emulation is not mature enough to handle it) >=20 > Build procedure is as follows, > Configure kernel: > make ARCH=3Dsh rts7751r2dplus_defconfig > patch .config < linuxconfig_r2d_qemu.diff > (and build) >=20 > Configure Qemu: > ./configure --disable-system --target-list=3Dsh4-softmmu \ > --disable-linux-user --disable-kqemu >=20 > Execute: > sh4-softmmu/qemu-system-sh4 -M r2d --serial vc --serial /dev/tty \ > --kernel zImage --append "console=3Dtty0 root=3D/dev/sda" \ > -usb --usbdevice keyboard --usbdevice mouse disk.img >=20 > I've tested it on qemu svn head this morning. > You will see penguin logo, and fbcon input/output working. > For debugging purpose, console=3DttySC0,115200 might help. > /yoshii >=20 --=20 Kristoffer Ericson --Signature=_Wed__12_Nov_2008_11_56_08_+0100_0NGAzQGS3_Mh1_X. Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkkatkgACgkQPQls10ERAGci7wCfTRDRup1Bz2C7cOpcN0CiVMyv Gz8AoJsewr192puvDFmgNJRovqUkhdpr =Xjwe -----END PGP SIGNATURE----- --Signature=_Wed__12_Nov_2008_11_56_08_+0100_0NGAzQGS3_Mh1_X.--