mbox series

[Linaro-uefi,v2,00/10] Platforms/AMD/Styx: various Cello related fixes

Message ID 20170627132145.28159-1-ard.biesheuvel@linaro.org
Headers show
Series Platforms/AMD/Styx: various Cello related fixes | expand

Message

Ard Biesheuvel June 27, 2017, 1:21 p.m. UTC
A couple of fixes I applied to get Cello in a slightly better shape
(although the observed SATA timeout issue requires a change in the
core code)

v2:
- added patch to disable second SATA controller on Overdrive
- use correct port mode mask for overdrive (#3)
- update binary AmdModulePkg modules to latest version
- add UEFI shell app to reflash to EFI code partition in the NOR
- add SMMU enable switch to Cello and Overdrive 1000

Ard Biesheuvel (10):
  Platforms/AMD/Styx: remove incorrect timer frequency
  Platforms/AMD/Overdrive: disable second SATA port
  Platforms/AMD/Styx: set SATA port mode to Gen3 on all ports
  Platforms/AMD/StyxDtbLoaderLib: disable SMMUs for absent hardware
  Platform/AMD/Styx: add SMMU override to Cello and Overdrive1000
  Platforms/AMD/Cello: add device tree support
  Platforms/AMD/Cello: reduce core count to 4
  Platforms/AMD/Cello: set firmware vendor field to 'LeMaker Cello'
  Platforms/AMD/Styx/Binary: update binary modules to latest version
  Platforms/AMD/Styx: add command line flash tool

 Platforms/AMD/Styx/Applications/StyxFlashUefi/Scripts/GccBase.lds |  86 ++++++++++++++++++
 Platforms/AMD/Styx/Applications/StyxFlashUefi/StyxFlashImage.S    |  25 +++++
 Platforms/AMD/Styx/Applications/StyxFlashUefi/StyxFlashUefi.c     |  96 ++++++++++++++++++++
 Platforms/AMD/Styx/Applications/StyxFlashUefi/StyxFlashUefi.inf   |  53 +++++++++++
 Platforms/AMD/Styx/Binary/AmdModulePkg/Gionb/Gionb.efi            | Bin 43296 -> 36768 bytes
 Platforms/AMD/Styx/Binary/AmdModulePkg/Gionb/Gionb.inf            |  14 ++-
 Platforms/AMD/Styx/Binary/AmdModulePkg/Iscp/IscpDxe.efi           | Bin 262144 -> 262144 bytes
 Platforms/AMD/Styx/Binary/AmdModulePkg/Iscp/IscpPei.efi           | Bin 10336 -> 6976 bytes
 Platforms/AMD/Styx/Binary/AmdModulePkg/SnpDxe/SnpDxePort0.efi     | Bin 30272 -> 24992 bytes
 Platforms/AMD/Styx/Binary/AmdModulePkg/SnpDxe/SnpDxePort1.efi     | Bin 30272 -> 24992 bytes
 Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc                      |  39 ++++++--
 Platforms/AMD/Styx/CelloBoard/CelloBoard.fdf                      |   9 ++
 Platforms/AMD/Styx/Library/StyxDtbLoaderLib/StyxDtbLoaderLib.c    |   9 +-
 Platforms/AMD/Styx/Overdrive1000Board/Overdrive1000Board.dsc      |  19 ++--
 Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc              |  20 ++--
 15 files changed, 338 insertions(+), 32 deletions(-)
 create mode 100644 Platforms/AMD/Styx/Applications/StyxFlashUefi/Scripts/GccBase.lds
 create mode 100644 Platforms/AMD/Styx/Applications/StyxFlashUefi/StyxFlashImage.S
 create mode 100644 Platforms/AMD/Styx/Applications/StyxFlashUefi/StyxFlashUefi.c
 create mode 100644 Platforms/AMD/Styx/Applications/StyxFlashUefi/StyxFlashUefi.inf

Comments

Leif Lindholm June 27, 2017, 4:39 p.m. UTC | #1
On Tue, Jun 27, 2017 at 01:21:35PM +0000, Ard Biesheuvel wrote:
> A couple of fixes I applied to get Cello in a slightly better shape
> (although the observed SATA timeout issue requires a change in the
> core code)
> 
> v2:
> - added patch to disable second SATA controller on Overdrive
> - use correct port mode mask for overdrive (#3)
> - update binary AmdModulePkg modules to latest version
> - add UEFI shell app to reflash to EFI code partition in the NOR
> - add SMMU enable switch to Cello and Overdrive 1000

For 1-2,7-8
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>

> Ard Biesheuvel (10):
>   Platforms/AMD/Styx: remove incorrect timer frequency
>   Platforms/AMD/Overdrive: disable second SATA port
>   Platforms/AMD/Styx: set SATA port mode to Gen3 on all ports
>   Platforms/AMD/StyxDtbLoaderLib: disable SMMUs for absent hardware
>   Platform/AMD/Styx: add SMMU override to Cello and Overdrive1000
>   Platforms/AMD/Cello: add device tree support
>   Platforms/AMD/Cello: reduce core count to 4
>   Platforms/AMD/Cello: set firmware vendor field to 'LeMaker Cello'
>   Platforms/AMD/Styx/Binary: update binary modules to latest version
>   Platforms/AMD/Styx: add command line flash tool
> 
>  Platforms/AMD/Styx/Applications/StyxFlashUefi/Scripts/GccBase.lds |  86 ++++++++++++++++++
>  Platforms/AMD/Styx/Applications/StyxFlashUefi/StyxFlashImage.S    |  25 +++++
>  Platforms/AMD/Styx/Applications/StyxFlashUefi/StyxFlashUefi.c     |  96 ++++++++++++++++++++
>  Platforms/AMD/Styx/Applications/StyxFlashUefi/StyxFlashUefi.inf   |  53 +++++++++++
>  Platforms/AMD/Styx/Binary/AmdModulePkg/Gionb/Gionb.efi            | Bin 43296 -> 36768 bytes
>  Platforms/AMD/Styx/Binary/AmdModulePkg/Gionb/Gionb.inf            |  14 ++-
>  Platforms/AMD/Styx/Binary/AmdModulePkg/Iscp/IscpDxe.efi           | Bin 262144 -> 262144 bytes
>  Platforms/AMD/Styx/Binary/AmdModulePkg/Iscp/IscpPei.efi           | Bin 10336 -> 6976 bytes
>  Platforms/AMD/Styx/Binary/AmdModulePkg/SnpDxe/SnpDxePort0.efi     | Bin 30272 -> 24992 bytes
>  Platforms/AMD/Styx/Binary/AmdModulePkg/SnpDxe/SnpDxePort1.efi     | Bin 30272 -> 24992 bytes
>  Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc                      |  39 ++++++--
>  Platforms/AMD/Styx/CelloBoard/CelloBoard.fdf                      |   9 ++
>  Platforms/AMD/Styx/Library/StyxDtbLoaderLib/StyxDtbLoaderLib.c    |   9 +-
>  Platforms/AMD/Styx/Overdrive1000Board/Overdrive1000Board.dsc      |  19 ++--
>  Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc              |  20 ++--
>  15 files changed, 338 insertions(+), 32 deletions(-)
>  create mode 100644 Platforms/AMD/Styx/Applications/StyxFlashUefi/Scripts/GccBase.lds
>  create mode 100644 Platforms/AMD/Styx/Applications/StyxFlashUefi/StyxFlashImage.S
>  create mode 100644 Platforms/AMD/Styx/Applications/StyxFlashUefi/StyxFlashUefi.c
>  create mode 100644 Platforms/AMD/Styx/Applications/StyxFlashUefi/StyxFlashUefi.inf
> 
> -- 
> 2.9.3
>