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.136; helo=mga12.intel.com; envelope-from=brian.richardson@intel.com; receiver=edk2-devel@lists.01.org Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (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 8C3A6211944D0 for ; Tue, 4 Dec 2018 06:21:37 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Dec 2018 06:21:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,314,1539673200"; d="scan'208";a="299204701" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by fmsmga006.fm.intel.com with ESMTP; 04 Dec 2018 06:21:36 -0800 Received: from orsmsx112.amr.corp.intel.com ([169.254.3.8]) by ORSMSX104.amr.corp.intel.com ([169.254.4.124]) with mapi id 14.03.0415.000; Tue, 4 Dec 2018 06:21:36 -0800 From: "Richardson, Brian" To: Andrew Fish , Guy Raviv CC: "edk2-devel@lists.01.org" Thread-Topic: [edk2] Creating my own flashing app Thread-Index: AQHUi4F7OxQJro3VVEGPTJfY3Nmi0aVuhqoAgAAAxICAAB60AP//+kGw Date: Tue, 4 Dec 2018 14:21:35 +0000 Message-ID: <80AC2BAA3152784F98F581129E5CF5AFBD71D3C8@ORSMSX112.amr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMmYyYTVkOTUtZjgyMy00ZjkyLWFlOGYtZTkxY2EwOGY0OTVkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWlRDbkRzUVZwNEFjanVrWlhEMjlFUU16cEFUVFR1c1FTNzJSSE1YUEdDc2gxc2h3WlwvcGsyVDBFaEhKa2hHc2IifQ== dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.22.254.138] MIME-Version: 1.0 Subject: Re: Creating my own flashing app X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2018 14:21:37 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Guy: I would follow Andrew's advice and investigate the use of Secure Capsule t= o implement SPI Flash Update. This is becoming the standard, and has a numb= er of advantages (signed, OS independent, platform independent, compatible = with fwupd.org & Windows Update workflow). General information is on the TianoCore wiki: https://github.com/tianocore/tianocore.github.io/wiki/Capsule-Based-Firmwa= re-Update-and-Firmware-Recovery=20 There is a capsule-based update app in EDK II: https://github.com/tianocore/edk2/tree/master/MdeModulePkg/Application/Cap= suleApp Thanks ... br --- Brian Richardson -- Director, Firmware Ecosystem Development brian.richardson@intel.com -- @intel_brian (Twitter & WeChat) https://software.intel.com/en-us/meet-the-developers/evangelists/team/bria= n-richardson=20 -----Original Message----- From: edk2-devel On Behalf Of Andrew Fis= h Sent: Tuesday, December 4, 2018 1:35 AM To: Guy Raviv Cc: edk2-devel@lists.01.org Subject: Re: [edk2] Creating my own flashing app On a secure platform you likely need to update using a secure capsule.=20 https://github.com/tianocore/tianocore.github.io/wiki/Capsule-Based-Firmwa= re-Update-and-Firmware-Recovery =20 The capsule is the standard method, and then all the FLASH update code is = part of the ROM. Generally since an EFI platform has NVRAM services in the NOR FLASH there = is an SPI driver to write to FLASH. So if your platform does not secure FLASH you can use the services from th= e ROM. > On Dec 3, 2018, at 8:45 PM, Guy Raviv wrote: >=20 > a whole SPI BIOS image. > if i was not clear please tell me what i'm missing. >=20 > Thanks! > Guy >=20 > =09Virus-free. www.avg.com >=20 >> On Tue, Dec 4, 2018 at 6:42 AM Andrew Fish wrote: >> Guy, >>=20 >> What are you trying to FLASH? >>=20 >> Thanks, >>=20 >> Andrew Fish >>=20 >> > On Dec 3, 2018, at 7:28 PM, Guy Raviv wrote: >> >=20 >> > Hi, >> >=20 >> > I want to create my own flashing utility. >> > Is there any EDKII App/Utilities that can help me? >> >=20 >> > Thanks, >> > Guy >> >=20 >> > >> > Virus-free. >> > www.avg.com >> > >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >> > _______________________________________________ >> > edk2-devel mailing list >> > edk2-devel@lists.01.org >> > https://lists.01.org/mailman/listinfo/edk2-devel >>=20 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel