[edk2-devel] [PATCH][edk2-platforms 0/5] Add support for RD-N2 platform

Aditya Angadi posted 5 patches 3 years, 3 months ago
Failed in applying to current master (apply log)
Platform/ARM/SgiPkg/AcpiTables/RdN2/Dsdt.asl  | 112 ++++++++++++++
Platform/ARM/SgiPkg/AcpiTables/RdN2/Madt.aslc | 137 ++++++++++++++++++
.../ARM/SgiPkg/AcpiTables/RdN2AcpiTables.inf  |  60 ++++++++
Platform/ARM/SgiPkg/AcpiTables/SsdtRos.asl    |  19 +--
Platform/ARM/SgiPkg/Include/SgiPlatform.h     |  32 ----
.../SgiPkg/Library/NorFlashLib/NorFlashLib.c  |  12 +-
.../Library/NorFlashLib/NorFlashLib.inf       |   7 +-
.../Library/PlatformLib/PlatformLib.inf       |   6 +
.../Library/PlatformLib/PlatformLibMem.c      |  34 ++---
Platform/ARM/SgiPkg/RdE1Edge/RdE1Edge.dsc     |   1 +
Platform/ARM/SgiPkg/RdN1Edge/RdN1Edge.dsc     |   1 +
Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc |   1 +
.../SgiPkg/{RdV1/RdV1.dsc => RdN2/RdN2.dsc}   |  11 +-
Platform/ARM/SgiPkg/RdN2/RdN2.fdf.inc         |  10 ++
Platform/ARM/SgiPkg/RdV1/RdV1.dsc             |   1 +
Platform/ARM/SgiPkg/RdV1Mc/RdV1Mc.dsc         |   1 +
Platform/ARM/SgiPkg/Sgi575/Sgi575.dsc         |   1 +
Platform/ARM/SgiPkg/SgiMemoryMap.dsc.inc      |  46 ++++++
Platform/ARM/SgiPkg/SgiMemoryMap2.dsc.inc     |  46 ++++++
Platform/ARM/SgiPkg/SgiPlatform.dec           |   5 +
Platform/ARM/SgiPkg/SgiPlatform.dsc.inc       |  25 +---
Platform/ARM/SgiPkg/SgiPlatform.fdf           |   4 -
22 files changed, 462 insertions(+), 110 deletions(-)
create mode 100644 Platform/ARM/SgiPkg/AcpiTables/RdN2/Dsdt.asl
create mode 100644 Platform/ARM/SgiPkg/AcpiTables/RdN2/Madt.aslc
create mode 100644 Platform/ARM/SgiPkg/AcpiTables/RdN2AcpiTables.inf
copy Platform/ARM/SgiPkg/{RdV1/RdV1.dsc => RdN2/RdN2.dsc} (80%)
create mode 100644 Platform/ARM/SgiPkg/RdN2/RdN2.fdf.inc
create mode 100644 Platform/ARM/SgiPkg/SgiMemoryMap.dsc.inc
create mode 100644 Platform/ARM/SgiPkg/SgiMemoryMap2.dsc.inc
[edk2-devel] [PATCH][edk2-platforms 0/5] Add support for RD-N2 platform
Posted by Aditya Angadi 3 years, 3 months ago
This patch series refactors existing code to support addition of
upcoming derivatives of RD platforms. It also adds support for the new
RD-N2 platform. 

The upcoming derivative platforms that are being added have a different
memory map from the existing ones. In order to accomodate this change,
the macros that define base addresses have been refactored into PCDs.
This allows defining a different base addresses for newer platforms.

The second patch removes the use SMSC Lan91x controller from all the supported
platforms under SgiPkg as all the platforms have been migrated to use VirtIO.

The last three patches in the series add support for RD-N2 platform

