[edk2-devel] [PATCH 07/15] [platforms/devel-riscv]: RiscV/SiFive: Initial version of SiFive U500 platform package

2019-08-27 Thread Mr. Gilbert Chen
The initial version of SiFive U500 platform package. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- Platform/RiscV/SiFive/U500Pkg/Readme.md| 30 ++ Platform/RiscV/SiFive/U500Pkg/U500.dec | 40 ++ Platform/RiscV/SiFive/U500Pkg/U500.dsc

[edk2-devel] [PATCH 05/15] [platforms/devel-riscv]: RiscV/Library: Initial version of libraries introduced in RISC-V platform package

2019-08-27 Thread Mr. Gilbert Chen
From: Gilbert Chen FirmwareContextProcessorSpecificLib - Common library to consume EFI_RISCV_FIRMWARE_CONTEXT_HART_SPECIFIC and build up processor specific data HOB. RealTimClockLibNull - NULL instance of Real Time Clock library. Contributed-under: TianoCore Contribution Agreement 1.0

[edk2-devel] [PATCH 11/15] [platforms/devel-riscv]: U500Pkg/Library: Library instances of U500 platform library.

2019-08-27 Thread Mr. Gilbert Chen
PeiCoreInfoHobLib - This is the library to create RISC-V core characteristics for building up RISC-V related SMBIOS records to support the unified boot loader and OS image. - RiscVPlatformTimerLib This is U500 platform timer library which has the platform-specific timer implementation. -

[edk2-devel] [PATCH 02/15] [platforms/devel-riscv]: Silicon/SiFive: Add library module of SiFive RISC-V cores

2019-08-27 Thread Mr. Gilbert Chen
From: Gilbert Chen Initial version of SiFive RISC-V core libraries. Library of each core creates processor core SMBIOS data hob for building SMBIOS records in DXE phase. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen ---

[edk2-devel] [PATCH 15/15] [platforms/devel-riscv]: Platforms: Readme file updates

2019-08-27 Thread Mr. Gilbert Chen
From: Gilbert Chen Update Readme.md and Maintainers.txt for RISV-V platforms. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- Maintainers.txt | 9 + Readme.md | 5 + 2 files changed, 14 insertions(+) diff --git a/Maintainers.txt

[edk2-devel] [PATCH 06/15] [platforms/devel-riscv]: RiscV/Universal: Initial version of common RISC-V SEC module

2019-08-27 Thread Mr. Gilbert Chen
From: Gilbert Chen Common RISC-V SEC module for RISC-V platforms. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- Platform/RiscV/Universal/Sec/Riscv64/SecEntry.s | 439 Platform/RiscV/Universal/Sec/SecMain.c | 529

[edk2-devel] [PATCH 01/15] [platforms/devel-riscv]: Silicon/SiFive: Initial version of SiFive silicon package

2019-08-27 Thread Mr. Gilbert Chen
From: Gilbert Chen Add SiFive silicon EDK2 metafile and header files of SiFive RISC-V cores. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- Silicon/SiFive/Include/Library/SiFiveE51.h | 66 ++

[edk2-devel] [PATCH 13/15] [platforms/devel-riscv]: U500Pkg/TimerDxe: Platform Timer DXE driver

2019-08-27 Thread Mr. Gilbert Chen
From: Gilbert Chen Timer DXE driver for U500 platform based U500 platform implementation specifc timer registers. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- .../SiFive/U500Pkg/Universal/Dxe/TimerDxe/Timer.c | 317 +

[edk2-devel] [PATCH 11/15] [platforms/devel-riscv]: U500Pkg/Library: Library instances of U500 platform library.

2019-08-27 Thread Mr. Gilbert Chen
From: Gilbert Chen PeiCoreInfoHobLib - This is the library to create RISC-V core characteristics for building up RISC-V related SMBIOS records to support the unified boot loader and OS image. - RiscVPlatformTimerLib This is U500 platform timer library which has the platform-specific timer

[edk2-devel] [PATCH 14/15] [platforms/devel-riscv]: U500Pkg/PlatformPei: Platform initialization PEIM

2019-08-27 Thread Mr. Gilbert Chen
This is the platform-implementation specific library which is executed in early PEI phase for platform initialization. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- .../SiFive/U500Pkg/Universal/Pei/PlatformPei/Fv.c | 55

