Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2025 23:42:15 GMT
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 96b137c044d8 - main - riscv: build starfive JH7110 DTBs
Message-ID:  <202510202342.59KNgFh3090345@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=96b137c044d8f7266757e95ff134119f3ac51be5

commit 96b137c044d8f7266757e95ff134119f3ac51be5
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2025-10-20 14:24:58 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2025-10-20 23:37:13 +0000

    riscv: build starfive JH7110 DTBs
    
    These are known to work if loaded manually by loader(8) (for VF2 at
    least). If nothing else, it is useful to provide a DTB closely tied to
    the kernel version.
    
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D53117
---
 sys/modules/dtb/starfive/Makefile | 7 +++++++
 sys/riscv/conf/std.starfive       | 3 +++
 2 files changed, 10 insertions(+)

diff --git a/sys/modules/dtb/starfive/Makefile b/sys/modules/dtb/starfive/Makefile
new file mode 100644
index 000000000000..2da30f0985c7
--- /dev/null
+++ b/sys/modules/dtb/starfive/Makefile
@@ -0,0 +1,7 @@
+DTS=	\
+	starfive/jh7110-pine64-star64.dts \
+	starfive/jh7110-milkv-mars.dts \
+	starfive/jh7110-starfive-visionfive-2-v1.3b.dts \
+	starfive/jh7110-starfive-visionfive-2-v1.2a.dts
+
+.include <bsd.dtb.mk>
diff --git a/sys/riscv/conf/std.starfive b/sys/riscv/conf/std.starfive
index 9bdb1af9e79c..6a0e56cc84bd 100644
--- a/sys/riscv/conf/std.starfive
+++ b/sys/riscv/conf/std.starfive
@@ -10,4 +10,7 @@ device		eqos
 device		dwmmc
 device		dwmmc_starfive
 
+# DTBs
+makeoptions	MODULES_EXTRA+="dtb/starfive"
+
 files		"../starfive/files.starfive"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510202342.59KNgFh3090345>