From: Rob Landley <rob@landley.net>
To: Artyom Tarasenko <atar4qemu@gmail.com>
Cc: "Andreas Färber" <afaerber@suse.de>,
qemu-ppc@nongnu.org, "Alexander Graf" <agraf@suse.de>,
"Fabien Chouteau" <chouteau@adacore.com>,
qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image
Date: Thu, 04 Apr 2013 21:32:53 -0500 [thread overview]
Message-ID: <1365129173.18069.37@driftwood> (raw)
In-Reply-To: <CACXAS8BBFUhZ6NY49K5Gruh2hov3rZPzMywo8owjeZY7K0m80w@mail.gmail.com> (from atar4qemu@gmail.com on Thu Apr 4 04:57:32 2013)
On 04/04/2013 04:57:32 AM, Artyom Tarasenko wrote:
> On Thu, Apr 4, 2013 at 11:50 AM, Alexander Graf <agraf@suse.de> wrote:
> >
> > On 04.04.2013, at 11:46, Artyom Tarasenko wrote:
> >
> >> On Thu, Apr 4, 2013 at 10:37 AM, Fabien Chouteau
> <chouteau@adacore.com> wrote:
> >>>
> >>> 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 <PROGRAM> -bios -
> >>
> >> Regardless of the firmware vs. kernel discussion, I think the
> syntax
> >> may be improved. Under *nix '-' is commonly used for stdin. Would
> it
> >> be possible to specify /dev/null (under *NIX) or NUL (in the
> >> MS-World)? I think it would make the syntax more explicit.
> >
> > I'd be inclined to say that running -kernel without -bios is simply
> bogus and shouldn't ever happen.
>
> QEMU does it at least in one other architectures though:
> leon3_generic.
sh4 runs without bios, arm versatile runs without bios, mips runs
without bios...
http://landley.net/aboriginal/bin/system-image-armv5l.tar.bz2 (or
system-image-sh4.tar.bz2 or system-image-mips.tar.bz2) and
./run-emulator.sh in that. Boots to a shell prompt, no bios.
Rob
next prev parent reply other threads:[~2013-04-05 2:33 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-03 16:40 [Qemu-devel] [PATCH 0/3] PPC PReP: Use ElF kernel on PReP Fabien Chouteau
2013-04-03 16:40 ` [Qemu-devel] [PATCH 1/3] PPC PReP: Load ELF kernel Fabien Chouteau
2013-04-03 16:40 ` [Qemu-devel] [PATCH 2/3] PPC PReP: Use kernel entry to set nip at reset Fabien Chouteau
2013-04-03 16:40 ` [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image Fabien Chouteau
2013-04-03 16:59 ` Alexander Graf
2013-04-04 8:37 ` Fabien Chouteau
2013-04-04 9:26 ` Alexander Graf
2013-04-04 16:19 ` Fabien Chouteau
2013-04-04 9:46 ` Artyom Tarasenko
2013-04-04 9:50 ` Alexander Graf
2013-04-04 9:57 ` Artyom Tarasenko
2013-04-04 11:53 ` Andreas Färber
2013-04-04 11:59 ` Alexander Graf
2013-04-05 23:00 ` Scott Wood
2013-04-06 9:01 ` Alexander Graf
2013-04-08 17:52 ` Scott Wood
2013-07-04 8:35 ` Julio Guerra
2013-07-10 9:16 ` Julio Guerra
2013-04-06 9:07 ` Alexander Graf
2013-04-06 11:27 ` Peter Maydell
2013-04-06 11:38 ` Alexander Graf
2013-04-06 13:08 ` Peter Maydell
2013-04-06 20:07 ` [Qemu-devel] [Qemu-ppc] " Edgar E. Iglesias
2013-04-06 20:12 ` Alexander Graf
2013-04-07 0:52 ` Edgar E. Iglesias
2013-04-04 12:43 ` [Qemu-devel] " Peter Maydell
2013-04-04 16:17 ` Fabien Chouteau
2013-04-04 16:20 ` Peter Maydell
2013-04-04 16:26 ` Artyom Tarasenko
2013-04-04 16:30 ` Peter Maydell
2013-04-04 16:34 ` Alexander Graf
2013-04-04 16:41 ` Peter Maydell
2013-04-04 16:51 ` Alexander Graf
2013-04-04 16:52 ` Peter Maydell
2013-04-04 22:32 ` Alexander Graf
2013-04-04 22:35 ` Peter Maydell
2013-04-04 16:46 ` Artyom Tarasenko
2013-04-04 16:51 ` Peter Maydell
2013-04-04 17:08 ` Artyom Tarasenko
2013-04-04 17:22 ` Andreas Färber
2013-04-05 9:19 ` Fabien Chouteau
2013-04-05 9:30 ` Peter Maydell
2013-04-04 17:05 ` Andreas Färber
2013-04-05 2:32 ` Rob Landley [this message]
2013-04-04 11:16 ` Andreas Färber
2013-04-04 16:18 ` Fabien Chouteau
2013-04-03 16:47 ` [Qemu-devel] [PATCH 0/3] PPC PReP: Use ElF kernel on PReP Alexander Graf
2013-04-03 17:32 ` Andreas Färber
2013-04-04 8:17 ` Fabien Chouteau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1365129173.18069.37@driftwood \
--to=rob@landley.net \
--cc=afaerber@suse.de \
--cc=agraf@suse.de \
--cc=atar4qemu@gmail.com \
--cc=chouteau@adacore.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).