[edk2-devel] [PATCH 10/15] [platforms/devel-riscv]: U500Pkg/Library: Library instances of U500 platform library.

2019-08-27 Thread Mr. Gilbert Chen
From: Gilbert Chen OpneSbiPlatformLib - In order to reduce the dependencies with RISC-V OpenSBI project (https://github.com/riscv/opensbi) and less burdens to EDK2 build process, the implementation of RISC-V EDK2 platform is leverage platform source code from OpenSBI code tree. The

[edk2-devel] [PATCH 04/15] [platforms/devel-riscv]: RiscV/Include: Initial version of header files in RISC-V platform package

2019-08-27 Thread Mr. Gilbert Chen
FirmwareContextProcessorSpecificLib.h - The difinitions of Firmware Context EDK2 implementaion based on RISC-V OpenSBI. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- .../Library/FirmwareContextProcessorSpecificLib.h | 47 ++ 1 file

[edk2-devel] [PATCH 03/15] [platforms/devel-riscv]: platforms/RiscV: Initial version of RISC-V platform package

2019-08-27 Thread Mr. Gilbert Chen
From: Gilbert Chen Initial version of RISC-V platform package which provides the common libraries, drivers, PCD and etc. for RISC-V platform development. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- Platform/RiscV/Readme.md | 88

[edk2-devel] [PATCH 08/15] [platforms/devel-riscv]: U500Pkg/Include: Header files of SiFive U500 platform

2019-08-27 Thread Mr. Gilbert Chen
From: Gilbert Chen The initial header file commit for SiFive U5-MC Coreplex and U500 Core Local interrupt definitions. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- .../SiFive/U500Pkg/Include/SiFiveU5MCCoreplex.h| 57 ++

[edk2-devel] [PATCH 12/15] [platforms/devel-riscv]: U500Pkg/RamFvbServiceruntimeDxe: FVB driver for EFI variable.

2019-08-27 Thread Mr. Gilbert Chen
Firmware Volume Block driver instance for ram based EFI variable on U500 platform. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- .../Dxe/RamFvbServicesRuntimeDxe/FvbInfo.c | 133 +++ .../FvbServicesRuntimeDxe.inf | 88 ++

[edk2-devel] [PATCH 09/15] [platforms/devel-riscv]: U500Pkg/Library: Initial version of PlatformBootManagerLib

2019-08-27 Thread Mr. Gilbert Chen
From: Gilbert Chen SiFive RISC-V U500 Platform Boot Manager library. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- .../Library/PlatformBootManagerLib/MemoryTest.c| 1110 .../PlatformBootManagerLib/PlatformBootManager.c |

[edk2-devel] [PATCH 09/15] [platforms/devel-riscv]: U500Pkg/Library: Initial version of PlatformBootManagerLib

2019-08-27 Thread Mr. Gilbert Chen
SiFive RISC-V U500 Platform Boot Manager library. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- .../Library/PlatformBootManagerLib/MemoryTest.c| 1110 .../PlatformBootManagerLib/PlatformBootManager.c | 269 +

[edk2-devel] [PATCH 07/15] [platforms/devel-riscv]: RiscV/SiFive: Initial version of SiFive U500 platform package

2019-08-27 Thread Mr. Gilbert Chen
From: Gilbert Chen The initial version of SiFive U500 platform package. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- Platform/RiscV/SiFive/U500Pkg/Readme.md| 30 ++ Platform/RiscV/SiFive/U500Pkg/U500.dec | 40 ++

[edk2-devel] [PATCH 04/15] [platforms/devel-riscv]: RiscV/Include: Initial version of header files in RISC-V platform package

2019-08-27 Thread Mr. Gilbert Chen
From: Gilbert Chen FirmwareContextProcessorSpecificLib.h - The difinitions of Firmware Context EDK2 implementaion based on RISC-V OpenSBI. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- .../Library/FirmwareContextProcessorSpecificLib.h | 47

[edk2-devel] [PATCH 06/15] [platforms/devel-riscv]: RiscV/Universal: Initial version of common RISC-V SEC module

2019-08-27 Thread Mr. Gilbert Chen
Common RISC-V SEC module for RISC-V platforms. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- Platform/RiscV/Universal/Sec/Riscv64/SecEntry.s | 439 Platform/RiscV/Universal/Sec/SecMain.c | 529

[edk2-devel] [PATCH 08/15] [platforms/devel-riscv]: U500Pkg/Include: Header files of SiFive U500 platform

2019-08-27 Thread Mr. Gilbert Chen
The initial header file commit for SiFive U5-MC Coreplex and U500 Core Local interrupt definitions. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- .../SiFive/U500Pkg/Include/SiFiveU5MCCoreplex.h| 57 ++

[edk2-devel] [PATCH 13/15] [platforms/devel-riscv]: U500Pkg/TimerDxe: Platform Timer DXE driver

2019-08-27 Thread Mr. Gilbert Chen
Timer DXE driver for U500 platform based U500 platform implementation specifc timer registers. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- .../SiFive/U500Pkg/Universal/Dxe/TimerDxe/Timer.c | 317 +

[edk2-devel] [PATCH 10/15] [platforms/devel-riscv]: U500Pkg/Library: Library instances of U500 platform library.

2019-08-27 Thread Mr. Gilbert Chen
OpneSbiPlatformLib - In order to reduce the dependencies with RISC-V OpenSBI project (https://github.com/riscv/opensbi) and less burdens to EDK2 build process, the implementation of RISC-V EDK2 platform is leverage platform source code from OpenSBI code tree. The "platform.c" under

[edk2-devel] [PATCH 05/15] [platforms/devel-riscv]: RiscV/Library: Initial version of libraries introduced in RISC-V platform package

2019-08-27 Thread Mr. Gilbert Chen
FirmwareContextProcessorSpecificLib - Common library to consume EFI_RISCV_FIRMWARE_CONTEXT_HART_SPECIFIC and build up processor specific data HOB. RealTimClockLibNull - NULL instance of Real Time Clock library. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen

[edk2-devel] [PATCH 12/15] [platforms/devel-riscv]: U500Pkg/RamFvbServiceruntimeDxe: FVB driver for EFI variable.

2019-08-27 Thread Mr. Gilbert Chen
From: Gilbert Chen Firmware Volume Block driver instance for ram based EFI variable on U500 platform. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- .../Dxe/RamFvbServicesRuntimeDxe/FvbInfo.c | 133 +++ .../FvbServicesRuntimeDxe.inf

[edk2-devel] [PATCH 14/15] [platforms/devel-riscv]: U500Pkg/PlatformPei: Platform initialization PEIM

2019-08-27 Thread Mr. Gilbert Chen
From: Gilbert Chen This is the platform-implementation specific library which is executed in early PEI phase for platform initialization. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- .../SiFive/U500Pkg/Universal/Pei/PlatformPei/Fv.c | 55

[edk2-devel] [PATCH 01/15] [platforms/devel-riscv]: Silicon/SiFive: Initial version of SiFive silicon package

2019-08-27 Thread Mr. Gilbert Chen
Add SiFive silicon EDK2 metafile and header files of SiFive RISC-V cores. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- Silicon/SiFive/Include/Library/SiFiveE51.h | 66 ++ Silicon/SiFive/Include/Library/SiFiveU54.h |

[edk2-devel] [PATCH 02/15] [platforms/devel-riscv]: Silicon/SiFive: Add library module of SiFive RISC-V cores

2019-08-27 Thread Mr. Gilbert Chen
Initial version of SiFive RISC-V core libraries. Library of each core creates processor core SMBIOS data hob for building SMBIOS records in DXE phase. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- .../E51/Library/PeiCoreInfoHobLib/CoreInfoHob.c|

[edk2-devel] [PATCH 03/15] [platforms/devel-riscv]: platforms/RiscV: Initial version of RISC-V platform package

2019-08-27 Thread Mr. Gilbert Chen
Initial version of RISC-V platform package which provides the common libraries, drivers, PCD and etc. for RISC-V platform development. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- Platform/RiscV/Readme.md | 88

[edk2-devel] [PATCH 15/15] [platforms/devel-riscv]: Platforms: Readme file updates

2019-08-27 Thread Mr. Gilbert Chen
Update Readme.md and Maintainers.txt for RISV-V platforms. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gilbert Chen --- Maintainers.txt | 9 + Readme.md | 5 + 2 files changed, 14 insertions(+) diff --git a/Maintainers.txt b/Maintainers.txt index