From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agF5z-0002VD-Qt for qemu-devel@nongnu.org; Wed, 16 Mar 2016 13:18:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agF5y-0001Qu-Pc for qemu-devel@nongnu.org; Wed, 16 Mar 2016 13:18:55 -0400 Received: from mail-ob0-x244.google.com ([2607:f8b0:4003:c01::244]:33039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agF5y-0001QL-Hw for qemu-devel@nongnu.org; Wed, 16 Mar 2016 13:18:54 -0400 Received: by mail-ob0-x244.google.com with SMTP id z10so2790710obg.0 for ; Wed, 16 Mar 2016 10:18:54 -0700 (PDT) MIME-Version: 1.0 Sender: alistair23@gmail.com In-Reply-To: References: Date: Wed, 16 Mar 2016 10:18:53 -0700 Message-ID: From: Alistair Francis Content-Type: multipart/alternative; boundary=089e0111ba8a4d3447052e2db579 Subject: Re: [Qemu-devel] [PATCH v4 0/3] Add a generic loader List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Markus Armbruster , QEMU Developers , Peter Crosthwaite , Christopher Covington , Paolo Bonzini , =?UTF-8?Q?Andreas_F=C3=A4rber?= --089e0111ba8a4d3447052e2db579 Content-Type: text/plain; charset=UTF-8 On 16 Mar 2016 5:04 am, "Peter Maydell" wrote: > > On 3 March 2016 at 19:42, Alistair Francis 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 also make the load_elf() function more generic by not > > requiring an architecture. > > Do you strongly want this in 2.6, or can we punt it to 2.7 ? It would be really nice to get it in 2.6, but it wouldn't be the end of the world if it wasn't. Thanks, Alistair > > thanks > -- PMM > --089e0111ba8a4d3447052e2db579 Content-Type: text/html; charset=UTF-8


On 16 Mar 2016 5:04 am, "Peter Maydell" <peter.maydell@linaro.org> wrote:
>
> On 3 March 2016 at 19:42, Alistair Francis <alistair.francis@xilinx.com> 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 also make the load_elf() function more generic by not
> > requiring an architecture.
>
> Do you strongly want this in 2.6, or can we punt it to 2.7 ?

It would be really nice to get it in 2.6, but it wouldn't be the end of the world if it wasn't.

Thanks,

Alistair

>
> thanks
> -- PMM
>

--089e0111ba8a4d3447052e2db579--