From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FCkWw-0006KB-3V for qemu-devel@nongnu.org; Fri, 24 Feb 2006 16:31:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FCRKb-0000IX-WE for qemu-devel@nongnu.org; Thu, 23 Feb 2006 20:01:16 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FCO8j-0006iM-0g for qemu-devel@nongnu.org; Thu, 23 Feb 2006 16:36:45 -0500 Received: from [193.7.176.20] (helo=bender.bawue.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1FCOFW-0007UI-8T for qemu-devel@nongnu.org; Thu, 23 Feb 2006 16:43:46 -0500 Date: Thu, 23 Feb 2006 21:37:05 +0000 Subject: Re: [Qemu-devel] [PATCH] Add more devices for MIPS system emulation Message-ID: <20060223213705.GD19397@networkno.de> References: <20060221191118.GA4110@networkno.de> <200602221528.05709.paul@codesourcery.com> <20060222173542.GA19397@networkno.de> <200602231924.07802.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200602231924.07802.paul@codesourcery.com> From: Thiemo Seufer Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: qemu-devel@nongnu.org On Thu, Feb 23, 2006 at 07:24:06PM +0000, Paul Brook wrote: > On Wednesday 22 February 2006 17:35, Thiemo Seufer wrote: > > On Wed, Feb 22, 2006 at 03:28:04PM +0000, Paul Brook wrote: > > > On Tuesday 21 February 2006 19:11, Thiemo Seufer wrote: > > > > Hello All, > > > > > > > > this adds to the MIPS system emulation: > > > > - Harddisk emulation, including MSDOS partition labels. > > > > > > Why do you need the bootsector bits? IIUC this was an x86 specific hack > > > to make the x86 bios load the kernel passed with -kernel. > > > The MIPS emulation jumps directly to the loaded kernel, so this should > > > not be necessary. > > > > That's the current state since there is no real mips firmware, but Qemu > > should also be able to boot from an image. E.g. Linux/MIPS on > > DECstations uses MSDOS disklabels. > > I don't see how providing a fake an x86 boot sector would help this. > Presumably the DECstation firmware just knows how to load an image from disk. It loads a block sector list from the bootsector which points to the second stage bootloader. Thiemo