Re: [U-Boot] [PATCH v2 1/6] efi_loader: Generate Microsoft PE format compliant images

2018-10-16 Thread Bin Meng
Hi Alex, On Tue, Oct 16, 2018 at 11:40 PM Alexander Graf wrote: > > > > On 16.10.18 17:37, Bin Meng wrote: > > Hi Alex, > > > > On Tue, Oct 16, 2018 at 10:36 PM Alexander Graf wrote: > >> > >> > >> > >> On 02.10.18 16:39, Bin Meng wrote: > >>> Per Microsoft PE Format documentation [1], PointerTo

Re: [U-Boot] [PATCH v2 1/6] efi_loader: Generate Microsoft PE format compliant images

2018-10-16 Thread Alexander Graf
On 16.10.18 17:37, Bin Meng wrote: > Hi Alex, > > On Tue, Oct 16, 2018 at 10:36 PM Alexander Graf wrote: >> >> >> >> On 02.10.18 16:39, Bin Meng wrote: >>> Per Microsoft PE Format documentation [1], PointerToSymbolTable and >>> NumberOfSymbols should be zero for an image in the COFF file header

Re: [U-Boot] [PATCH v2 1/6] efi_loader: Generate Microsoft PE format compliant images

2018-10-16 Thread Bin Meng
Hi Alex, On Tue, Oct 16, 2018 at 10:36 PM Alexander Graf wrote: > > > > On 02.10.18 16:39, Bin Meng wrote: > > Per Microsoft PE Format documentation [1], PointerToSymbolTable and > > NumberOfSymbols should be zero for an image in the COFF file header. > > Currently U-Boot is generating *.efi imag

Re: [U-Boot] [PATCH v2 1/6] efi_loader: Generate Microsoft PE format compliant images

2018-10-16 Thread Alexander Graf
On 02.10.18 16:39, Bin Meng wrote: > Per Microsoft PE Format documentation [1], PointerToSymbolTable and > NumberOfSymbols should be zero for an image in the COFF file header. > Currently U-Boot is generating *.efi images (eg: helloworld.efi) in > which these two members are not zero. > > This u

[U-Boot] [PATCH v2 1/6] efi_loader: Generate Microsoft PE format compliant images

2018-10-02 Thread Bin Meng
Per Microsoft PE Format documentation [1], PointerToSymbolTable and NumberOfSymbols should be zero for an image in the COFF file header. Currently U-Boot is generating *.efi images (eg: helloworld.efi) in which these two members are not zero. This updates the build rules to tell linker to remove t