qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/2] Add "-uboot" option


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 0/2] Add "-uboot" option
Date: Wed, 22 Feb 2012 08:34:50 +0000

On 22 February 2012 08:29, Evgeny Voevodin <address@hidden> wrote:
> On 22.02.2012 12:12, Peter Maydell wrote:
>> Nack. This kind of thing should be done by making QEMU
>> load an ELF file which has u-boot in it (which at the
>> moment you can do with -kernel). Loading Linux kernels
>> is a special case in arm_boot because of the complicated
>> boot protocol they have and because people want to load
>> lots of different kernels.

> As I understood, you mean that -kernel is for people who want to quickly
> compile and try different kernel.
> As for me, -uboot is the same ) No need to generate a file, where u-boot and
> kernel are placed. Just use -uboot ./u-boot -kernel ./uImage, change kernel,
> or change u-boot, or both, as you wish.

If you're using -kernel you don't need to provide a u-boot
because qemu is being the bootloader. If you're making
qemu execute a bootloader than you should just put the
kernel where u-boot would load it normally.

We really can't add random options to qemu to support
loading every single thing you might possibly want to load,
which is why I'm drawing a line in the sand here.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]