From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 74DAEAC115F for ; Tue, 26 Dec 2023 14:14:26 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=+QbMJqOPuHk2f4d+uMbw3mDZhoT3enn8mf8Mg4zHx0k=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type; s=20140610; t=1703600065; v=1; b=dbu916NIsnPNINX2nff/PPlYAU74zBzLuDi1ZHUb9eiw6kJ+6AXxbxgpbwaxb8a5LrjUXAN/ 4Cvi27s9eLGw0aVI1l7peUTYGjkjCKm93dlX9Dn77Z+NknAU1DRSHifZcxCZ/Hyovq6oKnc6Gbw d7AlVhMUjTOw64Kju37KkGGc= X-Received: by 127.0.0.2 with SMTP id 1a7IYY7687511xKSW79ibNY4; Tue, 26 Dec 2023 06:14:25 -0800 X-Received: from NAM11-DM6-obe.outbound.protection.outlook.com (NAM11-DM6-obe.outbound.protection.outlook.com [40.107.223.53]) by mx.groups.io with SMTP id smtpd.web10.34483.1703111635669733426 for ; Wed, 20 Dec 2023 14:33:56 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wj6J0NoAD2JtyRfnU244l7nvhs4+kcRyNLIghQ4hkde+IcQi3uC66q8RxykZM16cY3i6mk/Mm7GAUO0BZIk7r5F5aX616eNNPPA74ZLd8ZCRPTQJ5s0Max4UP8j1mJJlnLMIdw9ePhZtAvzKKzbLd7bpXesYJyqmu+pSLtYsk4UE4PcFgs1yA+Ku1spMEE+7g1ukNb6+EXC8H/Z+4/lLWXsGNMDtlmE2uFqj9140WjeqhS3xCqpplCSh7NZv5r1G+XJ2ItSE0wLnkRI/Lcxj0VMxrKk5fptKcTjgvnUamfZcrG46zoyHdG6EXJWMDaBmVhbaZxBu5YuZuLNGy+8POg== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wgGXNzwgmY/DuLd0chmMG6ocHseWjKgufCAgDPIJExc=; b=IednoziTNAx/CSSQBWZdXPmpp/6WTqWA3yofDD/B7yHro50nR17PACZ44y1GMEUG9xYHS5ryCu6m8drjbiGwNOibzenzw/7c8dJzPWYEbWPNb5M4pHmGJuVbnbh24j1ZL3GovBC+cj/V2vHZURRtlcj8QPi+s50R9uZgZMzgLnJUPN+Nj328W/lXpSGlqbKHwpSF0hIgzsHfjKUPMAeoAcI2wHfG0eQTx/AQVGHIpCLCSNvvMrTxOqAKOMG8Gj6em6bjDkuTXMDsxHnbeNOGKFY/doxE97kztGKWVzjizh0Grq9YhML8oY29m3fyw+7cbn+Xxv6X8ohN+1wE4StkAA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ami.com; dmarc=pass action=none header.from=ami.com; dkim=pass header.d=ami.com; arc=none X-Received: from DS7PR10MB5167.namprd10.prod.outlook.com (2603:10b6:5:38e::9) by MN0PR10MB5984.namprd10.prod.outlook.com (2603:10b6:208:3c8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.41; Wed, 20 Dec 2023 22:33:50 +0000 X-Received: from DS7PR10MB5167.namprd10.prod.outlook.com ([fe80::1ce4:4765:46ce:626e]) by DS7PR10MB5167.namprd10.prod.outlook.com ([fe80::1ce4:4765:46ce:626e%7]) with mapi id 15.20.7113.016; Wed, 20 Dec 2023 22:33:50 +0000 From: "Natalya Kalistratova via groups.io" To: "Kasbekar, Saloni" , Sivaraman Nainar , "devel@edk2.groups.io" , "Clark-williams, Zachary" CC: Dhanaraj V , Santhosh Kumar V , =?iso-2022-jp?B?R2VuZ1lvdSBaaG91ICgbJEI8fjkuTSQbKEIp?= , Triveni H , Vairalakshmi M Subject: Re: [edk2-devel] Clarification on LoadFile2 Protocol Installation for Network Boot Devices Thread-Topic: [EXTERNAL] RE: Clarification on LoadFile2 Protocol Installation for Network Boot Devices Thread-Index: AQHaL0nyaXZ0vEPynEWG6gD010i2ALCvfgwAgACzx4CAAV2tgIABOU4w Date: Wed, 20 Dec 2023 22:33:50 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS7PR10MB5167:EE_|MN0PR10MB5984:EE_ x-ms-office365-filtering-correlation-id: 621b263b-92a5-4e6f-3b3e-08dc01abbd6f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: WIrRRPQbKR/YdJRd2EmKZJsnd46k3vXcNljMyduJfW/PdB1QbthY4yIR2+VNZR8HBCkwV3SLLHoX/RwCXFq+rwurExrp9PS1IyeG7ABMuezlx77FKx+pKmYR5ii7F7OMJIjORVTS1aGTjyMjH3HSgas6MP7NYLoRSWwajzthl9sf+H+wIjKRBVntDPJ0rmbFq9owoVlhRJJAoI4R7U0bQxz+tvTuSqPt5xoF7X9HPCkY8VN3HfGv10ldUWrxtRITyR0RQUHG4GElEL+u0CDS+6ITC8vk37M3EzCx8HGKt4fZ8tNBelJF1s54gpU1av4a9Y2I5BcEA7Wh66AW9h9pzCXMTDDKNs95OlA638IjBzujIyJNDfNJ/YbQv/F7/nH/wtDepfNNx6AU3Fju3C1zeKZEjI/ZZX4i3MCxXI8POUHz7/fQmckiGdEwFvG1Mnye40BFdZSGYwg3ZFun5pEBKMv2mOOFbNDY3/+6lTqT+8X2/IXhKXyUIq8vTOFVd1b05IcE+3PfZyW7TpvJITuWvPjbwloU8gjL5CbgKFXzAy+TL06im1rttmphJJmqCos5qyVMN4Zbt+33SOa8eL7rtgNYk5qwFf2E278/PFtejN2nFy5BmKqMKOzPH/gOhgnNCAfCww08VGE93h4wYo0yd24ohUpiDTFEBpJ1UUVDJQg= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?B?TWRpLzc4SmhDSkRyUFF6OXNsbUl0bDRvNWE1eWp3am11RTRGdjdwNUZn?= =?iso-2022-jp?B?ZkhkeU5NWXM3eGtPQi80azhPb2ZZWHJDMFJtdTJrTmxCY05CQi92VVhG?= =?iso-2022-jp?B?ekxPeXNhR2N5WU9Fd1pQQ0hPMkE2dXR0VG5JZHpXSEpqeUM1UVo4Zzhq?= =?iso-2022-jp?B?K2NjcDJPMWR0REtRa2xOcVZBcE5Ba1h4OG5LZEM2REN4enExbVZ2b2tD?= =?iso-2022-jp?B?VU55Qi8ySElFdldZbHhKY0ZmSDdqNTZTZ1IvdWdycmZuaUV6Ylo5bGd6?= =?iso-2022-jp?B?NHVGRkZBT3lrQUVna0NnRTg1aGxUTklnUlNqR3pzU0h5Z2VUUkFVN2VZ?= =?iso-2022-jp?B?TkFsdnBQcFVxSHZpczFDM3M3UDI3bnloSEd3Mi9lSUlKeE1CSS94WTI0?= =?iso-2022-jp?B?cUdES3RCM3dVdUMyWWN5UVFmV2pqaEZDclZQOEdGY2pIU1kwZWRQYXZ5?= =?iso-2022-jp?B?Wk5lRDZXR1N1MXd0bFpCQlpBUUpKZWxrWWpDRHd6d0V6YkZCWHVkMU1Q?= =?iso-2022-jp?B?VG5JS3pDWWEzR2dMRGxUUDYyc2hZQzQ3dlRQczVlYXNqMmw0NFNoUzIr?= =?iso-2022-jp?B?L002Zm81TlpSWjFjVWZweUQ5U2RZeVFpdjArc1owN3hXdEJ1ek8zQVFj?= =?iso-2022-jp?B?QlNkbHFrZEVYM0l2R296cFk3eDRGSDF2M042VkMra1kwZXIxdk9ORHN6?= =?iso-2022-jp?B?VEJCemE1eWM1Z2hrZjNSTDl5R2FCVWdFSStITnBGZ0ZnRzQ0bmRqT09j?= =?iso-2022-jp?B?VzE1WlNUaTBpM0FyUEMxWmZ5OGszd0dOWTY4WXgva0sxNEtJOFlkOWJK?= =?iso-2022-jp?B?azBjSDI0OE5uOHVqRDhWdmM1WXNQQ2RZREk2NWlvWWFIZmdkaEZHY1lr?= =?iso-2022-jp?B?LzdXamxHcGNHbWZqL1RYS0QvNWFkZjJjZU9HeVVsTWs2RTdzSkR2OThF?= =?iso-2022-jp?B?eHRPMXFNNytLYnBpTEFjYTRwQUFsLzlIS1lZWEJRRlQxczVQMzQ4SzhG?= =?iso-2022-jp?B?V0Y1MEVsYWZMQ21ib3ZzaUhzVnM2aVl6ckkvTnNGdDJoYVFvMHBjM3Ft?= =?iso-2022-jp?B?QnpqU0d6TUs1cHJQN2NXYktDdGZoZ3ZTbG5seC9BVzB0eWlzZXFTempT?= =?iso-2022-jp?B?Wkk3ZVp0ZDF1ekFFcVFCRHhaNjJkQjhQVExtRG96NEJOWGZrUHNWWllj?= =?iso-2022-jp?B?UExsR011RWF2b3MrUGlqdVdTYm9MaTVrOUxwUkF5T3NhK1UwVS81VllN?= =?iso-2022-jp?B?cXV5WUlRREttcnZZYTZBcVZRamlwcTdPUWRJTS96ZnBwREd6OXlNTlM3?= =?iso-2022-jp?B?RU54ZWhNTENuNkJzOE15V1hKdEx3azVvYlFyVUlUTVpXYUxXY29Qck9a?= =?iso-2022-jp?B?bGlkMUF1ajYvUXlNSDFWcHFhc1o1MzZxdmVQWkVuc250YjVOWXVXdjR2?= =?iso-2022-jp?B?Ui9NSFFLdG1FUTB5VFQ1NW5KVWZ0M1JKczZobFpJenlSRWIrRlp0WlEx?= =?iso-2022-jp?B?OTN2cENjY3AxZ0c0RmQ3ZGRlNVQ5cmpvbEU5cGIzd0JiVU1pZmdBeGo5?= =?iso-2022-jp?B?OVExK3BkQk1GNW56UHZkVmJlbFpzaEJmZEVOUmJSekF2N1R1bm9scWxQ?= =?iso-2022-jp?B?S1NxUEMyU0NJa1pHYXcwSHJucFhoQWlkb2ErM2lvS1RmaHJoUE9yZ01S?= =?iso-2022-jp?B?bzNsQXZtUE1zVWhodXpFc3BVTVE0a0dXSGlUQ1ZtQWg3U3BKVFoza0Rh?= =?iso-2022-jp?B?eFZYVU5qK1FXRlhXNFVEVTN5YlZFaTMxV3FCVXROQnJiK0lObzZvYm0x?= =?iso-2022-jp?B?V24yOE9KNkVuRjZvMWljSERVTVVYbmFoZTl0ZDJUOHBKYm14RXk1dWFa?= =?iso-2022-jp?B?MnRSRWpsWEE2dnpzTXRpQjVZMDNKejJPMEhQR0hGNTQ4cWEySlZub3Qz?= =?iso-2022-jp?B?TGV0bkwzTzN0QTlQTXprR2xuN1BWN3c4NW84TUhUdWZvT0NITWx6cEJU?= =?iso-2022-jp?B?TXdncVpNU0dJbjUvM2F4aEFYTGNDSk5OZkIyQ3Z5YVpnL3hVNnVacHFo?= =?iso-2022-jp?B?eEpYcG90OGJ6a1FueGtjKzVveEVBZU9KcjgyZlk5QWN0aTgrNDJVcXdD?= =?iso-2022-jp?B?UlBQR0ltS1c0VVRCR2VCZjlFMHdKUkt3Ylc5ZVJCYk5Za3ZocVJzMUtn?= =?iso-2022-jp?B?OVJ2MjZJVDhXMStpaUZSd0dGOFhwb3pScU9ZaHJjVFFrTmpKRm41ZWZu?= =?iso-2022-jp?B?dHE1TVBiWWROZTN0ZDlPYTdzNGpYNnJ6QT0=?= MIME-Version: 1.0 X-OriginatorOrg: ami.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DS7PR10MB5167.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 621b263b-92a5-4e6f-3b3e-08dc01abbd6f X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Dec 2023 22:33:50.8395 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 27e97857-e15f-486c-b58e-86c2b3040f93 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: dH8xO+Q/8BAGgjHa+qo1F4P5e3bPg2tmFx0JXyLbbpym9tP0a1Pj2/DWtSQ4eEPu8xbWsDiuqAH+jPexo7dNsg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR10MB5984 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,NatalyaK@ami.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: M66D5q5d0qYHmMEpA29vc6rqx7686176AA= Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_DS7PR10MB516729203E504C3B0658C0CED596ADS7PR10MB5167namp_" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=dbu916NI; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io --_000_DS7PR10MB516729203E504C3B0658C0CED596ADS7PR10MB5167namp_ Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable Including Triveni and Vairalakshmi to this thread From: Kasbekar, Saloni Sent: Tuesday, December 19, 2023 10:46 PM To: Sivaraman Nainar ; devel@edk2.groups.io; Clark-will= iams, Zachary Cc: Natalya Kalistratova ; Dhanaraj V = ; Santhosh Kumar V ; GengYou Zhou (=1B$B<~9.M$=1B(B= ) Subject: RE: [EXTERNAL] RE: Clarification on LoadFile2 Protocol Installatio= n for Network Boot Devices Hi Siva, We can file a Mantis for the UEFI forum with the proposal to update the wor= ding for #18 to include Network devices. Thanks, Saloni From: Sivaraman Nainar > Sent: Monday, December 18, 2023 10:54 PM To: Kasbekar, Saloni >; devel@edk2.groups.io; Clark-williams,= Zachary > Cc: Natalya Kalistratova >; Dhana= raj V >; Santhosh Kumar V >; GengYou Zhou (=1B$B<~9.= M$=1B(B) > Subject: RE: [EXTERNAL] RE: Clarification on LoadFile2 Protocol Installatio= n for Network Boot Devices Hello Saloni: Thanks for Clarifying. Yes. If Network Devices MUST install LoadFile2 then it would be good that s= ection 18 includes network devices. Do we need to request UEFI forum for th= e same? Thanks Siva From: Kasbekar, Saloni > Sent: Tuesday, December 19, 2023 1:41 AM To: devel@edk2.groups.io; Sivaraman Nainar >; Clark-williams, Zachary > Cc: Natalya Kalistratova >; Dhana= raj V >; Santhosh Kumar V >; GengYou Zhou (=1B$B<~9.= M$=1B(B) > Subject: [EXTERNAL] RE: Clarification on LoadFile2 Protocol Installation fo= r Network Boot Devices **CAUTION: The e-mail below is from an external source. Please exercise cau= tion before opening attachments, clicking links, or following guidance.** Hi Siva, =1B$B!H=1B(BThe EFI_LOAD_FILE2_PROTOCOL is a simple protocol used to obtain= files from arbitrary devices that are not boot options=1B$B!I=1B(B =1B$B!H=1B(BThe EFI_LOAD_FILE_PROTOCOL is used for devices that do not dire= ctly support file systems. Network devices commonly boot in this model where the image is materialized without the nee= d of a file system.=1B$B!I=1B(B Based on the above statements, I believe the Network stack is fine using th= e current EFI_LOAD_FILE_PROTOCOL and not the EFI_LOAD_FILE2_PROTOCOL as the= y are currently loaded as boot options. We currently do install the EFI_LOA= D_FILE_PROTOCOL within the Network stack. Eg - // // Create a child handle for the HTTP boot and install DevPath and Load f= ile protocol on it. // CopyMem (&Private->Ip6Nic->LoadFile, &gHttpBootDxeLoadFile, sizeof (Priva= te->LoadFile)); Status =3D gBS->InstallMultipleProtocolInterfaces ( &Private->Ip6Nic->Controller, &gEfiLoadFileProtocolGuid, &Private->Ip6Nic->LoadFile, &gEfiDevicePathProtocolGuid, Private->Ip6Nic->DevicePath, NULL ); Maybe we need to update #18 to include Network devices? Thanks, Saloni From: devel@edk2.groups.io > On Behalf Of Sivaraman Nainar via groups.i= o Sent: Friday, December 15, 2023 3:29 AM To: devel@edk2.groups.io; Clark-williams, Zach= ary >; Kasbekar, Saloni > Cc: Natalya Kalistratova >; Dhana= raj V >; Santhosh Kumar V >; GengYou Zhou (=1B$B<~9.= M$=1B(B) > Subject: [edk2-devel] reg: Clarification on LoadFile2 Protocol Installation= for Network Boot Devices Hello ZClarkWilliams: Could you please help to clarify if NetworkStack MUST install the LoadFile2= Protocol or not. With reference to the below spec item, the LoadFile2 prot= ocol must be implemented. In one of the BIOS environment, the Setup Browser Locates the LoadFile2 ins= tance of Network Boot Device and it not found as it not installed by the cu= rrent NetworkPkg. Can you please comment if there is any reason behind not installing during = the HTTP Boot. =1B$B!H=1B(BUEFI SPEC 2.6.3 Driver-Specific Elements There are a number of UEFI elements that can= be added or removed depending on the features that a specific driver requi= res. Drivers can be implemented by platform firmware developers to support = buses and devices in a specific platform. Drivers can also be implemented b= y add-in card vendors for devices that might be integrated into the platfor= m hardware or added to a platform through an expansion slot. The following = list includes possible driver features, and the UEFI elements that are requ= ired for each feature type: 1. If a driver is written for a boot device that is not a block-oriented= device, a file system-based device, or a console device, then the EFI_LOAD= _FILE2_PROTOCOL must be implemented. =1B$B!H=1B(B Thanks Siva -The information contained in this message may be confidential and propriet= ary to American Megatrends (AMI). This communication is intended to be read= only by the individual or entity to whom it is addressed or by their desig= nee. If the reader of this message is not the intended recipient, you are o= n notice that any distribution of this message, in any form, is strictly pr= ohibited. Please promptly notify the sender by reply e-mail or by telephone= at 770-246-8600, and then delete or destroy all copies of the transmission= . -The information contained in this message may be confidential and propriet= ary to American Megatrends (AMI). This communication is intended to be read= only by the individual or entity to whom it is addressed or by their desig= nee. If the reader of this message is not the intended recipient, you are o= n notice that any distribution of this message, in any form, is strictly pr= ohibited. Please promptly notify the sender by reply e-mail or by telephone= at 770-246-8600, and then delete or destroy all copies of the transmission= . -The information contained in this message may be confidential and propriet= ary to American Megatrends (AMI). This communication is intended to be read= only by the individual or entity to whom it is addressed or by their desig= nee. If the reader of this message is not the intended recipient, you are o= n notice that any distribution of this message, in any form, is strictly pr= ohibited. Please promptly notify the sender by reply e-mail or by telephone= at 770-246-8600, and then delete or destroy all copies of the transmission= . -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112916): https://edk2.groups.io/g/devel/message/112916 Mute This Topic: https://groups.io/mt/103249982/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --_000_DS7PR10MB516729203E504C3B0658C0CED596ADS7PR10MB5167namp_ Content-Type: text/html; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable

Including Triveni and Va= iralakshmi to this thread

 =

From: Kasbekar, Saloni <salon= i.kasbekar@intel.com>
Sent: Tuesday, December 19, 2023 10:46 PM
To: Sivaraman Nainar <sivaramann@ami.com>; devel@edk2.groups.i= o; Clark-williams, Zachary <zachary.clark-williams@intel.com>
Cc: Natalya Kalistratova <NatalyaK@ami.com>; Dhanaraj V <vd= hanaraj@ami.com>; Santhosh Kumar V <santhoshkumarv@ami.com>; GengY= ou Zhou (
=1B$B<~9.M$=1B(B) <GengYouZhou@ami.com>
Subject: RE: [EXTERNAL] RE: Clarification on LoadFile2 Protocol Inst= allation for Network Boot Devices

 

Hi Siva,

 

We can file a Mantis for the UEFI forum w= ith the proposal to update the wording for #18 to include Network devices.<= /span>

 

Thanks,

Saloni

 

From: Sivaraman Nainar <sivaramann@ami.com<= /a>>
Sent: Monday, December 18, 2023 10:54 PM
To: Kasbekar, Saloni <
saloni.kasbekar@intel.com= >; ; Clark-williams, Zachary <zachary.clark-williams@intel.com= >
Cc: Natalya Kalistratova <
NatalyaK@ami.com>; Dhanaraj V <vdhanaraj@ami.com&g= t;; Santhosh Kumar V <santhoshkumarv@ami.com>; GengYou Zhou (=1B$B<~9.M$= =1B(B) <GengYouZhou@ami.com= >
Subject: RE: [EXTERNAL] RE: Clarification on LoadFile2 Protocol Inst= allation for Network Boot Devices

 

Hello Sal= oni:

 

Thanks fo= r Clarifying.

 

Yes. If N= etwork Devices MUST install LoadFile2 then it would be good that section 18= includes network devices. Do we need to request UEFI forum for the same?

 

Thanks

Siva

From: Kasbekar, Saloni <saloni.kasbekar@int= el.com>
Sent: Tuesday, December 19, 2023 1:41 AM
To:
devel@edk2.groups.io; Sivaraman Nainar <sivaramann@ami.com>; Clark-williams, Zachary <zachary.clark-williams@intel.com= >
Cc: Natalya Kalistratova <
NatalyaK@ami.com>; Dhanaraj V <vdhanaraj@ami.com&g= t;; Santhosh Kumar V <santhoshkumarv@ami.com>; GengYou Zhou (=1B$B<~9.M$= =1B(B) <GengYouZhou@ami.com= >
Subject: [EXTERNAL] RE: Clarification on LoadFile2 Protocol Installa= tion for Network Boot Devices

 

 

**CAUTION: The e-mail below is from an external source. Please exercise caution before opening attachments, clicking links= , or following guidance.**

Hi Siva,

 

=1B$B!H=1B(BThe EFI_LOAD_FILE2_PROTOCO= L is a simple protocol used to obtain files from arbitrary devices that are= not boot

options=1B$B!I=1B(B

=1B$B!H=1B(BThe EFI_LOAD_FILE_PROTOCOL= is used for devices that do not directly support file systems. Network dev= ices

commonly boot in this model where the = image is materialized without the need of a file system.=1B$B!I=1B(B=

 

Based on the above statements, I believe = the Network stack is fine using the current EFI_LOAD_FILE_PROTOCOL and not = the EFI_LOAD_FILE2_PROTOCOL as they are currently loaded as boot options. We currently do install the EFI_LOAD_FILE_PROTOCOL= within the Network stack. Eg –

  //

  // Create a child handle for the H= TTP boot and install DevPath and Load file protocol on it.

  //

  CopyMem (&Private->Ip6Nic-&= gt;LoadFile, &gHttpBootDxeLoadFile, sizeof (Private->LoadFile));

  Status =3D gBS->InstallMultiple= ProtocolInterfaces (

       = ;           &Private-= >Ip6Nic->Controller,

       = ;           &gEfiLoad= FileProtocolGuid,

       = ;           &Private-= >Ip6Nic->LoadFile,

       = ;           &gEfiDevi= cePathProtocolGuid,

       = ;           Private->I= p6Nic->DevicePath,

       = ;           NULL

       = ;           );

 

Maybe we need to update #18 to include Ne= twork devices?

 

Thanks,

Saloni

 

From: devel@edk2.groups.io <devel@edk2.= groups.io> On Behalf Of Sivaraman Nainar via groups.io
Sent: Friday, December 15, 2023 3:29 AM
To:
devel@edk2.gro= ups.io; Clark-williams, Zachary <zachary.clark-williams@intel.com>; Kasbekar, Saloni <<= span style=3D"font-family:"Calibri",sans-serif;mso-ligatures:none= ">saloni.kasbekar@intel.com>
Cc: Natalya Kalistratova <
NatalyaK@ami.com>; Dhanaraj V <vdhanaraj@ami.com>; Santhosh Kumar V <s= anthoshkumarv@ami.com>; GengYou Zhou (=1B$B<~9.M$=1B(B) <GengYouZhou@ami.com>
Subject: [edk2-devel] reg: Clarification on LoadFile2 Protocol Insta= llation for Network Boot Devices

 

Hello ZClarkWilliams:

 

Could you please help to clarify if NetworkStack MUS= T install the LoadFile2 Protocol or not. With reference to the below spec i= tem, the LoadFile2 protocol must be implemented.

 

In one of the BIOS environment, the Setup Browser Lo= cates the LoadFile2 instance of Network Boot Device and it not found as it = not installed by the current NetworkPkg.

 

Can you please comment if there is any reason behind= not installing during the HTTP Boot.

=1B$B!H=1B(= BUEFI SPEC

2.6.3 Driver-S= pecific Elements There are a number of UEFI elements that can be added or r= emoved depending on the features that a specific driver requires. Drivers can be implemented by platform firmwar= e developers to support buses and devices in a specific platform. Drivers c= an also be implemented by add-in card vendors for devices that might be int= egrated into the platform hardware or added to a platform through an expansion slot. The following list inclu= des possible driver features, and the UEFI elements that are required for e= ach feature type:

  1. If a driver is written = for a boot device that is not a block-oriented device, a file system-based = device, or a console device, then the EFI_LOAD_FILE2_PROTOCOL must be imple= mented.

=1B$B!H=1B(B

 

Thanks

Siva

-The information contained in= this message may be confidential and proprietary to American Megatrends (A= MI). This communication is intended to be read only by the individual or entity to whom it is addressed or by their desig= nee. If the reader of this message is not the intended recipient, you are o= n notice that any distribution of this message, in any form, is strictly pr= ohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delet= e or destroy all copies of the transmission.

-The info= rmation contained in this message may be confidential and proprietary to Am= erican Megatrends (AMI). This communication is intended to be read only by the individual or entity to whom it is address= ed or by their designee. If the reader of this message is not the intended = recipient, you are on notice that any distribution of this message, in any = form, is strictly prohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600= , and then delete or destroy all copies of the transmission.

-The information contained in this message may be confidential and propriet= ary to American Megatrends (AMI). This communication is intended to be read= only by the individual or entity to whom it is addressed or by their desig= nee. If the reader of this message is not the intended recipient, you are on notice that any distribution of = this message, in any form, is strictly prohibited. Please promptly notify t= he sender by reply e-mail or by telephone at 770-246-8600, and then delete = or destroy all copies of the transmission.
_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#112916) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--_000_DS7PR10MB516729203E504C3B0658C0CED596ADS7PR10MB5167namp_--