public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/1] fix image link error
@ 2022-12-28  5:45 Dongdong Zhang
  2022-12-28  5:45 ` [PATCH 1/1] Platform/RISC-V/PlatformPkg:fix " Dongdong Zhang
  0 siblings, 1 reply; 5+ messages in thread
From: Dongdong Zhang @ 2022-12-28  5:45 UTC (permalink / raw)
  To: devel; +Cc: zhuwenjun, zhengyu, jinyanjiang, Dongdong Zhang

"Edk2OpensbiPlatformWrapperLib" and "RiscVSpecialPlatformLib"
mark the serial number in the figure is opposite to
the text description, fix it and adjust the text order.

Dongdong Zhang (1):
  Platform/RISC-V/PlatformPkg:fix image link error

 Platform/RISC-V/PlatformPkg/Readme.md | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/1] Platform/RISC-V/PlatformPkg:fix image link error
  2022-12-28  5:45 [PATCH 0/1] fix image link error Dongdong Zhang
@ 2022-12-28  5:45 ` Dongdong Zhang
  2022-12-29  1:14   ` [edk2-devel] " Chang, Abner
  2023-01-05  3:02   ` Dongdong Zhang
  0 siblings, 2 replies; 5+ messages in thread
From: Dongdong Zhang @ 2022-12-28  5:45 UTC (permalink / raw)
  To: devel; +Cc: zhuwenjun, zhengyu, jinyanjiang, Dongdong Zhang

Edk2OpensbiPlatformWrapperLib Library and RiscVSpecialPlatformLib
Library mark the serial number in the figure is opposite to
the text description, fix it and adjust the text order.

Signed-off-by: Dongdong Zhang <zhangdongdong@eswincomputing.com>
---
 Platform/RISC-V/PlatformPkg/Readme.md | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/Platform/RISC-V/PlatformPkg/Readme.md b/Platform/RISC-V/PlatformPkg/Readme.md
