From: "John Chew" <yuinyee.chew@starfivetech.com>
To: <devel@edk2.groups.io>
Cc: John Chew <yuinyee.chew@starfivetech.com>,
Sunil V L <sunilvl@ventanamicro.com>, Li Yong <yong.li@intel.com>
Subject: [edk2-devel] [PATCH v1 0/1] Enable EDK2 on StarFive VisionFive 2 board
Date: Thu, 19 Oct 2023 11:04:15 +0800 [thread overview]
Message-ID: <20231019030416.1607-1-yuinyee.chew@starfivetech.com> (raw)
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]
-=-=-=-=-=-=-=-=-=-=-=-
next reply other threads:[~2023-10-19 3:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-19 3:04 John Chew [this message]
2023-10-19 3:04 ` [edk2-devel] [PATCH v1 1/1] StarFive/VisionFive2: Add VisionFive 2 platform John Chew
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231019030416.1607-1-yuinyee.chew@starfivetech.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox