Re: [PATCH] riscv: Fix efi header for RV32

2020-11-12 Thread Atish Patra
On Wed, Nov 11, 2020 at 12:26 AM Leo Liang wrote: > > Hi Atish and Heinrich, > > On Tue, Oct 13, 2020 at 12:23:31PM -0700, Atish Patra wrote: > > RV32 should use PE32 format instead of PE32+ as the efi header format. > > This requires following changes > > 1. A different header magic value > > 2.

Re: [PATCH] riscv: Fix efi header for RV32

2020-11-11 Thread Leo Liang
On Wed, Nov 11, 2020 at 04:25:53PM +0800, Leo Liang wrote: > Hi Atish and Heinrich, > > On Tue, Oct 13, 2020 at 12:23:31PM -0700, Atish Patra wrote: > > RV32 should use PE32 format instead of PE32+ as the efi header format. > > This requires following changes > > 1. A different header magic value

Re: [PATCH] riscv: Fix efi header for RV32

2020-11-11 Thread Leo Liang
Hi Atish and Heinrich, On Tue, Oct 13, 2020 at 12:23:31PM -0700, Atish Patra wrote: > RV32 should use PE32 format instead of PE32+ as the efi header format. > This requires following changes > 1. A different header magic value > 2. An additional parameter known as BaseOfData. Currently, it is set

Re: [PATCH] riscv: Fix efi header for RV32

2020-11-03 Thread Rick Chen
Tom Rini > Subject: Re: [PATCH] riscv: Fix efi header for RV32 > > Am 14. Oktober 2020 03:03:28 MESZ schrieb Bin Meng : > >On Wed, Oct 14, 2020 at 3:23 AM Atish Patra > >wrote: > >> > >> RV32 should use PE32 format instead of PE32+ as the efi header > >f

Re: [PATCH] riscv: Fix efi header for RV32

2020-10-13 Thread Heinrich Schuchardt
Am 14. Oktober 2020 03:03:28 MESZ schrieb Bin Meng : >On Wed, Oct 14, 2020 at 3:23 AM Atish Patra >wrote: >> >> RV32 should use PE32 format instead of PE32+ as the efi header >format. >> This requires following changes >> 1. A different header magic value >> 2. An additional parameter known as

Re: [PATCH] riscv: Fix efi header for RV32

2020-10-13 Thread Bin Meng
On Wed, Oct 14, 2020 at 3:23 AM Atish Patra wrote: > > RV32 should use PE32 format instead of PE32+ as the efi header format. > This requires following changes > 1. A different header magic value > 2. An additional parameter known as BaseOfData. Currently, it is set to >zero in absence of any

[PATCH] riscv: Fix efi header for RV32

2020-10-13 Thread Atish Patra
RV32 should use PE32 format instead of PE32+ as the efi header format. This requires following changes 1. A different header magic value 2. An additional parameter known as BaseOfData. Currently, it is set to zero in absence of any usage. Signed-off-by: Atish Patra ---