* [PATCH 0/3] Remove pre-built ResetVector binaries @ 2023-06-15 10:50 Ni, Ray 2023-06-15 10:50 ` [PATCH 1/3] UefiCpuPkg: Include ResetVector in DSC Ni, Ray ` (2 more replies) 0 siblings, 3 replies; 9+ messages in thread From: Ni, Ray @ 2023-06-15 10:50 UTC (permalink / raw) To: devel Ray Ni (3): UefiCpuPkg: Include ResetVector in DSC UefiCpuPkg/ResetVector: Add guidance of how to guarantee 16B align UefiCpuPkg/ResetVector: Remove pre-built binaries .../Vtf0/Bin/IA32/ResetVector.ia32.port80.raw | Bin 532 -> 0 bytes .../Vtf0/Bin/IA32/ResetVector.ia32.raw | Bin 500 -> 0 bytes .../Vtf0/Bin/IA32/ResetVector.ia32.serial.raw | Bin 900 -> 0 bytes .../ResetVector/Vtf0/Bin/ResetVector.inf | 31 ------ .../ResetVector/Vtf0/Bin/ResetVector.uni | 16 ---- .../ResetVector/Vtf0/Bin/ResetVector1G.inf | 31 ------ .../ResetVector/Vtf0/Bin/ResetVectorExtra.uni | 12 --- .../PageTable1G/ResetVector.x64.port80.raw | Bin 12292 -> 0 bytes .../Bin/X64/PageTable1G/ResetVector.x64.raw | Bin 12292 -> 0 bytes .../PageTable1G/ResetVector.x64.serial.raw | Bin 12292 -> 0 bytes .../PageTable2M/ResetVector.x64.port80.raw | Bin 28676 -> 0 bytes .../Bin/X64/PageTable2M/ResetVector.x64.raw | Bin 28676 -> 0 bytes .../PageTable2M/ResetVector.x64.serial.raw | Bin 28676 -> 0 bytes UefiCpuPkg/ResetVector/Vtf0/Build.py | 89 ------------------ UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt | 27 ++---- .../Vtf0/Tools/FixupForRawSection.py | 20 ---- UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf | 28 +++++- UefiCpuPkg/UefiCpuPkg.dsc | 4 +- 18 files changed, 36 insertions(+), 222 deletions(-) delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.port80.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.serial.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.uni delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector1G.inf delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVectorExtra.uni delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x64.port80.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x64.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x64.serial.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x64.port80.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x64.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x64.serial.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Build.py delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Tools/FixupForRawSection.py -- 2.39.1.windows.1 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/3] UefiCpuPkg: Include ResetVector in DSC 2023-06-15 10:50 [PATCH 0/3] Remove pre-built ResetVector binaries Ni, Ray @ 2023-06-15 10:50 ` Ni, Ray 2023-06-19 5:51 ` Dong, Eric 2023-06-19 10:45 ` Gerd Hoffmann 2023-06-15 10:50 ` [PATCH 2/3] UefiCpuPkg/ResetVector: Add guidance of how to guarantee 16B align Ni, Ray 2023-06-15 10:50 ` [PATCH 3/3] UefiCpuPkg/ResetVector: Remove pre-built binaries Ni, Ray 2 siblings, 2 replies; 9+ messages in thread From: Ni, Ray @ 2023-06-15 10:50 UTC (permalink / raw) To: devel; +Cc: Eric Dong, Rahul Kumar, Gerd Hoffmann Since ResetVector source module shares the same GUID as the binary module, the binary INF file is just removed from DSC. Signed-off-by: Ray Ni <ray.ni@intel.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> --- UefiCpuPkg/UefiCpuPkg.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UefiCpuPkg/UefiCpuPkg.dsc b/UefiCpuPkg/UefiCpuPkg.dsc index 593c11cc74..7af1c83424 100644 --- a/UefiCpuPkg/UefiCpuPkg.dsc +++ b/UefiCpuPkg/UefiCpuPkg.dsc @@ -1,7 +1,7 @@ ## @file # UefiCpuPkg Package # -# Copyright (c) 2007 - 2022, Intel Corporation. All rights reserved.<BR> +# Copyright (c) 2007 - 2023, Intel Corporation. All rights reserved.<BR> # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -168,7 +168,7 @@ SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf } UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf - UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf + UefiCpuPkg/ResetVector/Vtf0/ResetVector.inf UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf UefiCpuPkg/Library/CpuExceptionHandlerLib/UnitTest/PeiCpuExceptionHandlerLibUnitTest.inf -- 2.39.1.windows.1 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 1/3] UefiCpuPkg: Include ResetVector in DSC 2023-06-15 10:50 ` [PATCH 1/3] UefiCpuPkg: Include ResetVector in DSC Ni, Ray @ 2023-06-19 5:51 ` Dong, Eric 2023-06-19 10:45 ` Gerd Hoffmann 1 sibling, 0 replies; 9+ messages in thread From: Dong, Eric @ 2023-06-19 5:51 UTC (permalink / raw) To: Ni, Ray, devel@edk2.groups.io; +Cc: Kumar, Rahul R, Gerd Hoffmann Reviewed-by: Eric Dong <eric.dong@intel.com> -----Original Message----- From: Ni, Ray <ray.ni@intel.com> Sent: Thursday, June 15, 2023 6:51 PM To: devel@edk2.groups.io Cc: Dong, Eric <eric.dong@intel.com>; Kumar, Rahul R <rahul.r.kumar@intel.com>; Gerd Hoffmann <kraxel@redhat.com> Subject: [PATCH 1/3] UefiCpuPkg: Include ResetVector in DSC Since ResetVector source module shares the same GUID as the binary module, the binary INF file is just removed from DSC. Signed-off-by: Ray Ni <ray.ni@intel.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> --- UefiCpuPkg/UefiCpuPkg.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UefiCpuPkg/UefiCpuPkg.dsc b/UefiCpuPkg/UefiCpuPkg.dsc index 593c11cc74..7af1c83424 100644 --- a/UefiCpuPkg/UefiCpuPkg.dsc +++ b/UefiCpuPkg/UefiCpuPkg.dsc @@ -1,7 +1,7 @@ ## @file # UefiCpuPkg Package #-# Copyright (c) 2007 - 2022, Intel Corporation. All rights reserved.<BR>+# Copyright (c) 2007 - 2023, Intel Corporation. All rights reserved.<BR> # # SPDX-License-Identifier: BSD-2-Clause-Patent #@@ -168,7 +168,7 @@ SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf } UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf- UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf+ UefiCpuPkg/ResetVector/Vtf0/ResetVector.inf UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf UefiCpuPkg/Library/CpuExceptionHandlerLib/UnitTest/PeiCpuExceptionHandlerLibUnitTest.inf-- 2.39.1.windows.1 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/3] UefiCpuPkg: Include ResetVector in DSC 2023-06-15 10:50 ` [PATCH 1/3] UefiCpuPkg: Include ResetVector in DSC Ni, Ray 2023-06-19 5:51 ` Dong, Eric @ 2023-06-19 10:45 ` Gerd Hoffmann 1 sibling, 0 replies; 9+ messages in thread From: Gerd Hoffmann @ 2023-06-19 10:45 UTC (permalink / raw) To: Ray Ni; +Cc: devel, Eric Dong, Rahul Kumar On Thu, Jun 15, 2023 at 06:50:55PM +0800, Ray Ni wrote: > Since ResetVector source module shares the same GUID as the binary > module, the binary INF file is just removed from DSC. Series: Acked-by: Gerd Hoffmann <kraxel@redhat.com> take care, Gerd ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 2/3] UefiCpuPkg/ResetVector: Add guidance of how to guarantee 16B align 2023-06-15 10:50 [PATCH 0/3] Remove pre-built ResetVector binaries Ni, Ray 2023-06-15 10:50 ` [PATCH 1/3] UefiCpuPkg: Include ResetVector in DSC Ni, Ray @ 2023-06-15 10:50 ` Ni, Ray 2023-06-19 5:52 ` Dong, Eric 2023-06-19 10:38 ` [edk2-devel] " Zhiguang Liu 2023-06-15 10:50 ` [PATCH 3/3] UefiCpuPkg/ResetVector: Remove pre-built binaries Ni, Ray 2 siblings, 2 replies; 9+ messages in thread From: Ni, Ray @ 2023-06-15 10:50 UTC (permalink / raw) To: devel; +Cc: Eric Dong, Rahul Kumar, Gerd Hoffmann ResetVector assembly implementation puts "ALIGN 16" in the end to guarantee the final executable file size is multiple of 16 bytes. Because the module uses a special GUID which guarantees it's put in the very end of a FV, which should be also the end of the FD. Then to make sure the reset vector "JMP" code is at FFFF_FFF0h, the ResetVector has to be aligned at 16-byte boundary. The patch updates INF file and ReadMe.txt to add guidance how to make sure the module is aligned on 16-byte boundary. Signed-off-by: Ray Ni <ray.ni@intel.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> --- UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt | 27 +++++++------------------- UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf | 19 +++++++++++++++++- 2 files changed, 25 insertions(+), 21 deletions(-) diff --git a/UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt b/UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt index 97f4600968..edeb2d6d3e 100644 --- a/UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt +++ b/UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt @@ -1,15 +1,16 @@ === HOW TO USE VTF0 === +Add this line to your DSC [Components.IA32] or [Components.X64] section: + UefiCpuPkg/ResetVector/Vtf0/ResetVector.inf Add this line to your FDF FV section: -INF RuleOverride=RESET_VECTOR USE = IA32 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf -(For X64 SEC/PEI change IA32 to X64 => 'USE = X64') + INF RuleOverride=RESET_VECTOR UefiCpuPkg/ResetVector/Vtf0/ResetVector.inf In your FDF FFS file rules sections add: -[Rule.Common.SEC.RESET_VECTOR] - FILE RAW = $(NAMED_GUID) { - RAW RAW |.raw - } + [Rule.Common.SEC.RESET_VECTOR] + FILE RAW = $(NAMED_GUID) { + RAW BIN Align = 16 |.bin + } === VTF0 Boot Flow === @@ -25,17 +26,3 @@ All inputs to SEC image are register based: EAX/RAX - Initial value of the EAX register (BIST: Built-in Self Test) DI - 'BP': boot-strap processor, or 'AP': application processor EBP/RBP - Pointer to the start of the Boot Firmware Volume - -=== HOW TO BUILD VTF0 === - -Dependencies: -* Python 3 or newer -* Nasm 2.03 or newer - -To rebuild the VTF0 binaries: -1. Change to VTF0 source dir: UefiCpuPkg/ResetVector/Vtf0 -2. nasm and python should be in executable path -3. Run this command: - python Build.py -4. Binaries output will be in UefiCpuPkg/ResetVector/Vtf0/Bin - diff --git a/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf b/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf index 9922cb2755..28185a6e60 100644 --- a/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf +++ b/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf @@ -1,7 +1,24 @@ ## @file # Reset Vector # -# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> +# Note: +# The platform FDF file MUST guarantee the ResetVector is aligned +# on 16-byte boundary. Otherwise, the CPU reset vector will NOT be +# at FFFF_FFF0h. +# +# A sample FDF build rule could be as follows: +# +# [Rule.Common.SEC.RESET_VECTOR] +# FILE RAW = $(NAMED_GUID) { +# RAW BIN Align = 16 |.bin +# } +# +# Following line in FDF forces to use the above build rule for the ResetVector: +# +# INF RuleOverride=RESET_VECTOR UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf +# +# +# Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.<BR> # # SPDX-License-Identifier: BSD-2-Clause-Patent # -- 2.39.1.windows.1 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 2/3] UefiCpuPkg/ResetVector: Add guidance of how to guarantee 16B align 2023-06-15 10:50 ` [PATCH 2/3] UefiCpuPkg/ResetVector: Add guidance of how to guarantee 16B align Ni, Ray @ 2023-06-19 5:52 ` Dong, Eric 2023-06-19 10:38 ` [edk2-devel] " Zhiguang Liu 1 sibling, 0 replies; 9+ messages in thread From: Dong, Eric @ 2023-06-19 5:52 UTC (permalink / raw) To: Ni, Ray, devel@edk2.groups.io; +Cc: Kumar, Rahul R, Gerd Hoffmann Reviewed-by: Eric Dong <eric.dong@intel.com> -----Original Message----- From: Ni, Ray <ray.ni@intel.com> Sent: Thursday, June 15, 2023 6:51 PM To: devel@edk2.groups.io Cc: Dong, Eric <eric.dong@intel.com>; Kumar, Rahul R <rahul.r.kumar@intel.com>; Gerd Hoffmann <kraxel@redhat.com> Subject: [PATCH 2/3] UefiCpuPkg/ResetVector: Add guidance of how to guarantee 16B align ResetVector assembly implementation puts "ALIGN 16" in the end to guarantee the final executable file size is multiple of 16 bytes. Because the module uses a special GUID which guarantees it's put in the very end of a FV, which should be also the end of the FD. Then to make sure the reset vector "JMP" code is at FFFF_FFF0h, the ResetVector has to be aligned at 16-byte boundary. The patch updates INF file and ReadMe.txt to add guidance how to make sure the module is aligned on 16-byte boundary. Signed-off-by: Ray Ni <ray.ni@intel.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> --- UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt | 27 +++++++------------------- UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf | 19 +++++++++++++++++- 2 files changed, 25 insertions(+), 21 deletions(-) diff --git a/UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt b/UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt index 97f4600968..edeb2d6d3e 100644 --- a/UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt +++ b/UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt @@ -1,15 +1,16 @@ === HOW TO USE VTF0 ===+Add this line to your DSC [Components.IA32] or [Components.X64] section:+ UefiCpuPkg/ResetVector/Vtf0/ResetVector.inf Add this line to your FDF FV section:-INF RuleOverride=RESET_VECTOR USE = IA32 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf-(For X64 SEC/PEI change IA32 to X64 => 'USE = X64')+ INF RuleOverride=RESET_VECTOR UefiCpuPkg/ResetVector/Vtf0/ResetVector.inf In your FDF FFS file rules sections add:-[Rule.Common.SEC.RESET_VECTOR]- FILE RAW = $(NAMED_GUID) {- RAW RAW |.raw- }+ [Rule.Common.SEC.RESET_VECTOR]+ FILE RAW = $(NAMED_GUID) {+ RAW BIN Align = 16 |.bin+ } === VTF0 Boot Flow === @@ -25,17 +26,3 @@ All inputs to SEC image are register based: EAX/RAX - Initial value of the EAX register (BIST: Built-in Self Test) DI - 'BP': boot-strap processor, or 'AP': application processor EBP/RBP - Pointer to the start of the Boot Firmware Volume--=== HOW TO BUILD VTF0 ===--Dependencies:-* Python 3 or newer-* Nasm 2.03 or newer--To rebuild the VTF0 binaries:-1. Change to VTF0 source dir: UefiCpuPkg/ResetVector/Vtf0-2. nasm and python should be in executable path-3. Run this command:- python Build.py-4. Binaries output will be in UefiCpuPkg/ResetVector/Vtf0/Bin-diff --git a/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf b/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf index 9922cb2755..28185a6e60 100644 --- a/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf +++ b/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf @@ -1,7 +1,24 @@ ## @file # Reset Vector #-# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>+# Note:+# The platform FDF file MUST guarantee the ResetVector is aligned+# on 16-byte boundary. Otherwise, the CPU reset vector will NOT be+# at FFFF_FFF0h.+#+# A sample FDF build rule could be as follows:+#+# [Rule.Common.SEC.RESET_VECTOR]+# FILE RAW = $(NAMED_GUID) {+# RAW BIN Align = 16 |.bin+# }+#+# Following line in FDF forces to use the above build rule for the ResetVector:+#+# INF RuleOverride=RESET_VECTOR UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf+#+#+# Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.<BR> # # SPDX-License-Identifier: BSD-2-Clause-Patent #-- 2.39.1.windows.1 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [edk2-devel] [PATCH 2/3] UefiCpuPkg/ResetVector: Add guidance of how to guarantee 16B align 2023-06-15 10:50 ` [PATCH 2/3] UefiCpuPkg/ResetVector: Add guidance of how to guarantee 16B align Ni, Ray 2023-06-19 5:52 ` Dong, Eric @ 2023-06-19 10:38 ` Zhiguang Liu 1 sibling, 0 replies; 9+ messages in thread From: Zhiguang Liu @ 2023-06-19 10:38 UTC (permalink / raw) To: devel@edk2.groups.io, Ni, Ray; +Cc: Dong, Eric, Kumar, Rahul R, Gerd Hoffmann Hi Ray, I don't think we need the 16 bytes align for reset vector. Because the size of reset vector is 16 bytes align, and it will be put in the end of FD, this mean the beginning address of the reset vector is (4G - size of reset vector), which is 16 bytes align. Thanks Zhiguang > -----Original Message----- > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Ni, Ray > Sent: Thursday, June 15, 2023 6:51 PM > To: devel@edk2.groups.io > Cc: Dong, Eric <eric.dong@intel.com>; Kumar, Rahul R > <rahul.r.kumar@intel.com>; Gerd Hoffmann <kraxel@redhat.com> > Subject: [edk2-devel] [PATCH 2/3] UefiCpuPkg/ResetVector: Add guidance > of how to guarantee 16B align > > ResetVector assembly implementation puts "ALIGN 16" in the end > to guarantee the final executable file size is multiple of 16 bytes. > Because the module uses a special GUID which guarantees it's put in > the very end of a FV, which should be also the end of the FD. > Then to make sure the reset vector "JMP" code is at FFFF_FFF0h, the > ResetVector has to be aligned at 16-byte boundary. > > The patch updates INF file and ReadMe.txt to add guidance how to make > sure the module is aligned on 16-byte boundary. > > Signed-off-by: Ray Ni <ray.ni@intel.com> > Cc: Eric Dong <eric.dong@intel.com> > Cc: Rahul Kumar <rahul1.kumar@intel.com> > Cc: Gerd Hoffmann <kraxel@redhat.com> > --- > UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt | 27 +++++++------------------- > UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf | 19 +++++++++++++++++- > 2 files changed, 25 insertions(+), 21 deletions(-) > > diff --git a/UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt > b/UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt > index 97f4600968..edeb2d6d3e 100644 > --- a/UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt > +++ b/UefiCpuPkg/ResetVector/Vtf0/ReadMe.txt > @@ -1,15 +1,16 @@ > > > === HOW TO USE VTF0 === > > +Add this line to your DSC [Components.IA32] or [Components.X64] section: > > + UefiCpuPkg/ResetVector/Vtf0/ResetVector.inf > > > > Add this line to your FDF FV section: > > -INF RuleOverride=RESET_VECTOR USE = IA32 > UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf > > -(For X64 SEC/PEI change IA32 to X64 => 'USE = X64') > > + INF RuleOverride=RESET_VECTOR > UefiCpuPkg/ResetVector/Vtf0/ResetVector.inf > > > > In your FDF FFS file rules sections add: > > -[Rule.Common.SEC.RESET_VECTOR] > > - FILE RAW = $(NAMED_GUID) { > > - RAW RAW |.raw > > - } > > + [Rule.Common.SEC.RESET_VECTOR] > > + FILE RAW = $(NAMED_GUID) { > > + RAW BIN Align = 16 |.bin > > + } > > > > === VTF0 Boot Flow === > > > > @@ -25,17 +26,3 @@ All inputs to SEC image are register based: > EAX/RAX - Initial value of the EAX register (BIST: Built-in Self Test) > > DI - 'BP': boot-strap processor, or 'AP': application processor > > EBP/RBP - Pointer to the start of the Boot Firmware Volume > > - > > -=== HOW TO BUILD VTF0 === > > - > > -Dependencies: > > -* Python 3 or newer > > -* Nasm 2.03 or newer > > - > > -To rebuild the VTF0 binaries: > > -1. Change to VTF0 source dir: UefiCpuPkg/ResetVector/Vtf0 > > -2. nasm and python should be in executable path > > -3. Run this command: > > - python Build.py > > -4. Binaries output will be in UefiCpuPkg/ResetVector/Vtf0/Bin > > - > > diff --git a/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf > b/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf > index 9922cb2755..28185a6e60 100644 > --- a/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf > +++ b/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf > @@ -1,7 +1,24 @@ > ## @file > > # Reset Vector > > # > > -# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> > > +# Note: > > +# The platform FDF file MUST guarantee the ResetVector is aligned > > +# on 16-byte boundary. Otherwise, the CPU reset vector will NOT be > > +# at FFFF_FFF0h. > > +# > > +# A sample FDF build rule could be as follows: > > +# > > +# [Rule.Common.SEC.RESET_VECTOR] > > +# FILE RAW = $(NAMED_GUID) { > > +# RAW BIN Align = 16 |.bin > > +# } > > +# > > +# Following line in FDF forces to use the above build rule for the > ResetVector: > > +# > > +# INF RuleOverride=RESET_VECTOR > UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf > > +# > > +# > > +# Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.<BR> > > # > > # SPDX-License-Identifier: BSD-2-Clause-Patent > > # > > -- > 2.39.1.windows.1 > > > > -=-=-=-=-=-= > Groups.io Links: You receive all messages sent to this group. > View/Reply Online (#106112): > https://edk2.groups.io/g/devel/message/106112 > Mute This Topic: https://groups.io/mt/99546049/1779286 > Group Owner: devel+owner@edk2.groups.io > Unsubscribe: > https://edk2.groups.io/g/devel/leave/3883862/1779286/1021340322/xyzzy > [zhiguang.liu@intel.com] > -=-=-=-=-=-= > ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 3/3] UefiCpuPkg/ResetVector: Remove pre-built binaries 2023-06-15 10:50 [PATCH 0/3] Remove pre-built ResetVector binaries Ni, Ray 2023-06-15 10:50 ` [PATCH 1/3] UefiCpuPkg: Include ResetVector in DSC Ni, Ray 2023-06-15 10:50 ` [PATCH 2/3] UefiCpuPkg/ResetVector: Add guidance of how to guarantee 16B align Ni, Ray @ 2023-06-15 10:50 ` Ni, Ray 2023-06-16 1:44 ` Dong, Eric 2 siblings, 1 reply; 9+ messages in thread From: Ni, Ray @ 2023-06-15 10:50 UTC (permalink / raw) To: devel; +Cc: Eric Dong, Rahul Kumar, Gerd Hoffmann Because it's simpler for a platform to include the ResetVector source and having pre-built binaries add burdens of updating the pre-built binaries. This patch removes the pre-built binaries and the script that buids the pre-built binaries. Signed-off-by: Ray Ni <ray.ni@intel.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> --- .../Vtf0/Bin/IA32/ResetVector.ia32.port80.raw | Bin 532 -> 0 bytes .../Vtf0/Bin/IA32/ResetVector.ia32.raw | Bin 500 -> 0 bytes .../Vtf0/Bin/IA32/ResetVector.ia32.serial.raw | Bin 900 -> 0 bytes .../ResetVector/Vtf0/Bin/ResetVector.inf | 31 ------ .../ResetVector/Vtf0/Bin/ResetVector.uni | 16 ---- .../ResetVector/Vtf0/Bin/ResetVector1G.inf | 31 ------ .../ResetVector/Vtf0/Bin/ResetVectorExtra.uni | 12 --- .../PageTable1G/ResetVector.x64.port80.raw | Bin 12292 -> 0 bytes .../Bin/X64/PageTable1G/ResetVector.x64.raw | Bin 12292 -> 0 bytes .../PageTable1G/ResetVector.x64.serial.raw | Bin 12292 -> 0 bytes .../PageTable2M/ResetVector.x64.port80.raw | Bin 28676 -> 0 bytes .../Bin/X64/PageTable2M/ResetVector.x64.raw | Bin 28676 -> 0 bytes .../PageTable2M/ResetVector.x64.serial.raw | Bin 28676 -> 0 bytes UefiCpuPkg/ResetVector/Vtf0/Build.py | 89 ------------------ .../Vtf0/Tools/FixupForRawSection.py | 20 ---- UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf | 9 ++ 16 files changed, 9 insertions(+), 199 deletions(-) delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.port80.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.serial.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.uni delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector1G.inf delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVectorExtra.uni delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x64.port80.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x64.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x64.serial.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x64.port80.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x64.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x64.serial.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Build.py delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Tools/FixupForRawSection.py diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.port80.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.port80.raw deleted file mode 100644 index a3601274c25dde665872ff375f1deadf1c838476..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 532 zcmYk3L1+^}6hQxG?OGMxP=XCuO{oFvA!34x5(Ckq=%JWHDKR3&%U*@;4lLqfmnDa3 z%DNy3Djoz+o>n|`p_PoRky;N5Js1c|L|nU_OT82o$@oJN@(=(2nR&cF!+4(O<yj7r z03`qr`gPk(-eL1I<gjg~-j~*<Ny;|UuWlcCK=#?@82xeT5lQeYQs(!?Mbbj5v@mv! ztRVI9G`&S$B2^D_>*Tp(W`R7Tp<Ep&PxyY{kF21HL0h~>TmFm4ifa-;zC*vz4XttW zq}0}nTrTTp>dYuOY`31v{#vMxZinN>X5&iA{wjokJ@1Uq(rY83f3nOGnJ7F{XGEc^ zd@axD+xj+9{H@3`dj3!J3w#sG<{Xwjw>n?7OgU*B!aQOW8fp7m--koX4wLm__Al=^ zY?o%Aovx9bx>P+cg?6!W34mnesY#x}LmFy!akfSd$Wy}(n^c!>D977;D8Mlg8>sUS zM%JHY*m66|cf|=!l}5GTC_q`AVA|#!0!awU3V=G%^$U@u1;gOBUFLS(4fi9z>Se$~ z2tQ>Y`tp9@WdZJg*r|{I*L%>sSmAq{7b<*6qi=YE|Bg)&AL|JbKgC45A{vlk%hz|- Oedp}VWx$=4LE;}o$@(e) diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.raw deleted file mode 100644 index 6124f3f9a40e4e58cc672b54cbf5cc33360b3858..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 500 zcmbO*VZsE%1G)?X3=Fmm3=IE^A{#3Nsty!~l*%?%h@7@P<y$J!SRt`DUv63{cVmT2 z=W~-;rA)6?fT}8<_Vkn<1*)>`lJPIy15`EBv@@}EGf-9QVcpB6tC}lR7)qCP9%hbE zD4qM7bH{!l=sf!RU+2-6j*JWphPONKb-qaJjx}JsQDps^*`dg+^+1VH^8xlEU6mhQ z5#rwtE0nzI_7G`&`2YWZ2F{ZucNq_sFcn>Is1RZ<WqU2&dZ3i8^Tg{@h6g&2wSFsQ zD*5;F9ncRzL*kncNLZdIj%cW07ATPhl0qd$-4czDLFNE0b7(%mTx6~C=k@L811xEc z7QRuXy8PQCY#0wWS_il?FqFzOJ8Qg_2TFDxPHVIdiz?+~cIIe4puxXAnoaY@Yt|h= zYZzYE0FC>#o8d#>?cFW^_0sqm#nW~uGcY*tD;-FCl?{{>VA$cn#=yX@^dM~q2SeYD zz5{&^`d;*1c<nGjo?!w|0Wk1^0Av^l03FA`F!?-$o(-e>8TLB`yyn{P81R}kt@Frh trq@4TcfR!a_y7OPT|lDq!T)CvW8mcL%Md2W%&-tQh6xj1?}1AK82|{?<x>Cv diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.serial.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.serial.raw deleted file mode 100644 index 48b46e3473e77a1179bf818a1f1deafb7e46cf3e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 900 zcmbO*VZwx6znM3*zuWbbc>}|{T|byNFuntcu)lk$%4~Q*mqCDm!Ipu6;eSzNV}(G~ zf#Q%-*~SWy)3&F4OGO$hB=+XZO)KSYtdQw^ZZfNs>9q<_RmIbup3<X0RkmF+{-t|> zs%DyYCYEjns%kx~d%1K~bA<{+>5|UF%n=Hub6<O=?fT37W`#n@_cW0GN$*hk255X< zG(Ok69s7Zx^XTh;okvl%q8nw1rWMnumsU&+42HKm?{&UN>y9;GyisKLn%SYqvh_fT zY4ZX0A_J8lT@m8n4l9(r>h=(6eE9$We+JHzC3hJQmM|4vZ>SJrF6DeV9T;A%2TIvG zPrN>Ec%buG>$g%TREMRZIfSquOa9?Efe5dqFoK*_65o74!tz9ML_-C$K#4Sv6e=<5 zmS}to@(R$u4$TLci>y`tyuRIhfF-Tb!Z)f^mw$VN4ddZP>i|~<hEjQEXN}kLK*`R- zX^qxlQKfv$&K%7LH2AkivuWOV&AJ2Vdxn>P{{8<Cjn*HaST%fy%risb@uKj!-u>Fm z@S*Sa?ymoOY5a`hX*-k|7##SO4y3&@1iDdxVTS`70|UR(1JnR9Mhj9SG(Kirr|sZi z=)2K(pzlH7i@po5?Iy@GOaKJ}6o6Ti&ohAO*)Y1FVZT$rYu^2i0k1jII*+_O@aHwt v>u)cG|Gzx{=l}ng2mk*6-}&JGGhn`gf!CKIEReBbA#My4CcNGQlLOHJZ`sQ4 diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf b/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf deleted file mode 100644 index 47ac07798b..0000000000 --- a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf +++ /dev/null @@ -1,31 +0,0 @@ -## @file -# Reset Vector binary -# -# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> -# -# SPDX-License-Identifier: BSD-2-Clause-Patent -# -## - -[Defines] - INF_VERSION = 0x00010005 - BASE_NAME = ResetVector - MODULE_UNI_FILE = ResetVector.uni - FILE_GUID = 1BA0062E-C779-4582-8566-336AE8F78F09 - MODULE_TYPE = SEC - VERSION_STRING = 1.1 - -# -# The following information is for reference only and not required by the build tools. -# -# VALID_ARCHITECTURES = IA32 X64 -# - -[Binaries.Ia32] - RAW|IA32/ResetVector.ia32.raw|* - -[Binaries.X64] - RAW|X64/PageTable2M/ResetVector.x64.raw|* - -[UserExtensions.TianoCore."ExtraFiles"] - ResetVectorExtra.uni diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.uni b/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.uni deleted file mode 100644 index 3e7bcdafea..0000000000 --- a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.uni +++ /dev/null @@ -1,16 +0,0 @@ -// /** @file -// Reset Vector binary -// -// Reset Vector binary -// -// Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> -// -// SPDX-License-Identifier: BSD-2-Clause-Patent -// -// **/ - - -#string STR_MODULE_ABSTRACT #language en-US "Reset Vector binary" - -#string STR_MODULE_DESCRIPTION #language en-US "Reset Vector binary" - diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector1G.inf b/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector1G.inf deleted file mode 100644 index 75705cd344..0000000000 --- a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector1G.inf +++ /dev/null @@ -1,31 +0,0 @@ -## @file -# Reset Vector binary -# -# Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> -# -# SPDX-License-Identifier: BSD-2-Clause-Patent -# -## - -[Defines] - INF_VERSION = 0x00010005 - BASE_NAME = ResetVector - MODULE_UNI_FILE = ResetVector.uni - FILE_GUID = 1BA0062E-C779-4582-8566-336AE8F78F09 - MODULE_TYPE = SEC - VERSION_STRING = 1.1 - -# -# The following information is for reference only and not required by the build tools. -# -# VALID_ARCHITECTURES = IA32 X64 -# - -[Binaries.Ia32] - RAW|IA32/ResetVector.ia32.raw|* - -[Binaries.X64] - RAW|X64/PageTable1G/ResetVector.x64.raw|* - -[UserExtensions.TianoCore."ExtraFiles"] - ResetVectorExtra.uni diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVectorExtra.uni b/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVectorExtra.uni deleted file mode 100644 index 7d2d579390..0000000000 --- a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVectorExtra.uni +++ /dev/null @@ -1,12 +0,0 @@ -// /** @file -// ResetVector Localized Strings and Content -// -// Copyright (c) 2014, Intel Corporation. All rights reserved.<BR> -// -// SPDX-License-Identifier: BSD-2-Clause-Patent -// -// **/ - -#string STR_PROPERTIES_MODULE_NAME #language en-US "ResetVector module" - - diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x64.port80.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x64.port80.raw deleted file mode 100644 index def0ec856d0d14b4ea11b0a33db1512077eae00f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12292 zcmeI&?{C}%0mt!AcdQH$uFlCS4BBl4hB{m;KP|(;0PBy*)H%xl5yeydg?4vvqQK|U z?7=ZoFPfP6>zR*?i8Vf;2xK2pN+v#Vi4R<|XljUc-93Q$fT+=(-)?WizhKPwlHTjC z@9%x@?(^u{T&L6NY+dU0R9?yj$_2^=$_2^=$_2^=$_2^=$_2^=$_2^=$_4(f7kHI- zS2(eHv(Ok+UvXo#qcNy8bTkH4p`$UVbLeOcYAqd&LG{zo7}U9RGzPVfj>e$QqoXmX z^XX^|>H<0%gL(@cjX_;VM`KVI(a{)Gm5#=s2Iy!E>aBD%2DP4!#-QFtM`KVM=x7Y; z?Q}E-buk@{L2aa?F{nX08iRTV9gRU<LPujzm(tM~)FwI_gSw24#-J{zqcNx<IvRr- zrlT>a&2%&dwS|txptjP{7}N+IjX_;OM`KV|($N^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Yx7%+f4US8s-66K@u&gKPxMR0x#z}~U7KI0*<-VrU79^Hd$fD| zRXSQ6)9I|fnAOXfZ*_d{cW3?4fBgmbzoWyq?dhI>_|`q$wYBz3-8J2RtUTUZdF|i5 z-pWI#i>uM%?aUWHy~)ilPi|hE-2BpHd#Shl=K0S)OL<)`P%cm|P%cm|P%cm|P%cm| mP%cm|P%iMlvcSqEe=EM_fA;UTeS7azr?XNy`<pYr?)(R#bsxF_ diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x64.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x64.raw deleted file mode 100644 index cd6559018826fa74d39def72a3d578628d2891f7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12292 zcmeI&-EW-*0mt!QTUNFqoI0ngGFZ1&Hq^p4d9@5WCQx4nMdm0&L<EoTB3&OjATPg@ zW*288wF$&T4T%?C851wOpo(Tc(v9$P0SOl_StK<?-PyTunh+(h<J0C#!k=Ks^CUf= zbMk%qoSxs+In9}yo15Fb*zKx1ss*YAss*YAss*YAss*YAss*YAss*YAss*YA-q#Df z!K*7BTe@3n463KRv((WTR4*NkLG{tm7}QyGGzPVTj>e$+>1Yh<Y&sf)T1iJ^P^;)@ z3~DtUjX|A5M`KVQprbLUbLnUd>O49cgR0Td7}NkAjX`~oj>e$Y(9sywhv;YwYAqd& zL4BBx#-KhzM`KXy=x7XTkdDTnK1xSpP#>eCF{tzDXbfsS9gRU<Ku2Rx7t+xf)CM{l zgBqfvF{q7nGzPVaj>e!i)6p2zFddCSeVmTQpe~}LF{mwcGzPVmj>e!arlT>aPtegA z)F<g^4C+&KGzK+7M`KWz(9sywrF1j~wT+I(ptjS|7}O3r8iV>Y9gRU<Mn_{%m($T0 z)D?6z26ZJJjX_;SM`KV|)6p2zXXt1QYLt$~pst~#F{qt%GzN7o9gRU<M@M5&V{|kI zwTq6%psuH*F{s^iGzRrqIvRtzfsV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iHO=g0p6T22&^ diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x64.serial.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x64.serial.raw deleted file mode 100644 index c1cf994c46df4138ef92193eb1dbca86137e7d69..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12292 zcmeI&U5s3H9merzclxp|mRV}Cs}#Cz7bs|Px3smT6t}Iw0#>Tjx)c#X7+w_7?HnAD zm*2QHW++)VA;GBOjtfFUY{CWWg6X460pUUtFKlciONiR(kd3iPEl_$m(|$4TV1!%E zIT!Pp|9<D?{C_hSGn*M59UWaZnWoB*d;<9d@(JV<$S06bAfG@!fqVk_1o8>w6UZl! zPvHN00<W{X%>L%p%s`{svMbGwfkw5{G0><29RrP;LB~L&X3{axs9AIjG-@^-1C8pS zW1vxU=oo0!Tsj6CbqXB=jrs^31C5$T$3UY_rDLE`MLGr=)k()dqfVn^pi%Sb7--Z- z=@@9#0y+j7bvhjbjrtfJ1C3fp$3UaH=oo0!$LSbo)F<c|Xw(^W3^ZyH9RrOzla7H# zokhn$qZZRK(5P-Y1{$@5j)6ukrDLE`%jg(rR1X~kjXIl-fkvG}$3UabrDLE`%jp<s z)OmCaH0pdh1{(EAItCi`DLMukwSta;MqNP1K%+iQ$3UZc=@@8K9~}dYT1m%1qb{Ul zpi!&n7--aLItCiGhK_+oeTI&KMy;h|pi%4S7--Z*bPP0VJsks$x|oiEMs1*Dpi!65 zG0>>b(lOAeemVvkwULg2Ms1>Fpi!IY7--bz=oo0!rF0B5>M}Y88g)4x1C1J>W1vx2 z&@s@cE9n?$)Kzp0H0two3^ZyB9RrQ}0v!X5x|)uGMs1~Ipiy6>W1vxAqGO;@*U&N0 zsBLr%H0sNA3^Zyx9RrQ}3LOKD8l+>OQP<Kj(5M}B3^eLGItCi`RXPS5bv+#ejrtlL z1C6?Yj)6vfosNM<-AKnkqi&*Opi$qTW1vwt(=p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iCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x64.port80.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x64.port80.raw deleted file mode 100644 index 0e981675cc80f2b08e144c16db44d7b48980c608..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 28676 zcmeI*`?uxyUDxq<Iy4jzCYC}YlqPK=6s6ci?xFgIa*3Bh)mlRV`BY#85y5m04k-E_ zLx5>Z7(uxsA1;bqltI)63iMsmlu}SC2m}lGhDd076k3!DNIUK{510P}3-))d*^hnB ze4pQa_G^Clt}|=Rnah_iU%qKyy&A{kxWI9N;{wM8jtd+YI4*Ep;JCnXf#U+l1&#|G z7x;a>z)e>k{r>-^=4&~}zZdv@{Re-1bH@da3mg|XE^u7nxWI9N;{wM8jtd+YI4<x9 zYJms6+Xv&uw>^6>l8eR7<}j{#<jJ9Da<RDC9L8hxOfD8To5MJxXL7N)*&N2(>6u(C zZZ?PUSUr=A#m(k0uGKTSSlnz5<L&iKE*3YN!+4yY$;IMka~SWSXL7N)*&N0@>X}?D zZZ?PUPI@L6i<`}1{2@J)i^a|6Fy2|u<YIBNIgEGFGr3sYY!2hBp2@}HW^)+V>6u(C zZZ?PUhxJS@7B`#2c)Xs;#o}gj81JfQa<RDC9L5v$OfD8To5OfFJ(G*Y&E_!PUC-oV zakDv$C+eA8EN(W3alM|&#o}gj7=J|1<YIBNIgIzvGr3sYY!2f+^-L}nH=DzFlAg)M z;%0Lg@1<vQvAEeB#*_6-E*3YN!?;1u<YIBNIgA_iOfD8To5OfY9FD{NpUK7IW^))% z)ib$R+-wfxCOwmj#m(k0Zq_roSlnz5<B#f@Tr6%jhw<KeCKrpF&0)Ncp2@}HW^))% z(=)kP+-wfxef3N(7B`#2_+xq|7mJ(CVf=ADlZ(a8<}lt*&*WlpvpI~X>zQ0EZZ?PU z{(2@Ci<`}1{0Tjii^a|6FrJ}ja<RDC9L6nrCKrpF&0*ZCXL7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mE+@af#U+l1&#|G7dS3(T;RCCae?Ck#|4fH{9ak$;rIBB!~gR4 Y==W{Ud+x`?<;xGBdGs@H`}F1i3tIcSg8%>k diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x64.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x64.raw deleted file mode 100644 index b9f09dd46f2a8bfec0f0392235ae63ae50847388..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 28676 zcmeI*`?uxyUDxq<k~Z|BOe}>)X=&O-+XAUg<!Y$Bp@0#s1Slnx+Xuz*E|TWxfFSQ7 zMxC~VQJ`9`AE4aI{o2qL`i3;M7nCY0(F(jF0-YXE3R+8nj=SN(TKoyFy1#3k^Vnyd z@AJE7zvhSU+OyW2bMfNEi`VbVm*aRG7dS3(T;RCCae?Ck#|4fH92Yn)a9rTHz;S`& z0`JxfT>pK)|Nj5_<{LT3e;0VS{)<1pxZ?uH1&#|G7dS3(T;RCCae?Ck#|4fH92fZi zYJms5+6Usg2Om8U$;IMka~M~=>%pOCa<RDC9LAM;CKrpF&0$=nXL7N)*&N10^h_=m zH=DzFsGiBi;%0LgSL>NvEN(W3@g9067mJ(CVLVLF<YIBNIgE$vnOrPxHiz*DJ(G*Y z&E_y3sb_MrxY-=WAJH?pSlnz5<B#f@Tr6%jhw+|zCKrpF&0(C;Gr3sYY!2fZJ(G*Y z&E_!vn4ZbS;%0LgkJ2-_Slnz5<Gu7uE*3YN!+5lw$;IMka~SWfXL7N)*&N3E=$TwB zZZ?PU7(J7V#m(k0uGKTSSlnz5<B#i^Tr6%jhw&%$OfD8To5OftJ(G*Y&E_y3t7met zxY-=W<Md1}7B`#2ct1Upi^a|6FdnaGa<RDC9L9BeCKrpF&0#zt4#(mC&*WlpvpI|> z>X}?DZZ?N;y`IU%;%0LgH|UvMEN(W3@hA06E*3YN!}wErCKrpF&0#!A&*WlpvpI|> z>zQ0EZZ?PU6g`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eDMvfBVuGT)uSq_by+) z^!e{Re7foIa_%{NT)yQAues$3_ucY@SKo4BF8|8Ki+^zaqsIk~3mg|XE^u7nxWI9N s;{wM8jtd+YI4<!2_5zn4@tY66TYT4_@;T4`xVU)n(r>->550f<zYf%|S^xk5 diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x64.serial.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x64.serial.raw deleted file mode 100644 index a76f8ad124eea6069c797b4450acbc8fba20e23e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 28676 zcmeI*d-&#gIl%FIcRFk(vr<}$wsz@2>~>NrZl&6gLb4V56vkO>^J5S`)3!2|ZHQ8d z4?-d>p>0EVZQBv$*eY^ob(kh2MJHQ7&$O>xcDV4bJfA<F*Yo|&^Zp+0=ee%$^~`n6 zZw?<meE5vDyBpiJoxpYi+X-wZu${nm0^12}C$OEsb^_Z8Y$vdtz;*&3(-S!3qN~3D zpHX}rd;9kSAJcFA_Tsh^*iK+Of$apg6WC5*JAv&4wiDP+U^{{B1pZ%5;0jlJMV$VT zXIDgWaB{KOjFXN(+4M{fPA(Rkak8Gt!O6v9Gxq429GqM%Hscz4CI=@Mi_N&Ep2@+< z#bPtArDt+*a<SNqYwMXDoLnq6;}kuUgOiKJW?V<l<ly9Du^HFZGdVc9SZv1i^h^#; zE*6{dae5{PCl`y&xW1mr!O6v9Gd^C=<ly9Du^D^yOb$*i7MpRZp2@+<#bPr)LC@si z<YKWIH_$UVIJsDC#wY5T9GqM%HsgkRCI=@Mi_N%^p2@+<#bPr)Nzdfq<YKWIH`X&b zIJsDC#%X#c2PYSc&G=+JlY^6s#b$hpp2@+<#bPsVqGxh&a<SNqo9dYyoLnq6<5Tra z4o)r>oAGISCI=@Mi_N&1p2@+<#bPr~*E2adxmaw*&117R_kSh_Cl`y&xP_j{!O6v9 zGtSU6IXJmkY{r>-CI=@Mi_Q3SJ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CT>0VM-J{>J_w?R-$=k2F_ZI!a8Bu$0x7j*n?^%0Kug#O2 z?Y%|4<FW7F-90U?er<O;VLEp>Vf(*$+itYEwu|HN?(W`OTz>SB&(r&lf1J)f_8+(I zbhWMPUv2BU$3FO?c-Mt*e9>dx^V$3Mo^<1V7oQQ4o0Hu4j@!IvclXq|IIk74xt6P+ z?d?xEyW5?x{h!Zv-^HiIg_mDg7xsm3zwmWO?{~{MyxITezvB4FIzGPR>m$E?^U1Hh z%4dAk=h=Qzy!ajuIC}jTf8hg;p0e-I%Z}Xn%A+SAeeaQL>>jz#mAkt~?((6{!=pFv z!Nr@mb@!Z`zx<q=Uv|#TUv|!+-hJyw4|Kxut~%=WaXW$S1hx~{PGCEM?F6<H*iK+O if$aqTFHhje8{YHp-zy&Uz<bBx!$&T?>L*uy0r)rC48h_6 diff --git a/UefiCpuPkg/ResetVector/Vtf0/Build.py b/UefiCpuPkg/ResetVector/Vtf0/Build.py deleted file mode 100644 index 3f1d5cd2c8..0000000000 --- a/UefiCpuPkg/ResetVector/Vtf0/Build.py +++ /dev/null @@ -1,89 +0,0 @@ -## @file -# Automate the process of building the various reset vector types -# -# Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.<BR> -# -# SPDX-License-Identifier: BSD-2-Clause-Patent -# - -import os -import subprocess -import sys - -PAGE_TABLE_2M = 'PageTable2M' -PAGE_TABLE_1G = 'PageTable1G' -FILE_FORMAT = '.raw' -ALL_RAW_FORMAT = '*' + FILE_FORMAT -IA32 = 'IA32' -X64 = 'X64' - -# Pre-Define a Macros for Page Table -PAGE_TABLES = { - PAGE_TABLE_2M : "PAGE_TABLE_2M", - PAGE_TABLE_1G : "PAGE_TABLE_1G" -} - -def RunCommand(commandLine): - return subprocess.call(commandLine) - -# Check for all raw binaries and delete them -for root, dirs, files in os.walk('Bin'): - for file in files: - if file.endswith(FILE_FORMAT): - os.remove(os.path.join(root, file)) - -for arch in ('ia32', 'x64'): - for debugType in (None, 'port80', 'serial'): - for pageTable in PAGE_TABLES.keys(): - ret = True - if arch.lower() == X64.lower(): - directory = os.path.join('Bin', X64, pageTable) - else: - directory = os.path.join('Bin', IA32) - - # output raw binary name with arch type - fileName = 'ResetVector' + '.' + arch - - if debugType is not None: - fileName += '.' + debugType - fileName += FILE_FORMAT - - output = os.path.join(directory, fileName) - - # if the directory not exists then create it - if not os.path.isdir(directory): - os.makedirs(directory) - - # Prepare the command to execute the nasmb - commandLine = ( - 'nasm', - '-D', 'ARCH_%s' % arch.upper(), - '-D', 'DEBUG_%s' % str(debugType).upper(), - '-D', PAGE_TABLES[pageTable].upper(), - '-o', output, - 'Vtf0.nasmb', - ) - - print(f"Command : {' '.join(commandLine)}") - - try: - ret = RunCommand(commandLine) - except FileNotFoundError: - print("NASM not found") - except: - pass - - if ret != 0: - print(f"something went wrong while executing {commandLine[-1]}") - sys.exit() - print('\tASM\t' + output) - - commandLine = ( - 'python', - 'Tools/FixupForRawSection.py', - output, - ) - print('\tFIXUP\t' + output) - ret = RunCommand(commandLine) - if ret != 0: sys.exit(ret) - diff --git a/UefiCpuPkg/ResetVector/Vtf0/Tools/FixupForRawSection.py b/UefiCpuPkg/ResetVector/Vtf0/Tools/FixupForRawSection.py deleted file mode 100644 index de771eba22..0000000000 --- a/UefiCpuPkg/ResetVector/Vtf0/Tools/FixupForRawSection.py +++ /dev/null @@ -1,20 +0,0 @@ -## @file -# Apply fixup to VTF binary image for FFS Raw section -# -# Copyright (c) 2008 - 2021, Intel Corporation. All rights reserved.<BR> -# -# SPDX-License-Identifier: BSD-2-Clause-Patent -# - -import sys - -filename = sys.argv[1] - -d = open(sys.argv[1], 'rb').read() -c = ((len(d) + 4 + 7) & ~7) - 4 -if c > len(d): - c -= len(d) - f = open(sys.argv[1], 'wb') - f.write(b'\x90' * c) - f.write(d) - f.close() diff --git a/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf b/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf index 28185a6e60..8a74bc83ac 100644 --- a/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf +++ b/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf @@ -46,3 +46,12 @@ [UserExtensions.TianoCore."ExtraFiles"] ResetVectorExtra.uni + +[BuildOptions] +# Different build options can be specified: +# * for different architectures: +# -DARCH_X64, -DARCH_IA32 +# * for using 1G page table: +# -DPAGE_TABLE_1G +# * for different debug channels: +# -DDEBUG_SERIAL, -DDEBUG_PORT80, or not specify any debug channel -- 2.39.1.windows.1 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 3/3] UefiCpuPkg/ResetVector: Remove pre-built binaries 2023-06-15 10:50 ` [PATCH 3/3] UefiCpuPkg/ResetVector: Remove pre-built binaries Ni, Ray @ 2023-06-16 1:44 ` Dong, Eric 0 siblings, 0 replies; 9+ messages in thread From: Dong, Eric @ 2023-06-16 1:44 UTC (permalink / raw) To: Ni, Ray, devel@edk2.groups.io; +Cc: Kumar, Rahul R, Gerd Hoffmann Reviewed-by: Eric Dong <eric.dong@intel.com> Thanks, Eric -----Original Message----- From: Ni, Ray <ray.ni@intel.com> Sent: Thursday, June 15, 2023 6:51 PM To: devel@edk2.groups.io Cc: Dong, Eric <eric.dong@intel.com>; Kumar, Rahul R <rahul.r.kumar@intel.com>; Gerd Hoffmann <kraxel@redhat.com> Subject: [PATCH 3/3] UefiCpuPkg/ResetVector: Remove pre-built binaries Because it's simpler for a platform to include the ResetVector source and having pre-built binaries add burdens of updating the pre-built binaries. This patch removes the pre-built binaries and the script that buids the pre-built binaries. Signed-off-by: Ray Ni <ray.ni@intel.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> --- .../Vtf0/Bin/IA32/ResetVector.ia32.port80.raw | Bin 532 -> 0 bytes .../Vtf0/Bin/IA32/ResetVector.ia32.raw | Bin 500 -> 0 bytes .../Vtf0/Bin/IA32/ResetVector.ia32.serial.raw | Bin 900 -> 0 bytes .../ResetVector/Vtf0/Bin/ResetVector.inf | 31 ------ .../ResetVector/Vtf0/Bin/ResetVector.uni | 16 ---- .../ResetVector/Vtf0/Bin/ResetVector1G.inf | 31 ------ .../ResetVector/Vtf0/Bin/ResetVectorExtra.uni | 12 --- .../PageTable1G/ResetVector.x64.port80.raw | Bin 12292 -> 0 bytes .../Bin/X64/PageTable1G/ResetVector.x64.raw | Bin 12292 -> 0 bytes .../PageTable1G/ResetVector.x64.serial.raw | Bin 12292 -> 0 bytes .../PageTable2M/ResetVector.x64.port80.raw | Bin 28676 -> 0 bytes .../Bin/X64/PageTable2M/ResetVector.x64.raw | Bin 28676 -> 0 bytes .../PageTable2M/ResetVector.x64.serial.raw | Bin 28676 -> 0 bytes UefiCpuPkg/ResetVector/Vtf0/Build.py | 89 ------------------ .../Vtf0/Tools/FixupForRawSection.py | 20 ---- UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf | 9 ++ 16 files changed, 9 insertions(+), 199 deletions(-) delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.port80.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.serial.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.uni delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector1G.inf delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVectorExtra.uni delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x64.port80.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x64.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x64.serial.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x64.port80.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x64.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x64.serial.raw delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Build.py delete mode 100644 UefiCpuPkg/ResetVector/Vtf0/Tools/FixupForRawSection.py diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.port80.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.port80.raw deleted file mode 100644 index a3601274c25dde665872ff375f1deadf1c838476..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 532 zcmYk3L1+^}6hQxG?OGMxP=XCuO{oFvA!34x5(Ckq=%JWHDKR3&%U*@;4lLqfmnDa3 z%DNy3Djoz+o>n|`p_PoRky;N5Js1c|L|nU_OT82o$@oJN@(=(2nR&cF!+4(O<yj7r z03`qr`gPk(-eL1I<gjg~-j~*<Ny;|UuWlcCK=#?@82xeT5lQeYQs(!?Mbbj5v@mv! ztRVI9G`&S$B2^D_>*Tp(W`R7Tp<Ep&PxyY{kF21HL0h~>TmFm4ifa-;zC*vz4XttW zq}0}nTrTTp>dYuOY`31v{#vMxZinN>X5&iA{wjokJ@1Uq(rY83f3nOGnJ7F{XGEc^ zd@axD+xj+9{H@3`dj3!J3w#sG<{Xwjw>n?7OgU*B!aQOW8fp7m--koX4wLm__Al=^ zY?o%Aovx9bx>P+cg?6!W34mnesY#x}LmFy!akfSd$Wy}(n^c!>D977;D8Mlg8>sUS zM%JHY*m66|cf|=!l}5GTC_q`AVA|#!0!awU3V=G%^$U@u1;gOBUFLS(4fi9z>Se$~ z2tQ>Y`tp9@WdZJg*r|{I*L%>sSmAq{7b<*6qi=YE|Bg)&AL|JbKgC45A{vlk%hz|- Oedp}VWx$=4LE;}o$@(e) diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.raw deleted file mode 100644 index 6124f3f9a40e4e58cc672b54cbf5cc33360b3858..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 500 zcmbO*VZsE%1G)?X3=Fmm3=IE^A{#3Nsty!~l*%?%h@7@P<y$J!SRt`DUv63{cVmT2 z=W~-;rA)6?fT}8<_Vkn<1*)>`lJPIy15`EBv@@}EGf-9QVcpB6tC}lR7)qCP9%hbE zD4qM7bH{!l=sf!RU+2-6j*JWphPONKb-qaJjx}JsQDps^*`dg+^+1VH^8xlEU6mhQ z5#rwtE0nzI_7G`&`2YWZ2F{ZucNq_sFcn>Is1RZ<WqU2&dZ3i8^Tg{@h6g&2wSFsQ zD*5;F9ncRzL*kncNLZdIj%cW07ATPhl0qd$-4czDLFNE0b7(%mTx6~C=k@L811xEc z7QRuXy8PQCY#0wWS_il?FqFzOJ8Qg_2TFDxPHVIdiz?+~cIIe4puxXAnoaY@Yt|h= zYZzYE0FC>#o8d#>?cFW^_0sqm#nW~uGcY*tD;-FCl?{{>VA$cn#=yX@^dM~q2SeYD zz5{&^`d;*1c<nGjo?!w|0Wk1^0Av^l03FA`F!?-$o(-e>8TLB`yyn{P81R}kt@Frh trq@4TcfR!a_y7OPT|lDq!T)CvW8mcL%Md2W%&-tQh6xj1?}1AK82|{?<x>Cv diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.serial.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.serial.raw deleted file mode 100644 index 48b46e3473e77a1179bf818a1f1deafb7e46cf3e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 900 zcmbO*VZwx6znM3*zuWbbc>}|{T|byNFuntcu)lk$%4~Q*mqCDm!Ipu6;eSzNV}(G~ zf#Q%-*~SWy)3&F4OGO$hB=+XZO)KSYtdQw^ZZfNs>9q<_RmIbup3<X0RkmF+{-t|> zs%DyYCYEjns%kx~d%1K~bA<{+>5|UF%n=Hub6<O=?fT37W`#n@_cW0GN$*hk255X< zG(Ok69s7Zx^XTh;okvl%q8nw1rWMnumsU&+42HKm?{&UN>y9;GyisKLn%SYqvh_fT zY4ZX0A_J8lT@m8n4l9(r>h=(6eE9$We+JHzC3hJQmM|4vZ>SJrF6DeV9T;A%2TIvG zPrN>Ec%buG>$g%TREMRZIfSquOa9?Efe5dqFoK*_65o74!tz9ML_-C$K#4Sv6e=<5 zmS}to@(R$u4$TLci>y`tyuRIhfF-Tb!Z)f^mw$VN4ddZP>i|~<hEjQEXN}kLK*`R- zX^qxlQKfv$&K%7LH2AkivuWOV&AJ2Vdxn>P{{8<Cjn*HaST%fy%risb@uKj!-u>Fm z@S*Sa?ymoOY5a`hX*-k|7##SO4y3&@1iDdxVTS`70|UR(1JnR9Mhj9SG(Kirr|sZi z=)2K(pzlH7i@po5?Iy@GOaKJ}6o6Ti&ohAO*)Y1FVZT$rYu^2i0k1jII*+_O@aHwt v>u)cG|Gzx{=l}ng2mk*6-}&JGGhn`gf!CKIEReBbA#My4CcNGQlLOHJZ`sQ4 diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf b/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf deleted file mode 100644 index 47ac07798b..0000000000 --- a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf +++ /dev/null @@ -1,31 +0,0 @@ -## @file-# Reset Vector binary-#-# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>-#-# SPDX-License-Identifier: BSD-2-Clause-Patent-#-##--[Defines]- INF_VERSION = 0x00010005- BASE_NAME = ResetVector- MODULE_UNI_FILE = ResetVector.uni- FILE_GUID = 1BA0062E-C779-4582-8566-336AE8F78F09- MODULE_TYPE = SEC- VERSION_STRING = 1.1--#-# The following information is for reference only and not required by the build tools.-#-# VALID_ARCHITECTURES = IA32 X64-#--[Binaries.Ia32]- RAW|IA32/ResetVector.ia32.raw|*--[Binaries.X64]- RAW|X64/PageTable2M/ResetVector.x64.raw|*--[UserExtensions.TianoCore."ExtraFiles"]- ResetVectorExtra.unidiff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.uni b/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.uni deleted file mode 100644 index 3e7bcdafea..0000000000 --- a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.uni +++ /dev/null @@ -1,16 +0,0 @@ -// /** @file-// Reset Vector binary-//-// Reset Vector binary-//-// Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>-//-// SPDX-License-Identifier: BSD-2-Clause-Patent-//-// **/---#string STR_MODULE_ABSTRACT #language en-US "Reset Vector binary"--#string STR_MODULE_DESCRIPTION #language en-US "Reset Vector binary"-diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector1G.inf b/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector1G.inf deleted file mode 100644 index 75705cd344..0000000000 --- a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector1G.inf +++ /dev/null @@ -1,31 +0,0 @@ -## @file-# Reset Vector binary-#-# Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>-#-# SPDX-License-Identifier: BSD-2-Clause-Patent-#-##--[Defines]- INF_VERSION = 0x00010005- BASE_NAME = ResetVector- MODULE_UNI_FILE = ResetVector.uni- FILE_GUID = 1BA0062E-C779-4582-8566-336AE8F78F09- MODULE_TYPE = SEC- VERSION_STRING = 1.1--#-# The following information is for reference only and not required by the build tools.-#-# VALID_ARCHITECTURES = IA32 X64-#--[Binaries.Ia32]- RAW|IA32/ResetVector.ia32.raw|*--[Binaries.X64]- RAW|X64/PageTable1G/ResetVector.x64.raw|*--[UserExtensions.TianoCore."ExtraFiles"]- ResetVectorExtra.unidiff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVectorExtra.uni b/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVectorExtra.uni deleted file mode 100644 index 7d2d579390..0000000000 --- a/UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVectorExtra.uni +++ /dev/null @@ -1,12 +0,0 @@ -// /** @file-// ResetVector Localized Strings and Content-//-// Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>-//-// SPDX-License-Identifier: BSD-2-Clause-Patent-//-// **/--#string STR_PROPERTIES_MODULE_NAME #language en-US "ResetVector module"--diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x64.port80.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x64.port80.raw deleted file mode 100644 index def0ec856d0d14b4ea11b0a33db1512077eae00f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12292 zcmeI&?{C}%0mt!AcdQH$uFlCS4BBl4hB{m;KP|(;0PBy*)H%xl5yeydg?4vvqQK|U z?7=ZoFPfP6>zR*?i8Vf;2xK2pN+v#Vi4R<|XljUc-93Q$fT+=(-)?WizhKPwlHTjC z@9%x@?(^u{T&L6NY+dU0R9?yj$_2^=$_2^=$_2^=$_2^=$_2^=$_2^=$_4(f7kHI- zS2(eHv(Ok+UvXo#qcNy8bTkH4p`$UVbLeOcYAqd&LG{zo7}U9RGzPVfj>e$QqoXmX z^XX^|>H<0%gL(@cjX_;VM`KVI(a{)Gm5#=s2Iy!E>aBD%2DP4!#-QFtM`KVM=x7Y; z?Q}E-buk@{L2aa?F{nX08iRTV9gRU<LPujzm(tM~)FwI_gSw24#-J{zqcNx<IvRr- zrlT>a&2%&dwS|txptjP{7}N+IjX_;OM`KV|($N^yRdh54wT+I(psuE)F{pRa(HPXb z=x7Y;-E=etwVjT}pst~#F{t;@(HPVYIvRr-rK2&ZF*+K9dM_P~L0wBnV^G)8(HPYA zbTkHa109V)-AG4cP&d)h7}WddXbftcj>e#FrlT>aopdw?bqg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~)ilPi|hE-2BpHd#Shl=K0S)OL<)`P%cm|P%cm|P%cm|P%cm| mP%cm|P%iMlvcSqEe=EM_fA;UTeS7azr?XNy`<pYr?)(R#bsxF_ diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x64.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable1G/ResetVector.x64.raw deleted file mode 100644 index cd6559018826fa74d39def72a3d578628d2891f7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12292 zcmeI&-EW-*0mt!QTUNFqoI0ngGFZ1&Hq^p4d9@5WCQx4nMdm0&L<EoTB3&OjATPg@ zW*288wF$&T4T%?C851wOpo(Tc(v9$P0SOl_StK<?-PyTunh+(h<J0C#!k=Ks^CUf= zbMk%qoSxs+In9}yo15Fb*zKx1ss*YAss*YAss*YAss*YAss*YAss*YAss*YA-q#Df z!K*7BTe@3n463KRv((WTR4*NkLG{tm7}QyGGzPVTj>e$+>1Yh<Y&sf)T1iJ^P^;)@ z3~DtUjX|A5M`KVQprbLUbLnUd>O49cgR0Td7}NkAjX`~oj>e$Y(9sywhv;YwYAqd& zL4BBx#-KhzM`KXy=x7XTkdDTnK1xSpP#>eCF{tzDXbfsS9gRU<Ku2Rx7t+xf)CM{l zgBqfvF{q7nGzPVaj>e!i)6p2zFddCSeVmTQpe~}LF{mwcGzPVmj>e!arlT>aPtegA z)F<g^4C+&KGzK+7M`KWz(9sywrF1j~wT+I(ptjS|7}O3r8iV>Y9gRU<Mn_{%m($T0 z)D?6z26ZJJjX_;SM`KV|)6p2zXXt1QYLt$~pst~#F{qt%GzN7o9gRU<M@M5&V{|kI zwTq6%psuH*F{s^iGzRrqIvRtzfsV$YZlt3zsGI0$3~HQ?#-Kh&M`KW*r=u~bFVN8# z)EDV!3~CP@jX~W^M`KX8(9syw1Rae*-AYGeP+y{>F{s<<XbfsE9gRVKnU2Pw_R-N8 z)a`UM1~o}XV^DX{(HPWzIvRtzla9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.x64.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x64.raw deleted file mode 100644 index b9f09dd46f2a8bfec0f0392235ae63ae50847388..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 28676 zcmeI*`?uxyUDxq<k~Z|BOe}>)X=&O-+XAUg<!Y$Bp@0#s1Slnx+Xuz*E|TWxfFSQ7 zMxC~VQJ`9`AE4aI{o2qL`i3;M7nCY0(F(jF0-YXE3R+8nj=SN(TKoyFy1#3k^Vnyd z@AJE7zvhSU+OyW2bMfNEi`VbVm*aRG7dS3(T;RCCae?Ck#|4fH92Yn)a9rTHz;S`& z0`JxfT>pK)|Nj5_<{LT3e;0VS{)<1pxZ?uH1&#|G7dS3(T;RCCae?Ck#|4fH92fZi zYJms5+6Usg2Om8U$;IMka~M~=>%pOCa<RDC9LAM;CKrpF&0$=nXL7N)*&N10^h_=m zH=DzFsGiBi;%0LgSL>NvEN(W3@g9067mJ(CVLVLF<YIBNIgE$vnOrPxHiz*DJ(G*Y z&E_y3sb_MrxY-=WAJH?pSlnz5<B#f@Tr6%jhw+|zCKrpF&0(C;Gr3sYY!2fZJ(G*Y z&E_!vn4ZbS;%0LgkJ2-_Slnz5<Gu7uE*3YN!+5lw$;IMka~SWfXL7N)*&N3E=$TwB zZZ?PU7(J7V#m(k0uGKTSSlnz5<B#i^Tr6%jhw&%$OfD8To5OftJ(G*Y&E_y3t7met zxY-=W<Md1}7B`#2ct1Upi^a|6FdnaGa<RDC9L9BeCKrpF&0#zt4#(mC&*WlpvpI|> z>X}?DZZ?N;y`IU%;%0LgH|UvMEN(W3@hA06E*3YN!}wErCKrpF&0#!A&*WlpvpI|> z>zQ0EZZ?PU6g`uR#m(k0-e1q;VsW!Mj1SN=xmet64&wv$OfD8To5Q$K&*WlpvpI~X z>X}?DZZ?PUr}a!O7B`#2c$%Kc#o}gj7&qyeTr6%jhw*ehlZ(a8<}m(@p2@}HW^))H zq-S!mxY-=W2kV(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S^xk5 diff --git a/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x64.serial.raw b/UefiCpuPkg/ResetVector/Vtf0/Bin/X64/PageTable2M/ResetVector.x64.serial.raw deleted file mode 100644 index a76f8ad124eea6069c797b4450acbc8fba20e23e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 28676 zcmeI*d-&#gIl%FIcRFk(vr<}$wsz@2>~>NrZl&6gLb4V56vkO>^J5S`)3!2|ZHQ8d z4?-d>p>0EVZQBv$*eY^ob(kh2MJHQ7&$O>xcDV4bJfA<F*Yo|&^Zp+0=ee%$^~`n6 zZw?<meE5vDyBpiJoxpYi+X-wZu${nm0^12}C$OEsb^_Z8Y$vdtz;*&3(-S!3qN~3D zpHX}rd;9kSAJcFA_Tsh^*iK+Of$apg6WC5*JAv&4wiDP+U^{{B1pZ%5;0jlJMV$VT zXIDgWaB{KOjFXN(+4M{fPA(Rkak8Gt!O6v9Gxq429GqM%Hscz4CI=@Mi_N&Ep2@+< z#bPtArDt+*a<SNqYwMXDoLnq6;}kuUgOiKJW?V<l<ly9Du^HFZGdVc9SZv1i^h^#; zE*6{dae5{PCl`y&xW1mr!O6v9Gd^C=<ly9Du^D^yOb$*i7MpRZp2@+<#bPr)LC@si z<YKWIH_$UVIJsDC#wY5T9GqM%HsgkRCI=@Mi_N%^p2@+<#bPr)Nzdfq<YKWIH`X&b zIJsDC#%X#c2PYSc&G=+JlY^6s#b$hpp2@+<#bPsVqGxh&a<SNqo9dYyoLnq6<5Tra z4o)r>oAGISCI=@Mi_N&1p2@+<#bPr~*E2adxmaw*&117R_kSh_Cl`y&xP_j{!O6v9 zGtSU6IXJmkY{r>-CI=@Mi_Q3SJ(Gizi^XPqhMvj6$;DzbZmDN-aB{KOj9clM9GqM% zHsjWMCI=@Mi_N%=p2@+<#bPr)Q_tk!<YKWIpQUGVaB{KOjN9s&9GqM%HsiDPOb$*i z7Mt-odL{=a7mLj}OV8xs<YKWIXX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t*e9>dx^V$3Mo^<1V7oQQ4o0Hu4j@!IvclXq|IIk74xt6P+ z?d?xEyW5?x{h!Zv-^HiIg_mDg7xsm3zwmWO?{~{MyxITezvB4FIzGPR>m$E?^U1Hh z%4dAk=h=Qzy!ajuIC}jTf8hg;p0e-I%Z}Xn%A+SAeeaQL>>jz#mAkt~?((6{!=pFv z!Nr@mb@!Z`zx<q=Uv|#TUv|!+-hJyw4|Kxut~%=WaXW$S1hx~{PGCEM?F6<H*iK+O if$aqTFHhje8{YHp-zy&Uz<bBx!$&T?>L*uy0r)rC48h_6 diff --git a/UefiCpuPkg/ResetVector/Vtf0/Build.py b/UefiCpuPkg/ResetVector/Vtf0/Build.py deleted file mode 100644 index 3f1d5cd2c8..0000000000 --- a/UefiCpuPkg/ResetVector/Vtf0/Build.py +++ /dev/null @@ -1,89 +0,0 @@ -## @file-# Automate the process of building the various reset vector types-#-# Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.<BR>-#-# SPDX-License-Identifier: BSD-2-Clause-Patent-#--import os-import subprocess-import sys--PAGE_TABLE_2M = 'PageTable2M'-PAGE_TABLE_1G = 'PageTable1G'-FILE_FORMAT = '.raw'-ALL_RAW_FORMAT = '*' + FILE_FORMAT-IA32 = 'IA32'-X64 = 'X64'--# Pre-Define a Macros for Page Table-PAGE_TABLES = {- PAGE_TABLE_2M : "PAGE_TABLE_2M",- PAGE_TABLE_1G : "PAGE_TABLE_1G"-}--def RunCommand(commandLine):- return subprocess.call(commandLine)--# Check for all raw binaries and delete them-for root, dirs, files in os.walk('Bin'):- for file in files:- if file.endswith(FILE_FORMAT):- os.remove(os.path.join(root, file))--for arch in ('ia32', 'x64'):- for debugType in (None, 'port80', 'serial'):- for pageTable in PAGE_TABLES.keys():- ret = True- if arch.lower() == X64.lower():- directory = os.path.join('Bin', X64, pageTable)- else:- directory = os.path.join('Bin', IA32)-- # output raw binary name with arch type- fileName = 'ResetVector' + '.' + arch-- if debugType is not None:- fileName += '.' + debugType- fileName += FILE_FORMAT-- output = os.path.join(directory, fileName)-- # if the directory not exists then create it- if not os.path.isdir(directory):- os.makedirs(directory)-- # Prepare the command to execute the nasmb- commandLine = (- 'nasm',- '-D', 'ARCH_%s' % arch.upper(),- '-D', 'DEBUG_%s' % str(debugType).upper(),- '-D', PAGE_TABLES[pageTable].upper(),- '-o', output,- 'Vtf0.nasmb',- )-- print(f"Command : {' '.join(commandLine)}")-- try:- ret = RunCommand(commandLine)- except FileNotFoundError:- print("NASM not found")- except:- pass-- if ret != 0:- print(f"something went wrong while executing {commandLine[-1]}")- sys.exit()- print('\tASM\t' + output)-- commandLine = (- 'python',- 'Tools/FixupForRawSection.py',- output,- )- print('\tFIXUP\t' + output)- ret = RunCommand(commandLine)- if ret != 0: sys.exit(ret)-diff --git a/UefiCpuPkg/ResetVector/Vtf0/Tools/FixupForRawSection.py b/UefiCpuPkg/ResetVector/Vtf0/Tools/FixupForRawSection.py deleted file mode 100644 index de771eba22..0000000000 --- a/UefiCpuPkg/ResetVector/Vtf0/Tools/FixupForRawSection.py +++ /dev/null @@ -1,20 +0,0 @@ -## @file-# Apply fixup to VTF binary image for FFS Raw section-#-# Copyright (c) 2008 - 2021, Intel Corporation. All rights reserved.<BR>-#-# SPDX-License-Identifier: BSD-2-Clause-Patent-#--import sys--filename = sys.argv[1]--d = open(sys.argv[1], 'rb').read()-c = ((len(d) + 4 + 7) & ~7) - 4-if c > len(d):- c -= len(d)- f = open(sys.argv[1], 'wb')- f.write(b'\x90' * c)- f.write(d)- f.close()diff --git a/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf b/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf index 28185a6e60..8a74bc83ac 100644 --- a/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf +++ b/UefiCpuPkg/ResetVector/Vtf0/Vtf0.inf @@ -46,3 +46,12 @@ [UserExtensions.TianoCore."ExtraFiles"] ResetVectorExtra.uni++[BuildOptions]+# Different build options can be specified:+# * for different architectures:+# -DARCH_X64, -DARCH_IA32+# * for using 1G page table:+# -DPAGE_TABLE_1G+# * for different debug channels:+# -DDEBUG_SERIAL, -DDEBUG_PORT80, or not specify any debug channel-- 2.39.1.windows.1 ^ permalink raw reply related [flat|nested] 9+ messages in thread
end of thread, other threads:[~2023-06-19 10:45 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-06-15 10:50 [PATCH 0/3] Remove pre-built ResetVector binaries Ni, Ray 2023-06-15 10:50 ` [PATCH 1/3] UefiCpuPkg: Include ResetVector in DSC Ni, Ray 2023-06-19 5:51 ` Dong, Eric 2023-06-19 10:45 ` Gerd Hoffmann 2023-06-15 10:50 ` [PATCH 2/3] UefiCpuPkg/ResetVector: Add guidance of how to guarantee 16B align Ni, Ray 2023-06-19 5:52 ` Dong, Eric 2023-06-19 10:38 ` [edk2-devel] " Zhiguang Liu 2023-06-15 10:50 ` [PATCH 3/3] UefiCpuPkg/ResetVector: Remove pre-built binaries Ni, Ray 2023-06-16 1:44 ` Dong, Eric
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox