From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=39893 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBVEi-0007tx-TD for qemu-devel@nongnu.org; Mon, 10 May 2010 11:49:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBVEI-0005xO-7E for qemu-devel@nongnu.org; Mon, 10 May 2010 11:49:40 -0400 Received: from hall.aurel32.net ([88.191.82.174]:41676) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBVEI-0005v4-2U for qemu-devel@nongnu.org; Mon, 10 May 2010 11:49:14 -0400 Message-ID: <4BE82AE8.3080705@aurel32.net> Date: Mon, 10 May 2010 17:48:56 +0200 From: Aurelien Jarno MIME-Version: 1.0 Subject: Re: [Qemu-devel] qemu-system-sh4 broken again. References: <201003130151.36065.rob@landley.net> <201003131711.44849.rob@landley.net> <20100314212832.GE2381@hall.aurel32.net> <201003141908.41360.rob@landley.net> <4BE81B39.1040101@juno.dti.ne.jp> In-Reply-To: <4BE81B39.1040101@juno.dti.ne.jp> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Shin-ichiro KAWASAKI Cc: qemu-devel@nongnu.org Shin-ichiro KAWASAKI a écrit : > Hello, Rob, > > This mail might be too late, but I want to report you that I > encountered similar trouble. > > Using the linux kernel after the following commit, the qemu-sh > serial console shows no output. > > cd5f107628ab89c5dec5ad923f1c27f4cba41972 > > This trouble was discussed in sh-linux ML. > > http://marc.info/?l=linux-sh&m=127183863325672&w=2 > > To avoid this, > > - add "earlyprintk=sh-sci.1" to kernel command line, and > - modify CONFIG_SERIAL_SH_SCI_NR_UARTS valud from 1 to 2, > > in kernel configuration menu. > > I hope that this is the trouble you see. > The main problem here is that QEMU emulates both SCI channels as serial port, while the real board has one of the two channel configured as a SPI bus (for the RTC clock), and the other as a serial port. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net