From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:60787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNfgC-000896-CE for qemu-devel@nongnu.org; Thu, 04 Apr 2013 04:38:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNfg7-0006MQ-KR for qemu-devel@nongnu.org; Thu, 04 Apr 2013 04:37:56 -0400 Message-ID: <515D3BDE.20400@adacore.com> Date: Thu, 04 Apr 2013 10:37:50 +0200 From: Fabien Chouteau MIME-Version: 1.0 References: <1365007213-27603-1-git-send-email-chouteau@adacore.com> <1365007213-27603-4-git-send-email-chouteau@adacore.com> <7C0E04C3-1FDF-460E-8F78-1E24E5759C93@suse.de> In-Reply-To: <7C0E04C3-1FDF-460E-8F78-1E24E5759C93@suse.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org, =?ISO-8859-1?Q?Andreas_?= =?ISO-8859-1?Q?F=E4rber?= On 04/03/2013 06:59 PM, Alexander Graf wrote: > > On 03.04.2013, at 18:40, Fabien Chouteau wrote: > >> If we use an ELF kernel there's no need for bios. '-bios -' means no >> bios. > > This sounds like you're actually looking for a way to load an ELF blob > as bios using -bios, not a kernel, no? > No, we load the kernel with -kernel, that's what the first patch does. But the board is implemented in such way that you can't start without a bios. If the -bios switch is not present, then the board uses the default bios. This patch allows to start without a bios: -kernel -bios - > The preferred way to load a kernel with -kernel is to load firmware > which then detects that a kernel was loaded with -kernel and jumps in. > Once Andreas moves PReP to OpenBIOS, this will be the normal mode of > operation there too. > I'll have a look at Andreas' branch and see if it fits our scheme. Thanks, -- Fabien Chouteau