From nobody Sat Nov 2 12:18:09 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zoho.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1488768083182254.00446702805857; Sun, 5 Mar 2017 18:41:23 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id A963C8030A; Sun, 5 Mar 2017 18:41:21 -0800 (PST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C7179802B8 for ; Sun, 5 Mar 2017 18:41:19 -0800 (PST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Mar 2017 18:41:19 -0800 Received: from zwei4-mobl.ccr.corp.intel.com ([10.239.197.202]) by fmsmga004.fm.intel.com with ESMTP; 05 Mar 2017 18:41:18 -0800 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,251,1484035200"; d="scan'208";a="232621293" From: zwei4 To: edk2-devel@lists.01.org Date: Mon, 6 Mar 2017 10:41:12 +0800 Message-Id: <20170306024112.11112-1-david.wei@intel.com> X-Mailer: git-send-email 2.11.0.windows.1 Subject: [edk2] [Patch][edk2-platforms/devel-MinnowBoard3] Adjust FVs size and base. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: zwei4 --- Platform/BroxtonPlatformPkg/BuildBios.bat | 3 ++- .../Common/Tools/Stitch/IFWIStitch_Simple.bat | 17 ++++++++++---= ---- Platform/BroxtonPlatformPkg/PlatformDsc/Defines.dsc | 2 +- Platform/BroxtonPlatformPkg/PlatformPkg.fdf | 2 +- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/Platform/BroxtonPlatformPkg/BuildBios.bat b/Platform/BroxtonPl= atformPkg/BuildBios.bat index 99a58cafd..a326d3c64 100644 --- a/Platform/BroxtonPlatformPkg/BuildBios.bat +++ b/Platform/BroxtonPlatformPkg/BuildBios.bat @@ -404,8 +404,9 @@ copy /y/b %BUILD_PATH%\FV\FvOBBY.fv %Storage_Folder% >= nul =20 if /i "%FSP_WRAPPER%" =3D=3D "TRUE" ( if %Stepping%=3D=3DB ( +:: 0xFEF63000 =3D gIntelFsp2WrapperTokenSpaceGuid.PcdFlashFvFspBase =3D $= (CAR_BASE_ADDRESS) + $(BLD_RAM_DATA_SIZE) + $(FSP_RAM_DATA_SIZE) + $(FSP_EM= P_DATA_SIZE) + $(BLD_IBBM_SIZE) pushd %WORKSPACE%\Silicon\BroxtonSoC\BroxtonFspPkg\ApolloLakeFspBinPk= g\FspBin - python %WORKSPACE%\Core\IntelFsp2Pkg\Tools\SplitFspBin.py rebase -f Ap= olloLakeFsp.fd -c m -b 0xFEF65000 -o .\ -n FSP.fd + python %WORKSPACE%\Core\IntelFsp2Pkg\Tools\SplitFspBin.py rebase -f Ap= olloLakeFsp.fd -c m -b 0xFEF63000 -o .\ -n FSP.fd python %WORKSPACE%\Core\IntelFsp2Pkg\Tools\SplitFspBin.py split -f FSP= .fd -o .\ -n FSP.Fv popd copy /y/b %WORKSPACE%\Silicon\BroxtonSoC\BroxtonFspPkg\ApolloLakeFspBi= nPkg\FspBin\FSP_T.Fv %Storage_Folder%\FSP_T.Fv diff --git a/Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Sim= ple.bat b/Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple= .bat index 1012a7742..326fade90 100644 --- a/Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple.bat +++ b/Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple.bat @@ -103,8 +103,9 @@ if /i "!Platform_Type!"=3D=3D"MINN" ( :: rd /s /q %BIOS_Names% >>Stitching.log =20 pushd %BIOS_Names% -copy /y /b FVIBBM.fv+FSP_M.fv IBBM.Fv -copy /y /b FSP_S.fv+FVIBBR.fv+FVOBB.Fv+FVOBBX.Fv+FVOBBY.Fv+NvStorage.Fv OB= B2.Fv +copy /y /b FVIBBL.Fv IBBL.Fv +copy /y /b FVIBBM.fv+FSP_M.fv IBB.Fv +copy /y /b FSP_S.fv+FVIBBR.fv+FVOBB.Fv+FVOBBX.Fv+FVOBBY.Fv OBB.Fv popd =20 set IFWI_Name=3D!IFWI_Prefix!_%IFWI_Suffix% @@ -113,19 +114,21 @@ echo. echo ------------------------------------------ echo. echo Generating SPI Image... - -copy /y /b %BIOS_Names%\IBBM.Fv . -copy /y /b %BIOS_Names%\OBB2.Fv . +mkdir BIOS_COMPONENTS +copy /y /b %BIOS_Names%\IBBL.Fv .\BIOS_COMPONENTS +copy /y /b %BIOS_Names%\IBB.Fv .\BIOS_COMPONENTS +copy /y /b %BIOS_Names%\OBB.Fv .\BIOS_COMPONENTS +copy /y /b %BIOS_Names%\NvStorage.Fv .\BIOS_COMPONENTS if %Stepping%=3D=3DB ( copy /y /b ..\..\Binaries\IFWI\B_Stepping\SpiChunk1.bin . copy /y /b ..\..\Binaries\IFWI\B_Stepping\SpiChunk2.bin . copy /y /b ..\..\Binaries\IFWI\B_Stepping\SpiChunk3.bin . - copy /y /b SpiChunk1.bin+IBBM.Fv+SpiChunk2.bin+OBB2.Fv+SpiChunk3.bin spi= _out.bin + copy /y /b SpiChunk1.bin+.\BIOS_COMPONENTS\IBBL.Fv+.\BIOS_COMPONENTS\IBB= .Fv+SpiChunk2.bin+.\BIOS_COMPONENTS\OBB.Fv+.\BIOS_COMPONENTS\NvStorage.Fv+S= piChunk3.bin spi_out.bin ) else ( copy /y /b ..\..\Binaries\IFWI\A_Stepping\SpiChunk1.bin . copy /y /b ..\..\Binaries\IFWI\A_Stepping\SpiChunk2.bin . copy /y /b ..\..\Binaries\IFWI\A_Stepping\SpiChunk3.bin . - copy /y /b SpiChunk1.bin+IBBM.Fv+SpiChunk2.bin+OBB2.Fv+SpiChunk3.bin spi= _out.bin + copy /y /b SpiChunk1.bin+.\BIOS_COMPONENTS\IBB.Fv+SpiChunk2.bin+.\BIOS_C= OMPONENTS\OBB.Fv+.\BIOS_COMPONENTS\NvStorage.Fv+SpiChunk3.bin spi_out.bin ) =20 move /y spi_out.bin %BIOS_ID%.bin >> Stitching.log diff --git a/Platform/BroxtonPlatformPkg/PlatformDsc/Defines.dsc b/Platform= /BroxtonPlatformPkg/PlatformDsc/Defines.dsc index 173484db7..ad38d4424 100644 --- a/Platform/BroxtonPlatformPkg/PlatformDsc/Defines.dsc +++ b/Platform/BroxtonPlatformPkg/PlatformDsc/Defines.dsc @@ -152,7 +152,7 @@ DEFINE FSP_IBBL_SIZE =3D 0x2000 DEFINE BLD_IBBL_SIZE =3D 0x6000 DEFINE FSP_IBBM_SIZE =3D 0x56000 - DEFINE BLD_IBBM_SIZE =3D 0x20000 + DEFINE BLD_IBBM_SIZE =3D 0x1E000 =20 DEFINE CAR_BASE_ADDRESS =3D 0xFEF00000 # @PcdTemporary= RamBase DEFINE BLD_RAM_DATA_SIZE =3D 0x16000 # BOOTLOADER te= mp memory size diff --git a/Platform/BroxtonPlatformPkg/PlatformPkg.fdf b/Platform/Broxton= PlatformPkg/PlatformPkg.fdf index 24764073b..32021832e 100644 --- a/Platform/BroxtonPlatformPkg/PlatformPkg.fdf +++ b/Platform/BroxtonPlatformPkg/PlatformPkg.fdf @@ -75,7 +75,7 @@ DEFINE FLASH_REGION_FV_IBBM_OFFSET =3D $(FL= ASH_REGION_NVSTORAGE_SUBREGION_NV_FTW_SPARE_OFFSET) + $(FLASH_REGION_NVSTOR= AGE_SUBREGION_NV_FTW_SPARE_SIZE) DEFINE FLASH_REGION_FV_IBBL_SIZE =3D 0x00= 001000 =20 - DEFINE FLASH_REGION_FV_IBBM_SIZE =3D 0x00= 020000 + DEFINE FLASH_REGION_FV_IBBM_SIZE =3D $(BL= D_IBBM_SIZE) DEFINE FLASH_REGION_FV_IBBL_OFFSET =3D $(FL= ASH_SIZE) - $(FLASH_REGION_FV_IBBL_SIZE) =20 DEFINE FLASH_FV_RECOVERY_BASE =3D 0xFF= F80000 --=20 2.11.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel