From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 515F2780091 for ; Thu, 19 Oct 2023 03:04:26 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=uGi42tJHcyXt4bnDF+ZtkY7rH0h98jfdlCqzwQsazCc=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding; s=20140610; t=1697684665; v=1; b=mOGihPTFAsWFeiR1czn+sXSqC/MV9XI6sJOie8xxjYLXJiuCac59ISnz2DbkbjkuA/feb4B7 BbHJhvKQ+Cdnp9TzA94hoMBj8tqu3rXCuQeHxKMyMyaFHe3pmM7acNlIrGWaN9UR426MYQdzhIB ccSv4o8fcPU50EPTVcF9K8kU= X-Received: by 127.0.0.2 with SMTP id L1j4YY7687511xctt5LjVZun; Wed, 18 Oct 2023 20:04:25 -0700 X-Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by mx.groups.io with SMTP id smtpd.web10.19515.1697684664024357902 for ; Wed, 18 Oct 2023 20:04:24 -0700 X-Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 9316924E083; Thu, 19 Oct 2023 11:04:22 +0800 (CST) X-Received: from EXMBX073.cuchost.com (172.16.6.83) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 19 Oct 2023 11:04:22 +0800 X-Received: from localhost.localdomain (202.188.176.82) by EXMBX073.cuchost.com (172.16.6.83) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 19 Oct 2023 11:04:20 +0800 From: "John Chew" To: CC: John Chew , Sunil V L , Li Yong Subject: [edk2-devel] [PATCH v1 0/1] Enable EDK2 on StarFive VisionFive 2 board Date: Thu, 19 Oct 2023 11:04:15 +0800 Message-ID: <20231019030416.1607-1-yuinyee.chew@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [202.188.176.82] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX073.cuchost.com (172.16.6.83) X-YovoleRuleAgent: yovoleflag Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,yuinyee.chew@starfivetech.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: F3MGcwOZIWrkoNfyzjHH9wopx7686176AA= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=mOGihPTF; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io 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_jh711= 0_devel_upstream Cc: Sunil V L Cc: Li Yong 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.dt= si create mode 100644 Platform/StarFive/VisionFive2/DeviceTree/StarFiveHdmi.d= tsi 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/StarFiveVision= Five2.dts create mode 100755 Platform/StarFive/VisionFive2/DeviceTree/StarFiveVision= Five2.dtsi create mode 100644 Platform/StarFive/VisionFive2/DeviceTree/Thermal.h create mode 100644 Platform/StarFive/VisionFive2/DeviceTree/VisionFive2Dev= iceTree.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 --=20 2.34.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- 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] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-