On a secure platform you likely need to update using a secure capsule. https://github.com/tianocore/tianocore.github.io/wiki/Capsule-Based-Firmware-Update-and-Firmware-Recovery 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 the ROM. Sent from my iPhone > On Dec 3, 2018, at 8:45 PM, Guy Raviv <[email protected]> wrote: > > a whole SPI BIOS image. > if i was not clear please tell me what i'm missing. > > Thanks! > Guy > > Virus-free. www.avg.com > >> On Tue, Dec 4, 2018 at 6:42 AM Andrew Fish <[email protected]> wrote: >> Guy, >> >> What are you trying to FLASH? >> >> Thanks, >> >> Andrew Fish >> >> > On Dec 3, 2018, at 7:28 PM, Guy Raviv <[email protected]> wrote: >> > >> > Hi, >> > >> > I want to create my own flashing utility. >> > Is there any EDKII App/Utilities that can help me? >> > >> > Thanks, >> > Guy >> > >> > <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> >> > Virus-free. >> > www.avg.com >> > <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> >> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >> > _______________________________________________ >> > edk2-devel mailing list >> > [email protected] >> > https://lists.01.org/mailman/listinfo/edk2-devel >> _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

