mbox series

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

Message ID 20180607150818.14393-1-ard.biesheuvel@linaro.org
Headers show
Series DeveloperBox: prepare for expanding the capsule payload | expand

Message

Ard Biesheuvel June 7, 2018, 3:08 p.m. UTC
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

Comments

Ard Biesheuvel June 7, 2018, 4:06 p.m. UTC | #1
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