From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web08.5299.1630580152348052132 for ; Thu, 02 Sep 2021 03:55:52 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=hRG2z2s/; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: ray.ni@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10094"; a="280080662" X-IronPort-AV: E=Sophos;i="5.84,372,1620716400"; d="scan'208";a="280080662" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2021 03:55:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,372,1620716400"; d="scan'208";a="691329579" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga005.fm.intel.com with ESMTP; 02 Sep 2021 03:55:51 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 2 Sep 2021 03:55:50 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 2 Sep 2021 03:55:50 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.108) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Thu, 2 Sep 2021 03:55:50 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z+r9Tytg3HUHYl4yRSvFdihH87hPmbvt0pQ3k3ZLMCMstEa1LBhfZJr0UKgQiFrmzYzpIAfDd9SsSFSIE+ztG3k9C/zfiQFvNDCbkitbPRClMH5oN89IxepEPEo7xwr+uJARgpFYj78RLCeeTM/EJYbl/nMZFIL3rGH5m379fyxPcnmeC5eaYj4iLfWFGU9AL5/UaBC1AalLljWrO52i3VgbxQhIAzKJRjjfw3y0e/fJityClPLTESJVDSZ57GQWOQdTo2n5uEIx8u6O7nvlM4XJR0VL7oPnfNLiIb1/6zcI1ltVJJNySCZr3cykYfXFFRXolKttZ6eYAv4Rs1DjIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=KiLTDD1VWGTaBfp6ogPdQdsAhtANafX25WiWWyM2wGc=; b=Sxhx35/YqzrJ+luqknEOaub8lMkmQDmvIspqlv3U8OmnQhV7Bjd/+EeTqKj8RIHqic20mlvJGP2Jhlc2F7ao4+cedvfGJsmbqpAjQYnPLPJDj9kXH9YqPEtqSGTzILVk4nMaEdVTJ8trCS0tGmEYs4zK5d5LhLFw/GLpFwjb59YE9im9AgC7AOcTqtArOKLs5fxLr2Eu9v2EFlG8oSJDLZ4+uLvD+hM5SxmM+7atbhdB8GQNd29mSpj/pfKRtDhQbI+aMcP6F/iIU4zqkpw4Yq+bqJlY/42ElmGz2Y38Jo63r4PWTLYF10seWGIO4gwAtc76PYppJyrVoe+a7ZpS6g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KiLTDD1VWGTaBfp6ogPdQdsAhtANafX25WiWWyM2wGc=; b=hRG2z2s/zmcsRwIOYcVxFgsJiaRSFQdoDLdgU9rcu6q/hcXpaC5Ik0Gq5AqCaEG29yikG1xZ9tBsOMg3I7SyIVNat0ETp65D8gvxJ4wVZE+bAqt/qtFQbD3uQXConrwyZ8HqJ8rVY1f+ojoYlWO8Xex3i6L020SR0OrpvSqiRXg= Received: from PH0PR11MB4936.namprd11.prod.outlook.com (2603:10b6:510:42::20) by PH0PR11MB4773.namprd11.prod.outlook.com (2603:10b6:510:33::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.21; Thu, 2 Sep 2021 10:55:48 +0000 Received: from PH0PR11MB4936.namprd11.prod.outlook.com ([fe80::1db5:81b2:cdfe:40a0]) by PH0PR11MB4936.namprd11.prod.outlook.com ([fe80::1db5:81b2:cdfe:40a0%9]) with mapi id 15.20.4478.022; Thu, 2 Sep 2021 10:55:48 +0000 From: "Ni, Ray" To: "Sravanthi, K KavyaX" , "devel@edk2.groups.io" CC: "Dong, Guo" , "Ma, Maurice" , "You, Benjamin" Subject: Re: [PATCH 2/2] UefiPayloadPkg: Include Network modules in UefiPayloadPkg. Thread-Topic: [PATCH 2/2] UefiPayloadPkg: Include Network modules in UefiPayloadPkg. Thread-Index: AQHXn8JcinAZvi4ULU2kSAoAOgsZ9auQkk3w Date: Thu, 2 Sep 2021 10:55:48 +0000 Message-ID: References: <20210902061812.2940-1-k.kavyax.sravanthi@intel.com> In-Reply-To: <20210902061812.2940-1-k.kavyax.sravanthi@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3b0443a7-fa4a-406f-4782-08d96e00392e x-ms-traffictypediagnostic: PH0PR11MB4773: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1002; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: c+DnDE/m1N80tr/3pumfTZv2yji85lRL75ixFfQJVN5gHJTf22Bu1+u+5uDcBzq3yRoDt91ZFpXfY7hcyCXVeI98KxXvRlsPDvdRnmQwrbzzQJOSIKxyJsdwBS4zv3lXFtXUa9i664WGKvnXE5Mf9xr3wENp6sBTXZVSHhT+VNoz6WJldHl7jHu/U0qs5lJ7nw4Tcoj4XRklVZNausR5OAvfASBIwR7VhGI/ZgmGp8Fk408Me7ls23O1WV2FZArZGEDgV09MBCVRMTIvO7GYf59Foao8FYGpdJ6Eh3IBzdVicWlTXYCfJco675OxaRVu29amb66edmlEXzYp4fYgyLic9zA1orGMulvTl8e9WEcN5cGKpwVEDds4drI2oZ6G/XNvrON0KSpiyvSnIzIsmI6S+MZoqhh5PiVwLzr/zfzX478SanlLRUGDIogsfhl4W4SrwTbTG1Ms1TFz5Bhg36Q3gVj5sacFg2hZQHtfNWbgRz65KP0HwPjF6EJGfBJk7AAK6ECJl7guagX/Ge7UGUoVJ7+DAekV1O6Dww4MNKdo+rsw2y7uThms4gAyl+k/R7nsDY4jF5q6IQrRKt1i5erLf4UJdTqmmdy2FKnOSwluOqENxMXelQ/s5BJMuzHI4jwj5Yta+sBUHgCU1XYCJK7ppHGFRJmIABe+qF6sfv7zwm7jU+lLkmecOwmXaA2prDcdmkymA7CrquiTSogDcQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB4936.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(376002)(346002)(39860400002)(366004)(136003)(396003)(8676002)(83380400001)(86362001)(66556008)(66476007)(66946007)(64756008)(66446008)(122000001)(76116006)(7696005)(33656002)(107886003)(38070700005)(38100700002)(4326008)(54906003)(26005)(6506007)(53546011)(71200400001)(9686003)(186003)(5660300002)(8936002)(2906002)(110136005)(55016002)(478600001)(52536014)(316002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?pRPAN9PxX/6kwbc6HIynZxYPPXE+uLEFl6k6oO4EF9qkRsPLGib0duF6nJa2?= =?us-ascii?Q?XrNtuNkdm6ccxTA5Vo8ub7ofqQUVEP6dOA9aKZPwwfg278eIyx4PM78PP968?= =?us-ascii?Q?naB0bs130AWumV1ulikkYw9WAetkEICQcNnNCoPYTUhjft32FvdjK70GhpuJ?= =?us-ascii?Q?obvYwtvLSEXKDOlklKddhpP59gAvv3N136IloYdJ0ydJkGSEgRzuZPCH4Kpo?= =?us-ascii?Q?Bx+cushf7vGtUfQ0lkGlLcGCWleGWcHxFICCHuxBThgI69T8KWtC5lk3iEwY?= =?us-ascii?Q?ck3I5wF9A/o0j3rUyT69/y0ABVzrBMlvAQz9vNHU6vOVUbTZGsj5qz3dZ6BK?= =?us-ascii?Q?+eqHLcBC0wL010Gn5zP/LR80m77qMFt4GNZRvnCpzyWSmLDbe6Mr68KH0KIi?= =?us-ascii?Q?VdmGOjn1ujdC0PRxGLu4sIaZ1/l2gSGVx/Gn0k27eKPClVkmQb9W6CXKPInI?= =?us-ascii?Q?BGolnq+lwRmYDRDsHX+VuDGRrPQ5vnVMmazyKywTyKrWF0R/c4xY2isiQj4P?= =?us-ascii?Q?R31f97OSS8DMp3sscG6cnB7r97jvyLlfXgwWdYrmN/t4y9CsYTJ1BmQzaJ2E?= =?us-ascii?Q?/8n73b3EBfaPyeQXvb5dcgPXD5Kt7e8DSb/Cw8xz+A8t+UeyPbapmUDHLCck?= =?us-ascii?Q?Q3nfTlXLVZsDBnoVcmavsFoSX1Rd31LcVPpzBXy7/p2QILuUUg8HH0hEXkPT?= =?us-ascii?Q?m6nxk9x7iHz0VyMELjXN021+N3F6OPXgEjBrCwYcv5jmspnwj3SvcavVxmf6?= =?us-ascii?Q?kvIkt4w4yRsbS8H9yP0VLo+UIYh0HTXMzjT+8aXze1SbkymNO6ZrCmzQ70vr?= =?us-ascii?Q?ABIYzw3egpHt20KWid+XcnnZsCMXxNh+ry2sNDU/CCj0/xtB6+hGx6H6ao5l?= =?us-ascii?Q?jLTkitujwn1ujgf3uI6Fs3KGs3Q7eSsfr1+bmke/pdIyhRu/X6HLuCFTshE/?= =?us-ascii?Q?/uP2JHRQaC28DAbvszW62F7BQfACUc3QdQGBH0ogBnNq8ZiN4VnQejyDEQ0x?= =?us-ascii?Q?gX38BkvipRfaWVngj+qS1TH0hd95qMZesFcOFh0qk6HesX7Wnu5/EXkw9VJm?= =?us-ascii?Q?l9fW0sQ1FdtOsJJHmQ2l1Sa4NOwfOsMZEu04COKA/32+6W12Y5hUCmEtaA5L?= =?us-ascii?Q?koFY41/f4mh2jw0ZjT0w1hp9i3aZ6hh0gVhNxcabbj/nyq9FA3PXq1YbHNna?= =?us-ascii?Q?cIV2WLKVvaV+F8aKy8VC+lev0R65Hqoa/iD8NL54ohyRkOMbxi8H2Oq0nICl?= =?us-ascii?Q?QKQiW+vL94mpRDmSH0qWxbLWa7Awiqsa6Q3oCr+O5flEKCyPUQc+dAc9YvDC?= =?us-ascii?Q?1pgThMNGDxyx9Nd5nxm8kjqi?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB4936.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3b0443a7-fa4a-406f-4782-08d96e00392e X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Sep 2021 10:55:48.6402 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: JDqgu/kfs8N6ZA8WnwAYBjbEQgWp/TKFzlIGTWlngbbzS8bY7PLwl6l3T2Jnb9J0bJ21vsEjkVvKyAPFy4l90Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4773 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Shall you put PcdAllowHttpConnections in dynamic PCD section? -----Original Message----- From: Sravanthi, K KavyaX =20 Sent: Thursday, September 2, 2021 2:18 PM To: devel@edk2.groups.io Cc: Sravanthi, K KavyaX ; Dong, Guo ; Ni, Ray ; Ma, Maurice = ; You, Benjamin Subject: [PATCH 2/2] UefiPayloadPkg: Include Network modules in UefiPayload= Pkg. From: Sravanthi Include Network modules in UefiPayloadPkg.dsc and UefiPayloadPkg.fdf Cc: Guo Dong Cc: Ray Ni Cc: Maurice Ma Cc: Benjamin You Signed-off-by: Sravanthi --- UefiPayloadPkg/UefiPayloadPkg.dsc | 14 ++++++++++++++ UefiPayloadPkg/Uefi= PayloadPkg.fdf | 11 +++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayload= Pkg.dsc index 6859d2aeb8..b0054c8914 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -90,6 +90,7 @@ =20 DEFINE EMU_VARIABLE_ENABLE =3D TRUE DEFINE DISABLE_RESET_SYSTEM =3D FALSE + DEFINE NETWORK_DRIVER_ENABLE =3D FALSE =20 # Dfine the maximum size of the capsule image without a reset flag that = the platform can support. DEFINE MAX_SIZE_NON_POPULATE_CAPSULE =3D 0xa00000 @@ -161,6 +162,11 @@ CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMain= tenanceLib.inf SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf DxeHobListLib|UefiPayloadPkg/Library/DxeHobListLib/DxeHobListLib.inf + BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf + IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf + OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf + RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf =20 !if $(UNIVERSAL_PAYLOAD) =3D=3D TRUE HobLib|UefiPayloadPkg/Library/DxeHobLib/DxeHobLib.inf @@ -316,6 +322,7 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE =20 gUefiPayloadPkgTokenSpaceGuid.PcdPcdDriverFile|{ 0x57, 0x72, 0xcf, 0x80,= 0xab, 0x87, 0xf9, 0x47, 0xa3, 0xfe, 0xD5, 0x0B, 0x76, 0xd8, 0x95, 0x41 } + gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE =20 !if $(SOURCE_DEBUG_ENABLE) gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2 @@ -431,6 +438,13 @@ !endif !endif =20 +# +# UEFI network modules +# +!if $(NETWORK_DRIVER_ENABLE) =3D=3D TRUE + !include NetworkPkg/Network.dsc.inc +!endif + [Components.X64] # # DXE Core diff --git a/UefiPayloadPkg/UefiPayloadPkg.fdf b/UefiPayloadPkg/UefiPayload= Pkg.fdf index bb6279bead..a089892d03 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.fdf +++ b/UefiPayloadPkg/UefiPayloadPkg.fdf @@ -17,8 +17,8 @@ DEFINE FD_SIZE =3D 0x00850000 DEFINE NUM_BLOCKS =3D 0x850 !else =20 -DEFINE FD_SIZE =3D 0x00410000 -DEFINE NUM_BLOCKS =3D 0x410 +DEFINE FD_SIZE =3D 0x00590000 +DEFINE NUM_BLOCKS =3D 0x590 !endif =20 ##########################################################################= ###### @@ -198,6 +198,13 @@ INF MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf # INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf =20 +# +# UEFI network modules +# +!if $(NETWORK_DRIVER_ENABLE) =3D=3D TRUE + !include NetworkPkg/Network.fdf.inc +!endif + # # Shell # -- 2.30.2.windows.1