[edk2-devel] [edk2-platforms][PATCH 00/14] Revise U500 for the latest RISC-V packages.

Abner Chang posted 14 patches 2 years, 5 months ago
Failed in applying to current master (apply log)
.../FreedomU500VC707Board/U500.dsc            |  18 +-
.../FreedomU500VC707Board/U500.fdf            |   8 +
.../FreedomU500VC707Board/DeviceTree.fdf.inc  |  33 +++
.../FreedomU500VC707Board/U500.fdf.inc        |  84 ++++--
.../FreedomU500VC707Board/VarStore.fdf.inc    |   6 +-
.../DeviceTree/U500DeviceTree.inf             |  25 ++
.../OpensbiPlatformLib/OpensbiPlatformLib.inf |  54 ----
.../FreedomU500VC707Board/DeviceTree/gpio.h   |  45 +++
.../DeviceTree/sifive-fu500-prci.h            |  19 ++
.../RiscVSpecialPlatformLib.c                 |   2 +-
.../PlatformPkg/Universal/Sec/SecMain.c       |  14 +-
.../Library/OpensbiPlatformLib/Platform.c     | 206 -------------
.../DeviceTree/fu500-c000.dtsi                | 276 ++++++++++++++++++
.../DeviceTree/hifive-unleashed-a00.dts       | 108 +++++++
14 files changed, 611 insertions(+), 287 deletions(-)
create mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/DeviceTree.fdf.inc
create mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/DeviceTree/U500DeviceTree.inf
delete mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/Library/OpensbiPlatformLib/OpensbiPlatformLib.inf
create mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/DeviceTree/gpio.h
create mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/DeviceTree/sifive-fu500-prci.h
delete mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/Library/OpensbiPlatformLib/Platform.c
create mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/DeviceTree/fu500-c000.dtsi
create mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/DeviceTree/hifive-unleashed-a00.dts
[edk2-devel] [edk2-platforms][PATCH 00/14] Revise U500 for the latest RISC-V packages.
Posted by Abner Chang 2 years, 5 months ago
Incorporate U500 platform with the latest RISC-V ProcessPkg and PlatformPkg.

Signed-off-by: Abner Chang <abner.chang@hpe.com>
Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
Cc: Sunil V L <sunilvl@ventanamicro.com>

Abner Chang (14):
  RiscVPlatformPkg/U500: Pass DTB from PEI to DXE
  RiscVPlatformPkg/U500: Fix up FDT and install into config table
  RiscVPlatformPkg/U500: Use FirmwareContext library
  RiscVPlatformPkg/U500: Use generic platform library
  RiscVPlatformPkg/U500: Creates opensbi firmware domains
  RiscVPlatformPkg/U500: Uses RISC-V PeiCoreEntryPoint library
  RiscVPlatformPkg/U500: Use PlatormSecPpiLib
  RiscVPlatformPkg/U500: U500 uses mtime CSR library
  RiscVPlatformPkg/U500: Determines hart number from DTB
  RiscVPlatformPkg/U500: Use NULL instance of RiscVSpecialPlatformLib
  RiscVPlatformPkg/U500: Add device tree for U500 platform
  RiscVPlatformPkg/U500: Add device tree to build
  Platform/RISC-V: Add debug message to SecMain.c
  Platform/RISC-V: Initialize variable to zero

 .../FreedomU500VC707Board/U500.dsc            |  18 +-
 .../FreedomU500VC707Board/U500.fdf            |   8 +
 .../FreedomU500VC707Board/DeviceTree.fdf.inc  |  33 +++
 .../FreedomU500VC707Board/U500.fdf.inc        |  84 ++++--
 .../FreedomU500VC707Board/VarStore.fdf.inc    |   6 +-
 .../DeviceTree/U500DeviceTree.inf             |  25 ++
 .../OpensbiPlatformLib/OpensbiPlatformLib.inf |  54 ----
 .../FreedomU500VC707Board/DeviceTree/gpio.h   |  45 +++
 .../DeviceTree/sifive-fu500-prci.h            |  19 ++
 .../RiscVSpecialPlatformLib.c                 |   2 +-
 .../PlatformPkg/Universal/Sec/SecMain.c       |  14 +-
 .../Library/OpensbiPlatformLib/Platform.c     | 206 -------------
 .../DeviceTree/fu500-c000.dtsi                | 276 ++++++++++++++++++
 .../DeviceTree/hifive-unleashed-a00.dts       | 108 +++++++
 14 files changed, 611 insertions(+), 287 deletions(-)
 create mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/DeviceTree.fdf.inc
 create mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/DeviceTree/U500DeviceTree.inf
 delete mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/Library/OpensbiPlatformLib/OpensbiPlatformLib.inf
 create mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/DeviceTree/gpio.h
 create mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/DeviceTree/sifive-fu500-prci.h
 delete mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/Library/OpensbiPlatformLib/Platform.c
 create mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/DeviceTree/fu500-c000.dtsi
 create mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/DeviceTree/hifive-unleashed-a00.dts