Aditya Angadi (5):
  Platform/ARM/SgiPkg: Use PCD for base addresses
  Platform/ARM/SgiPkg: remove the use of SMSC Lan91x controller
  Platform/ARM/SgiPkg: Define base address PCD for derivative platforms
  Platform/ARM/SgiPkg: Add ACPI tables for RD-N2 platform
  Platform/ARM/SgiPkg: Add initial support for RD-N2 platform

 Platform/ARM/SgiPkg/AcpiTables/RdN2/Dsdt.asl  | 112 ++++++++++++++
 Platform/ARM/SgiPkg/AcpiTables/RdN2/Madt.aslc | 137 ++++++++++++++++++
 .../ARM/SgiPkg/AcpiTables/RdN2AcpiTables.inf  |  60 ++++++++
 Platform/ARM/SgiPkg/AcpiTables/SsdtRos.asl    |  19 +--
 Platform/ARM/SgiPkg/Include/SgiPlatform.h     |  32 ----
 .../SgiPkg/Library/NorFlashLib/NorFlashLib.c  |  12 +-
 .../Library/NorFlashLib/NorFlashLib.inf       |   7 +-
 .../Library/PlatformLib/PlatformLib.inf       |   6 +
 .../Library/PlatformLib/PlatformLibMem.c      |  34 ++---
 Platform/ARM/SgiPkg/RdE1Edge/RdE1Edge.dsc     |   1 +
 Platform/ARM/SgiPkg/RdN1Edge/RdN1Edge.dsc     |   1 +
 Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc |   1 +
 .../SgiPkg/{RdV1/RdV1.dsc => RdN2/RdN2.dsc}   |  11 +-
 Platform/ARM/SgiPkg/RdN2/RdN2.fdf.inc         |  10 ++
 Platform/ARM/SgiPkg/RdV1/RdV1.dsc             |   1 +
 Platform/ARM/SgiPkg/RdV1Mc/RdV1Mc.dsc         |   1 +
 Platform/ARM/SgiPkg/Sgi575/Sgi575.dsc         |   1 +
 Platform/ARM/SgiPkg/SgiMemoryMap.dsc.inc      |  46 ++++++
 Platform/ARM/SgiPkg/SgiMemoryMap2.dsc.inc     |  46 ++++++
 Platform/ARM/SgiPkg/SgiPlatform.dec           |   5 +
 Platform/ARM/SgiPkg/SgiPlatform.dsc.inc       |  25 +---
 Platform/ARM/SgiPkg/SgiPlatform.fdf           |   4 -
 22 files changed, 462 insertions(+), 110 deletions(-)
 create mode 100644 Platform/ARM/SgiPkg/AcpiTables/RdN2/Dsdt.asl
 create mode 100644 Platform/ARM/SgiPkg/AcpiTables/RdN2/Madt.aslc
 create mode 100644 Platform/ARM/SgiPkg/AcpiTables/RdN2AcpiTables.inf
 copy Platform/ARM/SgiPkg/{RdV1/RdV1.dsc => RdN2/RdN2.dsc} (80%)
 create mode 100644 Platform/ARM/SgiPkg/RdN2/RdN2.fdf.inc
 create mode 100644 Platform/ARM/SgiPkg/SgiMemoryMap.dsc.inc
 create mode 100644 Platform/ARM/SgiPkg/SgiMemoryMap2.dsc.inc

-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#69190): https://edk2.groups.io/g/devel/message/69190
Mute This Topic: https://groups.io/mt/79061402/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH][edk2-platforms 0/5] Add support for RD-N2 platform
Posted by Ard Biesheuvel 3 years, 2 months ago
On 12/18/20 3:07 PM, Aditya Angadi wrote:
> This patch series refactors existing code to support addition of
> upcoming derivatives of RD platforms. It also adds support for the new
> RD-N2 platform. 
> 
> The upcoming derivative platforms that are being added have a different
> memory map from the existing ones. In order to accomodate this change,
> the macros that define base addresses have been refactored into PCDs.
> This allows defining a different base addresses for newer platforms.
> 
> The second patch removes the use SMSC Lan91x controller from all the supported
> platforms under SgiPkg as all the platforms have been migrated to use VirtIO.
> 
> The last three patches in the series add support for RD-N2 platform
> 
> Aditya Angadi (5):
>   Platform/ARM/SgiPkg: Use PCD for base addresses
>   Platform/ARM/SgiPkg: remove the use of SMSC Lan91x controller
>   Platform/ARM/SgiPkg: Define base address PCD for derivative platforms
>   Platform/ARM/SgiPkg: Add ACPI tables for RD-N2 platform
>   Platform/ARM/SgiPkg: Add initial support for RD-N2 platform
> 

Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>

