2024-06-19-netbsd-raspi-aarch64.img

蛯原純 <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <CACntkkiGRg2SpfTtEamKjy4PzWYzf7=pAoeu9oQ-uTdshGUmLw@mail.gmail.com>
I've updated 2024-06-19-netbsd-raspi-aarch64.img.gz for RPI4.

https://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2024-06-19-aarch64/2024-06-19-netbsd-raspi-aarch64.img.gz
https://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2024-06-19-aarch64/MD5

Topics:
- [Researching] RPI5: not booting yet
 need test
 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

- pkgsrc/www/firefox
 120.X start failed
 119.X works well
- [Test] Firmware update /boot/fixup4*.dat,start4*.elf
commit 361c1b238f47352b5dc8f7fab7ac8c5693c730f6
Author: Dom Cobley <[email protected]>
Date:   Tue Jun 18 11:30:43 2024 +0100
    kernel: Bump to 6.6.34

- 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:
 dhcpcd-10.0.8 g++-12.3.0 gcc-12.3.0 libstdc++-9.1 pkg_install-20240307
 sh-20220122-20240618040718Z tcsh-6.24.13

pkgsrc:
 curl-8.8.0nb1 cwrappers-20220403 dav1d-1.4.2 fossil-2.24nb1 fribidi-1.0.15
 gd-2.3.3nb13 git-base-2.45.2 glib2-2.80.3 gnutls-3.8.5nb3 gtk2+-2.24.33nb20
 gtk3+-3.24.42nb1 harfbuzz-8.5.0 icewm-3.5.0 icu-75.1 imlib2-1.12.2 libaom-3.9.0
 libcups-2.4.8nb1 libde265-1.0.15 libepoll-shim-0.0.20240608 libheif-1.17.6nb1
 libproxy-0.5.6nb2 libxkbcommon-1.7.0nb2 libxml2-2.12.4nb1 libxslt-1.1.39nb1
 m17n-lib-1.8.0nb16 medit-1.2.0nb31 mktools-20220614 mlterm-3.9.3nb10
 mozilla-rootcerts-1.0.20240607 nghttp2-1.62.1nb1 pcre2-10.44
 pkg_install-20240307 pkgin-23.8.1nb4 python311-3.11.9nb1 qt5-qtbase-5.15.14nb1
 qt5-qtx11extras-5.15.14nb1 qt5-qtxmlpatterns-5.15.14nb1
 ruby32-mini_portile2-2.8.7 ruby32-nokogiri-1.16.4nb1 ruby32-public_suffix-5.1.0
 shared-mime-info-2.4nb1 svt-av1-1.8.0 tcsh-6.24.13 uim-1.8.9nb11 wayland-1.23.0
 wget-1.24.5nb2 x265-3.6

RPI4 status:
- boot via UEFI_VER=v1.37
  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.10 evbarm-aarch64 202406180510Z 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 20221-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 py310-sphinx
   pkg_add wxGTK31
   pkg_add gnome-keyring

- 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/2024/

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.