[edk2] [PATCH edk2-platforms 0/2] DeveloperBox: prepare for expanding the capsule payload

Ard Biesheuvel posted 2 patches 5 years, 9 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
.../NorFlashSynQuacerLib/NorFlashSynQuacer.c  |  5 +-
.../SynQuacerPlatformFlashAccessLib.c         | 53 +++++++++----------
2 files changed, 28 insertions(+), 30 deletions(-)
[edk2] [PATCH edk2-platforms 0/2] DeveloperBox: prepare for expanding the capsule payload
Posted by Ard Biesheuvel 5 years, 9 months ago
We intend to start distributing firmware update capsules that include the SCP
firmware partition. In order to allow for more flexibility regarding whether
a capsule contains this piece or not, update the flash access routines and
the flash partition descriptions so we can update any part of the first
4 MB, consisting of the CM3 bootstrap code, emergency flasher, pseudo
EEPROM, SCP firmware, ARM-TF and UEFI.

Note that this means we can drop the 'TEMPORARY' patch I proposed a while
ago to hack around this limitation.

Ard Biesheuvel (2):
  Silicon/SynQuacerPlatformFlashAccessLib: relax FV address check
  Silicon/NorFlashSynQuacerLib: describe entire firmware region as FV

 .../NorFlashSynQuacerLib/NorFlashSynQuacer.c  |  5 +-
 .../SynQuacerPlatformFlashAccessLib.c         | 53 +++++++++----------
 2 files changed, 28 insertions(+), 30 deletions(-)

-- 
2.17.0

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH edk2-platforms 0/2] DeveloperBox: prepare for expanding the capsule payload
Posted by Ard Biesheuvel 5 years, 9 months ago
On 7 June 2018 at 17:08, Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:
> We intend to start distributing firmware update capsules that include the SCP
> firmware partition. In order to allow for more flexibility regarding whether
> a capsule contains this piece or not, update the flash access routines and
> the flash partition descriptions so we can update any part of the first
> 4 MB, consisting of the CM3 bootstrap code, emergency flasher, pseudo
> EEPROM, SCP firmware, ARM-TF and UEFI.
>
> Note that this means we can drop the 'TEMPORARY' patch I proposed a while
> ago to hack around this limitation.
>

Additional note: this approach allows you to downgrade to older
capsules as well, although
a) you will keep the newer versions of the pieces that the older
capsule does not cover
b) upgrading to the latest version will require you to go via an
intermediate version that includes these changes.

> Ard Biesheuvel (2):
>   Silicon/SynQuacerPlatformFlashAccessLib: relax FV address check
>   Silicon/NorFlashSynQuacerLib: describe entire firmware region as FV
>
>  .../NorFlashSynQuacerLib/NorFlashSynQuacer.c  |  5 +-
>  .../SynQuacerPlatformFlashAccessLib.c         | 53 +++++++++----------
>  2 files changed, 28 insertions(+), 30 deletions(-)
>
> --
> 2.17.0
>
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel