[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190511205711.pp54kufgret662xv@excalibur.cnev.de>
Date: Sat, 11 May 2019 22:57:11 +0200
From: Karsten Merker <merker@...ian.org>
To: Palmer Dabbelt <palmer@...ive.com>
Cc: Atish Patra <atish.patra@....com>, linux-kernel@...r.kernel.org,
Albert Ou <aou@...s.berkeley.edu>,
Anup Patel <anup@...infault.org>,
linux-riscv@...ts.infradead.org,
Palmer Dabbelt <palmer@...ive.com>,
Zong Li <zong@...estech.com>, mark.rutland@....com,
merker@...ian.org
Subject: Re: [v2 PATCH] RISC-V: Add a PE/COFF compliant Image header.
On Wed, May 01, 2019 at 12:56:07PM -0700, Atish Patra wrote:
> Currently, last stage boot loaders such as U-Boot can accept only
> uImage which is an unnecessary additional step in automating boot flows.
>
> Add a PE/COFF compliant image header that boot loaders can parse and
> directly load kernel flat Image. The existing booting methods will continue
> to work as it is.
>
> Another goal of this header is to support EFI stub for RISC-V in future.
> EFI specification needs PE/COFF image header in the beginning of the kernel
> image in order to load it as an EFI application. In order to support
> EFI stub, code0 should be replaced with "MZ" magic string and res5(at
> offset 0x3c) should point to the rest of the PE/COFF header (which will
> be added during EFI support).
>
> Tested on both QEMU and HiFive Unleashed using OpenSBI + U-Boot + Linux.
Hello Palmer,
it would be great if this patch could go in with the 5.2 merge
window. Is there anything particular blocking its acceptance?
Regards,
Karsten
--
Ich widerspreche hiermit ausdrücklich der Nutzung sowie der
Weitergabe meiner personenbezogenen Daten für Zwecke der Werbung
sowie der Markt- oder Meinungsforschung.
Powered by blists - more mailing lists