[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image |
Date: |
Sat, 6 Apr 2013 11:07:18 +0200 |
Am 06.04.2013 um 01:00 schrieb Scott Wood <address@hidden>:
> On 04/04/2013 06:59:24 AM, Alexander Graf wrote:
>> On 04.04.2013, at 13:53, Andreas Färber wrote:
>> > For PReP, Fabien has not stated what his use case actually is (in
>> > particular which hardware?), so it's hard for me to comment on what the
>> > hardware actually does and I thus won't accept random changes just
>> > because they happen to be in Leon3 code. There's nothing conceptually
>> > wrong with loading ELF code so I'm positive we will find a solution to
>> > accommodate all use cases in some way. :)
>> I think it makes a lot of sense to support loading -kernel as an ELF binary.
>> I don't think it's a good idea to allow -kernel without any BIOS. We do that
>> on the e500 machines and so far it's mostly hurt us.
>
> If by "mostly hurt us" you mean allowed things to work without having to do a
> bunch of hacking to create a paravirt U-Boot and/or implement a bunch of
> emulation that we don't really need otherwise.
Also, as soon as ARM moves to uEFI, Linux won't run bare metal the way it would
with formware either.
We went through that argument very leghthly on x86. It used to do direct
-kernel without involving firmware. Then came SMP tables that were missing,
ACPI tables that were missing, etc. Suddenly your -kernel booted system
couldn't do hotplug for example. It ran through different code paths, causing
testability pain.
What if Linux adds a callback into uboot tomorrow that it uses to do early
printk? Suddenly we lack that.
On ARM, look at highbank. Because we're not running we're lacking a monitor
mode blob that provides sys calls for flushing caches. Thus today the highbank
machine doesn't boot anymore with Linux. If we ran firmware like the real
board, that would provide for the sys call.
Alex
- Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image, (continued)
- Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image, Artyom Tarasenko, 2013/04/04
- Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image, Alexander Graf, 2013/04/04
- Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image, Artyom Tarasenko, 2013/04/04
- Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image, Andreas Färber, 2013/04/04
- Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image, Alexander Graf, 2013/04/04
- Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image, Scott Wood, 2013/04/05
- Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image, Alexander Graf, 2013/04/06
- Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image, Scott Wood, 2013/04/08
- Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image,
Alexander Graf <=
- Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image, Peter Maydell, 2013/04/06
- Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image, Alexander Graf, 2013/04/06
- Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image, Peter Maydell, 2013/04/06
- Re: [Qemu-devel] [Qemu-ppc] [PATCH 3/3] PPC PReP: can run without bios image, Edgar E. Iglesias, 2013/04/06
- Re: [Qemu-devel] [Qemu-ppc] [PATCH 3/3] PPC PReP: can run without bios image, Alexander Graf, 2013/04/06
- Re: [Qemu-devel] [Qemu-ppc] [PATCH 3/3] PPC PReP: can run without bios image, Edgar E. Iglesias, 2013/04/06
- Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image, Peter Maydell, 2013/04/04
- Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image, Fabien Chouteau, 2013/04/04
- Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image, Peter Maydell, 2013/04/04
- Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image, Artyom Tarasenko, 2013/04/04