public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [platforms PATCH v3 0/5] Armada capsule support
@ 2018-06-04 16:41 Marcin Wojtas
  2018-06-04 16:41 ` [platforms PATCH v3 1/5] Marvell/Armada70x0Db: Shift main FV from 0x0 address Marcin Wojtas
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Marcin Wojtas @ 2018-06-04 16:41 UTC (permalink / raw)
  To: edk2-devel; +Cc: leif.lindholm, ard.biesheuvel, mw, jsd, jinghua, jaz, davidsn

Hi,

This is a third version of the Marvell Armada SoCs capsule support.
I spotted minor issue in 3/5, so I resend entire series instead of
only 5/5. The last patch introduces significant change in the final
capsule generation - copying file is not required, a path to it has to
be passed with new '-D ARM_TRUSTED_FIRMWARE_IMAGE_PREFIX'.
Also now the .dsc/.fdf files are common for Armada7k8k SoC family,
so during capsule generation appropriate '-D PLATFORM_NAME' parameter
is required.
More details can be found in the commit logs and a changelog
below.

The code is also available in the github:
https://github.com/MarvellEmbeddedProcessors/edk2-open-platform/commits/capsule-upstream-r20180604-2

I am looking forward to the comments/remarks.

Best regards,
Marcin

Changelog:
v2 -> v3:
1,2,3,4/5
  * Add Leif's RBs
3/5
  * Correct parameters in a debug print
5/5
  * Pass platform name and a path to flash-image.bin as capsule
    build parameters.
  * Move .dsc/.fdf files under Silicon/Marvell/Armada7k8k, so that
    they can be reused by all boards added in future
  * Update commit log.

v1 -> v2:
1/5
  * Add RB
2/5
  * Move PEI stack base to the end of 2MB region reserved for ARM-TF PSCI
3/5
  * New patch adding progress API usage in SPI flash protocol
4/5
  * Add PerformFlashWriteWithProgress


David Sniatkiwicz (1):
  Marvell/Armada7k8k: Introduce capsule FW update implementation

Marcin Wojtas (4):
  Marvell/Armada70x0Db: Shift main FV from 0x0 address
  Marvell/Aramda7k8k: Enable PEI booting stage
  Marvell/Drivers: MvSpiFlashDxe: Add progress API
  Marvell/Armada7k8k: Wire up capsule support

 Platform/Marvell/Armada70x0Db/Armada70x0Db.fdf                                                       |  96 +++++-
 Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc                                                        |  81 ++++-
 Silicon/Marvell/Armada7k8k/Armada7k8kCapsule.dsc                                                     |  46 +++
 Silicon/Marvell/Armada7k8k/Armada7k8kCapsule.fdf                                                     |  70 +++++
 Silicon/Marvell/Armada7k8k/Feature/Capsule/PlatformFlashAccessLib/PlatformFlashAccessLib.c           | 329 ++++++++++++++++++++
 Silicon/Marvell/Armada7k8k/Feature/Capsule/PlatformFlashAccessLib/PlatformFlashAccessLib.inf         |  52 ++++
 Silicon/Marvell/Armada7k8k/Feature/Capsule/SystemFirmwareDescriptor/SystemFirmwareDescriptor.aslc    |  81 +++++
 Silicon/Marvell/Armada7k8k/Feature/Capsule/SystemFirmwareDescriptor/SystemFirmwareDescriptor.inf     |  50 +++
 Silicon/Marvell/Armada7k8k/Feature/Capsule/SystemFirmwareDescriptor/SystemFirmwareDescriptorPei.c    |  74 +++++
 Silicon/Marvell/Armada7k8k/Feature/Capsule/SystemFirmwareUpdateConfig/SystemFirmwareUpdateConfig.ini |  26 ++
 Silicon/Marvell/Drivers/Spi/MvSpiFlashDxe/MvSpiFlashDxe.c                                            |  60 ++++
 Silicon/Marvell/Include/Protocol/SpiFlash.h                                                          |  14 +
 12 files changed, 971 insertions(+), 8 deletions(-)
 create mode 100644 Silicon/Marvell/Armada7k8k/Armada7k8kCapsule.dsc
 create mode 100644 Silicon/Marvell/Armada7k8k/Armada7k8kCapsule.fdf
 create mode 100644 Silicon/Marvell/Armada7k8k/Feature/Capsule/PlatformFlashAccessLib/PlatformFlashAccessLib.c
 create mode 100644 Silicon/Marvell/Armada7k8k/Feature/Capsule/PlatformFlashAccessLib/PlatformFlashAccessLib.inf
 create mode 100644 Silicon/Marvell/Armada7k8k/Feature/Capsule/SystemFirmwareDescriptor/SystemFirmwareDescriptor.aslc
 create mode 100644 Silicon/Marvell/Armada7k8k/Feature/Capsule/SystemFirmwareDescriptor/SystemFirmwareDescriptor.inf
 create mode 100644 Silicon/Marvell/Armada7k8k/Feature/Capsule/SystemFirmwareDescriptor/SystemFirmwareDescriptorPei.c
 create mode 100644 Silicon/Marvell/Armada7k8k/Feature/Capsule/SystemFirmwareUpdateConfig/SystemFirmwareUpdateConfig.ini

-- 
2.7.4



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-06-04 19:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-04 16:41 [platforms PATCH v3 0/5] Armada capsule support Marcin Wojtas
2018-06-04 16:41 ` [platforms PATCH v3 1/5] Marvell/Armada70x0Db: Shift main FV from 0x0 address Marcin Wojtas
2018-06-04 16:41 ` [platforms PATCH v3 2/5] Marvell/Aramda7k8k: Enable PEI booting stage Marcin Wojtas
2018-06-04 16:41 ` [platforms PATCH v3 3/5] Marvell/Drivers: MvSpiFlashDxe: Add progress API Marcin Wojtas
2018-06-04 16:41 ` [platforms PATCH v3 4/5] Marvell/Armada7k8k: Introduce capsule FW update implementation Marcin Wojtas
2018-06-04 16:41 ` [platforms PATCH v3 5/5] Marvell/Armada7k8k: Wire up capsule support Marcin Wojtas
2018-06-04 16:47   ` Ard Biesheuvel
2018-06-04 16:58     ` Marcin Wojtas
2018-06-04 17:00       ` Ard Biesheuvel
2018-06-04 17:38       ` Leif Lindholm
2018-06-04 19:03         ` Marcin Wojtas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox