* Creating my own flashing app
@ 2018-12-04 3:28 Guy Raviv
2018-12-04 4:42 ` Andrew Fish
0 siblings, 1 reply; 6+ messages in thread
From: Guy Raviv @ 2018-12-04 3:28 UTC (permalink / raw)
To: edk2-devel
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>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Creating my own flashing app
2018-12-04 3:28 Creating my own flashing app Guy Raviv
@ 2018-12-04 4:42 ` Andrew Fish
2018-12-04 4:45 ` Guy Raviv
0 siblings, 1 reply; 6+ messages in thread
From: Andrew Fish @ 2018-12-04 4:42 UTC (permalink / raw)
To: Guy Raviv; +Cc: edk2-devel
Guy,
What are you trying to FLASH?
Thanks,
Andrew Fish
> On Dec 3, 2018, at 7:28 PM, Guy Raviv <guyraviv8@gmail.com> 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
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Creating my own flashing app
2018-12-04 4:42 ` Andrew Fish
@ 2018-12-04 4:45 ` Guy Raviv
2018-12-04 4:57 ` Kevin D Davis
2018-12-04 6:35 ` Andrew Fish
0 siblings, 2 replies; 6+ messages in thread
From: Guy Raviv @ 2018-12-04 4:45 UTC (permalink / raw)
To: Andrew Fish; +Cc: edk2-devel
a whole SPI BIOS image.
if i was not clear please tell me what i'm missing.
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>
On Tue, Dec 4, 2018 at 6:42 AM Andrew Fish <afish@apple.com> wrote:
> Guy,
>
> What are you trying to FLASH?
>
> Thanks,
>
> Andrew Fish
>
> > On Dec 3, 2018, at 7:28 PM, Guy Raviv <guyraviv8@gmail.com> 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
> > edk2-devel@lists.01.org
> > https://lists.01.org/mailman/listinfo/edk2-devel
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Creating my own flashing app
2018-12-04 4:45 ` Guy Raviv
@ 2018-12-04 4:57 ` Kevin D Davis
2018-12-04 6:35 ` Andrew Fish
1 sibling, 0 replies; 6+ messages in thread
From: Kevin D Davis @ 2018-12-04 4:57 UTC (permalink / raw)
To: Guy Raviv, Andrew Fish; +Cc: edk2-devel
Ok, so what is going wrong? Have you looked at any of the flash tools in other open source projects?
Kevin
On Mon, Dec 3, 2018 at 10:45 PM -0600, "Guy Raviv" <guyraviv8@gmail.com> 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
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Tue, Dec 4, 2018 at 6:42 AM Andrew Fish wrote:
> Guy,
>
> What are you trying to FLASH?
>
> Thanks,
>
> Andrew Fish
>
> > On Dec 3, 2018, at 7:28 PM, Guy Raviv 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
> > edk2-devel@lists.01.org
> > https://lists.01.org/mailman/listinfo/edk2-devel
>
>
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Creating my own flashing app
2018-12-04 4:45 ` Guy Raviv
2018-12-04 4:57 ` Kevin D Davis
@ 2018-12-04 6:35 ` Andrew Fish
2018-12-04 14:21 ` Richardson, Brian
1 sibling, 1 reply; 6+ messages in thread
From: Andrew Fish @ 2018-12-04 6:35 UTC (permalink / raw)
To: Guy Raviv; +Cc: edk2-devel
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.
> On Dec 3, 2018, at 8:45 PM, Guy Raviv <guyraviv8@gmail.com> 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 <afish@apple.com> wrote:
>> Guy,
>>
>> What are you trying to FLASH?
>>
>> Thanks,
>>
>> Andrew Fish
>>
>> > On Dec 3, 2018, at 7:28 PM, Guy Raviv <guyraviv8@gmail.com> 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
>> > edk2-devel@lists.01.org
>> > https://lists.01.org/mailman/listinfo/edk2-devel
>>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Creating my own flashing app
2018-12-04 6:35 ` Andrew Fish
@ 2018-12-04 14:21 ` Richardson, Brian
0 siblings, 0 replies; 6+ messages in thread
From: Richardson, Brian @ 2018-12-04 14:21 UTC (permalink / raw)
To: Andrew Fish, Guy Raviv; +Cc: edk2-devel@lists.01.org
Guy:
I would follow Andrew's advice and investigate the use of Secure Capsule to implement SPI Flash Update. This is becoming the standard, and has a number 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-Firmware-Update-and-Firmware-Recovery
There is a capsule-based update app in EDK II:
https://github.com/tianocore/edk2/tree/master/MdeModulePkg/Application/CapsuleApp
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/brian-richardson
-----Original Message-----
From: edk2-devel <edk2-devel-bounces@lists.01.org> On Behalf Of Andrew Fish
Sent: Tuesday, December 4, 2018 1:35 AM
To: Guy Raviv <guyraviv8@gmail.com>
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.
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.
> On Dec 3, 2018, at 8:45 PM, Guy Raviv <guyraviv8@gmail.com> 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 <afish@apple.com> wrote:
>> Guy,
>>
>> What are you trying to FLASH?
>>
>> Thanks,
>>
>> Andrew Fish
>>
>> > On Dec 3, 2018, at 7:28 PM, Guy Raviv <guyraviv8@gmail.com> 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
>> > edk2-devel@lists.01.org
>> > https://lists.01.org/mailman/listinfo/edk2-devel
>>
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-12-04 14:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-04 3:28 Creating my own flashing app Guy Raviv
2018-12-04 4:42 ` Andrew Fish
2018-12-04 4:45 ` Guy Raviv
2018-12-04 4:57 ` Kevin D Davis
2018-12-04 6:35 ` Andrew Fish
2018-12-04 14:21 ` Richardson, Brian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox