From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FjFs4-0007gl-7h for qemu-devel@nongnu.org; Thu, 25 May 2006 09:27:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FjFs3-0007gU-Gn for qemu-devel@nongnu.org; Thu, 25 May 2006 09:27:23 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FjFs3-0007gN-BP for qemu-devel@nongnu.org; Thu, 25 May 2006 09:27:23 -0400 Received: from [65.74.133.6] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FjFwi-0000G2-Tv for qemu-devel@nongnu.org; Thu, 25 May 2006 09:32:13 -0400 From: Paul Brook Subject: Re: [Qemu-devel] work needed to get solaris to boot under qemu-system-sparc Date: Thu, 25 May 2006 14:27:16 +0100 References: <5902376.1148563018213.JavaMail.root@eastrmwml06.mgt.cox.net> In-Reply-To: <5902376.1148563018213.JavaMail.root@eastrmwml06.mgt.cox.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605251427.16914.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, sol10x86@cox.net On Thursday 25 May 2006 14:16, Ben Taylor wrote: > The question came up a little while back about getting Solaris (Sparc) to > boot in qemu under qemu-system-sparc. > > I did a little work yesterday to find out that the boot process in > hw/sun4m.c is really kind of hard wired for a linux boot. If there is no > kernel or initrd, it drops right through. In reality, if those variables > aren't set, and the boot device is cdrom, shouldn't there be some code to > load the boot block in slice 3 of the cd/dvd? At worst case, it seems that > we could probably extract the boot block and force qemu to load that with > the hope of getting a solaris/sparc on qemu started, since slice 1 of the > cd/dvd is the kernel and root directory structure. Slice 0 is the install > media. > > Ideas? I'm neck deep in the pool and have no idea where to start. Real sun SPARC systems use an OpenFirmware (aka OpenBoot) based system. http://www.openbios.org/ indicates there is a qemu/sparc port in progress. Paul