qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v8 0/5] Add a generic loader


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v8 0/5] Add a generic loader
Date: Mon, 4 Jul 2016 13:22:22 +0100

On 2 July 2016 at 02:07, Alistair Francis <address@hidden> wrote:
> This work is based on the original work by Li Guang with extra
> features added by Peter C and myself.
>
> The idea of this loader is to allow the user to load multiple images
> or values into QEMU at startup.
>
> Memory values can be loaded like this: -device 
> loader,addr=0xfd1a0104,data=0x8000000e,data-len=4
>
> Images can be loaded like this: -device loader,file=./images/u-boot.elf,cpu=0
>
> This can be useful and we use it a lot in Xilinx to load multiple images
> into a machine at creation (ATF, Kernel and DTB for example).
>
> It can also be used to set registers.
>
> This patch series makes the load_elf() function more generic by not
> requiring an architecture. It also adds a new function load_elf_as()
> which allows custom AddressSpaces when loading ELF images.
>
> At the moment I think the AddressSpace loading support is more of an
> RFC. If people agree with the way I'm doing it I will expand the support
> to image types.

"an RFC" at this stage of the release process is a strong hint
towards "not for this release". Are you sure about that?

thanks
-- PMM



reply via email to

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