Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Subject: 2025-11-26-netbsd-raspi-aarch64.img
I've updated 2025-11-26-netbsd-raspi-aarch64.img.gz for RPI4.
https://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2025-11-26-aarch64/2025-11-26-netbsd-raspi-aarch64.img.gz
https://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2025-11-26-aarch64/MD5
Topics:
- gcc-14.3.0
CFLAGS+=-Wno-error=incompatible-pointer-types
-Wno-error=declaration-after-statement
- libc-12.224
if pkgsrc/devel/cargo-c failed,use 2025-09-18-aarch64.
https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=59754
- firefox build failed
https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=59775
nit https://github.com/ebijun/NetBSD/blob/master/pkgsrc/firefox/patch-js_src_jit_arm64_vixl_Registers-vixl.h
- 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
- libreoffice build failed:
Fixed.libreoffice-25.8.2.2.
- 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 4110ba807ae84b343da239fc30db49ea426f9c5d (HEAD -> master,
origin/master, origin/HEAD)
Author: Dom Cobley <popcornmix%gmail.com@localhost>
Date: Mon Oct 6 13:50:24 2025 +0100
- 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/2024
and pkgin update
sysinfo:
g++-14.3.0 gcc-14.3.0 libc-12.224 libssh-50.0 libstdc++-9.2 NetBSD-11.99.4
openssh-10.2 opensshd-10.2 sh-20220122-20251125125914Z
userland-NetBSD-11.99.4/evbarm
pkgsrc:
at-spi2-core-2.58.1 cairo-1.18.4nb2 curl-8.17.0 dbus-1.16.2nb2
fontconfig-2.17.1nb1 fossil-2.27 gd-2.3.3nb17 gdk-pixbuf2-2.42.12nb5
git-base-2.52.0 glib2-2.84.4nb1 gobject-introspection-1.84.0nb1
gsettings-desktop-schemas-40.0nb4 gtk2+-2.24.33nb34 gtk3+-3.24.51
harfbuzz-12.2.0 imlib2-1.12.5 libcups-2.4.14nb1 libgpg-error-1.56
libproxy-0.5.11nb2 libxkbcommon-1.13.0 m17n-lib-1.8.0nb24 medit-1.2.0nb41
mlterm-3.9.4nb4 mozilla-rootcerts-1.1.20251029 mpdecimal-4.0.1
nanotodon-0.5.0nb3 nghttp2-1.68.0 pango-1.57.0nb1 pcre2-10.47
py313-setuptools-80.9.0 python313-3.13.9 qt5-qtbase-5.15.17nb3
qt5-qtx11extras-5.15.17nb1 qt5-qtxmlpatterns-5.15.17nb1 raqm-0.10.3nb1
readline-8.3nb1 ruby32-atk-4.3.3nb1 ruby32-cairo-1.18.4nb1
ruby32-cairo-gobject-4.3.3nb1 ruby32-gdk3-4.3.3nb1 ruby32-gdk_pixbuf2-4.3.3nb1
ruby32-gio2-4.3.3nb1 ruby32-glib2-4.3.3nb1
ruby32-gobject-introspection-4.3.3nb1 ruby32-gtk3-4.3.3nb1
ruby32-mikutter-5.1.1nb5 ruby32-pango-4.3.3nb1 shared-mime-info-2.4nb6
sqlite3-3.51.0 uim-1.8.9nb21 wayland-1.24.0 zsh-5.9nb3
RPI4 status:
- boot via UEFI_VER=v1.50
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.4 evbarm-aarch64 20251125125914Z 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
- pkgin: upgrade failed
- 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/2025/
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)
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