index 5a344a8..d7166ba 100644
--- a/Platform/RISC-V/PlatformPkg/Readme.md
+++ b/Platform/RISC-V/PlatformPkg/Readme.md
@@ -35,19 +35,21 @@ are from OpenSBI project. edk2 libraries are introduced as the wrapper libraries
 [Indicated as #2 in the figure](#risc-v-edk2-port-design-diagrams)
 > ***OpenSbiPlatformLib*** provides the generic RISC-V platform initialization code. Platform vendor can just utilize this library if they don't have additional requirements on the platform initialization.
 
-##### RiscVSpecialPlatformLib Library
-[Indicated as #3 in the figure](#risc-v-edk2-port-design-diagrams)
-> The major use case of this library is to facilitate the interfaces for platform vendors to provide the special
-platform initialization based on the generic platform initialization library.
-
 ##### Edk2OpensbiPlatformWrapperLib Library
-[Indicated as #4 in the figure](#risc-v-edk2-port-design-diagrams)
+
+[Indicated as #3 in the figure](#risc-v-edk2-port-design-diagrams)
 > In order to providing the flexibility to edk2 RISC-V firmware solution, ***Edk2OpensbiPlatformWrapperLib*** is the wrapper library of [OpenSbiPlatformLib](#OpenSbiPlatformLib-library) to provide the interfaces for OEM. The ***platform_ops_address***in the generic platform structure is replaced with ***Edk2OpensbiplatformOps*** in SEC
 module. The platform function invoked by OpenSBI core is hooked to ***Edk2OpensbiPlatformWrapperLib***. This gives
 a change to OEM for implementing platform-specific initialization before and after the generic platform code. OEM
 can override this library under their platform folder on demand without touching ***RiscVOpensbiLib*** library
 source files and other common source files.
 
+##### RiscVSpecialPlatformLib Library
+
+[Indicated as #4 in the figure](#risc-v-edk2-port-design-diagrams)
+> The major use case of this library is to facilitate the interfaces for platform vendors to provide the special
+platform initialization based on the generic platform initialization library.
+
 ##### Next Phase Address and Privilege Mode
 [Indicated as #5 in the figure](#risc-v-edk2-port-design-diagrams)
 > Once OpenSBI finishes the boot initialization, it will jump to the next phase with the default privilege set to
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [edk2-devel] [PATCH 1/1] Platform/RISC-V/PlatformPkg:fix image link error
  2022-12-28  5:45 ` [PATCH 1/1] Platform/RISC-V/PlatformPkg:fix " Dongdong Zhang
@ 2022-12-29  1:14   ` Chang, Abner
  2023-01-05  3:02   ` Dongdong Zhang
  1 sibling, 0 replies; 5+ messages in thread
From: Chang, Abner @ 2022-12-29  1:14 UTC (permalink / raw)
  To: devel@edk2.groups.io, zhangdongdong@eswincomputing.com
  Cc: zhuwenjun@eswincomputing.com, zhengyu@eswincomputing.com,
	jinyanjiang@eswincomputing.com

[AMD Official Use Only - General]

Acked-by: Abner Chang <abner.chang@amd.com>

Thanks for fixing this.
Abner
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of
> Dongdong Zhang via groups.io
> Sent: Wednesday, December 28, 2022 1:46 PM
> To: devel@edk2.groups.io
> Cc: zhuwenjun@eswincomputing.com; zhengyu@eswincomputing.com;
> jinyanjiang@eswincomputing.com; Dongdong Zhang
> <zhangdongdong@eswincomputing.com>
> Subject: [edk2-devel] [PATCH 1/1] Platform/RISC-V/PlatformPkg:fix image
> link error
> 
> Caution: This message originated from an External Source. Use proper
> caution when opening attachments, clicking links, or responding.
> 
> 
> Edk2OpensbiPlatformWrapperLib Library and RiscVSpecialPlatformLib Library
> mark the serial number in the figure is opposite to the text description, fix it
> and adjust the text order.
> 
> Signed-off-by: Dongdong Zhang <zhangdongdong@eswincomputing.com>
> ---
>  Platform/RISC-V/PlatformPkg/Readme.md | 14 ++++++++------
>  1 file changed, 8 insertions(+), 6 deletions(-)
> 
> diff --git a/Platform/RISC-V/PlatformPkg/Readme.md b/Platform/RISC-
> V/PlatformPkg/Readme.md
> index 5a344a8..d7166ba 100644
> --- a/Platform/RISC-V/PlatformPkg/Readme.md
> +++ b/Platform/RISC-V/PlatformPkg/Readme.md
> @@ -35,19 +35,21 @@ are from OpenSBI project. edk2 libraries are
> introduced as the wrapper libraries  [Indicated as #2 in the figure](#risc-v-
> edk2-port-design-diagrams)
>  > ***OpenSbiPlatformLib*** provides the generic RISC-V platform
> initialization code. Platform vendor can just utilize this library if they don't
> have additional requirements on the platform initialization.
> 
> -##### RiscVSpecialPlatformLib Library
> -[Indicated as #3 in the figure](#risc-v-edk2-port-design-diagrams)
> -> The major use case of this library is to facilitate the interfaces
> -> for platform vendors to provide the special
> -platform initialization based on the generic platform initialization library.
> -
>  ##### Edk2OpensbiPlatformWrapperLib Library -[Indicated as #4 in the
> figure](#risc-v-edk2-port-design-diagrams)
> +
> +[Indicated as #3 in the figure](#risc-v-edk2-port-design-diagrams)
>  > In order to providing the flexibility to edk2 RISC-V firmware solution,
> ***Edk2OpensbiPlatformWrapperLib*** is the wrapper library of
> [OpenSbiPlatformLib](#OpenSbiPlatformLib-library) to provide the interfaces
> for OEM. The ***platform_ops_address***in the generic platform structure
> is replaced with ***Edk2OpensbiplatformOps*** in SEC  module. The
> platform function invoked by OpenSBI core is hooked to
> ***Edk2OpensbiPlatformWrapperLib***. This gives  a change to OEM for
> implementing platform-specific initialization before and after the generic
> platform code. OEM  can override this library under their platform folder on
> demand without touching ***RiscVOpensbiLib*** library  source files and
> other common source files.
> 
> +##### RiscVSpecialPlatformLib Library
> +
> +[Indicated as #4 in the figure](#risc-v-edk2-port-design-diagrams)
> +> The major use case of this library is to facilitate the interfaces
> +> for platform vendors to provide the special
> +platform initialization based on the generic platform initialization library.
> +
>  ##### Next Phase Address and Privilege Mode  [Indicated as #5 in the
> figure](#risc-v-edk2-port-design-diagrams)
>  > Once OpenSBI finishes the boot initialization, it will jump to the next phase
> with the default privilege set to
> --
> 2.17.1
> 
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] Platform/RISC-V/PlatformPkg:fix image link error
  2022-12-28  5:45 ` [PATCH 1/1] Platform/RISC-V/PlatformPkg:fix " Dongdong Zhang
  2022-12-29  1:14   ` [edk2-devel] " Chang, Abner
@ 2023-01-05  3:02   ` Dongdong Zhang
  2023-01-05  6:05     ` Sunil V L
  1 sibling, 1 reply; 5+ messages in thread
From: Dongdong Zhang @ 2023-01-05  3:02 UTC (permalink / raw)
  To: devel; +Cc: zhuwenjun, zhengyu, jinyanjiang, git, sunilvl

Hi, all
Sorry, forgot to add Maintainer and Reviewer.
Add Sunil V L <sunilvl@ventanamicro.com>
Add Daniel Schaefer <git@danielschaefer.me>

> -----原始邮件-----发件人:"Dongdong Zhang" <zhangdongdong@eswincomputing.com>发送时间:2022-12-28 13:45:50 (星期三)收件人:devel@edk2.groups.io抄送:zhuwenjun@eswincomputing.com, zhengyu@eswincomputing.com, jinyanjiang@eswincomputing.com, "Dongdong Zhang" <zhangdongdong@eswincomputing.com>主题:[PATCH 1/1] Platform/RISC-V/PlatformPkg:fix image link error
> 
> Edk2OpensbiPlatformWrapperLib Library and RiscVSpecialPlatformLib
> Library mark the serial number in the figure is opposite to
> the text description, fix it and adjust the text order.
> 
> Signed-off-by: Dongdong Zhang <zhangdongdong@eswincomputing.com>
> ---
>  Platform/RISC-V/PlatformPkg/Readme.md | 14 ++++++++------
>  1 file changed, 8 insertions(+), 6 deletions(-)
> 
> diff --git a/Platform/RISC-V/PlatformPkg/Readme.md b/Platform/RISC-V/PlatformPkg/Readme.md
> index 5a344a8..d7166ba 100644
> --- a/Platform/RISC-V/PlatformPkg/Readme.md
> +++ b/Platform/RISC-V/PlatformPkg/Readme.md
> @@ -35,19 +35,21 @@ are from OpenSBI project. edk2 libraries are introduced as the wrapper libraries
>  [Indicated as #2 in the figure](#risc-v-edk2-port-design-diagrams)
>  > ***OpenSbiPlatformLib*** provides the generic RISC-V platform initialization code. Platform vendor can just utilize this library if they don't have additional requirements on the platform initialization.
>  
> -##### RiscVSpecialPlatformLib Library
> -[Indicated as #3 in the figure](#risc-v-edk2-port-design-diagrams)
> -> The major use case of this library is to facilitate the interfaces for platform vendors to provide the special
> -platform initialization based on the generic platform initialization library.
> -
>  ##### Edk2OpensbiPlatformWrapperLib Library
> -[Indicated as #4 in the figure](#risc-v-edk2-port-design-diagrams)
> +
> +[Indicated as #3 in the figure](#risc-v-edk2-port-design-diagrams)
>  > In order to providing the flexibility to edk2 RISC-V firmware solution, ***Edk2OpensbiPlatformWrapperLib*** is the wrapper library of [OpenSbiPlatformLib](#OpenSbiPlatformLib-library) to provide the interfaces for OEM. The ***platform_ops_address***in the generic platform structure is replaced with ***Edk2OpensbiplatformOps*** in SEC
>  module. The platform function invoked by OpenSBI core is hooked to ***Edk2OpensbiPlatformWrapperLib***. This gives
>  a change to OEM for implementing platform-specific initialization before and after the generic platform code. OEM
>  can override this library under their platform folder on demand without touching ***RiscVOpensbiLib*** library
>  source files and other common source files.
>  
> +##### RiscVSpecialPlatformLib Library
> +
> +[Indicated as #4 in the figure](#risc-v-edk2-port-design-diagrams)
> +> The major use case of this library is to facilitate the interfaces for platform vendors to provide the special
> +platform initialization based on the generic platform initialization library.
> +
>  ##### Next Phase Address and Privilege Mode
>  [Indicated as #5 in the figure](#risc-v-edk2-port-design-diagrams)
>  > Once OpenSBI finishes the boot initialization, it will jump to the next phase with the default privilege set to
> -- 
> 2.17.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] Platform/RISC-V/PlatformPkg:fix image link error
  2023-01-05  3:02   ` Dongdong Zhang
@ 2023-01-05  6:05     ` Sunil V L
  0 siblings, 0 replies; 5+ messages in thread
From: Sunil V L @ 2023-01-05  6:05 UTC (permalink / raw)
  To: Dongdong Zhang; +Cc: devel, zhuwenjun, zhengyu, jinyanjiang, git

Thanks for the patch!.

Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>

On Thu, Jan 05, 2023 at 11:02:43AM +0800, Dongdong Zhang wrote:
> Hi, all
> Sorry, forgot to add Maintainer and Reviewer.
> Add Sunil V L <sunilvl@ventanamicro.com>
> Add Daniel Schaefer <git@danielschaefer.me>
> 
> > -----原始邮件-----发件人:"Dongdong Zhang" <zhangdongdong@eswincomputing.com>发送时间:2022-12-28 13:45:50 (星期三)收件人:devel@edk2.groups.io抄送:zhuwenjun@eswincomputing.com, zhengyu@eswincomputing.com, jinyanjiang@eswincomputing.com, "Dongdong Zhang" <zhangdongdong@eswincomputing.com>主题:[PATCH 1/1] Platform/RISC-V/PlatformPkg:fix image link error
> > 
> > Edk2OpensbiPlatformWrapperLib Library and RiscVSpecialPlatformLib
> > Library mark the serial number in the figure is opposite to
> > the text description, fix it and adjust the text order.
> > 
> > Signed-off-by: Dongdong Zhang <zhangdongdong@eswincomputing.com>
> > ---
> >  Platform/RISC-V/PlatformPkg/Readme.md | 14 ++++++++------
> >  1 file changed, 8 insertions(+), 6 deletions(-)
> > 
> > diff --git a/Platform/RISC-V/PlatformPkg/Readme.md b/Platform/RISC-V/PlatformPkg/Readme.md
> > index 5a344a8..d7166ba 100644
> > --- a/Platform/RISC-V/PlatformPkg/Readme.md
> > +++ b/Platform/RISC-V/PlatformPkg/Readme.md
> > @@ -35,19 +35,21 @@ are from OpenSBI project. edk2 libraries are introduced as the wrapper libraries
> >  [Indicated as #2 in the figure](#risc-v-edk2-port-design-diagrams)
> >  > ***OpenSbiPlatformLib*** provides the generic RISC-V platform initialization code. Platform vendor can just utilize this library if they don't have additional requirements on the platform initialization.
> >  
> > -##### RiscVSpecialPlatformLib Library
> > -[Indicated as #3 in the figure](#risc-v-edk2-port-design-diagrams)
> > -> The major use case of this library is to facilitate the interfaces for platform vendors to provide the special
> > -platform initialization based on the generic platform initialization library.
> > -
> >  ##### Edk2OpensbiPlatformWrapperLib Library
> > -[Indicated as #4 in the figure](#risc-v-edk2-port-design-diagrams)
> > +
> > +[Indicated as #3 in the figure](#risc-v-edk2-port-design-diagrams)
> >  > In order to providing the flexibility to edk2 RISC-V firmware solution, ***Edk2OpensbiPlatformWrapperLib*** is the wrapper library of [OpenSbiPlatformLib](#OpenSbiPlatformLib-library) to provide the interfaces for OEM. The ***platform_ops_address***in the generic platform structure is replaced with ***Edk2OpensbiplatformOps*** in SEC
> >  module. The platform function invoked by OpenSBI core is hooked to ***Edk2OpensbiPlatformWrapperLib***. This gives
> >  a change to OEM for implementing platform-specific initialization before and after the generic platform code. OEM
> >  can override this library under their platform folder on demand without touching ***RiscVOpensbiLib*** library
> >  source files and other common source files.
> >  
> > +##### RiscVSpecialPlatformLib Library
> > +
> > +[Indicated as #4 in the figure](#risc-v-edk2-port-design-diagrams)
> > +> The major use case of this library is to facilitate the interfaces for platform vendors to provide the special
> > +platform initialization based on the generic platform initialization library.
> > +
> >  ##### Next Phase Address and Privilege Mode
> >  [Indicated as #5 in the figure](#risc-v-edk2-port-design-diagrams)
> >  > Once OpenSBI finishes the boot initialization, it will jump to the next phase with the default privilege set to
> > -- 
> > 2.17.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-01-05  6:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-28  5:45 [PATCH 0/1] fix image link error Dongdong Zhang
2022-12-28  5:45 ` [PATCH 1/1] Platform/RISC-V/PlatformPkg:fix " Dongdong Zhang
2022-12-29  1:14   ` [edk2-devel] " Chang, Abner
2023-01-05  3:02   ` Dongdong Zhang
2023-01-05  6:05     ` Sunil V L

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox