For this patch, I'll update the file format of AcpiDebug.c to Dos format when
pushing the patch.
Thanks,
Shenglei
> -Original Message-
> From: Dong, Eric
> Sent: Monday, September 9, 2019 8:36 AM
> To: Zhang, Shenglei ; devel@edk2.groups.io
> Cc: Gao, Liming
> Subject: RE: [PATCH v2] De
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2186
Extend the support types of terminal console driver. New added types
are Linux, XtermR6, VT400 and SCO.
Refer to
https://www.ssh.com/ssh/putty/putty-manuals/0.68/Chapter4.html#config-funkeys
Add the missing VT100+ function keys map.
Add F
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2186
Putty is a very popular terminal tool in windows. So add the whole support
terminal keyboard type for it. The new introduced type is Linux, XtermR6,
VT400 and SCO. And enhance the support for VT100+.
This patch set only add the support of fu
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2186
Add the new introduced terminal types to related setup menu to change
the terminal type from setup. Most platforms would have its own
configure setup menu and they need to change it to support these.
The new introduced terminal types are Lin
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2186
A common terminal console software Putty support various types of
keyboard type, such as normal mode, Linux mode, Xterm R6, Vt400,
VT100+ and SCO. Refer to the link:
https://www.ssh.com/ssh/putty/putty-manuals/0.68/Chapter4.html#config-funke
Add HPE copyrights.
Signed-off-by: Abner Chang
Cc: Leif Lindholm
Cc: Gilbert Chen
---
Platform/RiscV/SiFive/U500Pkg/Library/SerialIoLib/SerialPortLib.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Platform/RiscV/SiFive/U500Pkg/Library/SerialIoLib/SerialPortLib.c
b/Platform/RiscV/SiF
Change DEC revision.
Signed-off-by: Abner Chang
Cc: Leif Lindholm
Cc: Gilbert Chen
---
Platform/RiscV/SiFive/U500Pkg/U500.dec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Platform/RiscV/SiFive/U500Pkg/U500.dec
b/Platform/RiscV/SiFive/U500Pkg/U500.dec
index 4ecca89..ad9
Update INF revision.
Signed-off-by: Abner Chang
Cc: Leif Lindholm
Cc: Gilbert Chen
---
Silicon/SiFive/E51/Library/PeiCoreInfoHobLib/PeiCoreInfoHobLib.inf | 2 +-
Silicon/SiFive/U54/Library/PeiCoreInfoHobLib/PeiCoreInfoHobLib.inf | 2 +-
.../U54MCCoreplex/Library/PeiCoreInfoHobLib/Pe
Use Fdtlib in EmbeddedPkg instead of using OpenSbi one.
Signed-off-by: Abner Chang
Cc: Leif Lindholm
Cc: Gilbert Chen
---
.../OpenSbiPlatformLib/OpenSbiPlatformLib.inf | 8 +-
.../U500Pkg/Library/OpenSbiPlatformLib/platform.c | 242 +++--
2 files changed, 127 insertion
Change *s to *.S.
Signed-off-by: Abner Chang
Cc: Leif Lindholm
Cc: Gilbert Chen
---
.../U500Pkg/Library/RiscVPlatformTimerLib/RiscVPlatformTimerLib.inf | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/Platform/RiscV/SiFive/U500Pkg/Library/RiscVPlatformTimerLib/RiscVP
Use Fdtlib and RealTimeClockDxe from EmbeddedPkg.
Signed-off-by: Abner Chang
Cc: Leif Lindholm
Cc: Gilbert Chen
---
Platform/RiscV/SiFive/U500Pkg/U500.dsc | 5 +++--
Platform/RiscV/SiFive/U500Pkg/U500.fdf | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Platform/RiscV/Si
Add more information to header file references.
Signed-off-by: Abner Chang
Cc: Leif Lindholm
Cc: Gilbert Chen
---
Platform/RiscV/Universal/Sec/SecMain.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/Platform/RiscV/Universal/Sec/SecMain.c
b/Platform/RiscV/Un
Update DEC revision.
Signed-off-by: Abner Chang
Cc: Leif Lindholm
Cc: Gilbert Chen
---
Platform/RiscV/RiscVPlatformPkg.dec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Platform/RiscV/RiscVPlatformPkg.dec
b/Platform/RiscV/RiscVPlatformPkg.dec
index 3ce16bf..5b8c157 1006
This set of patches is updated to incorporate with patches sent for
edk2-staging/RISC-V-V2 PATCH v2.
Abner Chang (13):
U500Pkg/OpenSbiPlatformLib: Use Fdtlib in EmbeddedPkg
U500Pkg/Sec: Remove unnecessary PCD reference
U500Pkg/Sec: Add information to header file references
U500Pkg/SerialIo
Update INF revision.
Signed-off-by: Abner Chang
Cc: Leif Lindholm
Cc: Gilbert Chen
---
.../FirmwareContextProcessorSpecificLib.inf | 2 +-
Platform/RiscV/Library/RealTimeClockLibNull/RealTimeClockLibNull.inf| 2 +-
.../SiFive/U500Pkg/Library/OpenSbiPlatformLib/
Update DEC revision.
Signed-off-by: Abner Chang
Cc: Leif Lindholm
Cc: Gilbert Chen
---
Silicon/SiFive/SiFive.dec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Silicon/SiFive/SiFive.dec b/Silicon/SiFive/SiFive.dec
index 7aca3e7..d76458f 100644
--- a/Silicon/SiFive/SiFive.
Change *s to *.S.
Signed-off-by: Abner Chang
Cc: Leif Lindholm
Cc: Gilbert Chen
---
Platform/RiscV/Universal/Sec/SecMain.inf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Platform/RiscV/Universal/Sec/SecMain.inf
b/Platform/RiscV/Universal/Sec/SecMain.inf
index 2c048
Change header file reference.
Signed-off-by: Abner Chang
Cc: Leif Lindholm
Cc: Gilbert Chen
---
Platform/RiscV/SiFive/U500Pkg/Library/SerialIoLib/SerialPortLib.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/Platform/RiscV/SiFive/U500Pkg/Library/SerialIoLib/SerialPor
Remove unnecessary PCD reference.
Signed-off-by: Abner Chang
Cc: Leif Lindholm
Cc: Gilbert Chen
---
Platform/RiscV/Universal/Sec/SecMain.inf | 3 ---
1 file changed, 3 deletions(-)
diff --git a/Platform/RiscV/Universal/Sec/SecMain.inf
b/Platform/RiscV/Universal/Sec/SecMain.inf
index c408fc8
Reviewed-by: Ray Ni
> -Original Message-
> From: Gao, Zhichao
> Sent: Tuesday, September 17, 2019 10:34 PM
> To: devel@edk2.groups.io
> Cc: Wang, Jian J ; Wu, Hao A ; Ni,
> Ray ; Gao, Liming
>
> Subject: [PATCH V3 2/3] MdeModulePkg/TerminalDxe: Extend the terminal console
> support ty
It looks good to me.
Reviewed-by: Guo Dong
> -Original Message-
> From: Laszlo Ersek [mailto:ler...@redhat.com]
> Sent: Tuesday, September 17, 2019 12:50 PM
> To: edk2-devel-groups-io
> Cc: You, Benjamin ; Dong, Guo
> ; Ma, Maurice
> Subject: [PATCH 34/35] UefiPayloadPkg/BlSupportPe
Thanks for the fix.
Reviewed-by: Guo Dong
> -Original Message-
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> Laszlo Ersek
> Sent: Tuesday, September 17, 2019 12:50 PM
> To: edk2-devel-groups-io
> Cc: You, Benjamin ; Dong, Guo
> ; Ma, Maurice
> Subject: [e
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2061
check MediaPresent while MediaPresentSupported is TRUE
Cc: Heinrich Schuchardt
Cc: Supreeth Venkatesh
Cc: Eric Jin
Signed-off-by: xianhui liu
---
.../BlackBoxTest/SimpleNetworkBBTestFunction.c | 64 +++---
1 file ch
Reviewed-by: Dandan Bi
Thanks,
Dandan
> -Original Message-
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> Kubacki, Michael A
> Sent: Friday, September 20, 2019 1:54 AM
> To: devel@edk2.groups.io
> Cc: Bi, Dandan ; Chaganty, Rangasai V
> ; Gao, Liming
> Subject
Hi Leif, I just sent the whole a set of patches in which most of comments are
addressed. However, I forget to add CC before sending those out... the weekend
breaks my memory.
Let me know if I have to resend those with certain people CCed. Or we have some
ways to work it around.
Thanks
Abner
>
Support RISC-V cache related functions.
Signed-off-by: Abner Chang
---
.../BaseSynchronizationLib.inf | 6 +
.../RiscV64/Synchronization.c | 183 +
.../RiscV64/SynchronizationAsm.S | 78 +
3 files changed,
NULL instance of RISC-V Platform Temporary Memory library.
Signed-off-by: Abner Chang
---
.../Library/RiscVPlatformTempMemoryInitLib.h | 17 +++
.../RiscVPlatformTempMemoryInitLibNull.inf | 34 ++
.../Riscv64/TempMemInit.S | 26 +
RISC-V generic SMBIOS DXE driver for building up SMBIOS type 4, type 7
and type 44 records.
Signed-off-by: Abner Chang
---
RiscVPkg/Include/ProcessorSpecificDataHob.h| 95 ++
RiscVPkg/Include/SmbiosProcessorSpecificData.h | 58
RiscVPkg/RiscVPkg.dec
Add RiscVEdk2Readme.md
Signed-off-by: Abner Chang
---
RiscVEdk2Readme.md | 34 ++
1 file changed, 34 insertions(+)
create mode 100644 RiscVEdk2Readme.md
diff --git a/RiscVEdk2Readme.md b/RiscVEdk2Readme.md
new file mode 100644
index 000..ec691fe
--- /dev/nul
Initial RISC-V Supervisor Mode trap handler
Signed-off-by: Abner Chang
---
.../RiscVExceptionLib/CpuExceptionHandler.S| 88 ++
.../CpuExceptionHandlerDxeLib.inf | 42 +
.../RiscVExceptionLib/CpuExceptionHandlerLib.c | 182 +
.../Risc
BaseTools changes for building EDK2 RISC-V platform.
The changes made to build_rule.template is to avoid build errors
cause by GCC711RISCV tool chain.
Signed-off-by: Abner Chang
---
BaseTools/Conf/build_rule.template | 62 ++---
BaseTools/Conf/tools_def.template
Add RISCV64 Arch.
Signed-off-by: Abner Chang
---
NetworkPkg/Network.dsc.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/NetworkPkg/Network.dsc.inc b/NetworkPkg/Network.dsc.inc
index c7f4328..b484f9b 100644
--- a/NetworkPkg/Network.dsc.inc
+++ b/NetworkPkg/Network.dsc.inc
Implementation of RISC-V platform level DxeIPL
Signed-off-by: Abner Chang
---
MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf| 13 +++-
MdeModulePkg/Core/DxeIplPeim/RiscV64/DxeLoadFunc.c | 71 ++
RiscVPkg/Include/Library/RiscVPlatformDxeIpl.h | 41 +
3 fil
EDK2 RISC-V OpenSBI library which pull in external source files under
RiscVPkg/opensbi to the build process.
Signed-off-by: Abner Chang
---
.../Library/RiscVOpensbiLib/RiscVOpensbiLib.inf| 52 ++
1 file changed, 52 insertions(+)
create mode 100644 RiscVPkg/Library/RiscVO
RiscVDxeIplHandoffLib.inf: Simply use stack switch to hand off to DXE
phase.
RiscVDxeIplHandoffOpenSbiLib.inf: Hand off to DXE phase using OpenSBI
interface.
Signed-off-by: Abner Chang
---
.../RiscVDxeIplHandoffLib/RiscVDxeIplHandoffLib.c | 41 +
.../RiscVDxeIplHandoffLib.inf
Add RISC-V specific LD scripts. ."rela(INFO)" in the latest GccBase.lds
causes PE32 relocation error.
This is the temporaty solution untill we find the root casue.
Signed-off-by: Abner Chang
---
BaseTools/Scripts/GccBaseRiscV.lds | 66 ++
1 file changed, 66 in
Implementation of RISC-V PEI Service Table Pointer library using
RISC-V OpenSbi.
Signed-off-by: Abner Chang
---
.../PeiServicesTablePointerLibOpenSbi.inf | 38 +++
.../PeiServicesTablePointerLibOpenSbi.uni | 23
.../PeiServicesTablePointerOpenSbi.c | 12
Add maintainer and reviewer of RiscVPkg.
Signed-off-by: Abner Chang
---
Maintainers.txt | 5 +
1 file changed, 5 insertions(+)
diff --git a/Maintainers.txt b/Maintainers.txt
index 919bacc..11449a5 100644
--- a/Maintainers.txt
+++ b/Maintainers.txt
@@ -408,6 +408,11 @@ F: PcAtChipsetPkg/
W:
This library provides CSR assembly functions to read/write RISC-V
specific Control and Status registers.
Signed-off-by: Abner Chang
---
RiscVPkg/Include/Library/RiscVCpuLib.h | 68
RiscVPkg/Library/RiscVCpuLib/Cpu.S | 115 +++
RiscVPkg/Li
Timer library for RISC-V
Signed-off-by: Abner Chang
---
.../Library/RiscVTimerLib/BaseRiscVTimerLib.inf| 34
RiscVPkg/Library/RiscVTimerLib/RiscVTimerLib.c | 195 +
RiscVPkg/Library/RiscVTimerLib/RiscVTimerLib.h | 21 +++
RiscVPkg/RiscVPkg.dec
Add submodule opensbi under RiscVPkg. The current supported opensbi
version for RISC-V edk2 port is commit ID:ce228ee (tags/v0.4).
Signed-off-by: Abner Chang
---
.gitmodules | 16 ++--
RiscVPkg/opensbi | 1 +
2 files changed, 11 insertions(+), 6 deletions(-)
create mode 16
The driver produces RISC-V EFI_CPU_ARCH_PROTOCOL and use RISC-V
platform level timer library.
Due to RISC-V timer CSR is platform implementation specific,
RISC-V CPU DXE driver invokes platform level timer library
to access to timer CSRs.
Signed-off-by: Abner Chang
---
RiscVPkg/Universal/CpuDxe
Implement RISC-V CPU related functions in BaseCpuLib.
Signed-off-by: Abner Chang
---
MdePkg/Library/BaseCpuLib/BaseCpuLib.inf | 6 +-
MdePkg/Library/BaseCpuLib/BaseCpuLib.uni | 5 +++--
MdePkg/Library/BaseCpuLib/RiscV/Cpu.S| 19 +++
3 files changed, 27 insertions(+), 3
Add RISCV64 Arch.
Signed-off-by: Abner Chang
---
MdeModulePkg/Logo/Logo.inf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MdeModulePkg/Logo/Logo.inf b/MdeModulePkg/Logo/Logo.inf
index 0182025..243748c 100644
--- a/MdeModulePkg/Logo/Logo.inf
+++ b/MdeModulePkg/Logo/Logo.inf
RISC-V MMIO library instance. RISC-V only supports memory map I/O.
Signed-off-by: Abner Chang
---
.../BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf | 8 +-
MdePkg/Library/BaseIoLibIntrinsic/IoLibRiscV.c | 601 +
2 files changed, 607 insertions(+), 2 deletions(-)
crea
Add RISC-V RV64 BaseLib functions.
Signed-off-by: Abner Chang
---
MdePkg/Include/Library/BaseLib.h | 26 ++
MdePkg/Library/BaseLib/BaseLib.inf | 18 +-
MdePkg/Library/BaseLib/RiscV64/CpuBreakpoint.c | 27 +++
MdePkg/Library/BaseLib/RiscV64/CpuPause.c
Implement RISC-V cache maintenance functions in
BaseCacheMaintenanceLib.
Signed-off-by: Abner Chang
---
.../BaseCacheMaintenanceLib.inf| 4 +
.../Library/BaseCacheMaintenanceLib/RiscVCache.c | 250 +
2 files changed, 254 insertions(+)
create mode 1006
Support RISC-V image relocation.
Signed-off-by: Abner Chang
---
MdePkg/Library/BasePeCoffLib/BasePeCoff.c | 3 +-
MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf | 5 +
MdePkg/Library/BasePeCoffLib/BasePeCoffLib.uni | 2 +
.../Library/BasePeCoffLib/BasePeCoffLibInternals.h
Add RISC-V in INF for building CapsuleRuntimeDxe RISCV64 image.
Signed-off-by: Abner Chang
---
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.in
Add RISCV64 sections in MdePkg.dec and RISCV64 ProcessorBind.h
Signed-off-by: Abner Chang
---
MdePkg/Include/RiscV64/ProcessorBind.h | 173 +
MdePkg/MdePkg.dec | 5 +-
2 files changed, 177 insertions(+), 1 deletion(-)
create mode 100644 Mde
Add RISC-V processor related definitions.
Signed-off-by: Abner Chang
---
MdePkg/Include/IndustryStandard/PeImage.h | 12 +++
MdePkg/Include/Protocol/DebugSupport.h| 55 +++
MdePkg/Include/Protocol/PxeBaseCode.h | 4 +++
MdePkg/Include/Uefi/UefiBaseType.h
This branch "RISC-V-V2" is used to contribute RISC-V architecture on EDK2.
Compare to the old branch "RISC-V", this branch "RISC-V-V2" is created based on
the most recent edk2/master @37eef910. This is easier for reviewers to have
clear ideas of edk2 code changes for RISC-V EDK2 implementation.
Bec
Implement RISC-V cache maintenance functions in
BaseCacheMaintenanceLib.
Signed-off-by: Abner Chang
---
.../BaseCacheMaintenanceLib.inf| 4 +
.../Library/BaseCacheMaintenanceLib/RiscVCache.c | 250 +
2 files changed, 254 insertions(+)
create mode 1006
RISC-V package library definitions.
IndustryStandard/RiscV.h
-Add RiscV.h which conform with RISC-V Privilege Spec v1.10.
RiscV.h
-Definition of EDK2 RISC-V implementation.
Signed-off-by: Abner Chang
---
RiscVPkg/Include/IndustryStandard/RiscV.h | 102 ++
RiscVPkg/I
Add EDK2 RISC-V OpenSBI header files and opensbi-HOWTO.txt for users to build
RISC-V platform with RISC-V OpenSBI library.
Signed-off-by: Abner Chang
---
RiscVPkg/Include/sbi/SbiFirmwareContext.h | 38
RiscVPkg/Include/sbi/sbi.h| 96 +++
- Add RiscVPkg package which provides RISC-V processor related
drivers and libraries.
- Support RISC-V OpenSBI and RISC-V platforms
Signed-off-by: Abner Chang
---
RiscVPkg/RiscVPkg.dec | 27 +++
RiscVPkg/RiscVPkg.uni | 13 +
RiscVPkg/RiscVPkgExtra.
Reviewed-by: Chasel Chiu
> -Original Message-
> From: devel@edk2.groups.io On Behalf Of Kubacki,
> Michael A
> Sent: Saturday, September 21, 2019 2:41 AM
> To: devel@edk2.groups.io
> Cc: Chiu, Chasel ; Desimone, Nathaniel L
> ; Sinha, Ankit ;
> Jeremy Soller
> Subject: [edk2-devel] [
Reviewed-by: Chasel Chiu
> -Original Message-
> From: devel@edk2.groups.io On Behalf Of Kubacki,
> Michael A
> Sent: Saturday, September 21, 2019 2:40 AM
> To: devel@edk2.groups.io
> Cc: Chiu, Chasel ; Desimone, Nathaniel L
> ; Sinha, Ankit ;
> Jeremy Soller
> Subject: [edk2-devel] [e
58 matches
Mail list logo