Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
2026-11-23-netbsd-raspi-aarch64.img
I've updated 2026-11-23-netbsd-raspi-aarch64.img.gz for RPI4.
https://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2026-11-23-aarch64/2026-11-23-netbsd-raspi-aarch64.img.gz
https://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2026-11-23-aarch64/MD5
Topics:
- [Testing] https://github.com/ebijun/wsfb-player
video player for NetBSD's wsdisplay / wsfb framebuffer (No audio output)
check benchmark for wsdisplay
- https://github.com/aphor/FreeBSD15-RPi5-modules
- Raspberry Pi 4 support on aarch64 FDT boot (without ACPI)
https://mail-index.netbsd.org/port-arm/2026/03/19/msg009556.html
https://mail-index.netbsd.org/port-arm/2026/04/30/msg009598.html
1. fdtbus: handle /chosen compatible "simple_bus" for Raspberry Pi 4
2. aarch64/pmap: also prepare MD aarch64_mmap_flags() in PMAP_MI case
3. bcm283x: skip bcmgenfb specific initialization in !bcmgenfb case
4. evbarm/conf: add bcm2838pcie and bcm2838rng for Raspberry Pi 4B
5. aarch64: fix /dev/mem mmap cookie handling for MMIO devices
- gcc-14.3.0
CFLAGS+=-Wno-error=incompatible-pointer-types
-Wno-error=declaration-after-statement
-Wno-error=deprecated-declarations
-Wno-error=implicit-function-declaration -Wno-error=sign-compare
-Wno-error=undef
and more if need.
- dillo build failed:
checking whether the C compiler works... no
configure: error: in '/mnt/aarch64/pkgsrc/www/dillo/work.aarch64/dillo-3.2.0':
configure: error: C compiler cannot create executables
See 'config.log' for more details
*** Error code 77
- for RPI5:
1. Download RPI5-D0v1
https://github.com/NumberOneGit/rpi5-uefi/releases/tag/v0.1
Download RPI5_D0.zip
2. Extract RPI5_D0.zip with msdos format MicroSD
mount_msdos -l /dev/sd0e /mnt
cd /mnt
7z e RPI5_D0.zip
3. copy this RPI4 image to USB disk
4. Connect RPI5:
MicroSD:(RPI5_D0)
USB disk(RPI4 image)
USB Keyboard/Mouse
HDMI
5. Connect Power Supply and boot comes are you are,as you were.
dmesg:
https://dmesgd.nycbug.org/dmesgd?do=view&id=8519
- [Test] Firmware update /boot/fixup4*.dat,start4*.elf
commit 4a44943386efa917f012ec55aba8b51f750be0f7 (HEAD -> master,
origin/master, origin/HEAD)
Author: Dom Cobley <popcornmix%gmail.com@localhost>
Date: Wed Nov 18 16:11:00 2026 +0000
- SD/MMC Configration
Switch Default uSD/eMMC Routing: Arasan SDHCI -> EMMC2
http://mail-index.netbsd.org/port-arm/2021/08/08/msg007393.html
the Arasan SDHCI is used to connect bwfm(4).
In this image, a synbolic link added
/libdata/firmware/if_bwfm:
ln -s brcmfmac43455-sdio.raspberrypi,4-model-b.txt
"brcmfmac43455-sdio.Raspberry Pi 4 Model B.txt"
to avoid
bwfm0: autoconfiguration error: NVRAM file not available
- only for RPI4
(fill dtb for RPI3?)
- build script
https://github.com/ebijun/NetBSD/tree/master/RPI/RPIimage/Image/aarch64
- [Issue] Can't recognize DOS partition from Windows
Should I Use MBR version image?
- rpi cm4 + waveshare mini base board B seems stop after kernel load
fixed: To use USB,set UEFI+FDT
http://mail-index.netbsd.org/port-arm/2021/06/30/msg007343.html
http://mail-index.netbsd.org/port-arm/2022/10/03/msg007875.html
- pkgin support
edit /usr/pkg/etc/pkgin/repositories.conf
cf.
http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/aarch64/2026
and pkgin update
sysinfo:
NetBSD-11.99.11 sh-20220122-20261123023831Z tzdata-2026fgtz unbound-1.26.2
userland-NetBSD-11.99.11/evbarm
pkgsrc:
MesaLib-21.3.9nb5 cairo-1.18.6nb2 curl-8.23.0 dbus-1.16.2nb5 freetype2-2.15.0
fribidi-1.0.18 gd-2.3.3nb20 glib2-introspection-2.90.1nb2
gobject-introspection-1.86.0nb6 gsettings-desktop-schemas-50.1nb3
gst-plugins1-bad-1.28.8 gst-plugins1-base-1.28.8 gstreamer1-1.28.8
gtk2+-2.24.33nb41 gtk3+-3.24.52nb5 gtk4-4.24.1 harfbuzz-15.0.0 lcms2-2.19.1nb1
lerc-4.3.0 libLLVM-13.0.1nb4 libcups-2.4.20 libelf-0.8.13nb1
libjpeg-turbo-3.2.1 libproxy-0.5.12nb6 librsvg-2.62.4nb2 libunistring-1.5
libva-2.24.1 m17n-lib-1.8.0nb28 medit-1.2.0nb46 mlterm-3.9.5nb4
mozilla-rootcerts-1.1.20260908nb2 nghttp2-1.71.0 pango-1.58.2nb3
python313-3.13.18 python314-3.14.10 qt5-qtbase-5.15.19nb4
qt5-qtx11extras-5.15.19nb3 qt5-qtxmlpatterns-5.15.19nb3 qt6-qt5compat-6.11.2nb3
qt6-qtbase-6.11.2nb4 qt6-qtdeclarative-6.11.2nb3 qt6-qtimageformats-6.11.2nb3
qt6-qtlanguageserver-6.11.2nb3 qt6-qtshadertools-6.11.2nb3 qt6-qtsvg-6.11.2nb3
raqm-0.11.0nb3 ruby34-3.4.12 ruby34-atk-4.3.7nb3 ruby34-cairo-1.18.5nb3
ruby34-cairo-gobject-4.3.7nb3 ruby34-gdk3-4.3.7nb3 ruby34-gdk_pixbuf2-4.3.7nb3
ruby34-gio2-4.3.7nb3 ruby34-glib2-4.3.7nb3
ruby34-gobject-introspection-4.3.7nb3 ruby34-gtk3-4.3.7nb3
ruby34-mikutter-5.1.2nb4 ruby34-pango-4.3.7nb3 shared-mime-info-2.4nb10
sqlite3-3.54.1 uim-1.9.7pre20251027nb8
RPI4 status:
- boot via UEFI_VER=v1.54-rc
https://github.com/pftf/RPi4/releases
In this image,pre-setted /boot/RPI_EFI.fd
1. Advanced Configration
-> Limit RAM to 3GB Disabled
2. Boot order, from microSD
- HDMI: works
- audio: vcaudio
http://mail-index.netbsd.org/source-changes-d/2021/01/22/msg013133.html
- USB device: works
- bwfm0 Wireless network:?
(works well on RPI3,not works on RPI4?)
- Pi 4 Bootloader Configuration
https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711_bootloader_config.md
Update:
- NetBSD-current 11.99.11 evbarm-aarch64 20261123023831Z arm64.img from nyftp.
- pkginfo
https://github.com/ebijun/NetBSD/blob/master/RPI/RPIimage/Image/aarch64/pkginfo
- sysinfo
https://github.com/ebijun/NetBSD/blob/master/RPI/RPIimage/Image/aarch64/sysinfo
Update from 2022-06:
https://github.com/ebijun/NetBSD/commit/1b3ef330ecf023aa73d58ccb8b4029c520f33cdf
- mate/firefox/inkscape/libreoffice works well
pkg_add mate
pkg_add gvfs
pkg_add firefox
pkg_add firefox-l10n
pkg_add libreoffice
pkg_add inkscape
pkg_add gimp
pkg_add scribus
pkg_add py312-sphinx
pkg_add wxGTK32
pkg_add gnome-keyring
/root/.xinitrc
#mate-session; exit <-- uncomment this line & startx to test mate desktop
- Sphinx with latexpdf
https://github.com/ebijun/NetBSD/blob/master/Guide/latexpdf.rst
- raspberry-pi userland: compile failed
Pre-installed packages:
bash
tcsh
vlgothic-ttf
icewm
xli
ruby32-mikutter
uim
fossil
sudo
git-base
zsh
mlterm
pkg_chk
lintpkgsrc
mozilla-rootcerts
dillo
medit
lrzsz
sayaka
- pre-build packages:
See /etc/pkg_install.conf
PKG_PATH=http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/aarch64/2026/
pkgsrc:
# cd /usr
# ftp http://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc.tar.gz
# ls /usr/pkgsrc ... check if exists.
# tar tzvf pkgsrc.tar.gz |head ... check the archive
# tar xzvf pkgsrc.tar.gz ... extract
# ls /usr/pkgsrc ... check what extracted
# pkg_chk -g ... List to/usr/pkgsrc/pkgchk.conf
# (cd /usr/pkgsrc;cvs update -PAd) ... update
# pkg_chk -un ... Update (listup)
# pkg_chk -u ... Update
EEPROM verson:
Check&update with Raspberry Pi OS (pi:raspberry)
boot from m2.SSD with RPI5 needs update latest version.
pi@raspberrypi:~ $ cat /etc/default/rpi-eeprom-update
FIRMWARE_RELEASE_STATUS="stable"
pi@raspberrypi:~ $ sudo rpi-eeprom-update
BCM2711 detected
Dedicated VL805 EEPROM detected
BOOTLOADER: up-to-date
CURRENT: Thu 16 Jul 15:15:46 UTC 2020 (1594912546)
LATEST: Thu 16 Jul 15:15:46 UTC 2020 (1594912546)
FW DIR: /lib/firmware/raspberrypi/bootloader/stable
VL805: up-to-date
CURRENT: 000138a1
LATEST: 000138a1
--
Jun Ebihara
Home |
Main Index |
Thread Index |
Old Index