Re: [edk2-devel] [PATCH v5 4/5] BaseTools: Compile AML bytecode arrays into .obj file

2020-07-28 Thread Masahisa Kojima
a > > Kojima via groups.io > > Sent: Tuesday, July 28, 2020 2:38 AM > > To: Leif Lindholm > > Cc: devel@edk2.groups.io; Gao, Liming ; Pierre > > Gondois ; Sami Mujawar ; > > Tomas Pilar ; Feng, Bob C ; Ard > > Biesheuvel > > Subject: Re: [edk2-deve

Re: [edk2-devel] [PATCH v5 4/5] BaseTools: Compile AML bytecode arrays into .obj file

2020-07-28 Thread Leif Lindholm
ahisa > Kojima via groups.io > Sent: Tuesday, July 28, 2020 2:38 AM > To: Leif Lindholm > Cc: devel@edk2.groups.io; Gao, Liming ; Pierre Gondois > ; Sami Mujawar ; Tomas Pilar > ; Feng, Bob C ; Ard Biesheuvel > > Subject: Re: [edk2-devel] [PATCH v5 4/5] BaseTools

Re: [edk2-devel] [PATCH v5 4/5] BaseTools: Compile AML bytecode arrays into .obj file

2020-07-28 Thread PierreGondois
-Original Message- > From: devel@edk2.groups.io On Behalf Of Liming > Gao via groups.io > Sent: Monday, July 27, 2020 3:21 PM > To: Leif Lindholm ; devel@edk2.groups.io; Pierre > Gondois ; Masahisa Kojima > > Cc: Sami Mujawar ; Tomas Pilar > ; Feng, Bob C ; Ard &g

Re: [edk2-devel] [PATCH v5 4/5] BaseTools: Compile AML bytecode arrays into .obj file

2020-07-27 Thread Masahisa Kojima
e- > From: devel@edk2.groups.io On Behalf Of PierreGondois > Sent: 2020年7月28日 1:10 > To: devel@edk2.groups.io; Gao, Liming ; Leif Lindholm > ; Masahisa Kojima > Cc: Sami Mujawar ; Tomas Pilar ; > Feng, Bob C ; Ard Biesheuvel > Subject: Re: [edk2-devel] [PATCH v5 4/5] Base

Re: [edk2-devel] [PATCH v5 4/5] BaseTools: Compile AML bytecode arrays into .obj file

2020-07-27 Thread Liming Gao
Biesheuvel Subject: Re: [edk2-devel] [PATCH v5 4/5] BaseTools: Compile AML bytecode arrays into .obj file Hello, Liming: I didn't find anything preventing from having a .vfr and .c file with the same name in the same scope. Everybody: The .c files generated (from either .vfr or .asl) are generated

Re: [edk2-devel] [PATCH v5 4/5] BaseTools: Compile AML bytecode arrays into .obj file

2020-07-27 Thread PierreGondois
: Leif Lindholm > Sent: Monday, July 27, 2020 9:58 PM > To: devel@edk2.groups.io; pierre.gond...@arm.com; Masahisa Kojima > > Cc: sami.muja...@arm.com; tomas.pi...@arm.com; Feng, Bob C > ; Gao, Liming ; Ard > Biesheuvel > Subject: Re: [edk2-devel] [PATCH v5 4/5] BaseTools: Co

Re: [edk2-devel] [PATCH v5 4/5] BaseTools: Compile AML bytecode arrays into .obj file

2020-07-27 Thread Liming Gao
0 9:58 PM > To: devel@edk2.groups.io; pierre.gond...@arm.com; Masahisa Kojima > > Cc: sami.muja...@arm.com; tomas.pi...@arm.com; Feng, Bob C > ; Gao, Liming ; Ard > Biesheuvel > Subject: Re: [edk2-devel] [PATCH v5 4/5] BaseTools: Compile AML bytecode > arrays into .obj f

Re: [edk2-devel] [PATCH v5 4/5] BaseTools: Compile AML bytecode arrays into .obj file

2020-07-27 Thread Sami Mujawar
Mujawar ; Tomas Pilar ; bob.c.f...@intel.com; liming@intel.com; Ard Biesheuvel Subject: Re: [edk2-devel] [PATCH v5 4/5] BaseTools: Compile AML bytecode arrays into .obj file Hi Pierre, (+Masahisa) This commit (0a4aa20e8d44) made for an exciting start to my week. Socionext's Developerbox

Re: [edk2-devel] [PATCH v5 4/5] BaseTools: Compile AML bytecode arrays into .obj file

2020-07-27 Thread Leif Lindholm
Hi Pierre, (+Masahisa) This commit (0a4aa20e8d44) made for an exciting start to my week. Socionext's Developerbox failed to build for me, with the spectacular error message: /usr/lib/gcc-cross/aarch64-linux-gnu/8/../../../../aarch64-linux-gnu/bin/ld: DWARF error: could not find abbrev number

[edk2-devel] [PATCH v5 4/5] BaseTools: Compile AML bytecode arrays into .obj file

2020-07-01 Thread PierreGondois
From: Pierre Gondois The AmlToHex script and Posix/WindowsLike wrappers convert an AML file to a .hex file, containing a C array storing AML bytecode. This ".hex" file can then be included in a C file, allowing to access the AML bytecode from this C file. The EDK2 build system doesn't allow to