public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-platforms Patch 0/5] Vlv2Tbl2DevicePkg: Remove Linux/Windows differences
@ 2019-07-18 23:00 Michael D Kinney
  2019-07-18 23:00 ` [edk2-platforms Patch 1/5] Vlv2TbltDevicePkg/PlatformPei: Add boot mode detection Michael D Kinney
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Michael D Kinney @ 2019-07-18 23:00 UTC (permalink / raw)
  To: devel

Remove all BAT/sh scripts and use OS independent python
scripts for PREBULD and POSTBUILD operations and use
standard EDK II build command to build MinnowMax FW 
images and capsules.

The use of FCE has also been removed and replaced with
a Structured PCD.  The default values for Setup forms
are now in the file PlatformSetupDefaults.dsc.

A regression bug introduced by a recent commit that broke
the detection of the BOOT_ON_FLASH_UPDATE boot mode
has also been fixed.  Capsules are detected and processed
correctly again.

Michael D Kinney (5):
  Vlv2TbltDevicePkg/PlatformPei: Add boot mode detection
  Vlv2TbltDevicePkg: Convert use of FCE tool to Structured PCD
  Vlv2TbltDevicePkg: Remove Linux/GCC specific DSC/FDF files
  Vlv2TbltDevicePkg: Convert BAT/sh Capsule scripts to Python
  Vlv2Tbl2DevicePkg: Convert BAT/sh Build scripts to Python

 Platform/Intel/Vlv2TbltDevicePkg/BfmLib.exe   |  Bin 499712 -> 0 bytes
 .../Intel/Vlv2TbltDevicePkg/Build_IFWI.bat    |  118 --
 .../Intel/Vlv2TbltDevicePkg/Build_IFWI.sh     |  100 --
 Platform/Intel/Vlv2TbltDevicePkg/FCE.exe      |  Bin 632832 -> 0 bytes
 .../Capsule/GenerateCapsule/GenCapsuleAll.bat |   35 -
 .../Capsule/GenerateCapsule/GenCapsuleAll.py  |  397 +++++
 .../Capsule/GenerateCapsule/GenCapsuleAll.sh  |   33 -
 .../GenerateCapsule/GenCapsuleMinnowMax.bat   |  131 --
 .../GenerateCapsule/GenCapsuleMinnowMax.sh    |   59 -
 .../GenCapsuleMinnowMaxRelease.bat            |  131 --
 .../GenCapsuleMinnowMaxRelease.sh             |   64 -
 .../GenerateCapsule/GenCapsuleSampleColor.bat |  137 --
 .../GenerateCapsule/GenCapsuleSampleColor.sh  |   70 -
 .../Feature/Capsule/GenerateCapsule/Lvfs.ddf  |   14 -
 .../LvfsGenCapsuleMinnowMax.bat               |  139 --
 .../LvfsGenCapsuleMinnowMaxRelease.bat        |  139 --
 .../LvfsGenCapsuleSampleColor.bat             |  145 --
 .../GenerateCapsule/template.metainfo.xml     |   27 -
 .../SystemFirmwareDescriptor.aslc             |   83 --
 .../SystemFirmwareDescriptor.inf              |   40 -
 .../SystemFirmwareDescriptorPei.c             |   60 -
 .../SystemFirmwareUpdateConfig.ini            |   66 -
 .../SystemFirmwareUpdateConfigGcc.ini         |   66 -
 .../Vlv2TbltDevicePkg/PlatformCapsule.dsc     |   39 -
 .../Vlv2TbltDevicePkg/PlatformCapsule.fdf     |   52 -
 .../Vlv2TbltDevicePkg/PlatformCapsuleGcc.dsc  |   38 -
 .../Vlv2TbltDevicePkg/PlatformCapsuleGcc.fdf  |   52 -
 .../PlatformInitPei/PlatformEarlyInit.c       |   40 +-
 .../PlatformInitPei/PlatformInitPei.inf       |    2 +
 .../Vlv2TbltDevicePkg/PlatformPei/BootMode.c  |   92 +-
 .../Vlv2TbltDevicePkg/PlatformPei/Platform.c  |    6 +
 .../Vlv2TbltDevicePkg/PlatformPei/Platform.h  |   17 +
 .../Intel/Vlv2TbltDevicePkg/PlatformPkg.dec   |   12 +
 .../Intel/Vlv2TbltDevicePkg/PlatformPkg.fdf   |   52 +-
 .../Vlv2TbltDevicePkg/PlatformPkgGcc.fdf      |  914 ------------
 .../Vlv2TbltDevicePkg/PlatformPkgGccIA32.dsc  | 1272 ----------------
 .../Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc   | 1289 -----------------
 .../Vlv2TbltDevicePkg/PlatformPkgIA32.dsc     |   91 +-
 .../Vlv2TbltDevicePkg/PlatformPkgX64.dsc      |   89 +-
 .../PlatformSetupDefaults.dsc                 |  130 ++
 .../PlatformSetupDxe/PlatformSetupDxe.c       |   12 +-
 .../PlatformSetupDxe/Vfr.vfr                  |   17 +-
 Platform/Intel/Vlv2TbltDevicePkg/PreBuild.py  |  348 +++++
 Platform/Intel/Vlv2TbltDevicePkg/Readme.md    |   62 +-
 .../Stitch/Gcc/NvStorageFtwSpare.bin          |  Bin 262144 -> 0 bytes
 .../Stitch/Gcc/NvStorageFtwWorking.bin        |  Bin 8192 -> 0 bytes
 .../Stitch/Gcc/NvStorageVariable.bin          |  Bin 253952 -> 0 bytes
 Platform/Intel/Vlv2TbltDevicePkg/bld_vlv.bat  |  322 ----
 Platform/Intel/Vlv2TbltDevicePkg/bld_vlv.sh   |  235 ---
 49 files changed, 1231 insertions(+), 6006 deletions(-)
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/BfmLib.exe
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Build_IFWI.bat
 delete mode 100755 Platform/Intel/Vlv2TbltDevicePkg/Build_IFWI.sh
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/FCE.exe
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCapsuleAll.bat
 create mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCapsuleAll.py
 delete mode 100755 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCapsuleAll.sh
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCapsuleMinnowMax.bat
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCapsuleMinnowMax.sh
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCapsuleMinnowMaxRelease.bat
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCapsuleMinnowMaxRelease.sh
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCapsuleSampleColor.bat
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCapsuleSampleColor.sh
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/Lvfs.ddf
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/LvfsGenCapsuleMinnowMax.bat
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/LvfsGenCapsuleMinnowMaxRelease.bat
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/LvfsGenCapsuleSampleColor.bat
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/template.metainfo.xml
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/SystemFirmwareDescriptor/SystemFirmwareDescriptor.aslc
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/SystemFirmwareDescriptor/SystemFirmwareDescriptor.inf
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/SystemFirmwareDescriptor/SystemFirmwareDescriptorPei.c
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/SystemFirmwareUpdateConfig/SystemFirmwareUpdateConfig.ini
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Feature/Capsule/SystemFirmwareUpdateConfig/SystemFirmwareUpdateConfigGcc.ini
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/PlatformCapsule.dsc
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/PlatformCapsule.fdf
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/PlatformCapsuleGcc.dsc
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/PlatformCapsuleGcc.fdf
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgGcc.fdf
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgGccIA32.dsc
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc
 create mode 100644 Platform/Intel/Vlv2TbltDevicePkg/PlatformSetupDefaults.dsc
 create mode 100644 Platform/Intel/Vlv2TbltDevicePkg/PreBuild.py
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Stitch/Gcc/NvStorageFtwSpare.bin
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Stitch/Gcc/NvStorageFtwWorking.bin
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/Stitch/Gcc/NvStorageVariable.bin
 delete mode 100644 Platform/Intel/Vlv2TbltDevicePkg/bld_vlv.bat
 delete mode 100755 Platform/Intel/Vlv2TbltDevicePkg/bld_vlv.sh

-- 
2.21.0.windows.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2019-07-20 15:11 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-18 23:00 [edk2-platforms Patch 0/5] Vlv2Tbl2DevicePkg: Remove Linux/Windows differences Michael D Kinney
2019-07-18 23:00 ` [edk2-platforms Patch 1/5] Vlv2TbltDevicePkg/PlatformPei: Add boot mode detection Michael D Kinney
2019-07-19  3:18   ` [edk2-devel] " Sun, Zailiang
2019-07-18 23:00 ` [edk2-platforms Patch 2/5] Vlv2TbltDevicePkg: Convert use of FCE tool to Structured PCD Michael D Kinney
2019-07-19  3:18   ` [edk2-devel] " Sun, Zailiang
2019-07-19  3:40   ` Liming Gao
2019-07-19  6:04     ` Michael D Kinney
2019-07-19  6:40       ` Liming Gao
2019-07-19 15:50         ` Michael D Kinney
2019-07-20 15:11           ` Liming Gao
2019-07-18 23:00 ` [edk2-platforms Patch 3/5] Vlv2TbltDevicePkg: Remove Linux/GCC specific DSC/FDF files Michael D Kinney
2019-07-19  3:19   ` Sun, Zailiang
2019-07-18 23:00 ` [edk2-platforms Patch 4/5] Vlv2TbltDevicePkg: Convert BAT/sh Capsule scripts to Python Michael D Kinney
2019-07-19  3:19   ` [edk2-devel] " Sun, Zailiang
2019-07-18 23:00 ` [edk2-platforms Patch 5/5] Vlv2Tbl2DevicePkg: Convert BAT/sh Build " Michael D Kinney
2019-07-18 23:03 ` [edk2-devel] [edk2-platforms Patch 0/5] Vlv2Tbl2DevicePkg: Remove Linux/Windows differences Michael D Kinney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox