[edk2-devel] [PATCH v7 0/3] Support FDT library.

Chiu, Chasel posted 3 patches 12 months ago
Failed in applying to current master (apply log)
MdePkg/Library/BaseFdtLib/FdtLib.c        | 404 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
MdePkg/Library/BaseFdtLib/LibFdtWrapper.c | 173 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.gitmodules                               |   3 +++
.pytool/CISettings.py                     |   2 ++
MdePkg/Include/Library/FdtLib.h           | 401 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
MdePkg/Library/BaseFdtLib/BaseFdtLib.inf  |  62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
MdePkg/Library/BaseFdtLib/BaseFdtLib.uni  |  14 ++++++++++++++
MdePkg/Library/BaseFdtLib/LibFdtSupport.h |  99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
MdePkg/Library/BaseFdtLib/libfdt          |   1 +
MdePkg/Library/BaseFdtLib/limits.h        |  10 ++++++++++
MdePkg/Library/BaseFdtLib/stdbool.h       |  10 ++++++++++
MdePkg/Library/BaseFdtLib/stddef.h        |  10 ++++++++++
MdePkg/Library/BaseFdtLib/stdint.h        |  10 ++++++++++
MdePkg/Library/BaseFdtLib/stdlib.h        |  10 ++++++++++
MdePkg/Library/BaseFdtLib/string.h        |  10 ++++++++++
MdePkg/MdePkg.ci.yaml                     |  15 ++++++++++++++-
MdePkg/MdePkg.dec                         |   4 ++++
MdePkg/MdePkg.dsc                         |   1 +
ReadMe.rst                                |   1 +
19 files changed, 1239 insertions(+), 1 deletion(-)
create mode 100644 MdePkg/Library/BaseFdtLib/FdtLib.c
create mode 100644 MdePkg/Library/BaseFdtLib/LibFdtWrapper.c
create mode 100644 MdePkg/Include/Library/FdtLib.h
create mode 100644 MdePkg/Library/BaseFdtLib/BaseFdtLib.inf
create mode 100644 MdePkg/Library/BaseFdtLib/BaseFdtLib.uni
create mode 100644 MdePkg/Library/BaseFdtLib/LibFdtSupport.h
create mode 160000 MdePkg/Library/BaseFdtLib/libfdt
create mode 100644 MdePkg/Library/BaseFdtLib/limits.h
create mode 100644 MdePkg/Library/BaseFdtLib/stdbool.h
create mode 100644 MdePkg/Library/BaseFdtLib/stddef.h
create mode 100644 MdePkg/Library/BaseFdtLib/stdint.h
create mode 100644 MdePkg/Library/BaseFdtLib/stdlib.h
create mode 100644 MdePkg/Library/BaseFdtLib/string.h
[edk2-devel] [PATCH v7 0/3] Support FDT library.
Posted by Chiu, Chasel 12 months ago
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4392
Add FDT support in EDK2 by submodule 3rd party libfdt
(https://github.com/devicetree-org/pylibfdt/tree/main/libfdt)
and refer to LibcLib implementation by Pedro.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Michael Kubacki <mikuback@linux.microsoft.com>
Acked-by: Pedro Falcato <pedro.falcato@gmail.com>
Signed-off-by: Benny Lin <benny.lin@intel.com>


V7:
Update FdtLib.h comments to replace SwapBytes*() with CpuToFdt*()
and Fdt*ToCpu() provided by current library.
Benny Lin (3):
  Tianocore: Support FDT library.
  MdePkg: Support FDT library.
  .pytool: Support FDT library.

 MdePkg/Library/BaseFdtLib/FdtLib.c        | 404 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 MdePkg/Library/BaseFdtLib/LibFdtWrapper.c | 173 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 .gitmodules                               |   3 +++
 .pytool/CISettings.py                     |   2 ++
 MdePkg/Include/Library/FdtLib.h           | 401 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 MdePkg/Library/BaseFdtLib/BaseFdtLib.inf  |  62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 MdePkg/Library/BaseFdtLib/BaseFdtLib.uni  |  14 ++++++++++++++
 MdePkg/Library/BaseFdtLib/LibFdtSupport.h |  99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 MdePkg/Library/BaseFdtLib/libfdt          |   1 +
 MdePkg/Library/BaseFdtLib/limits.h        |  10 ++++++++++
 MdePkg/Library/BaseFdtLib/stdbool.h       |  10 ++++++++++
 MdePkg/Library/BaseFdtLib/stddef.h        |  10 ++++++++++
 MdePkg/Library/BaseFdtLib/stdint.h        |  10 ++++++++++
 MdePkg/Library/BaseFdtLib/stdlib.h        |  10 ++++++++++
 MdePkg/Library/BaseFdtLib/string.h        |  10 ++++++++++
 MdePkg/MdePkg.ci.yaml                     |  15 ++++++++++++++-
 MdePkg/MdePkg.dec                         |   4 ++++
 MdePkg/MdePkg.dsc                         |   1 +
 ReadMe.rst                                |   1 +
 19 files changed, 1239 insertions(+), 1 deletion(-)
 create mode 100644 MdePkg/Library/BaseFdtLib/FdtLib.c
 create mode 100644 MdePkg/Library/BaseFdtLib/LibFdtWrapper.c
 create mode 100644 MdePkg/Include/Library/FdtLib.h
 create mode 100644 MdePkg/Library/BaseFdtLib/BaseFdtLib.inf
 create mode 100644 MdePkg/Library/BaseFdtLib/BaseFdtLib.uni
 create mode 100644 MdePkg/Library/BaseFdtLib/LibFdtSupport.h
 create mode 160000 MdePkg/Library/BaseFdtLib/libfdt
 create mode 100644 MdePkg/Library/BaseFdtLib/limits.h
 create mode 100644 MdePkg/Library/BaseFdtLib/stdbool.h
 create mode 100644 MdePkg/Library/BaseFdtLib/stddef.h
 create mode 100644 MdePkg/Library/BaseFdtLib/stdint.h
 create mode 100644 MdePkg/Library/BaseFdtLib/stdlib.h
 create mode 100644 MdePkg/Library/BaseFdtLib/string.h

-- 
2.35.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#104042): https://edk2.groups.io/g/devel/message/104042
Mute This Topic: https://groups.io/mt/98695772/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [edk2-devel] [PATCH v7 0/3] Support FDT library.
Posted by Michael D Kinney 12 months ago
Series Reviewed-by: Michael D Kinney <Michael.d.kinney@intel.com>


> -----Original Message-----
> From: Chiu, Chasel <chasel.chiu@intel.com>
> Sent: Thursday, May 4, 2023 4:48 PM
> To: devel@edk2.groups.io
> Cc: Chiu, Chasel <chasel.chiu@intel.com>; Kinney, Michael D
> <michael.d.kinney@intel.com>; Gao, Liming <gaoliming@byosoft.com.cn>; Liu,
> Zhiguang <zhiguang.liu@intel.com>; Sean Brogan
> <sean.brogan@microsoft.com>; Michael Kubacki
> <mikuback@linux.microsoft.com>; Pedro Falcato <pedro.falcato@gmail.com>;
> Lin, Benny <benny.lin@intel.com>
> Subject: [PATCH v7 0/3] Support FDT library.
> 
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4392
> Add FDT support in EDK2 by submodule 3rd party libfdt
> (https://github.com/devicetree-org/pylibfdt/tree/main/libfdt)
> and refer to LibcLib implementation by Pedro.
> 
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Zhiguang Liu <zhiguang.liu@intel.com>
> Cc: Sean Brogan <sean.brogan@microsoft.com>
> Cc: Michael Kubacki <mikuback@linux.microsoft.com>
> Acked-by: Pedro Falcato <pedro.falcato@gmail.com>
> Signed-off-by: Benny Lin <benny.lin@intel.com>
> 
> 
> V7:
> Update FdtLib.h comments to replace SwapBytes*() with CpuToFdt*()
> and Fdt*ToCpu() provided by current library.
> Benny Lin (3):
>   Tianocore: Support FDT library.
>   MdePkg: Support FDT library.
>   .pytool: Support FDT library.
> 
>  MdePkg/Library/BaseFdtLib/FdtLib.c        | 404
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> ++++++++++++++
>  MdePkg/Library/BaseFdtLib/LibFdtWrapper.c | 173
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++++++++++++
>  .gitmodules                               |   3 +++
>  .pytool/CISettings.py                     |   2 ++
>  MdePkg/Include/Library/FdtLib.h           | 401
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++
>  MdePkg/Library/BaseFdtLib/BaseFdtLib.inf  |  62
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  MdePkg/Library/BaseFdtLib/BaseFdtLib.uni  |  14 ++++++++++++++
>  MdePkg/Library/BaseFdtLib/LibFdtSupport.h |  99
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> ++++++++++++++++++++++++++++++++++
>  MdePkg/Library/BaseFdtLib/libfdt          |   1 +
>  MdePkg/Library/BaseFdtLib/limits.h        |  10 ++++++++++
>  MdePkg/Library/BaseFdtLib/stdbool.h       |  10 ++++++++++
>  MdePkg/Library/BaseFdtLib/stddef.h        |  10 ++++++++++
>  MdePkg/Library/BaseFdtLib/stdint.h        |  10 ++++++++++
>  MdePkg/Library/BaseFdtLib/stdlib.h        |  10 ++++++++++
>  MdePkg/Library/BaseFdtLib/string.h        |  10 ++++++++++
>  MdePkg/MdePkg.ci.yaml                     |  15 ++++++++++++++-
>  MdePkg/MdePkg.dec                         |   4 ++++
>  MdePkg/MdePkg.dsc                         |   1 +
>  ReadMe.rst                                |   1 +
>  19 files changed, 1239 insertions(+), 1 deletion(-)
>  create mode 100644 MdePkg/Library/BaseFdtLib/FdtLib.c
>  create mode 100644 MdePkg/Library/BaseFdtLib/LibFdtWrapper.c
>  create mode 100644 MdePkg/Include/Library/FdtLib.h
>  create mode 100644 MdePkg/Library/BaseFdtLib/BaseFdtLib.inf
>  create mode 100644 MdePkg/Library/BaseFdtLib/BaseFdtLib.uni
>  create mode 100644 MdePkg/Library/BaseFdtLib/LibFdtSupport.h
>  create mode 160000 MdePkg/Library/BaseFdtLib/libfdt
>  create mode 100644 MdePkg/Library/BaseFdtLib/limits.h
>  create mode 100644 MdePkg/Library/BaseFdtLib/stdbool.h
>  create mode 100644 MdePkg/Library/BaseFdtLib/stddef.h
>  create mode 100644 MdePkg/Library/BaseFdtLib/stdint.h
>  create mode 100644 MdePkg/Library/BaseFdtLib/stdlib.h
>  create mode 100644 MdePkg/Library/BaseFdtLib/string.h
> 
> --
> 2.35.0.windows.1



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