Official armv7 FreeBSD-dtb-15.snap20241028121139 still based on linux 6.4 *.dts* sources, not 6.8 ones

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.pkgbase,gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
I updated an armv7 OrangePi+ 2ed via:

Installed packages to be UPGRADED:
        FreeBSD-dtb: 15.snap20241009161500 -> 15.snap20241028121139 [base]
        FreeBSD-kernel-generic: 15.snap20241011221604 -> 15.snap20241106134422 [base]
        FreeBSD-kernel-generic-dbg: 15.snap20241011221604 -> 15.snap20241106134422 [base]
        FreeBSD-kernel-generic-mmccam: 15.snap20241011221604 -> 15.snap20241106134422 [base]
        FreeBSD-kernel-generic-mmccam-dbg: 15.snap20241011221604 -> 15.snap20241106134422 [base]
        FreeBSD-kernel-generic-nodebug: 15.snap20241011221604 -> 15.snap20241106134422 [base]
        FreeBSD-kernel-generic-nodebug-dbg: 15.snap20241011221604 -> 15.snap20241106134422 [base]
        FreeBSD-src-sys: 15.snap20241011221604 -> 15.snap20241106160110 [base]

I then installed those and also then copied over the
resulting /boot/dtb tree to the appropriate place.

The boot attempts after that reported:

WARNING: DTB version is 6.4 while kernel expects 6.8, please update the DTB in the ESP

Using other means to get to a context where I could, I did:

# strings /boot/dtb/*.dtb | grep "6\.[48]" | more
=6.4
=6.4
=6.4
=6.4
,6.4
,6.4
,6.4
,6.4
,6.4
,6.4
. . .

[Doing the same sort of thing in one of my aarch64
environments shows a bunch of "6.8"s instead --and
that context does not complain.]

The *.dtb files show dates like:

-r--r--r--  1 root wheel - 31934 Oct 28 12:12:27 2024 /boot/dtb/sun8i-h3-orangepi-plus2e.dtb

https://pkg.freebsd.org/FreeBSD:15:armv7/base_latest/?C=M&O=D shows:

FreeBSD-dtb-15.snap20241028121139.pkg 118092 2024-Oct-28 23:02

But 6.4 dates back to:

Import device-tree files from Linux 6.4 Emmanuel Vadot 2023-08-09

and 6.8 to:

Import device-tree files from Linux 6.8 Emmanuel Vadot 2024-05-06

For reference, https://pkg.freebsd.org/FreeBSD:15:armv7/base_latest/?C=M&O=D
also shows:

FreeBSD-kernel-generic-15.snap20241106134422.pkg 24513749 2024-Nov-06 23:14



I ended up copying a /boot/dtb from a personal build
(not PkgBase style) in order to have files that show
"6.8"s. After that attempted boots of the armv7 no
longer got the complaint.



===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.