public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [PATCH v1 0/1] Enable EDK2 on StarFive VisionFive 2 board
@ 2023-10-19  3:04 John Chew
  2023-10-19  3:04 ` [edk2-devel] [PATCH v1 1/1] StarFive/VisionFive2: Add VisionFive 2 platform John Chew
  0 siblings, 1 reply; 2+ messages in thread
From: John Chew @ 2023-10-19  3:04 UTC (permalink / raw)
  To: devel; +Cc: John Chew, Sunil V L, Li Yong

Boot flow in VF2 using EDK2 as bootloader:
BootROM -> U-Boot SPL -> OpenSBI -> EDK2 -> Linux -> OS

Currently, we rely on U-Boot SPL to initialize DDR and load OpenSBI and
EDK2 into DDR from multiple boot sources, including SD Card, eMMC, or QSPI Flash.
Furthermore, our EDK2 code is capable of loading Linux from various sources as
well, such as SD Card, eMMC, NVME, or USB.

edk2 and edk2-platform code links:
edk2: https://github.com/johnchewyy/edkii/tree/vf2_jh7110_devel_upstream
edk2-platform: https://github.com/johnchewyy/edkii-platforms/tree/vf2_jh7110_devel_upstream

Cc: Sunil V L <sunilvl@ventanamicro.com>
Cc: Li Yong <yong.li@intel.com>

mindachen1987 (1):
  StarFive/VisionFive2: Add VisionFive 2 platform

 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                      |  590 +++++++
 Platform/StarFive/VisionFive2/VisionFive2.fdf                      |  286 +++
 Platform/StarFive/VisionFive2/VisionFive2.fdf.inc                  |   48 +
 21 files changed, 6596 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

-- 
2.34.1



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



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

end of thread, other threads:[~2023-10-19  3:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-19  3:04 [edk2-devel] [PATCH v1 0/1] Enable EDK2 on StarFive VisionFive 2 board John Chew
2023-10-19  3:04 ` [edk2-devel] [PATCH v1 1/1] 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