Hi, This is a second version of the Marvell Armada SoCs capsule support. There are 2 main changes - hiding PEI stack and heap base inside reserved DRAM region and introducing Progress API handling. 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 I am looking forward to the comments/remarks. Best regards, Marcin Changelog: 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 +++++- Platform/Marvell/Armada70x0Db/Armada70x0DbCapsule.dsc | 46 +++ Platform/Marvell/Armada70x0Db/Armada70x0DbCapsule.fdf | 70 +++++ Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc | 81 ++++- 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 Platform/Marvell/Armada70x0Db/Armada70x0DbCapsule.dsc create mode 100644 Platform/Marvell/Armada70x0Db/Armada70x0DbCapsule.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 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

