Raspberry Pi 4 model B - 8 GB RAM - FreeBSD
Hardware info on main page.
links
Pi4 boot EEPROM,
History
2022-04-11: I re-created this page on my self-hosted web server.
2021-04-17: mmcsd0s2a - pkg - install xclock, Xfce,
Apr 17 11:56:57 silent-pi4 pkg[1911]: xclock-1.0.9 installed Apr 17 11:58:25 silent-pi4 pkg[1913]: gmp-6.2.1 installed Apr 17 11:58:25 silent-pi4 pkg[1913]: mkfontscale-1.2.1 installed Apr 17 11:58:26 silent-pi4 pkg[1913]: jpeg-turbo-2.0.6 installed Apr 17 11:58:26 silent-pi4 pkg[1913]: jbigkit-2.1_1 installed Apr 17 11:58:27 silent-pi4 pkg[1913]: tpm-emulator-0.7.4_2 installed Apr 17 11:58:28 silent-pi4 pkg[1913]: libtasn1-4.16.0_1 installed Apr 17 11:58:29 silent-pi4 pkg[1913]: libunistring-0.9.10_1 installed Apr 17 11:58:32 silent-pi4 pkg[1913]: font-misc-meltho-1.0.3_4 installed Apr 17 11:58:37 silent-pi4 pkg[1913]: font-misc-ethiopic-1.0.4 installed Apr 17 11:58:39 silent-pi4 pkg[1913]: font-bh-ttf-1.0.3_4 installed Apr 17 11:58:40 silent-pi4 pkg[1913]: encodings-1.0.5,1 installed Apr 17 11:58:45 silent-pi4 pkg[1913]: dejavu-2.37_1 installed Apr 17 11:58:45 silent-pi4 pkg[1913]: graphite2-1.3.14 installed Apr 17 11:58:47 silent-pi4 pkg[1913]: cairo-1.16.0_1,3 installed Apr 17 11:58:55 silent-pi4 pkg[1913]: shared-mime-info-2.0 installed Apr 17 11:58:59 silent-pi4 pkg[1913]: tiff-4.2.0 installed Apr 17 11:59:01 silent-pi4 pkg[1913]: trousers-0.3.14_3 installed Apr 17 11:59:02 silent-pi4 pkg[1913]: p11-kit-0.23.22_1 installed Apr 17 11:59:04 silent-pi4 pkg[1913]: nettle-3.7.2_1 installed Apr 17 11:59:05 silent-pi4 pkg[1913]: libidn2-2.3.0_1 installed Apr 17 11:59:06 silent-pi4 pkg[1913]: nspr-4.30 installed Apr 17 11:59:14 silent-pi4 pkg[1913]: icu-68.2,1 installed Apr 17 11:59:14 silent-pi4 pkg[1913]: xorg-fonts-truetype-7.7_1 installed Apr 17 11:59:17 silent-pi4 pkg[1913]: harfbuzz-2.8.0 installed Apr 17 11:59:18 silent-pi4 pkg[1913]: fribidi-1.0.10 installed Apr 17 11:59:19 silent-pi4 pkg[1913]: libxkbcommon-1.1.0 installed Apr 17 11:59:19 silent-pi4 pkg[1913]: libXinerama-1.1.4_2,1 installed Apr 17 11:59:29 silent-pi4 pkg[1913]: gdk-pixbuf2-2.40.0 installed Apr 17 11:59:43 silent-pi4 pkg[1913]: gnutls-3.6.15 installed Apr 17 11:59:50 silent-pi4 pkg[1913]: spidermonkey78-78.7.0_2 installed Apr 17 11:59:50 silent-pi4 pkg[1913]: libXScrnSaver-1.2.3_2 installed Apr 17 11:59:52 silent-pi4 pkg[1913]: gsettings-desktop-schemas-3.38.0 installed Apr 17 11:59:52 silent-pi4 pkg[1913]: libXtst-1.2.3_2 installed Apr 17 11:59:53 silent-pi4 pkg[1913]: libgpg-error-1.42 installed Apr 17 11:59:57 silent-pi4 pkg[1913]: gobject-introspection-1.66.1,1 installed Apr 17 11:59:58 silent-pi4 pkg[1913]: libproxy-0.4.17 installed Apr 17 11:59:58 silent-pi4 pkg[1913]: py37-cairo-1.18.1_1,1 installed Apr 17 11:59:58 silent-pi4 pkg[1913]: pygobject3-common-3.38.0 installed Apr 17 12:00:00 silent-pi4 pkg[1913]: pango-1.42.4_5 installed Apr 17 12:00:02 silent-pi4 pkg[1913]: gtk-update-icon-cache-3.24.26 installed Apr 17 12:00:04 silent-pi4 pkg[1913]: atk-2.36.0 installed Apr 17 12:00:04 silent-pi4 pkg[1913]: libpaper-1.1.24.4 installed Apr 17 12:00:06 silent-pi4 pkg[1913]: polkit-0.118 installed Apr 17 12:00:07 silent-pi4 pkg[1913]: lcms2-2.12 installed Apr 17 12:00:16 silent-pi4 pkg[1913]: argyllcms-1.9.2_5 installed Apr 17 12:00:17 silent-pi4 pkg[1913]: sqlite3-3.34.1,1 installed Apr 17 12:00:18 silent-pi4 pkg[1913]: at-spi2-core-2.36.0 installed Apr 17 12:00:19 silent-pi4 pkg[1913]: libgcrypt-1.9.2_1 installed Apr 17 12:00:20 silent-pi4 pkg[1913]: glib-networking-2.66.0_1 installed Apr 17 12:00:21 silent-pi4 pkg[1913]: libpsl-0.21.1_1 installed Apr 17 12:00:25 silent-pi4 pkg[1913]: gstreamer1-1.16.2 installed Apr 17 12:00:34 silent-pi4 pkg[1913]: iso-codes-4.2 installed Apr 17 12:00:36 silent-pi4 pkg[1913]: orc-0.4.31 installed Apr 17 12:00:37 silent-pi4 pkg[1913]: py37-gobject3-3.38.0 installed Apr 17 12:00:39 silent-pi4 pkg[1913]: libxfce4util-4.16.0 installed Apr 17 12:00:39 silent-pi4 pkg[1913]: xcb-util-0.4.0_2,1 installed Apr 17 12:00:40 silent-pi4 pkg[1913]: libXcursor-1.2.0 installed Apr 17 12:00:40 silent-pi4 pkg[1913]: libXcomposite-0.4.5,1 installed Apr 17 12:01:14 silent-pi4 pkg[1913]: adwaita-icon-theme-3.38.0 installed Apr 17 12:01:23 silent-pi4 pkg[1913]: cups-2.3.3op2 installed Apr 17 12:01:23 silent-pi4 pkg[1913]: hicolor-icon-theme-0.17 installed Apr 17 12:01:24 silent-pi4 pkg[1913]: wayland-protocols-1.20 installed Apr 17 12:01:26 silent-pi4 pkg[1913]: librsvg2-rust-2.50.3_2 installed Apr 17 12:01:29 silent-pi4 pkg[1913]: colord-1.3.5_1 installed Apr 17 12:01:32 silent-pi4 pkg[1913]: libgsf-1.14.47_1 installed Apr 17 12:01:32 silent-pi4 pkg[1913]: at-spi2-atk-2.34.2 installed Apr 17 12:01:35 silent-pi4 pkg[1913]: pcre2-10.36 installed Apr 17 12:01:37 silent-pi4 pkg[1913]: json-glib-1.6.2_1 installed Apr 17 12:01:37 silent-pi4 pkg[1913]: libnotify-0.7.9_1 installed Apr 17 12:01:38 silent-pi4 pkg[1913]: qtchooser-66_4 installed Apr 17 12:01:38 silent-pi4 pkg[1913]: double-conversion-3.1.5.19 installed Apr 17 12:01:40 silent-pi4 pkg[1913]: giflib-5.2.1 installed Apr 17 12:01:42 silent-pi4 pkg[1913]: libsoup-2.72.0 installed Apr 17 12:01:42 silent-pi4 pkg[1913]: libwpe-1.4.0.1 installed Apr 17 12:01:43 silent-pi4 pkg[1913]: hunspell-1.7.0_2 installed Apr 17 12:01:47 silent-pi4 pkg[1913]: gstreamer1-plugins-1.16.2_2 installed Apr 17 12:01:48 silent-pi4 pkg[1913]: libGLU-9.0.1 installed Apr 17 12:01:49 silent-pi4 pkg[1913]: graphene-1.10.4 installed Apr 17 12:01:49 silent-pi4 pkg[1913]: brotli-1.0.9,1 installed Apr 17 12:01:51 silent-pi4 pkg[1913]: xfce4-conf-4.16.0 installed Apr 17 12:01:51 silent-pi4 pkg[1913]: startup-notification-0.12_4 installed Apr 17 12:02:15 silent-pi4 pkg[1913]: gtk3-3.24.27 installed Apr 17 12:02:18 silent-pi4 pkg[1913]: libgtop-2.40.0 installed Apr 17 12:02:19 silent-pi4 pkg[1913]: libxslt-1.1.34_1 installed Apr 17 12:02:20 silent-pi4 pkg[1913]: libtextstyle-0.21 installed Apr 17 12:02:21 silent-pi4 pkg[1913]: libcddb-1.3.2_4 installed Apr 17 12:02:31 silent-pi4 pkg[1913]: qt5-core-5.15.2_2 installed Apr 17 12:02:34 silent-pi4 pkg[1913]: libsecret-0.20.4 installed Apr 17 12:02:35 silent-pi4 pkg[1913]: talloc-2.3.1 installed Apr 17 12:02:36 silent-pi4 pkg[1913]: webp-1.2.0 installed Apr 17 12:02:37 silent-pi4 pkg[1913]: wpebackend-fdo-1.4.1 installed Apr 17 12:02:37 silent-pi4 pkg[1913]: hyphen-2.8.8 installed Apr 17 12:02:38 silent-pi4 pkg[1913]: enchant2-2.2.15 installed Apr 17 12:02:38 silent-pi4 pkg[1913]: harfbuzz-icu-2.8.0 installed Apr 17 12:02:40 silent-pi4 pkg[1913]: geoclue-2.5.5 installed Apr 17 12:02:45 silent-pi4 pkg[1913]: gstreamer1-plugins-bad-1.16.2 installed Apr 17 12:02:46 silent-pi4 pkg[1913]: openjpeg-2.4.0 installed Apr 17 12:02:47 silent-pi4 pkg[1913]: gstreamer1-plugins-gl-1.16.2_1 installed Apr 17 12:02:47 silent-pi4 pkg[1913]: woff2-1.0.2_4 installed Apr 17 12:02:50 silent-pi4 pkg[1913]: nss-3.63 installed Apr 17 12:02:55 silent-pi4 pkg[1913]: poppler-data-0.4.10 installed Apr 17 12:02:57 silent-pi4 pkg[1913]: libxfce4menu-4.16.0_2 installed Apr 17 12:02:57 silent-pi4 pkg[1913]: libXres-1.2.0_2 installed Apr 17 12:02:58 silent-pi4 pkg[1913]: p5-URI-5.07 installed Apr 17 12:02:59 silent-pi4 pkg[1913]: desktop-file-utils-0.26 installed Apr 17 12:03:20 silent-pi4 pkg[1913]: gettext-tools-0.21 installed Apr 17 12:03:21 silent-pi4 pkg[1913]: libexif-0.6.22 installed Apr 17 12:03:23 silent-pi4 pkg[1913]: libcdio-2.1.0 installed Apr 17 12:03:25 silent-pi4 pkg[1913]: qt5-dbus-5.15.2_1 installed Apr 17 12:03:26 silent-pi4 pkg[1913]: py37-markdown-2.6.11_1 installed Apr 17 12:03:26 silent-pi4 pkg[1913]: libsunacl-1.0.1 installed Apr 17 12:03:30 silent-pi4 pkg[1913]: openldap-client-2.4.58 installed Apr 17 12:03:34 silent-pi4 pkg[1913]: py37-dnspython-1.16.0 installed Apr 17 12:03:34 silent-pi4 pkg[1913]: tevent-0.10.2_1 installed Apr 17 12:03:35 silent-pi4 pkg[1913]: popt-1.18_1 installed Apr 17 12:03:35 silent-pi4 pkg[1913]: libinotify-20180201_2 installed Apr 17 12:03:35 silent-pi4 pkg[1913]: jansson-2.13.1 installed Apr 17 12:03:36 silent-pi4 pkg[1913]: gamin-0.1.10_10 installed Apr 17 12:03:36 silent-pi4 pkg[1913]: tdb-1.4.3,1 installed Apr 17 12:03:37 silent-pi4 pkg[1913]: lmdb-0.9.28,1 installed Apr 17 12:03:38 silent-pi4 pkg[1913]: libarchive-3.5.1,1 installed Apr 17 12:03:39 silent-pi4 pkg[1913]: libgd-2.3.1,1 installed Apr 17 12:03:39 silent-pi4 pkg[1913]: libltdl-2.4.6 installed Apr 17 12:03:50 silent-pi4 pkg[1913]: webkit2-gtk3-2.30.5 installed Apr 17 12:03:53 silent-pi4 pkg[1913]: poppler-21.03.0 installed Apr 17 12:03:55 silent-pi4 pkg[1913]: libwnck3-3.36.0 installed Apr 17 12:03:57 silent-pi4 pkg[1913]: libexo-4.16.1 installed Apr 17 12:03:59 silent-pi4 pkg[1913]: garcon-4.16.1 installed Apr 17 12:04:00 silent-pi4 pkg[1913]: libdbusmenu-16.04.0_3 installed Apr 17 12:04:03 silent-pi4 pkg[1913]: libudisks-2.9.2 installed Apr 17 12:04:04 silent-pi4 pkg[1913]: libcdio-paranoia-10.2+2.0.1 installed Apr 17 12:04:04 silent-pi4 pkg[1913]: bsdisks-0.25 installed Apr 17 12:04:16 silent-pi4 pkg[1913]: gcr-3.38.1 installed Apr 17 12:04:35 silent-pi4 pkg[1913]: samba412-4.12.14 installed Apr 17 12:04:36 silent-pi4 pkg[1913]: libnfs-4.0.0_1 installed Apr 17 12:04:37 silent-pi4 pkg[1913]: libmtp-1.1.18 installed Apr 17 12:04:38 silent-pi4 pkg[1913]: libbluray-1.2.1,1 installed Apr 17 12:04:40 silent-pi4 pkg[1913]: libgphoto2-2.5.26 installed Apr 17 12:04:41 silent-pi4 pkg[1913]: libgepub-0.6.0_1 installed Apr 17 12:04:41 silent-pi4 pkg[1913]: poppler-glib-21.03.0 installed Apr 17 12:04:43 silent-pi4 pkg[1913]: xfce4-panel-4.16.2 installed Apr 17 12:04:46 silent-pi4 pkg[1913]: gvfs-1.46.2 installed Apr 17 12:04:48 silent-pi4 pkg[1913]: xfce4-tumbler-4.16.0_3 installed Apr 17 12:05:01 silent-pi4 pkg[1913]: gtk2-2.24.33 installed Apr 17 12:05:03 silent-pi4 pkg[1913]: vte3-0.62.1_1 installed Apr 17 12:05:04 silent-pi4 pkg[1913]: libXpresent-1.0.0 installed Apr 17 12:05:04 silent-pi4 pkg[1913]: iceauth-1.0.8_2 installed Apr 17 12:05:05 silent-pi4 pkg[1913]: upower-0.99.11_1 installed Apr 17 12:05:06 silent-pi4 pkg[1913]: consolekit2-1.2.1_2 installed Apr 17 12:05:10 silent-pi4 pkg[1913]: thunar-4.16.6 installed Apr 17 12:05:10 silent-pi4 pkg[1913]: gtk-murrine-engine-0.98.2_5 installed Apr 17 12:05:11 silent-pi4 pkg[1913]: libxklavier-5.3_1,1 installed Apr 17 12:05:16 silent-pi4 pkg[1913]: gtksourceview3-3.24.11 installed Apr 17 12:05:17 silent-pi4 pkg[1913]: dconf-0.38.0 installed Apr 17 12:05:19 silent-pi4 pkg[1913]: xfce4-terminal-0.8.10_1 installed Apr 17 12:05:29 silent-pi4 pkg[1913]: xfce4-wm-4.16.1 installed Apr 17 12:05:32 silent-pi4 pkg[1913]: xfce4-session-4.16.0 installed Apr 17 12:05:34 silent-pi4 pkg[1913]: xfce4-desktop-4.16.0 installed Apr 17 12:05:41 silent-pi4 pkg[1913]: greybird-theme-3.22.14 installed Apr 17 12:05:45 silent-pi4 pkg[1913]: xfce4-settings-4.16.0_2 installed Apr 17 12:05:48 silent-pi4 pkg[1913]: xfce4-power-manager-4.16.0 installed Apr 17 12:05:49 silent-pi4 pkg[1913]: xfce4-appfinder-4.16.1 installed Apr 17 12:05:51 silent-pi4 pkg[1913]: mousepad-0.5.4 installed Apr 17 12:05:52 silent-pi4 pkg[1913]: xfce4-notifyd-0.6.2_2 installed Apr 17 12:05:52 silent-pi4 pkg[1913]: xfce-4.16 installed
install xfce plugins
Apr 17 12:11:22 silent-pi4 pkg[3559]: xfce4-cpugraph-plugin-1.2.3 installed Apr 17 12:11:39 silent-pi4 pkg[3563]: xfce4-datetime-plugin-0.8.1_1 installed Apr 17 12:11:55 silent-pi4 pkg[3565]: xfce4-netload-plugin-1.4.0 installed Apr 17 12:12:16 silent-pi4 pkg[3569]: xfce4-screenshooter-plugin-1.9.8_1 installed Apr 17 12:12:37 silent-pi4 pkg[3573]: xfce4-systemload-plugin-1.3.1 installed Apr 17 12:13:00 silent-pi4 pkg[3575]: xfce4-weather-plugin-0.11.0 installed Apr 17 12:15:30 silent-pi4 pkg[3604]: thunar-archive-plugin-0.4.0_1 installed
ok
2021-04-17: mmcsd0s2a - Xorg - set up a keyboard configuration
root@silent-pi4:~ # more /usr/local/etc/X11/xorg.conf.d/keyboard-no.conf Section "InputClass" Identifier "keyboard defaults" MatchIsKeyboard "on" Option "XkbLayout" "no" EndSection
ok
2021-04-17: mmcsd0s2a - pkg - install curl
Apr 17 11:50:48 silent-pi4 pkg[1829]: libnghttp2-1.43.0 installed Apr 17 11:50:48 silent-pi4 pkg[1829]: ca_root_nss-3.63 installed Apr 17 11:50:55 silent-pi4 pkg[1829]: curl-7.75.0 installed
ok
2021-04-17: mmcsd0s2a - pkg - install xorg-minimal, xf86-video-scfb, xterm, twm, xrandr, xset
Apr 9 07:32:51 silent-pi4 pkg[1254]: pciids-20210223 installed Apr 9 07:32:52 silent-pi4 pkg[1254]: libXext-1.3.4,1 installed Apr 9 07:32:52 silent-pi4 pkg[1254]: libXrender-0.9.10_2 installed Apr 9 07:32:53 silent-pi4 pkg[1254]: libXfixes-5.0.3_2 installed Apr 9 07:32:53 silent-pi4 pkg[1254]: libepoll-shim-0.0.20210322 installed Apr 9 07:32:53 silent-pi4 pkg[1254]: libpciaccess-0.16 installed Apr 9 07:32:54 silent-pi4 pkg[1254]: liblz4-1.9.3,1 installed Apr 9 07:32:54 silent-pi4 pkg[1254]: libedit-3.1.20210216,1 installed Apr 9 07:32:54 silent-pi4 pkg[1254]: libxshmfence-1.3 installed Apr 9 07:32:55 silent-pi4 pkg[1254]: png-1.6.37_1 installed Apr 9 07:32:55 silent-pi4 pkg[1254]: libXxf86vm-1.1.4_3 installed Apr 9 07:32:56 silent-pi4 pkg[1254]: libXrandr-1.5.2 installed Apr 9 07:32:56 silent-pi4 pkg[1254]: libXdamage-1.1.5 installed Apr 9 07:32:57 silent-pi4 pkg[1254]: wayland-1.19.0 installed Apr 9 07:32:58 silent-pi4 pkg[1254]: libdrm-2.4.104,1 installed Apr 9 07:32:58 silent-pi4 pkg[1254]: libunwind-20201110 installed Apr 9 07:32:59 silent-pi4 pkg[1254]: zstd-1.4.8 installed Apr 9 07:32:59 silent-pi4 pkg[1254]: libXv-1.0.11_2,1 installed Apr 9 07:33:49 silent-pi4 pkg[1254]: perl5-5.32.1_1 installed Apr 9 07:33:49 silent-pi4 pkg[1254]: lua52-5.2.4 installed Apr 9 07:33:49 silent-pi4 pkg[1254]: libudev-devd-0.4.2_1 installed Apr 9 07:33:53 silent-pi4 pkg[1254]: py37-setuptools-44.0.0 installed Apr 9 07:33:54 silent-pi4 pkg[1254]: libxkbfile-1.1.0 installed Apr 9 07:33:54 silent-pi4 pkg[1254]: libfontenc-1.1.4 installed Apr 9 07:33:57 silent-pi4 pkg[1254]: freetype2-2.10.4 installed Apr 9 07:33:58 silent-pi4 pkg[1254]: mesa-libs-20.2.3 installed Apr 9 07:33:59 silent-pi4 pkg[1254]: libXvMC-1.0.12 installed Apr 9 07:35:58 silent-pi4 pkg[1254]: llvm10-10.0.1_5 installed Apr 9 07:35:58 silent-pi4 pkg[1254]: libgudev-234 installed Apr 9 07:35:59 silent-pi4 pkg[1254]: py37-six-1.15.0 installed Apr 9 07:35:59 silent-pi4 pkg[1254]: evdev-proto-5.8 installed Apr 9 07:36:03 silent-pi4 pkg[1254]: libXt-1.2.1,1 installed Apr 9 07:36:08 silent-pi4 pkg[1254]: xkeyboard-config-2.31 installed Apr 9 07:36:08 silent-pi4 pkg[1254]: xkbcomp-1.4.4 installed Apr 9 07:36:09 silent-pi4 pkg[1254]: pixman-0.40.0_1 installed Apr 9 07:36:10 silent-pi4 pkg[1254]: libXfont2-2.0.4 installed Apr 9 07:36:13 silent-pi4 pkg[1254]: mesa-dri-20.2.3_1 installed Apr 9 07:36:14 silent-pi4 pkg[1254]: libepoxy-1.5.4 installed Apr 9 07:36:18 silent-pi4 pkg[1254]: libwacom-1.5 installed Apr 9 07:36:20 silent-pi4 pkg[1254]: py37-pyudev-0.22.0 installed Apr 9 07:36:20 silent-pi4 pkg[1254]: py37-evdev-1.3.0 installed Apr 9 07:36:21 silent-pi4 pkg[1254]: libmtdev-1.1.6 installed Apr 9 07:36:21 silent-pi4 pkg[1254]: libevdev-1.9.1.20200928 installed Apr 9 07:36:22 silent-pi4 pkg[1254]: libXmu-1.1.3,1 installed Apr 9 07:36:24 silent-pi4 pkg[1254]: xorg-server-1.20.9_3,1 installed Apr 9 07:36:26 silent-pi4 pkg[1254]: libXi-1.7.10,1 installed Apr 9 07:36:27 silent-pi4 pkg[1254]: libinput-1.16.4 installed Apr 9 07:36:27 silent-pi4 pkg[1254]: xinit-1.4.1,1 installed Apr 9 07:36:27 silent-pi4 pkg[1254]: xauth-1.1 installed Apr 9 07:36:27 silent-pi4 pkg[1254]: xf86-video-vesa-2.5.0 installed Apr 9 07:36:27 silent-pi4 pkg[1254]: xf86-input-libinput-0.30.0_1 installed Apr 9 07:36:27 silent-pi4 pkg[1254]: xorg-minimal-7.5.2_3 installed
(fix the date)
Apr 17 11:47:50 silent-pi4 pkg[1760]: xf86-video-scfb-0.0.5_2 installed Apr 17 11:48:03 silent-pi4 pkg[1762]: libXpm-3.5.13 installed Apr 17 11:48:04 silent-pi4 pkg[1762]: fontconfig-2.13.93,1 installed Apr 17 11:48:06 silent-pi4 pkg[1762]: libXaw-1.0.13_3,2 installed Apr 17 11:48:06 silent-pi4 pkg[1762]: libXft-2.3.3 installed Apr 17 11:48:07 silent-pi4 pkg[1762]: xterm-367 installed Apr 17 11:48:16 silent-pi4 pkg[1813]: twm-1.0.11 installed Apr 17 11:48:25 silent-pi4 pkg[1815]: xrandr-1.5.1 installed Apr 17 11:48:35 silent-pi4 pkg[1817]: xset-1.2.4_3 installed
ok
2021-04-17: mmcsd0s2a - configure avahi add to /etc/rc.conf
# enable DBUS messaging dbus_enable="YES" # avahi avahi_daemon_enable="YES"
modify /etc/nsswitch.conf before
root@generic:~ # grep ^hosts /etc/nsswitch.conf hosts: files dns
after
root@generic:~ # grep ^hosts /etc/nsswitch.conf hosts: files mdns_minimal [NOTFOUND=return] dns mdns
then reboot, and check
root@silent-pi4:~ # ping silent-pi4.local PING silent-pi4.local (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.143 ms 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.092 ms ^C --- silent-pi4.local ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.092/0.117/0.143/0.026 ms
works.
2021-04-17: mmcsd0s2a - pkg - install nss_mdns
Apr 9 07:15:54 generic pkg[1342]: xorgproto-2020.1 installed Apr 9 07:15:54 generic pkg[1342]: indexinfo-0.3.1 installed Apr 9 07:15:55 generic pkg[1342]: libXdmcp-1.1.3 installed Apr 9 07:15:55 generic pkg[1342]: libXau-1.0.9 installed Apr 9 07:15:55 generic pkg[1342]: libpthread-stubs-0.4 installed Apr 9 07:15:56 generic pkg[1342]: readline-8.1.0 installed Apr 9 07:15:56 generic pkg[1342]: libffi-3.3_1 installed Apr 9 07:15:57 generic pkg[1342]: gettext-runtime-0.21 installed Apr 9 07:16:16 generic pkg[1342]: libxcb-1.14_1 installed Apr 9 07:16:16 generic pkg[1342]: libICE-1.0.10,1 installed Apr 9 07:16:17 generic pkg[1342]: expat-2.2.10 installed Apr 9 07:16:18 generic pkg[1342]: libxml2-2.9.10_3 installed Apr 9 07:17:44 generic pkg[1342]: python37-3.7.10 installed Apr 9 07:17:47 generic pkg[1342]: pcre-8.44 installed Apr 9 07:17:48 generic pkg[1342]: libiconv-1.16 installed Apr 9 07:18:01 generic pkg[1342]: libX11-1.6.12,1 installed Apr 9 07:18:01 generic pkg[1342]: libSM-1.2.3,1 installed Apr 9 07:18:08 generic pkg[1342]: glib-2.66.7_1,1 installed Apr 9 07:18:10 generic pkg[1342]: dbus-1.12.20_3 installed Apr 9 07:18:10 generic pkg[1342]: gnome_subr-1.0 installed Apr 9 07:18:11 generic pkg[1342]: libevent-2.1.12 installed Apr 9 07:18:11 generic pkg[1342]: libdaemon-0.14_1 installed Apr 9 07:18:12 generic pkg[1342]: dbus-glib-0.110 installed Apr 9 07:18:13 generic pkg[1342]: gdbm-1.19 installed Apr 9 07:18:15 generic pkg[1342]: avahi-app-0.8 installed Apr 9 07:18:16 generic pkg[1342]: nss_mdns-0.14.1.20200624 installed
ok
2021-04-17: mmcsd0s2a - pkg - bootstrap
root@generic:~ # pkg bootstrap -f The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:13:aarch64/quarterly, please wait... Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done Installing pkg-1.16.3... Extracting pkg-1.16.3: 100%
update
root@generic:~ # pkg update Updating FreeBSD repository catalogue... Fetching meta.conf: 100% 163 B 0.2kB/s 00:01 Fetching packagesite.txz: 100% 6 MiB 6.1MB/s 00:01 Processing entries: 100% FreeBSD repository update completed. 28951 packages processed. All repositories are up to date.
ok
2021-04-17: mmcsd0s2a - VT - resolution is wrong
root@generic:~ # dmesg | grep VT VT(efifb): resolution 592x448 fb0: <BCM2835 VT framebuffer driver> on simplebus0 VT: Replacing driver "efifb" with new "fb".
perhaps it is hdmi_safe mode?
root@generic:~ # grep hdmi /boot/msdos/config.txt hdmi_safe=1
fix it:
root@generic:~ # grep hdmi /boot/msdos/config.txt #hdmi_safe=1
reboot, check
root@generic:~ # dmesg | grep VT VT(efifb): resolution 1824x984 fb0: <BCM2835 VT framebuffer driver> on simplebus0 VT: Replacing driver "efifb" with new "fb".
better, add mode setting to /boot/msdos/config.txt
root@generic:~ # grep hdmi /boot/msdos/config.txt #hdmi_safe=1 hdmi_group=2 hdmi_mode=82
reboot, now it is
root@generic:~ # dmesg | grep VT VT(efifb): resolution 1920x1080 fb0: <BCM2835 VT framebuffer driver> on simplebus0 VT: Replacing driver "efifb" with new "fb".
ok.
2021-04-17: mmcsd0s2a - wrote a FreeBSD 13.0-release image to a 32 GB SanDisk microSD card (white and grey) and booted it. Booting required "prodding" (pressing the ENTER key) a few times.
root@generic:~ # freebsd-version -ku 13.0-RELEASE 13.0-RELEASE
kernel
root@generic:~ # uname -a FreeBSD generic 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr 9 06:06:55 UTC 2021 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
ok
2021-04-11: mmcsd0s2a - configure avahi so you can resolve .local dns names
root@silent-pi4:~ # grep hosts /etc/nsswitch.conf hosts: files mdns_minimal [NOTFOUND=return] dns mdns
and in /etc/rc.conf, add
# enable DBUS messaging dbus_enable="YES" # avahi avahi_daemon_enable="YES"
then start avahi-daemon
root@silent-pi4:~ # service dbus start Starting dbus. root@silent-pi4:~ # service avahi-daemon start Starting avahi-daemon.
avahi-dameon requires dbus.
root@silent-pi4:~ # ping silent-pi4.local PING silent-pi4.local (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.155 ms 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.125 ms 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.099 ms ^C
it works.
root@kg-core2# ping silent-pi4.local PING silent-pi4.local (10.1.161.32): 56 data bytes 64 bytes from 10.1.161.32: icmp_seq=0 ttl=64 time=0.125 ms 64 bytes from 10.1.161.32: icmp_seq=1 ttl=64 time=0.134 ms 64 bytes from 10.1.161.32: icmp_seq=2 ttl=64 time=0.128 ms ^C
also from another machine
2021-04-11: mmcsd0s2a - pkg - install nss_mdns
Apr 11 20:02:35 silent-pi4 pkg[1324]: dbus-1.12.20_3 installed Apr 11 20:02:35 silent-pi4 pkg[1324]: gnome_subr-1.0 installed Apr 11 20:02:36 silent-pi4 pkg[1324]: libevent-2.1.12 installed Apr 11 20:02:37 silent-pi4 pkg[1324]: libdaemon-0.14_1 installed Apr 11 20:02:37 silent-pi4 pkg[1324]: dbus-glib-0.110 installed Apr 11 20:02:38 silent-pi4 pkg[1324]: gdbm-1.18.1_1 installed Apr 11 20:02:40 silent-pi4 pkg[1324]: avahi-app-0.8 installed Apr 11 20:02:41 silent-pi4 pkg[1324]: nss_mdns-0.14.1.20200624 installed
ok
2021-04-11: mmcsd0s2a - pi - config.txt - add
hdmi_group=2 hdmi_mode=82
to /boot/msdos/config.txt hdmi_group=2 is DMT, and hdmi_mode=82 is 1920x1080 @60 Hz, and now dmesg and Xorg both get 1920x1080
root@silent-pi4:~ # dmesg | grep VT VT(efifb): resolution 1920x1080 fb0: <BCM2835 VT framebuffer driver> on simplebus0 VT: Replacing driver "efifb" with new "fb".
Xorg
root@silent-pi4:~ # grep scfb /var/log/Xorg.0.log | grep Using [ 27.429] (II) scfb(0): Using: depth (32), width (1920), height (1080) [ 27.429] (==) scfb(0): Using gamma correction (1.0, 1.0, 1.0) [ 27.429] (**) scfb(0): Using "Shadow Framebuffer"
good.
2021-04-11: mmcsd0s2a - pi - config.txt - comment out hdmi_safe=1 from /boot/msdos/config.txt:
root@generic:~ # grep hdmi_safe /boot/msdos/config.txt #hdmi_safe=1
let me see if that helps. Reboot, check
root@silent-pi4:~ # dmesg | grep VT VT(efifb): resolution 1824x984 fb0: <BCM2835 VT framebuffer driver> on simplebus0 VT: Replacing driver "efifb" with new "fb".
looks better.
2021-04-11: mmcsd0s2a - Xorg - dmesg says that efifb resolution is 592x448
root@generic:~ # dmesg | grep VT VT(efifb): resolution 592x448 fb0: <BCM2835 VT framebuffer driver> on simplebus0 VT: Replacing driver "efifb" with new "fb".
and that's what Xorg starts with too
root@generic:~ # grep scfb /var/log/Xorg.0.log [ 1850.493] (==) Matched scfb as autoconfigured driver 1 [ 1850.494] (II) LoadModule: "scfb" [ 1850.494] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so [ 1850.495] (II) Module scfb: vendor="X.Org Foundation" [ 1850.495] (II) scfb: driver for wsdisplay framebuffer: scfb [ 1850.496] (WW) Falling back to old probe method for scfb [ 1850.496] scfb trace: probe start [ 1850.496] (II) scfb(0): using default device [ 1850.496] scfb trace: probe done [ 1850.496] scfb: PreInit 0 [ 1850.496] (II) scfb(0): Using: depth (32), width (592), height (448) [ 1850.496] (II) scfb(0): Creating default Display subsection in Screen section [ 1850.496] (==) scfb(0): Depth 24, (==) framebuffer bpp 32 [ 1850.496] (==) scfb(0): RGB weight 888 [ 1850.496] (==) scfb(0): Default visual is TrueColor [ 1850.496] (==) scfb(0): Using gamma correction (1.0, 1.0, 1.0) [ 1850.497] (II) scfb(0): Vidmem: 1036k [ 1850.497] (==) scfb(0): DPI set to (96, 96) [ 1850.497] (**) scfb(0): Using "Shadow Framebuffer" [ 1850.499] scfb: PreInit done [ 1850.500] scfb: ScfbScreenInit 0 [ 1850.500] scfb: ScfbSave 0 [ 1850.500] scfb: ScfbSave done [ 1850.500] (==) scfb(0): Backing store enabled [ 1850.501] scfb: ScfbScreenInit done [ 1851.415] scfb: SaveScreen 0 [ 1851.415] scfb: SaveScreen done [ 1874.182] scfb: ScfbCloseScreen 0 [ 1874.182] scfb: ScfbRestore 0 [ 1874.183] scfb: ScfbRestore done [ 1874.183] scfb: ScfbCloseScreen done
not useful.
2021-04-11: mmcsd0s2a - pkg - install xorg-minimal, xclock, xterm, twm, xrandr, xset
Apr 2 08:30:18 generic pkg[1288]: xorgproto-2020.1 installed Apr 2 08:30:18 generic pkg[1288]: libXdmcp-1.1.3 installed Apr 2 08:30:19 generic pkg[1288]: libXau-1.0.9 installed Apr 2 08:30:19 generic pkg[1288]: libpthread-stubs-0.4 installed Apr 2 08:30:37 generic pkg[1288]: libxcb-1.14_1 installed Apr 2 08:30:37 generic pkg[1288]: indexinfo-0.3.1 installed Apr 2 08:30:47 generic pkg[1288]: libX11-1.6.12,1 installed Apr 2 08:30:47 generic pkg[1288]: libffi-3.3_1 installed Apr 2 08:30:47 generic pkg[1288]: pciids-20201127 installed Apr 2 08:30:48 generic pkg[1288]: readline-8.0.4 installed Apr 2 08:30:49 generic pkg[1288]: gettext-runtime-0.21 installed Apr 2 08:30:50 generic pkg[1288]: libXext-1.3.4,1 installed Apr 2 08:30:52 generic pkg[1288]: libxml2-2.9.10_2 installed Apr 2 08:30:52 generic pkg[1288]: libXrender-0.9.10_2 installed Apr 2 08:30:52 generic pkg[1288]: libXfixes-5.0.3_2 installed Apr 2 08:30:53 generic pkg[1288]: expat-2.2.10 installed Apr 2 08:30:53 generic pkg[1288]: libepoll-shim-0.0.20200602 installed Apr 2 08:30:53 generic pkg[1288]: libpciaccess-0.16 installed Apr 2 08:30:54 generic pkg[1288]: liblz4-1.9.3,1 installed Apr 2 08:32:19 generic pkg[1288]: python37-3.7.9_1 installed Apr 2 08:32:20 generic pkg[1288]: libedit-3.1.20191231,1 installed Apr 2 08:32:22 generic pkg[1288]: pcre-8.44 installed Apr 2 08:32:23 generic pkg[1288]: libiconv-1.16 installed Apr 2 08:32:24 generic pkg[1288]: libICE-1.0.10,1 installed Apr 2 08:32:24 generic pkg[1288]: libxshmfence-1.3 installed Apr 2 08:32:25 generic pkg[1288]: png-1.6.37 installed Apr 2 08:32:25 generic pkg[1288]: libXxf86vm-1.1.4_3 installed Apr 2 08:32:26 generic pkg[1288]: libXrandr-1.5.2 installed Apr 2 08:32:26 generic pkg[1288]: libXdamage-1.1.5 installed Apr 2 08:32:27 generic pkg[1288]: wayland-1.18.0_4 installed Apr 2 08:32:28 generic pkg[1288]: libdrm-2.4.103,1 installed Apr 2 08:32:29 generic pkg[1288]: libunwind-20200331_1 installed Apr 2 08:32:29 generic pkg[1288]: zstd-1.4.5_1 installed Apr 2 08:32:30 generic pkg[1288]: libXv-1.0.11_2,1 installed Apr 2 08:33:23 generic pkg[1288]: perl5-5.32.1_1 installed Apr 2 08:33:24 generic pkg[1288]: lua52-5.2.4 installed Apr 2 08:33:24 generic pkg[1288]: libudev-devd-0.4.2_1 installed Apr 2 08:33:32 generic pkg[1288]: glib-2.66.7,1 installed Apr 2 08:33:36 generic pkg[1288]: py37-setuptools-44.0.0 installed Apr 2 08:33:36 generic pkg[1288]: libSM-1.2.3,1 installed Apr 2 08:33:37 generic pkg[1288]: libxkbfile-1.1.0 installed Apr 2 08:33:37 generic pkg[1288]: libfontenc-1.1.4 installed Apr 2 08:33:39 generic pkg[1288]: freetype2-2.10.4 installed Apr 2 08:33:40 generic pkg[1288]: mesa-libs-20.2.3 installed Apr 2 08:33:41 generic pkg[1288]: libXvMC-1.0.12 installed Apr 2 08:35:37 generic pkg[1288]: llvm10-10.0.1_4 installed Apr 2 08:35:38 generic pkg[1288]: libgudev-234 installed Apr 2 08:35:38 generic pkg[1288]: py37-six-1.15.0 installed Apr 2 08:35:39 generic pkg[1288]: evdev-proto-5.8 installed Apr 2 08:35:43 generic pkg[1288]: libXt-1.2.0,1 installed Apr 2 08:35:47 generic pkg[1288]: xkeyboard-config-2.31 installed Apr 2 08:35:47 generic pkg[1288]: xkbcomp-1.4.4 installed Apr 2 08:35:48 generic pkg[1288]: pixman-0.40.0_1 installed Apr 2 08:35:48 generic pkg[1288]: libXfont2-2.0.4 installed Apr 2 08:35:52 generic pkg[1288]: mesa-dri-20.2.3_1 installed Apr 2 08:35:53 generic pkg[1288]: libepoxy-1.5.4 installed Apr 2 08:35:57 generic pkg[1288]: libwacom-1.5 installed Apr 2 08:35:58 generic pkg[1288]: py37-pyudev-0.22.0 installed Apr 2 08:35:59 generic pkg[1288]: py37-evdev-1.3.0 installed Apr 2 08:35:59 generic pkg[1288]: libmtdev-1.1.6 installed Apr 2 08:35:59 generic pkg[1288]: libevdev-1.9.1.20200928 installed Apr 2 08:36:00 generic pkg[1288]: libXmu-1.1.3,1 installed Apr 2 08:36:03 generic pkg[1288]: xorg-server-1.20.9_1,1 installed Apr 2 08:36:04 generic pkg[1288]: libXi-1.7.10,1 installed Apr 2 08:36:05 generic pkg[1288]: libinput-1.16.4 installed Apr 2 08:36:06 generic pkg[1288]: xinit-1.4.1,1 installed Apr 2 08:36:06 generic pkg[1288]: xauth-1.1 installed Apr 2 08:36:06 generic pkg[1288]: xf86-video-vesa-2.5.0 installed Apr 2 08:36:06 generic pkg[1288]: xf86-input-libinput-0.30.0_1 installed Apr 2 08:36:06 generic pkg[1288]: xorg-minimal-7.5.2_3 installed
(oops, wrong date, fixed)
Apr 11 18:39:14 generic pkg[1982]: libXpm-3.5.13 installed Apr 11 18:39:15 generic pkg[1982]: fontconfig-2.13.92_2,1 installed Apr 11 18:39:17 generic pkg[1982]: libXaw-1.0.13_3,2 installed Apr 11 18:39:17 generic pkg[1982]: libXft-2.3.3 installed Apr 11 18:39:17 generic pkg[1982]: xclock-1.0.9 installed Apr 11 18:39:18 generic pkg[1982]: xterm-363 installed Apr 11 18:39:18 generic pkg[1982]: twm-1.0.11 installed Apr 11 18:39:18 generic pkg[1982]: xrandr-1.5.1 installed Apr 11 18:39:18 generic pkg[1982]: xset-1.2.4_3 installed Apr 11 18:40:47 generic pkg[2045]: xf86-video-scfb-0.0.5_2 installed
ok
2021-04-11: mmcsd0s2a - pkg - which repository?
root@generic:~ # pkg -vv | grep url url : "pkg+http://pkg.FreeBSD.org/FreeBSD:13:aarch64/quarterly",
ok
2021-04-11: mmcsd0s2a - pkg - install pkg
root@generic:~ # pkg install -f The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:13:aarch64/quarterly, please wait... Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done Installing pkg-1.16.3... Extracting pkg-1.16.3: 100% Usage: pkg install [-AfInFMqRUy] [-r reponame] [-Cgix] <pkg-name> ... For more information see 'pkg help install'.
ok
2021-04-11: mmcsd0s2a - some info from dmesg
root@generic:~ # dmesg | grep VT VT(efifb): resolution 592x448 fb0: <BCM2835 VT framebuffer driver> on simplebus0 VT: Replacing driver "efifb" with new "fb".
ok
2021-04-11: mmcsd0s2a - wrote FreeBSD 13.0-RC5 to a 32 GB SanDisk Ultra UHS-I microSD card (white and grey) and booted it. Booting required "prodding" (=pressing a key) the keyboard a couple of times) during boot.
freebsd@generic:~ % freebsd-version -ku 13.0-RC5 13.0-RC5
kernel
freebsd@generic:~ % uname -a FreeBSD generic 13.0-RC5 FreeBSD 13.0-RC5 #0 releng/13.0-n244727-f8a134d0ef1: Fri Apr 2 06:15:20 UTC 2021 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
ok
2021-01-17: mmcsd0s2a - FreeBSD 13.0-alpha1 with working usb keyboard and mouse. dmesg output: normal.
root@generic:~ # freebsd-version -ku 13.0-ALPHA1 13.0-ALPHA1 root@generic:~ # uname -a FreeBSD generic 13.0-ALPHA1 FreeBSD 13.0-ALPHA1 #0 main-c255938-g7ae27c2d6c4: Thu Jan 14 07:56:52 UTC 2021 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
microSD card layout:
root@generic:~ # gpart show -p => 63 62333889 mmcsd0 MBR (30G) 63 2016 - free - (1.0M) 2079 102312 mmcsd0s1 fat32lba [active] (50M) 104391 62228537 mmcsd0s2 freebsd (30G) 62332928 1024 - free - (512K) => 0 62228537 mmcsd0s2 BSD (30G) 0 57 - free - (29K) 57 62228480 mmcsd0s2a freebsd-ufs (30G)
disk / filesystem layout
root@generic:~ # swapinfo -h Device Size Used Avail Capacity
no swap
root@generic:~ # df -h Filesystem Size Used Avail Capacity Mounted on /dev/ufs/rootfs 29G 2.7G 24G 10% / devfs 1.0K 1.0K 0B 100% /dev /dev/msdosfs/MSDOSBOOT 50M 24M 25M 49% /boot/msdos tmpfs 50M 24K 50M 0% /tmp
/tmp is not persistent. usbconfig output
root@generic:~ # usbconfig ugen0.1: <0x1106 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen0.2: <vendor 0x2109 USB2.0 Hub> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) ugen0.3: <RAPOO RAPOO 5G Wireless Device> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (200mA)
pciconf output
root@generic:~ # pciconf -lv pcib1@pci0:0:0:0: class=0x060400 rev=0x00 hdr=0x01 vendor=0x14e4 device=0x2711 subvendor=0x0000 subdevice=0x0000 vendor = 'Broadcom Inc. and subsidiaries' class = bridge subclass = PCI-PCI bcm_xhci0@pci0:1:0:0: class=0x0c0330 rev=0x01 hdr=0x00 vendor=0x1106 device=0x3483 subvendor=0x1106 subdevice=0x3483 vendor = 'VIA Technologies, Inc.' device = 'VL805 USB 3.0 Host Controller' class = serial bus subclass = USB
ok
2021-01-17: using older files for fixup4.dat and start4.elf on the boot partition helps (I got the files from https://sourceforge.net/projects/d26853-bcm2711-rpi-4-b-dtb/files/ in the zip file rpi4_pack_freebsd.zip, mounted the ms-dos partition on my workstaton and copied the files over. Caveat: if the wireless receiver for my keyboard and mouse (Rapoo E9100P) is inserted in a usb port before boot, boot output is low and eventually boot fails. Workaround: take out the receiver before booting, and put it back in when the login prompt shows up.
2021-01-16: with FreeBSD 13.0-alpha1. dmesg output: normal.
2021-01-16: I updated the firmware on the FreeBSD-13.0-ALPHA1-arm64-aarch64-RPI-20210114-7ae27c2d6c4-255938.img.xz image, and then it boots. Unfortunately, usb doesn't work, so no local keyboard. ssh works, like this:
tingo@generic:~ $ freebsd-version -ku 13.0-ALPHA1 13.0-ALPHA1
kernel
tingo@generic:~ $ uname -a FreeBSD generic 13.0-ALPHA1 FreeBSD 13.0-ALPHA1 #0 main-c255938-g7ae27c2d6c4: Thu Jan 14 07:56:52 UTC 2021 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
good.
2021-01-16: I tested the image FreeBSD-13.0-ALPHA1-arm64-aarch64-RPI-20210114-7ae27c2d6c4-255938.img.xz as-is (no updating of firmware). The Pi4 boots, prints some text on the screen, then starts over, in an endless cycle.
2021-01-16: I also tested the image FreeBSD-12.2-STABLE-arm64-aarch64-RPI3-20210114-r369008.img.xz in the same way, with updated firmware. It fails in the same way: the Pi4 boots, loads kernel, prints "gpioregulator0: cannot get pin 0" then has a kernel fault and stops.
2021-01-16: I tested the image FreeBSD-12.2-RELEASE-arm64-aarch64-RPI3.img.xz by writing it to a microSD card, and updating the firmware. I got the firmware with this script
tingo@kg-core2$ cat get_firmware.sh #!/bin/sh # for i in bcm2710-rpi-2-b.dtb bcm2710-rpi-3-b-plus.dtb bcm2710-rpi-3-b.dtb bcm2711-rpi-4-b.dtb bootcode.bin fixup.dat fixup4.dat fixup4cd.dat fixup4db.dat fixup4x.dat fixup_cd.dat fixup_db.dat fixup_x.dat start.elf start4.elf start4cd.elf start4db.elf start4x.elf start_cd.elf start_db.elf start_x.elf overlays/disable-bt.dtbo overlays/mmc.dtbo overlays/pwm.dtbo { fetch -o ./${i} https://github.com/raspberrypi/firmware/raw/master/boot/${i} }
then mounted the fat32 partition on the microSD card and copied the files over. Result: the Pi4 boots, loads kernel, prints "gpioregulator0: cannot get pin 0" then has a kernel fault and stops.