public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v8 0/4] Improved supports for FT-2000/4 chip.
@ 2022-08-09 10:18 Ling Jia
  2022-08-09 10:18 ` [PATCH v8 1/4] Platform/Phytium: Solved problems during boot Ling Jia
  0 siblings, 1 reply; 3+ messages in thread
From: Ling Jia @ 2022-08-09 10:18 UTC (permalink / raw)
  To: devel; +Cc: Leif Lindholm, Liming Gao, Michael D Kinney, Yiqi Shu, Peng Xie

Completed the flash driver and fvb driver,
solved the problems in boot process and
added runtime supports for flash operations
under OS.

The public git repository is :
https://github.com/jialing2020/edk2-platforms/tree/Phytium_Opensource_For_FT-2000/4_v8

Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Yiqi Shu <shuyiqi@phytium.com.cn>
Cc: Peng Xie <xiepeng@phytium.com.cn>
Ling Jia (4):
  Platform/Phytium: Solved problems during boot
  Silicon/Phytium: Added flash driver support for flash operation
  Silicon/Phytium: Added fvb driver for flash
  Silicon/Phytium: Added runtime support to spi master

 Silicon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dec                                        |    1 +
 Platform/Phytium/DurianPkg/DurianPkg.dsc                                                     |   14 +
 Platform/Phytium/DurianPkg/DurianPkg.fdf                                                     |   14 +
 Silicon/Phytium/FT2000-4Pkg/Drivers/SpiDxe/SpiDxe.inf                                        |    5 +
 Silicon/Phytium/FT2000-4Pkg/Drivers/{SpiDxe/SpiDxe.inf => SpiNorFlashDxe/SpiNorFlashDxe.inf} |   27 +-
 Silicon/Phytium/PhytiumCommonPkg/Drivers/FlashFvbDxe/FlashFvbDxe.inf                         |   63 +
 Silicon/Phytium/FT2000-4Pkg/Drivers/SpiDxe/SpiDxe.h                                          |    2 +
 Silicon/Phytium/FT2000-4Pkg/Drivers/SpiNorFlashDxe/SpiNorFlashDxe.h                          |   95 ++
 Silicon/Phytium/PhytiumCommonPkg/Drivers/FlashFvbDxe/FlashFvbDxe.h                           |  105 ++
 Silicon/Phytium/PhytiumCommonPkg/Include/Protocol/SpiNorFlashProtocol.h                      |   74 ++
 Silicon/Phytium/FT2000-4Pkg/Drivers/SpiDxe/SpiDxe.c                                          |   84 +-
 Silicon/Phytium/FT2000-4Pkg/Drivers/SpiNorFlashDxe/SpiNorFlashDxe.c                          |  412 ++++++
 Silicon/Phytium/PhytiumCommonPkg/Drivers/FlashFvbDxe/FlashFvbDxe.c                           | 1329 ++++++++++++++++++++
 13 files changed, 2203 insertions(+), 22 deletions(-)
 copy Silicon/Phytium/FT2000-4Pkg/Drivers/{SpiDxe/SpiDxe.inf => SpiNorFlashDxe/SpiNorFlashDxe.inf} (50%)
 mode change 100644 => 100755
 create mode 100755 Silicon/Phytium/PhytiumCommonPkg/Drivers/FlashFvbDxe/FlashFvbDxe.inf
 create mode 100755 Silicon/Phytium/FT2000-4Pkg/Drivers/SpiNorFlashDxe/SpiNorFlashDxe.h
 create mode 100755 Silicon/Phytium/PhytiumCommonPkg/Drivers/FlashFvbDxe/FlashFvbDxe.h
 create mode 100755 Silicon/Phytium/PhytiumCommonPkg/Include/Protocol/SpiNorFlashProtocol.h
 create mode 100755 Silicon/Phytium/FT2000-4Pkg/Drivers/SpiNorFlashDxe/SpiNorFlashDxe.c
 create mode 100755 Silicon/Phytium/PhytiumCommonPkg/Drivers/FlashFvbDxe/FlashFvbDxe.c

-- 
2.25.1


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

* [PATCH v8 1/4] Platform/Phytium: Solved problems during boot
  2022-08-09 10:18 [PATCH v8 0/4] Improved supports for FT-2000/4 chip Ling Jia
@ 2022-08-09 10:18 ` Ling Jia
  0 siblings, 0 replies; 3+ messages in thread
From: Ling Jia @ 2022-08-09 10:18 UTC (permalink / raw)
  To: devel

From: Ling Jia <jialing@phytium.com.cn>

Solved the problem of lack of dependent Library
in PciHostBridgeDxe.

Solved the problem of missing boot management menu.

Signed-off-by: Ling Jia <jialing@phytium.com.cn>
---
 Platform/Phytium/DurianPkg/DurianPkg.fdf | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Platform/Phytium/DurianPkg/DurianPkg.fdf b/Platform/Phytium/DurianPkg/DurianPkg.fdf
