From owner-freebsd-mips@FreeBSD.ORG Wed May 2 17:06:11 2007 Return-Path: X-Original-To: freebsd-mips@FreeBSD.org Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F89C16A404 for ; Wed, 2 May 2007 17:06:11 +0000 (UTC) (envelope-from ralf@linux-mips.org) Received: from ftp.linux-mips.org (ftp.linux-mips.org [194.74.144.162]) by mx1.freebsd.org (Postfix) with ESMTP id B1D2313C44B for ; Wed, 2 May 2007 17:06:10 +0000 (UTC) (envelope-from ralf@linux-mips.org) Received: from localhost.localdomain ([127.0.0.1]:59372 "EHLO dl5rb.ham-radio-op.net") by ftp.linux-mips.org with ESMTP id S20023006AbXEBQjY (ORCPT ); Wed, 2 May 2007 17:39:24 +0100 Received: from denk.linux-mips.net (denk.linux-mips.net [127.0.0.1]) by dl5rb.ham-radio-op.net (8.13.8/8.13.8) with ESMTP id l42F0khO027132; Wed, 2 May 2007 16:06:06 +0100 Received: (from ralf@localhost) by denk.linux-mips.net (8.13.8/8.13.8/Submit) id l42F0jps027131; Wed, 2 May 2007 16:00:45 +0100 Date: Wed, 2 May 2007 16:00:45 +0100 From: Ralf Baechle To: "Bruce M. Simpson" Message-ID: <20070502150045.GA26356@linux-mips.org> References: <463899CA.4020204@incunabulum.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <463899CA.4020204@incunabulum.net> User-Agent: Mutt/1.4.2.2i Cc: freebsd-mips@FreeBSD.org Subject: Re: Trouble w/Malta and qemu X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 17:06:11 -0000 On Wed, May 02, 2007 at 03:01:46PM +0100, Bruce M. Simpson wrote: > For what it's worth I can't get a kernel to boot on QEMU in malta mode. > This isn't too much of a loss as their documentation says their malta > emulation is incomplete. They have something closer to an x86 desktop in > their main mips4kc target. The Malta emulation in Qemu is progressing fairly quickly and rather close in the latest CVS version of Qemu. It's still not perfect, YAMON has a few timing critical parts in its initialization which are failing on Qemu and there are a few other things that are still failing. Linux/MIPS by default does a full PCI bus reconfiguration. This matters because Qemu is generally used without firmware, maybe that's breaking your kernel? > Documentation says the Linux/MIPS port for QEMU is 'special' in some > way. A custom built Debian kernel runs fine in QEMU on a FreeBSD host. Linux has a special CONFIG_QEMU platform which exists as a temporary kludge until Qemu actually emulates some real world hardware. The hardware supported by CONFIG_QEMU is vaguely like a PC with a RISC processor. I'm eventually planning to remove the whole CONFIG_QEMU config once Qemu emulates some piece of real world hardware sufficiently well. Ralf