From: Leif Lindholm <leif.lindholm@linaro.org>
To: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: edk2-devel@lists.01.org
Subject: Re: [RFC PATCH edk2-platforms 0/6] expand capsule to include SCP firmware
Date: Fri, 1 Jun 2018 10:51:50 +0100 [thread overview]
Message-ID: <20180601095150.pfw65whgw7jwb3rd@bivouac.eciton.net> (raw)
In-Reply-To: <20180316161322.6756-1-ard.biesheuvel@linaro.org>
On Fri, Mar 16, 2018 at 04:13:16PM +0000, Ard Biesheuvel wrote:
> Now that the NOR flash layout has been updated to split the actual SCP
> firmware from the startup code and the builtin flasher, we can add the
> SCP image to the capsule update to make it field upgradeable.
>
> This involves some rather nasty plumbing, since making changes to capsule
> update installable via capsule update requires some additional care.
>
> Patch #1 fixes a bug in the FVB handling code of the flash access library.
>
> Patch #2 addresses an issue where we accidentally started to dereference
> arbitrary data as an FV header by incorporating the secure firmware binary
> into the flash device.
>
> Patch #3 is an optimization that speeds up flashing of sparse capsules.
>
> Patch #4 adds a PCD that holds the minimum firmware version that is allowed
> by a platform. We will use this to ensure that systems using the new layout
> cannot be flashed using older capsules, which is unlikely to work in any
> case, but not guaranteed to fail in a harmless manner.
>
> Patch #5 is a temporary hack we will need to use to build capsules that
> allow upgrading from the old layout to the new layout
>
> Patch #6 implements the new layout, and adds support to set the minimum
> version on the build command line.
>
> Ard Biesheuvel (6):
> Silicon/SynQuacerPlatformFlashAccessLib: fix return value on no FVB
> found
> Silicon/SynQuacerPlatformFlashAccessLib: don't dereference FVB header
> fields
> Silicon/SynQuacerPlatformFlashAccessLib: skip empty blocks
> Silicon/SynQuacer: make lowest supported f/w version PCD configurable
> TEMPORARY
> Platform/Socionext/DeveloperBox: add SCP firmware image to capsule
I have a few comments on the 5/6 layout thing, but apart from that I'm
happy with the series. I guess 4 doesn't make much sense before we're
ready to include the SCP firmware in the build.
But still - for 1-4/6:
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Feel free to push as many or as few of those as you like.
> Platform/Socionext/DeveloperBox/DeveloperBox.dsc | 3 ++
> Platform/Socionext/DeveloperBox/DeveloperBox.fdf | 15 ++++---
> Platform/Socionext/DeveloperBox/SystemFirmwareDescriptor/SystemFirmwareDescriptor.inf | 2 +
> Platform/Socionext/DeveloperBox/SystemFirmwareDescriptor/SystemFirmwareDescriptorTable.aslc | 2 +-
> Platform/Socionext/DeveloperBox/SystemFirmwareUpdateConfig/SystemFirmwareUpdateConfig.ini | 4 +-
> Silicon/Socionext/SynQuacer/Library/SynQuacerPlatformFlashAccessLib/SynQuacerPlatformFlashAccessLib.c | 46 ++++++++++++++++----
> Silicon/Socionext/SynQuacer/SynQuacer.dec | 3 ++
> 7 files changed, 58 insertions(+), 17 deletions(-)
>
> --
> 2.15.1
>
next prev parent reply other threads:[~2018-06-01 9:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-16 16:13 [RFC PATCH edk2-platforms 0/6] expand capsule to include SCP firmware Ard Biesheuvel
2018-03-16 16:13 ` [RFC PATCH edk2-platforms 1/6] Silicon/SynQuacerPlatformFlashAccessLib: fix return value on no FVB found Ard Biesheuvel
2018-03-16 16:13 ` [RFC PATCH edk2-platforms 2/6] Silicon/SynQuacerPlatformFlashAccessLib: don't dereference FVB header fields Ard Biesheuvel
2018-03-16 16:13 ` [RFC PATCH edk2-platforms 3/6] Silicon/SynQuacerPlatformFlashAccessLib: skip empty blocks Ard Biesheuvel
2018-03-16 16:13 ` [RFC PATCH edk2-platforms 4/6] Silicon/SynQuacer: make lowest supported f/w version PCD configurable Ard Biesheuvel
2018-03-19 8:12 ` Leif Lindholm
2018-03-19 8:18 ` Ard Biesheuvel
2018-03-19 9:17 ` Zeng, Star
2018-03-16 16:13 ` [RFC PATCH edk2-platforms 5/6] TEMPORARY Ard Biesheuvel
2018-03-16 16:13 ` [RFC PATCH edk2-platforms 6/6] Platform/Socionext/DeveloperBox: add SCP firmware image to capsule Ard Biesheuvel
2018-05-31 6:04 ` [RFC PATCH edk2-platforms 0/6] expand capsule to include SCP firmware Ard Biesheuvel
2018-06-01 9:51 ` Leif Lindholm [this message]
2018-06-01 9:59 ` Ard Biesheuvel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180601095150.pfw65whgw7jwb3rd@bivouac.eciton.net \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox