From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.43; helo=mga05.intel.com; envelope-from=hao.a.wu@intel.com; receiver=edk2-devel@lists.01.org Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 CAE702233376D for ; Mon, 29 Jan 2018 22:30:13 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jan 2018 22:35:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,433,1511856000"; d="scan'208";a="26535513" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga001.fm.intel.com with ESMTP; 29 Jan 2018 22:35:48 -0800 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 29 Jan 2018 22:35:47 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 29 Jan 2018 22:35:48 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.127]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.130]) with mapi id 14.03.0319.002; Tue, 30 Jan 2018 14:35:28 +0800 From: "Wu, Hao A" To: "Wu, Jiaxin" , "edk2-devel@lists.01.org" CC: "Ni, Ruiyu" , "Ye, Ting" , "Fu, Siyuan" Thread-Topic: [Patch] Nt32Pkg/Nt32Pkg.fdf: Increase the size of FLASH Device. Thread-Index: AQHTmW62Mhk2xcbBAEu9mkTVYwGMZKOL9fVA Date: Tue, 30 Jan 2018 06:35:27 +0000 Message-ID: References: <1517277867-13292-1-git-send-email-jiaxin.wu@intel.com> In-Reply-To: <1517277867-13292-1-git-send-email-jiaxin.wu@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch] Nt32Pkg/Nt32Pkg.fdf: Increase the size of FLASH Device. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2018 06:30:14 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Hao Wu Best Regards, Hao Wu > -----Original Message----- > From: Wu, Jiaxin > Sent: Tuesday, January 30, 2018 10:04 AM > To: edk2-devel@lists.01.org > Cc: Ni, Ruiyu; Wu, Hao A; Ye, Ting; Fu, Siyuan; Wu, Jiaxin > Subject: [Patch] Nt32Pkg/Nt32Pkg.fdf: Increase the size of FLASH Device. >=20 > Currently, the FV image size is not enough for the modules after > we enable some flags defined in Nt32Pkg.dsc, e.g: > DEFINE SECURE_BOOT_ENABLE =3D TRUE > DEFINE TLS_ENABLE =3D TRUE > DEFINE NETWORK_IP6_ENABLE =3D TRUE >=20 > This patch is to increase the size of FLASH Device to meet the requiremen= t. >=20 > Cc: Ruiyu Ni > Cc: Hao Wu > Cc: Ye Ting > Cc: Fu Siyuan > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Wu Jiaxin > --- > Nt32Pkg/Nt32Pkg.fdf | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) >=20 > diff --git a/Nt32Pkg/Nt32Pkg.fdf b/Nt32Pkg/Nt32Pkg.fdf > index d104cb7..db2719f 100644 > --- a/Nt32Pkg/Nt32Pkg.fdf > +++ b/Nt32Pkg/Nt32Pkg.fdf > @@ -26,14 +26,14 @@ > # existing system flash. > # >=20 > ################################################################ > ################ > [FD.Nt32] > BaseAddress =3D 0x0|gEfiNt32PkgTokenSpaceGuid.PcdWinNtFdBaseAddress > #The base address of the FLASH Device. > -Size =3D > 0x00380000|gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareFdSize #The size > in bytes of the FLASH Device > +Size =3D > 0x00480000|gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareFdSize #The size > in bytes of the FLASH Device > ErasePolarity =3D 1 > BlockSize =3D 0x10000 > -NumBlocks =3D 0x38 > +NumBlocks =3D 0x48 >=20 >=20 > ################################################################ > ################ > # > # Following are lists of FD Region layout which correspond to the locati= ons of > different > # images within the flash device. > @@ -46,15 +46,15 @@ NumBlocks =3D 0x38 > # Offset|Size > # PcdOffsetCName|PcdSizeCName > # RegionType > # >=20 > ################################################################ > ################ > -0x00000000|0x00360000 > +0x00000000|0x00460000 >=20 > gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashFvRecoveryBase|gEfiNt32PkgToken > SpaceGuid.PcdWinNtFlashFvRecoverySize > FV =3D FvRecovery >=20 > -0x00360000|0x0000c000 > +0x00460000|0x0000c000 >=20 > gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageVariableBase|gEfiMdeM > odulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize > #NV_VARIABLE_STORE > DATA =3D { > ## This is the EFI_FIRMWARE_VOLUME_HEADER > # ZeroVector [] > @@ -91,15 +91,15 @@ DATA =3D { > 0xB8, 0xBF, 0x00, 0x00, > #FORMATTED: 0x5A #HEALTHY: 0xFE #Reserved: UINT16 #Reserved1: UINT32 > 0x5A, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 > } >=20 > -0x0036c000|0x00002000 > +0x0046c000|0x00002000 > #NV_EVENT_LOG >=20 > gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageEventLogBase|gEfiNt32P > kgTokenSpaceGuid.PcdWinNtFlashNvStorageEventLogSize >=20 > -0x0036e000|0x00002000 > +0x0046e000|0x00002000 >=20 > gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageFtwWorkingBase|gEfiMd > eModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize > #NV_FTW_WORKING > DATA =3D { > # EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER->Signature =3D > gEdkiiWorkingBlockSignatureGuid =3D > # { 0x9e58292b, 0x7c68, 0x497d, { 0xa0, 0xce, 0x65, 0x0, 0xfd, 0x9f,= 0x1b, > 0x95 }} > @@ -109,11 +109,11 @@ DATA =3D { > 0xE2, 0x33, 0xF2, 0x03, 0xFE, 0xFF, 0xFF, 0xFF, > # WriteQueueSize: UINT64 > 0xE0, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 > } >=20 > -0x00370000|0x00010000 > +0x00470000|0x00010000 > #NV_FTW_SPARE >=20 > gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageFtwSpareBase|gEfiMdeM > odulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize >=20 >=20 > ################################################################ > ################ > # > -- > 1.9.5.msysgit.1