[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v8 0/5] Add a generic loader
From: |
Alistair Francis |
Subject: |
Re: [Qemu-devel] [PATCH v8 0/5] Add a generic loader |
Date: |
Tue, 5 Jul 2016 10:44:33 -0700 |
On Mon, Jul 4, 2016 at 5:22 AM, Peter Maydell <address@hidden> wrote:
> 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?
I mostly meant it because at the moment it only supports one image
type. I will need to expand it to the other images.
I wanted to see if this was considered the right approach before I did that.
Thanks,
Alistair
>
> thanks
> -- PMM
>
- Re: [Qemu-devel] [PATCH v8 4/5] generic-loader: Add a generic loader, (continued)
- Re: [Qemu-devel] [PATCH v8 4/5] generic-loader: Add a generic loader, Peter Maydell, 2016/07/12
- Re: [Qemu-devel] [PATCH v8 4/5] generic-loader: Add a generic loader, Alistair Francis, 2016/07/13
- Re: [Qemu-devel] [PATCH v8 4/5] generic-loader: Add a generic loader, Peter Maydell, 2016/07/13
- Re: [Qemu-devel] [PATCH v8 4/5] generic-loader: Add a generic loader, Alistair Francis, 2016/07/13
- Re: [Qemu-devel] [PATCH v8 4/5] generic-loader: Add a generic loader, Peter Maydell, 2016/07/13
- Re: [Qemu-devel] [PATCH v8 4/5] generic-loader: Add a generic loader, Alistair Francis, 2016/07/13
[Qemu-devel] [PATCH v8 5/5] docs: Add a generic loader explanation document, Alistair Francis, 2016/07/01
Re: [Qemu-devel] [PATCH v8 0/5] Add a generic loader, Peter Maydell, 2016/07/04
- Re: [Qemu-devel] [PATCH v8 0/5] Add a generic loader,
Alistair Francis <=
Re: [Qemu-devel] [PATCH v8 0/5] Add a generic loader, Christian Borntraeger, 2016/07/04