index 2d4427e5eaa7..efb855c5da9e 100644
--- a/Platform/Phytium/DurianPkg/DurianPkg.fdf
+++ b/Platform/Phytium/DurianPkg/DurianPkg.fdf
@@ -142,6 +142,7 @@ [FV.FvMain]
   #
   # PCI Support
   #
+  INF ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf
   INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
   INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
 
@@ -204,6 +205,11 @@ [FV.FvMain]
   INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
   INF MdeModulePkg/Application/UiApp/UiApp.inf
 
+  #
+  #Setup
+  #
+  INF MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf
+
 [FV.FVMAIN_COMPACT]
 FvAlignment        = 16
 ERASE_POLARITY     = 1
-- 
2.25.1


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

* [PATCH v8 0/4] Improved supports for FT-2000/4 chip.
@ 2023-01-30  7:34 Ling Jia
  0 siblings, 0 replies; 3+ messages in thread
From: Ling Jia @ 2023-01-30  7:34 UTC (permalink / raw)
  To: devel; +Cc: Leif Lindholm, Liming Gao, Michael D Kinney, Yiqi Shu, Peng Xie

Completed the flash driver and fvb driver,
solved the problems in boot process and
added runtime supports for flash operations.

The public git repository is :
https://github.com/jialing2020/edk2-platforms/tree/Phytium_Opensource_For_FT-2000/4_v8

Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Yiqi Shu <shuyiqi@phytium.com.cn>
Cc: Peng Xie <xiepeng@phytium.com.cn>

Ling Jia (4):
  Platform/Phytium: Solved problems during boot
  Silicon/Phytium: Added flash driver support for flash operation
  Silicon/Phytium: Added fvb driver for flash
  Silicon/Phytium: Added runtime support to spi master

 Silicon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dec                   |    3 +-
 Silicon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dsc.inc               |    3 +-
 Platform/Phytium/DurianPkg/DurianPkg.dsc                                |   16 +-
 Platform/Phytium/DurianPkg/DurianPkg.fdf                                |   16 +-
 Silicon/Phytium/FT2000-4Pkg/Drivers/SpiDxe/SpiDxe.inf                   |   11 +-
 Silicon/Phytium/FT2000-4Pkg/Drivers/SpiNorFlashDxe/SpiNorFlashDxe.inf   |   51 +
 Silicon/Phytium/PhytiumCommonPkg/Drivers/FlashFvbDxe/FlashFvbDxe.inf    |   62 +
 Silicon/Phytium/FT2000-4Pkg/Drivers/SpiDxe/SpiDxe.h                     |    4 +-
 Silicon/Phytium/FT2000-4Pkg/Drivers/SpiNorFlashDxe/SpiNorFlashDxe.h     |  102 ++
 Silicon/Phytium/PhytiumCommonPkg/Drivers/FlashFvbDxe/FlashFvbDxe.h      |  117 ++
 Silicon/Phytium/PhytiumCommonPkg/Include/Protocol/SpiNorFlashProtocol.h |   74 +
 Silicon/Phytium/FT2000-4Pkg/Drivers/SpiDxe/SpiDxe.c                     |   88 +-
 Silicon/Phytium/FT2000-4Pkg/Drivers/SpiNorFlashDxe/SpiNorFlashDxe.c     |  409 ++++++
 Silicon/Phytium/PhytiumCommonPkg/Drivers/FlashFvbDxe/FlashFvbDxe.c      | 1450 ++++++++++++++++++++
 14 files changed, 2385 insertions(+), 21 deletions(-)
 create mode 100755 Silicon/Phytium/FT2000-4Pkg/Drivers/SpiNorFlashDxe/SpiNorFlashDxe.inf
 create mode 100755 Silicon/Phytium/PhytiumCommonPkg/Drivers/FlashFvbDxe/FlashFvbDxe.inf
 create mode 100755 Silicon/Phytium/FT2000-4Pkg/Drivers/SpiNorFlashDxe/SpiNorFlashDxe.h
 create mode 100755 Silicon/Phytium/PhytiumCommonPkg/Drivers/FlashFvbDxe/FlashFvbDxe.h
 create mode 100755 Silicon/Phytium/PhytiumCommonPkg/Include/Protocol/SpiNorFlashProtocol.h
 create mode 100755 Silicon/Phytium/FT2000-4Pkg/Drivers/SpiNorFlashDxe/SpiNorFlashDxe.c
 create mode 100755 Silicon/Phytium/PhytiumCommonPkg/Drivers/FlashFvbDxe/FlashFvbDxe.c

-- 
2.25.1


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

end of thread, other threads:[~2023-01-30  7:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-09 10:18 [PATCH v8 0/4] Improved supports for FT-2000/4 chip Ling Jia
2022-08-09 10:18 ` [PATCH v8 1/4] Platform/Phytium: Solved problems during boot Ling Jia
  -- strict thread matches above, loose matches on Subject: below --
2023-01-30  7:34 [PATCH v8 0/4] Improved supports for FT-2000/4 chip Ling Jia

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