public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [PATCH v4 0/6] StarFive/VisionFive2: Add VisionFive 2 platform
@ 2023-11-03  2:30 John Chew
  2023-11-03  2:30 ` [edk2-devel] [PATCH v4 1/6] StarFive/JH7110Pkg: Add Pci controller driver John Chew
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: John Chew @ 2023-11-03  2:30 UTC (permalink / raw)
  To: devel
  Cc: John Chew, Sunil V L, Leif Lindholm, Michael D Kinney, Li Yong,
	mindachen1987

v4:
  - Add maintainer.txt patch [Sunil]
  - Add Sunil's Ack in patch 1/6...5/6 [John Chew]

v3:
  - Combine "Add VisionFive 2 platform" patch series with
    "Patches for JH7110 SoC platform" patch series [Sunil]
  - Change commit message for [1/5], [4/5], [5/5] in this patch series
    [Sunil]

v2:
  - Change PlatformBootManagerLib to:
      Platform/RISC-V/PlatformPkg/.../PlatformBootManagerLib.inf
    [Sunil]
  - Added PCIE PCDs
    PcdPciBusMin, PcdPciBusMax, PcdPciIoBase, PcdPciIoSize
    PcdPciIoOffset, PcdPci0Mmio32Base, PcdPci0Mmio32Size
    PcdPci0Mmio64Base, PcdPci0Mmio64Size, PcdPci1Mmio32Base
    PcdPci1Mmio32Size, PcdPci1Mmio64Base, PcdPci1Mmio64Size
    [John Chew]
  - Include all maintainer in all patches in this series [Sunil]
  - Added missing commit message to patches 1/6, 2/6, 6/6 [Sunil]
  - Remove commented code in JH7110.h [Sunil]
  - Remove BootServicesDxe/BootServicesDxe.inf, as it is not required 
    anymore because memory allocation is handle by MMC driver [Sunil]
  - Remove PlatformBootManagerLib.inf and change PlatformBootManagerLib to
    "Platform/RISC-V/PlatformPkg/.../PlatformBootManagerLib.inf" [Sunil] 
  - Added PCDs for PCIE (Please refer to patch 0001 for details) [John Chew]

v1:
  - Added new platform support for VisionFive2 SBC.
  - Boot flow in VF2 using EDK2 as bootloader:
    BootROM -> U-Boot SPL -> OpenSBI -> EDK2 -> Linux -> OS
  - Supported boot source for Linux from EDK2:
      - SD Card
      - eMMC
      - NVMe
      - USB
  - In this patches it include all the platform specific drivers/protocol
    that is being use for JH7110 SoC platform. All the drivers includes:
      1. PCIE driver for NVME and USB (GT710 graphic in progress)
      2. QSPI Flash driver for efi variable
      3. FVB driver for efi variable
      4. Boot service memory allocation driver
      5. Platform boot manager for graphical console display

Repository: 

Cc: Sunil V L <sunilvl@ventanamicro.com>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Li Yong <yong.li@intel.com>
Cc: mindachen1987 <minda.chen@starfivetech.com>

John Chew (3):
  StarFive/JH7110Pkg: Add SPI protocol and driver support
  StarFive/JH7110Pkg: Add firmware volume block protocol
  Maintainers.txt: Add maintainers for StarFive platform

mindachen1987 (3):
  StarFive/JH7110Pkg: Add Pci controller driver
  StarFive/JH7110Pkg: Add JH7110 Silicon Package
  StarFive/VisionFive2: Add VisionFive 2 platform

 Maintainers.txt                                                                   |    7 +
 Platform/StarFive/VisionFive2/DeviceTree/Gpio.h                                   |   42 +
 Platform/StarFive/VisionFive2/DeviceTree/Irq.h                                    |   20 +
 Platform/StarFive/VisionFive2/DeviceTree/JH7110ClkGen.h                           |  398 +++++
 Platform/StarFive/VisionFive2/DeviceTree/JH7110ClkIsp.h                           |   57 +
 Platform/StarFive/VisionFive2/DeviceTree/JH7110ClkVout.h                          |   68 +
 Platform/StarFive/VisionFive2/DeviceTree/JH7110PinCtrl.h                          | 1573 +++++++++++++++++
 Platform/StarFive/VisionFive2/DeviceTree/JH7110Power.h                            |   22 +
 Platform/StarFive/VisionFive2/DeviceTree/JH7110Rst.h                              |  228 +++
 Platform/StarFive/VisionFive2/DeviceTree/Led.h                                    |   90 +
 Platform/StarFive/VisionFive2/DeviceTree/StarFiveClk.dtsi                         |  130 ++
 Platform/StarFive/VisionFive2/DeviceTree/StarFiveHdmi.dtsi                        |   28 +
 Platform/StarFive/VisionFive2/DeviceTree/StarFiveJH7110.dtsi                      | 1812 ++++++++++++++++++++
 Platform/StarFive/VisionFive2/DeviceTree/StarFivePwmDac.dtsi                      |   26 +
 Platform/StarFive/VisionFive2/DeviceTree/StarFiveVisionFive2.dts                  |  211 +++
 Platform/StarFive/VisionFive2/DeviceTree/StarFiveVisionFive2.dtsi                 |  838 +++++++++
 Platform/StarFive/VisionFive2/DeviceTree/Thermal.h                                |   16 +
 Platform/StarFive/VisionFive2/DeviceTree/VisionFive2DeviceTree.inf                |   36 +
 Platform/StarFive/VisionFive2/VarStore.fdf.inc                                    |   77 +
 Platform/StarFive/VisionFive2/VisionFive2.dsc                                     |  596 +++++++
 Platform/StarFive/VisionFive2/VisionFive2.fdf                                     |  284 +++
 Platform/StarFive/VisionFive2/VisionFive2.fdf.inc                                 |   48 +
 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/FvbDxe/FvbDxe.c               |  909 ++++++++++
 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/FvbDxe/FvbDxe.h               |  138 ++
 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/FvbDxe/FvbDxe.inf             |   70 +
 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/SpiDxe/SpiDxe.c               |  893 ++++++++++
 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/SpiDxe/SpiDxe.h               |  188 ++
 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/SpiDxe/SpiDxe.inf             |   52 +
 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/SpiFlashDxe/SpiFlashDxe.c     |  571 ++++++
 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/SpiFlashDxe/SpiFlashDxe.h     |   35 +
 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/SpiFlashDxe/SpiFlashDxe.inf   |   44 +
 Silicon/StarFive/JH7110Pkg/Include/IndustryStandard/JH7110.h                      |   21 +
 Silicon/StarFive/JH7110Pkg/Include/Protocol/Spi.h                                 |  163 ++
 Silicon/StarFive/JH7110Pkg/Include/Protocol/SpiFlash.h                            |   88 +
 Silicon/StarFive/JH7110Pkg/JH7110Pkg.dec                                          |   57 +
 Silicon/StarFive/JH7110Pkg/Library/PciHostBridgeLib/PciHostBridgeLib.c            |  263 +++
 Silicon/StarFive/JH7110Pkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf          |   61 +
 Silicon/StarFive/JH7110Pkg/Library/PciHostBridgeLib/PciHostBridgeLibConstructor.c |  406 +++++
 Silicon/StarFive/JH7110Pkg/Library/PciSegmentLib/PciSegmentLib.c                  | 1460 ++++++++++++++++
 Silicon/StarFive/JH7110Pkg/Library/PciSegmentLib/PciSegmentLib.inf                |   33 +
 40 files changed, 12059 insertions(+)
 create mode 100644 Platform/StarFive/VisionFive2/DeviceTree/Gpio.h
 create mode 100644 Platform/StarFive/VisionFive2/DeviceTree/Irq.h
 create mode 100644 Platform/StarFive/VisionFive2/DeviceTree/JH7110ClkGen.h
 create mode 100644 Platform/StarFive/VisionFive2/DeviceTree/JH7110ClkIsp.h
 create mode 100644 Platform/StarFive/VisionFive2/DeviceTree/JH7110ClkVout.h
 create mode 100755 Platform/StarFive/VisionFive2/DeviceTree/JH7110PinCtrl.h
 create mode 100755 Platform/StarFive/VisionFive2/DeviceTree/JH7110Power.h
 create mode 100644 Platform/StarFive/VisionFive2/DeviceTree/JH7110Rst.h
 create mode 100644 Platform/StarFive/VisionFive2/DeviceTree/Led.h
 create mode 100755 Platform/StarFive/VisionFive2/DeviceTree/StarFiveClk.dtsi
 create mode 100644 Platform/StarFive/VisionFive2/DeviceTree/StarFiveHdmi.dtsi
 create mode 100644 Platform/StarFive/VisionFive2/DeviceTree/StarFiveJH7110.dtsi
 create mode 100644 Platform/StarFive/VisionFive2/DeviceTree/StarFivePwmDac.dtsi
 create mode 100644 Platform/StarFive/VisionFive2/DeviceTree/StarFiveVisionFive2.dts
 create mode 100755 Platform/StarFive/VisionFive2/DeviceTree/StarFiveVisionFive2.dtsi
 create mode 100644 Platform/StarFive/VisionFive2/DeviceTree/Thermal.h
 create mode 100644 Platform/StarFive/VisionFive2/DeviceTree/VisionFive2DeviceTree.inf
 create mode 100644 Platform/StarFive/VisionFive2/VarStore.fdf.inc
 create mode 100644 Platform/StarFive/VisionFive2/VisionFive2.dsc
 create mode 100644 Platform/StarFive/VisionFive2/VisionFive2.fdf
 create mode 100644 Platform/StarFive/VisionFive2/VisionFive2.fdf.inc
 create mode 100644 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/FvbDxe/FvbDxe.c
 create mode 100644 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/FvbDxe/FvbDxe.h
 create mode 100644 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/FvbDxe/FvbDxe.inf
 create mode 100755 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/SpiDxe/SpiDxe.c
 create mode 100644 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/SpiDxe/SpiDxe.h
 create mode 100644 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/SpiDxe/SpiDxe.inf
 create mode 100755 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/SpiFlashDxe/SpiFlashDxe.c
 create mode 100755 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/SpiFlashDxe/SpiFlashDxe.h
 create mode 100644 Silicon/StarFive/JH7110Pkg/Driver/SpiFvbServicesDxe/SpiFlashDxe/SpiFlashDxe.inf
 create mode 100644 Silicon/StarFive/JH7110Pkg/Include/IndustryStandard/JH7110.h
 create mode 100644 Silicon/StarFive/JH7110Pkg/Include/Protocol/Spi.h
 create mode 100644 Silicon/StarFive/JH7110Pkg/Include/Protocol/SpiFlash.h
 create mode 100644 Silicon/StarFive/JH7110Pkg/JH7110Pkg.dec
 create mode 100644 Silicon/StarFive/JH7110Pkg/Library/PciHostBridgeLib/PciHostBridgeLib.c
 create mode 100644 Silicon/StarFive/JH7110Pkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
 create mode 100644 Silicon/StarFive/JH7110Pkg/Library/PciHostBridgeLib/PciHostBridgeLibConstructor.c
 create mode 100644 Silicon/StarFive/JH7110Pkg/Library/PciSegmentLib/PciSegmentLib.c
 create mode 100644 Silicon/StarFive/JH7110Pkg/Library/PciSegmentLib/PciSegmentLib.inf

-- 
2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#110589): https://edk2.groups.io/g/devel/message/110589
Mute This Topic: https://groups.io/mt/102357015/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



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

end of thread, other threads:[~2023-11-15  1:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-03  2:30 [edk2-devel] [PATCH v4 0/6] StarFive/VisionFive2: Add VisionFive 2 platform John Chew
2023-11-03  2:30 ` [edk2-devel] [PATCH v4 1/6] StarFive/JH7110Pkg: Add Pci controller driver John Chew
2023-11-03  2:30 ` [edk2-devel] [PATCH v4 2/6] StarFive/JH7110Pkg: Add SPI protocol and driver support John Chew
2023-11-03  2:30 ` [edk2-devel] [PATCH v4 3/6] StarFive/JH7110Pkg: Add firmware volume block protocol John Chew
2023-11-03  2:30 ` [edk2-devel] [PATCH v4 4/6] StarFive/JH7110Pkg: Add JH7110 Silicon Package John Chew
2023-11-03  2:30 ` [edk2-devel] [PATCH v4 5/6] StarFive/VisionFive2: Add VisionFive 2 platform John Chew
2023-11-03  2:30 ` [edk2-devel] [PATCH v4 6/6] Maintainers.txt: Add maintainers for StarFive platform John Chew
2023-11-15  1:39 ` [edk2-devel] [PATCH v4 0/6] StarFive/VisionFive2: Add VisionFive 2 platform John Chew

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