Reviewed-By: Zailiang Sun <zailiang....@intel.com> -----Original Message----- From: Kinney, Michael D Sent: Thursday, July 11, 2019 3:05 AM To: devel@edk2.groups.io Cc: Sun, Zailiang <zailiang....@intel.com>; Qian, Yi <yi.q...@intel.com>; Gary Lin <g...@suse.com> Subject: [edk2-platforms Patch 00/28] Vlv2TbltDevicePkg: Fix Linux build issues
* Update Readme.md for multiple repos * Clean up all build scripts and make Linux and Windows support consistent * Add IA32 GCC build support and only build capsules for X64 * Clean up library mappings, add TlsLib for HTTPS Boot, and add SD/MMC drivers. * Re-enable BIOS ID feature using new GenBiosId.py tool * Remove redundant declarations from DEC file and remove unused content * Add missing header files in [Sources] sections of INF files. * Vlv2DeviceRefCodePlg/AcpiTablesPCAT: Fix ASL build error using newer iasl. * Vlvt2TbltDevicePkg: Fix NULL pointer access in SmbiosMiscDxe * Vlv2TbltDevicePkg/AcpiPlatform: Fix the error from InstallAcpiTable and remove unused local variable. Cc: Zailiang Sun <zailiang....@intel.com> Cc: Yi Qian <yi.q...@intel.com> Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com> Signed-off-by: Gary Lin <g...@suse.com> Gary Lin (18): Vlv2TbltDevicePkg/Build_IFWI.sh: Add "set -e" to exit on error Vlv2TbltDevicePkg/Build_IFWI.sh: Change the root directory path Vlv2TbltDevicePkg/bld_vlv.sh: Fix the log name Vlv2TbltDevicePkg/bld_vlv.sh: Update the gcc version detection Vlv2TbltDevicePkg/bld_vlv.sh: Remove ECP completely Vlv2TbltDevicePkg/bld_vlv.sh: Update the script to fit edk2-platforms Vlv2TbltDevicePkg: Add the missing headers to inf files Vlv2TbltDevicePkg/bld_vlv.sh: Remove BiosId.env completely Vlv2TbltDevicePkg/bld_vlv.sh: Correct the path to PlatformCapsuleGcc.dsc Vlv2TbltDevicePkg/bld_vlv.sh: Create Vlv.ROM Vlv2TbltDevicePkg/GenerateCapsule: Fix the bash scripts Vlv2TbltDevicePkg/AcpiPlatform: Remove a unused variable Vlv2TbltDevicePkg/AcpiPlatform: Fix the error from InstallAcpiTable Vlv2TbltDevicePkg/SmBiosMiscDxe: Fix the indentation Vlv2TbltDevicePkg: Import SD/MMC drivers Vlv2TbltDevicePkg/Build_IFWI.sh: Check the WORKSPACE env variable Vlv2TbltDevicePkg: Import TlsLib for HTTPS Boot Vlv2TbltDevicePkg: Reorganize the libraries Michael D Kinney (10): Vlv2TbltDevicePkg: Update Linux build scripts Vlvt2TbltDevicePkg: Fix NULL pointer access in SmbiosMiscDxe Vlv2DeviceRefCodePkg: Remove redundant gEfiSpiProtocolGuid Vlv2TbltDevicePkg: Remove redundant gEfiSpiProtocolGuid Vlv2TbltDevicePkg: Re-enable BIOS ID feature Vlv2TbltDevicePkg: Add GCC IA32 build support Vlv2DeviceRefCodePlg/AcpiTablesPCAT: Fix ASL error Vlv2TbltDevicePkg: Clean up all build scripts Vlv2TbltDevicePkg: Only build capsules for X64 Vlv2TbltDevicePkg: Update Readme.md for multiple repos Platform/Intel/Vlv2TbltDevicePkg/.gitignore | 5 - .../AcpiPlatform/AcpiPlatform.c | 5 +- .../Intel/Vlv2TbltDevicePkg/Build_IFWI.bat | 75 +--- .../Intel/Vlv2TbltDevicePkg/Build_IFWI.sh | 76 ++-- .../Capsule/GenerateCapsule/GenCapsuleAll.sh | 37 +- .../GenerateCapsule/GenCapsuleMinnowMax.sh | 24 +- .../GenCapsuleMinnowMaxRelease.sh | 19 +- .../Include/Guid/PlatformCpuInfo.h | 16 +- .../Include/Library/BiosIdLib.h | 86 ----- .../Include/Library/CpuIA32.h | 345 ------------------ .../Include/PlatformDefinitions.h | 43 --- .../Library/BiosIdLib/BiosIdLib.c | 98 ----- .../Library/BiosIdLib/BiosIdLib.inf | 33 -- .../Library/CpuIA32Lib/CpuIA32Lib.inf | 41 --- .../Library/CpuIA32Lib/EfiCpuVersion.c | 70 ---- .../Library/CpuIA32Lib/IA32/CpuIA32.S | 223 ----------- .../Library/CpuIA32Lib/IA32/CpuIA32.asm | 206 ----------- .../Library/CpuIA32Lib/IA32/CpuIA32.c | 177 --------- .../Library/CpuIA32Lib/X64/Cpu.S | 207 ----------- .../Library/CpuIA32Lib/X64/Cpu.asm | 222 ----------- .../Library/FlashDeviceLib/FlashDeviceLib.inf | 2 +- .../Library/PchSmmLib/PchSmmLib.inf | 8 +- .../MonoStatusCode/MonoStatusCode.inf | 2 +- .../PlatformDxe/PlatformDxe.inf | 5 +- .../PlatformInitPei/MemoryCallback.c | 11 +- .../PlatformInitPei/PlatformEarlyInit.h | 4 +- .../PlatformInitPei/PlatformInitPei.inf | 1 - .../PlatformPei/PlatformPei.inf | 1 - .../Intel/Vlv2TbltDevicePkg/PlatformPkg.dec | 1 - .../Intel/Vlv2TbltDevicePkg/PlatformPkg.fdf | 14 + .../Vlv2TbltDevicePkg/PlatformPkgConfig.dsc | 2 - .../Vlv2TbltDevicePkg/PlatformPkgGcc.fdf | 14 + ...formPkgIA32.dsc => PlatformPkgGccIA32.dsc} | 122 ++----- .../Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc | 112 ++---- .../Vlv2TbltDevicePkg/PlatformPkgIA32.dsc | 109 ++---- .../Vlv2TbltDevicePkg/PlatformPkgX64.dsc | 113 ++---- .../PlatformSetupDxe/PlatformSetupDxe.h | 1 - .../PlatformSetupDxe/PlatformSetupDxe.inf | 5 +- .../PlatformSetupDxe/SetupInfoRecords.c | 42 ++- .../Vlv2TbltDevicePkg/PpmPolicy/PpmPolicy.c | 12 +- .../Vlv2TbltDevicePkg/PpmPolicy/PpmPolicy.inf | 1 + Platform/Intel/Vlv2TbltDevicePkg/Readme.md | 145 ++++---- .../MiscBaseBoardManufacturerFunction.c | 14 +- .../SmBiosMiscDxe/MiscBiosVendorFunction.c | 49 +-- .../SmBiosMiscDxe/MiscOemType0x90Function.c | 37 +- .../SmBiosMiscDxe/MiscOemType0x94Function.c | 10 +- .../MiscProcessorInformationFunction.c | 3 +- .../MiscSystemManufacturerFunction.c | 65 ++-- .../SmBiosMiscDxe/SmBiosMiscDxe.inf | 9 +- Platform/Intel/Vlv2TbltDevicePkg/bld_vlv.bat | 151 ++++---- Platform/Intel/Vlv2TbltDevicePkg/bld_vlv.sh | 251 +++++++------ Platform/Intel/Vlv2TbltDevicePkg/cln.sh | 62 ---- .../AcpiTablesPCAT/IgdOGBDA.ASL | 14 +- .../AcpiTablesPCAT/IgdOpRn.ASL | 18 +- .../Vlv2DeviceRefCodePkg.dec | 1 - 55 files changed, 670 insertions(+), 2749 deletions(-) delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/.gitignore mode change 100644 => 100755 Platform/Intel/Vlv2TbltDevicePkg/Build_IFWI.sh mode change 100644 => 100755 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCapsuleAll.sh delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Include/Library/BiosIdLib.h delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Include/Library/CpuIA32.h delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Include/PlatformDefinitions.h delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Library/BiosIdLib/BiosIdLib.c delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Library/BiosIdLib/BiosIdLib.inf delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Library/CpuIA32Lib/CpuIA32Lib.inf delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Library/CpuIA32Lib/EfiCpuVersion.c delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Library/CpuIA32Lib/IA32/CpuIA32.S delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Library/CpuIA32Lib/IA32/CpuIA32.asm delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Library/CpuIA32Lib/IA32/CpuIA32.c delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Library/CpuIA32Lib/X64/Cpu.S delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Library/CpuIA32Lib/X64/Cpu.asm copy Platform/Intel/Vlv2TbltDevicePkg/{PlatformPkgIA32.dsc => PlatformPkgGccIA32.dsc} (91%) mode change 100644 => 100755 Platform/Intel/Vlv2TbltDevicePkg/bld_vlv.sh delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/cln.sh -- 2.21.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#43633): https://edk2.groups.io/g/devel/message/43633 Mute This Topic: https://groups.io/mt/32419727/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-