-- 
2.31.1



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


Re: [edk2-devel] [edk2-platforms][PATCH 00/14] Revise U500 for the latest RISC-V packages.
Posted by Daniel Schaefer 2 years, 5 months ago
Great! U500 confirmed working again and cleanup through generic code.

Reviewed-by: Daniel Schaefer <daniel.schaefer@hpe.com>
________________________________
From: Chang, Abner (HPS SW/FW Technologist) <abner.chang@hpe.com>
Sent: Monday, November 15, 2021 10:56
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: Chang, Abner (HPS SW/FW Technologist) <abner.chang@hpe.com>; Schaefer, Daniel (ROM Janitor) <daniel.schaefer@hpe.com>; Sunil V L <sunilvl@ventanamicro.com>
Subject: [edk2-platforms][PATCH 00/14] Revise U500 for the latest RISC-V packages.

Incorporate U500 platform with the latest RISC-V ProcessPkg and PlatformPkg.

Signed-off-by: Abner Chang <abner.chang@hpe.com>
Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
Cc: Sunil V L <sunilvl@ventanamicro.com>

Abner Chang (14):
  RiscVPlatformPkg/U500: Pass DTB from PEI to DXE
  RiscVPlatformPkg/U500: Fix up FDT and install into config table
  RiscVPlatformPkg/U500: Use FirmwareContext library
  RiscVPlatformPkg/U500: Use generic platform library
  RiscVPlatformPkg/U500: Creates opensbi firmware domains
  RiscVPlatformPkg/U500: Uses RISC-V PeiCoreEntryPoint library
  RiscVPlatformPkg/U500: Use PlatormSecPpiLib
  RiscVPlatformPkg/U500: U500 uses mtime CSR library
  RiscVPlatformPkg/U500: Determines hart number from DTB
  RiscVPlatformPkg/U500: Use NULL instance of RiscVSpecialPlatformLib
  RiscVPlatformPkg/U500: Add device tree for U500 platform
  RiscVPlatformPkg/U500: Add device tree to build
  Platform/RISC-V: Add debug message to SecMain.c
  Platform/RISC-V: Initialize variable to zero

 .../FreedomU500VC707Board/U500.dsc            |  18 +-
 .../FreedomU500VC707Board/U500.fdf            |   8 +
 .../FreedomU500VC707Board/DeviceTree.fdf.inc  |  33 +++
 .../FreedomU500VC707Board/U500.fdf.inc        |  84 ++++--
 .../FreedomU500VC707Board/VarStore.fdf.inc    |   6 +-
 .../DeviceTree/U500DeviceTree.inf             |  25 ++
 .../OpensbiPlatformLib/OpensbiPlatformLib.inf |  54 ----
 .../FreedomU500VC707Board/DeviceTree/gpio.h   |  45 +++
 .../DeviceTree/sifive-fu500-prci.h            |  19 ++
 .../RiscVSpecialPlatformLib.c                 |   2 +-
 .../PlatformPkg/Universal/Sec/SecMain.c       |  14 +-
 .../Library/OpensbiPlatformLib/Platform.c     | 206 -------------
 .../DeviceTree/fu500-c000.dtsi                | 276 ++++++++++++++++++
 .../DeviceTree/hifive-unleashed-a00.dts       | 108 +++++++
 14 files changed, 611 insertions(+), 287 deletions(-)
 create mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/DeviceTree.fdf.inc
 create mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/DeviceTree/U500DeviceTree.inf
 delete mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/Library/OpensbiPlatformLib/OpensbiPlatformLib.inf
 create mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/DeviceTree/gpio.h
 create mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/DeviceTree/sifive-fu500-prci.h
 delete mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/Library/OpensbiPlatformLib/Platform.c
 create mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/DeviceTree/fu500-c000.dtsi
 create mode 100644 Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/DeviceTree/hifive-unleashed-a00.dts

--
2.31.1



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