Pushed as e5b67b60b7e9..3ada6025ce23

Thanks,
Ard.


>  Platform/ARM/SgiPkg/AcpiTables/RdN2/Dsdt.asl  | 112 ++++++++++++++
>  Platform/ARM/SgiPkg/AcpiTables/RdN2/Madt.aslc | 137 ++++++++++++++++++
>  .../ARM/SgiPkg/AcpiTables/RdN2AcpiTables.inf  |  60 ++++++++
>  Platform/ARM/SgiPkg/AcpiTables/SsdtRos.asl    |  19 +--
>  Platform/ARM/SgiPkg/Include/SgiPlatform.h     |  32 ----
>  .../SgiPkg/Library/NorFlashLib/NorFlashLib.c  |  12 +-
>  .../Library/NorFlashLib/NorFlashLib.inf       |   7 +-
>  .../Library/PlatformLib/PlatformLib.inf       |   6 +
>  .../Library/PlatformLib/PlatformLibMem.c      |  34 ++---
>  Platform/ARM/SgiPkg/RdE1Edge/RdE1Edge.dsc     |   1 +
>  Platform/ARM/SgiPkg/RdN1Edge/RdN1Edge.dsc     |   1 +
>  Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc |   1 +
>  .../SgiPkg/{RdV1/RdV1.dsc => RdN2/RdN2.dsc}   |  11 +-
>  Platform/ARM/SgiPkg/RdN2/RdN2.fdf.inc         |  10 ++
>  Platform/ARM/SgiPkg/RdV1/RdV1.dsc             |   1 +
>  Platform/ARM/SgiPkg/RdV1Mc/RdV1Mc.dsc         |   1 +
>  Platform/ARM/SgiPkg/Sgi575/Sgi575.dsc         |   1 +
>  Platform/ARM/SgiPkg/SgiMemoryMap.dsc.inc      |  46 ++++++
>  Platform/ARM/SgiPkg/SgiMemoryMap2.dsc.inc     |  46 ++++++
>  Platform/ARM/SgiPkg/SgiPlatform.dec           |   5 +
>  Platform/ARM/SgiPkg/SgiPlatform.dsc.inc       |  25 +---
>  Platform/ARM/SgiPkg/SgiPlatform.fdf           |   4 -
>  22 files changed, 462 insertions(+), 110 deletions(-)
>  create mode 100644 Platform/ARM/SgiPkg/AcpiTables/RdN2/Dsdt.asl
>  create mode 100644 Platform/ARM/SgiPkg/AcpiTables/RdN2/Madt.aslc
>  create mode 100644 Platform/ARM/SgiPkg/AcpiTables/RdN2AcpiTables.inf
>  copy Platform/ARM/SgiPkg/{RdV1/RdV1.dsc => RdN2/RdN2.dsc} (80%)
>  create mode 100644 Platform/ARM/SgiPkg/RdN2/RdN2.fdf.inc
>  create mode 100644 Platform/ARM/SgiPkg/SgiMemoryMap.dsc.inc
>  create mode 100644 Platform/ARM/SgiPkg/SgiMemoryMap2.dsc.inc
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#69614): https://edk2.groups.io/g/devel/message/69614
Mute This Topic: https://groups.io/mt/79061402/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-