From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5BP4-0004xN-AD for qemu-devel@nongnu.org; Wed, 07 Mar 2012 02:35:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5BP2-0004Ol-FA for qemu-devel@nongnu.org; Wed, 07 Mar 2012 02:35:17 -0500 Received: from cantor2.suse.de ([195.135.220.15]:44672 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5BP2-0004OD-8Q for qemu-devel@nongnu.org; Wed, 07 Mar 2012 02:35:16 -0500 Message-ID: <4F570FAE.5000405@suse.de> Date: Wed, 07 Mar 2012 08:35:10 +0100 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] How can I make serial console works List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhi-zhou Zhang Cc: stuart.brady@gmail.com, qemu-devel@nongnu.org Hi, Am 07.03.2012 03:36, schrieb Zhi-zhou Zhang: > I am working on adding openrisc to qemu target. Till now I have done th= e > cpu part. I use it to run linux kernel. it can run to the end of linux > kernel. How do you know? :) > but there is no any message to the console.What should I do? > Does timer and pic must implement first? Need I implement a serial port > or just setup IO address? For a serial console you need a serial port, yes. Whether you can reuse, e.g., the memory-mapped serial port or need to write your own device depends on the hardware you're trying to match and that also determines what dependencies you have - timer and PIC are likely. Have you checked http://repo.or.cz/w/qemu/openrisc.git? Regards, Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg