The branch main has been updated by mhorne:

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

commit 96b137c044d8f7266757e95ff134119f3ac51be5
Author:     Mitchell Horne <[email protected]>
AuthorDate: 2025-10-20 14:24:58 +0000
Commit:     Mitchell Horne <[email protected]>
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"

Reply via email to