Re: FreeBSD-13.5-RELEASE-arm-armv7-GENERICSD.img boots kernel 13.0-CURRENT on a Wandboard

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On Mar 23, 2025, at 08:59, Mark Millard <[email protected]> wrote:

> On Mar 23, 2025, at 05:09, Ulrich Grey <[email protected]> wrote:
> 
>> Hello,
>> 
>> I am running a Wandboard-quad:
>> 
>> U-Boot 2019.07 (Sep 27 2019 - 03:40:59 +0000)
>> CPU:   Freescale i.MX6Q rev1.2 at 792 MHz
>> 
>> using:
>> 
>> FreeBSD-13.5-RELEASE-arm-armv7-GENERICSD.img image.
>> 
>> But dmesg says:
>> 
>> FreeBSD 13.0-CURRENT r352778 GENERIC arm
>> 
>> uname -a shows:
>> 
>> FreeBSD wandy.privat 13.0-CURRENT FreeBSD 13.0-CURRENT r352778 GENERIC arm
> 
> I expect that the oddity is local to your context somehow. I
> checked via the sequence below and the kernel strings found
> do not match what you report:
> 
> # fetch https://download.freebsd.org/ftp/releases/ISO-IMAGES/13.5/FreeBSD-13.5-RELEASE-arm-armv7-GENERICSD.img.xz
> FreeBSD-13.5-RELEASE-arm-armv7-GENERICSD.img.x         438 MB   39 MBps    12s
> 
> # unxz FreeBSD-13.5-RELEASE-arm-armv7-GENERICSD.img.xz
> 
> # strings FreeBSD-13.5-RELEASE-arm-armv7-GENERICSD.img | grep "13.5-RELEASE" | more
> @(#)FreeBSD 13.5-RELEASE releng/13.5-n259162-882b9f3f2218 GENERIC
> FreeBSD 13.5-RELEASE releng/13.5-n259162-882b9f3f2218 GENERIC
> 13.5-RELEASE
> @(#)FreeBSD 13.5-RELEASE releng/13.5-n259162-882b9f3f2218 GENERIC
> FreeBSD 13.5-RELEASE releng/13.5-n259162-882b9f3f2218 GENERIC
> 13.5-RELEASE
> USERLAND_VERSION="13.5-RELEASE"
> 
> # strings FreeBSD-13.5-RELEASE-arm-armv7-GENERICSD.img | grep "13.0-CURRENT" | more
> # 
> 
> If you still have the .img file, you might want to try the same
> sort of strings and grep sequences and report what you get as
> results.
> 
> Note: USERLAND_VERSION is from /bin/freebsd-version .
> 
> 
>> But /etc/os-release says:
>> 
>> # less /etc/os-release 
>> NAME=FreeBSD
>> VERSION="13.5-RELEASE"
>> VERSION_ID="13.5"
>> ID=freebsd
>> ANSI_COLOR="0;31"
>> PRETTY_NAME="FreeBSD 13.5-RELEASE"
>> CPE_NAME="cpe:/o:freebsd:freebsd:13.5"
>> HOME_URL="https://FreeBSD.org/"
>> BUG_REPORT_URL="https://bugs.FreeBSD.org/"
>> 
>> During boot I get Warnings:
>> 
>> KLD if_ffec.ko: depends on kernel - not available or version mismatch
>> KLD mac_ntpd.ko: depends on kernel - not available or version mismatch
>> KLD nullfs.ko: depends on kernel - not available or version mismatch
>> 
>> I have built a new world and kernel on the Wandboard using 13.5-RELEASE sources from git.
>> There is no change.
>> 
>> What is wrong?
>> 
>> Regards
>> 
>> Ulrich Grey (I am not a native English speaker.)

Other notes . . .


# pkg-static install sysutils/u-boot-wandboard
. . .
Proceed with this action? [y/N]: y
[1/1] Fetching u-boot-wandboard-2024.07.pkg: 100%  311 KiB 318.6kB/s    00:01     Checking integrity... done (0 conflicting)
[1/1] Installing u-boot-wandboard-2024.07...
[1/1] Extracting u-boot-wandboard-2024.07: 100%

(So modern U-Boot for FreeBSD's wandaboard support is not 2019.07 . But I've no
clue if, for wandboard, modern U-Boot works with modern FreeBSD --or if 2019.07
does either.)

# ls -lodT /usr/local/share/u-boot/u-boot-wandboard/*
-rw-r--r--  1 root wheel -   1118 Mar 14 18:02:52 2025 /usr/local/share/u-boot/u-boot-wandboard/README
-rw-r--r--  1 root wheel -     52 Mar 14 18:02:52 2025 /usr/local/share/u-boot/u-boot-wandboard/metadata
-rw-r--r--  1 root wheel - 704844 Mar 14 18:02:52 2025 /usr/local/share/u-boot/u-boot-wandboard/u-boot.imx


===
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.