Hi Leif,
Thanks a lot, everything works fine on tianocore and linaro master branches!
Best regards, Marcin
2016-12-07 11:59 GMT+01:00 Leif Lindholm leif.lindholm@linaro.org:
On Wed, Nov 30, 2016 at 11:46:39PM +0100, Marcin Wojtas wrote:
Hi Leif,
Quick resend of the patchset with minor correction pointed in v3.
The code can be also found in github: https://github.com/MarvellEmbeddedProcessors/edk2-open-platform/commits/opp-...
We will pop the champagne after NonDiscoverable merge, but thank you very much for your help and support getting all Armada 70x0 stuff into the tree.
Ard has pushed the required NonDiscoverable patches to EDK2, so I have now pushed this support to OpenPlatformPkg master.
Pop ahead.
Regards,
Leif
Best regards, Marcin
Changelog: v3 -> v4
- Change SPI_ID_SIZE to sizeof (UINT32)
- Add reviewed-by
v2 -> v3
- Rename header structure to MV_FIRMWARE_IMAGE_HEADER
- Add STATIC attribute where possible
- Improve flash probe (add comments, use UINT32, SPI_ID_SIZE define and SwapBytes32)
- Use CalculateSum32() instead of custom implementation
- Improve prints when parsing image path
- Sort HiiGuid in Marvell.dec
- Improve help in .uni file
v1 -> v2
- Remove executing external shell commands from commandline - now only local files can be burnt to flash
- Add MARVELL_SPI_FLASH_PROTOCOL and MARVELL_SPI_MASTER_PROTOCOL usage
- In order to be standalone command, enable detecting and configuring SPI flash
- Style cleanup and new comments
Jan Dąbroś (2): Applications/FirmwareUpdate: Add 'fupdate' comand to shell Platforms/Marvell: Enable 'fupdate' command on Armada70x0 platform
Applications/FirmwareUpdate/FUpdate.c | 413 ++++++++++++++++++++++++++++++++ Applications/FirmwareUpdate/FUpdate.inf | 75 ++++++ Applications/FirmwareUpdate/FUpdate.uni | Bin 0 -> 5146 bytes Platforms/Marvell/Armada/Armada.dsc.inc | 1 + Platforms/Marvell/Marvell.dec | 1 + 5 files changed, 490 insertions(+) create mode 100644 Applications/FirmwareUpdate/FUpdate.c create mode 100644 Applications/FirmwareUpdate/FUpdate.inf create mode 100644 Applications/FirmwareUpdate/FUpdate.uni
-- 1.8.3.1