2025-05-09-netbsd-raspi-aarch64.img

Jun Ebihara <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <CACntkkgKfR-9gy_5cfJi_RwsnhCUezxDKM_=0mrNEHxyAo02rA@mail.gmail.com>
I've updated 2025-05-09-netbsd-raspi-aarch64.img.gz for RPI4.

https://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2025-05-09-aarch64/2025-05-09-netbsd-raspi-aarch64.img.gz
https://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2025-05-09-aarch64/MD5

Topics:
- libreoffice build failed:
<command-line>: note: this is the location of the previous definition
{standard input}: Assembler messages:
{standard input}:23: Error: previous CFI entry not closed (missing .cfi_endproc)
{standard input}:58: Error: CFI instruction used without previous .cfi_startproc
{standard input}:59: Error: CFI instruction used without previous .cfi_startproc
{standard input}:60: Error: CFI instruction used without previous .cfi_startproc
{standard input}:61: Error: CFI instruction used without previous .cfi_startproc
{standard input}:63: Error: .cfi_endproc without corresponding .cfi_startproc
gmake[1]: *** [/mnt/aarch64/pkgsrc/misc/libreoffice/work.aarch64/libreoffice-25.2.0.3/solenv/gbuild/LinkTarget.mk:367:
/mnt/aarch64/pkgsrc/misc/libreoffice/work.aarch64/libreoffice-25.2.0.3/workdir/GenCObject/UnpackedTarball/mariadb-connector-c/libmariadb/ma_context.o]
Error 1

- add net/nanotodon
  Nanotodon is a light-weight CUI/C99 mastodon client.

arm64$ nanotodon
Hello! Welcome to nanotodon!
First, Please tell me the server where you live.
(https://[please enter this part]/)
>social.mikutter.hachune.net

Next, I will do application authentication.
Please access to following URL, then after authorization, please input
displayed authorization code.
https://social.mikutter.hachune.net/oauth/authorize?client_id=XXX...
> [input authorization code]
 :

- [Researching] RPI5:
 Re: NetBSD on Raspberry PI5
 http://mail-index.netbsd.org/port-arm/2024/08/21/msg008868.html

 https://github.com/worproject/rpi5-uefi
 This image has rpi5-uefi 0.3.
 /boot:
    RPI_EFI.fd.rpi5-uefi
    config.txt.rpi5-uefi
    bcm2712-rpi-5-b.dtb

- [Test] Firmware update /boot/fixup4*.dat,start4*.elf
commit 9995946dce284505d3dd46c7563d74a691f38a70 (HEAD -> master,
origin/master, origin/HEAD)
Author: Dom Cobley <[email protected]>
Date:   Mon Feb 17 20:02:53 2025 +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/2024
  and pkgin update


sysinfo:
 libc-12.223 libssh-49.0 NetBSD-10.99.14 openssh-10.0 opensshd-10.0
 sh-20220122-20250508022724Z tzdata-2025bgtz userland-NetBSD-10.99.14/evbarm

pkgsrc:
 at-spi2-core-2.54.0nb5 cairo-1.18.4 curl-8.13.0nb2 dillo-3.2.0nb2 fltk-1.4.3
 gd-2.3.3nb15 gdk-pixbuf2-2.42.12nb1 giflib-5.2.2nb1 git-base-2.49.0nb2
 gnutls-3.8.9nb1 gtk2+-2.24.33nb30 gtk3+-3.24.43nb9 harfbuzz-11.2.0 icu-77.1
 imlib2-1.12.3nb3 libXft-2.3.9 libcups-2.4.12 libffi-3.4.8 libgpg-error-1.55
 libjpeg-turbo-3.1.0 libproxy-0.5.9nb6 libwebp-1.5.0nb1 libxkbcommon-1.7.0nb6
 libxml2-2.14.2nb2 libxslt-1.1.42nb4 m17n-lib-1.8.0nb22 medit-1.2.0nb39
 mlterm-3.9.4nb2 nanotodon-0.5.0nb2 nghttp2-1.65.0nb1 pango-1.56.3 perl-5.40.2
 pixman-0.46.0 pkg_chk-2.0.13 pkgin-24.12.0nb1 png-1.6.48
 py312-setuptools-79.0.1 python312-3.12.10nb1 qt5-qtbase-5.15.16nb4
 qt5-qtx11extras-5.15.16nb2 qt5-qtxmlpatterns-5.15.16nb2 ruby32-base-3.2.8
 ruby32-cairo-1.18.4 ruby32-gdk3-4.2.7nb1 ruby32-gtk3-4.2.7nb1
 ruby32-mikutter-5.1.1nb2 ruby32-nokogiri-1.18.8 shared-mime-info-2.4nb5
 sqlite3-3.49.1nb3 sudo-1.9.16p2nb2 tiff-4.7.0nb1 uim-1.8.9nb19
 wayland-1.23.0nb6 wayland-protocols-1.44 wget-1.25.0nb1 xli-1.17.0nb15

RPI4 status:
- boot via UEFI_VER=v1.41
  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 10.99.14 evbarm-aarch64 202505080230Z 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
  ruby31-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
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.