Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
2026-03-26-netbsd-raspi-earmv6hf.img (Re: Raspberry Pi update please.)
I've updated 2026-03-26-netbsd-raspi-earmv6hf.img.gz for RPI.
https://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2026-03-26-earmv6hf/2026-03-26-netbsd-raspi-earmv6hf.img.gz
https://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2026-03-26-earmv6hf/MD5
- ruby33
If YJIT is not available in the running environment (e.g., compiled
with `--disable-yjit`), the constant `RubyVM::YJIT` is not defined,
leading to the `NameError` despite the version check passing.
pkgsrc/net/mikutter:
/usr/pkg/share/mikutter/mikutter.rb:62
- RubyVM::YJIT.enable if RUBY_VERSION.split('.') >= %w[3 3]
+ RubyVM::YJIT.enable if defined?(RubyVM::YJIT) &&
RUBY_VERSION.split('.') >= %w[3 3]
Update:
- NetBSD-11.99.5
- pkgsrc/www/dillo failed. try www/palemoon.
- fstab
To resize_root,disable log from /etc/fstab.
- 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]
:
- NetBSD 11.99.5 evbarm-earmv6hf 20260325090945Z rpi.img from nyftp.
- add pkgsrc/net/sayaka : SNS called Misskey client support
to show misskey.io timeline with sayaka:
# mlterm-wscons
# sayaka --local --server misskey.io
- armv6 on QEMU (was Re: armv6 support for rust)
http://mail-index.netbsd.org/port-arm/2024/09/01/msg008901.html
http://mail-index.netbsd.org/tech-pkg/2022/10/21/msg026888.html
- Re: Raspberry Pi camera under NetBSD current
http://mail-index.netbsd.org/current-users/2021/11/16/msg041683.html
1. firmware copy start* and fix*
2. sync dtb
- Firmware update
commit 1248a22f2d6f80273d00ed88ba9713d6095b4ed3 (HEAD -> master,
origin/master, origin/HEAD)
Author: Dom Cobley <popcornmix%gmail.com@localhost>
Date: Wed Mar 25 18:45:04 2026 +000
- Raspberry PI zero 2 W
http://mail-index.netbsd.org/port-arm/2022/02/14/msg007593.html
earmv7hf works well.earmv6hf not yet.
- Raspberry Pi [0-3] have been supported in big-endian mode
https://mail-index.netbsd.org/port-arm/2026/02/23/msg009553.html
"because now vcaudio(4) works even on aarch64eb :-)"
- Fw: gstreamer1 updated, raspberry help needed
http://mail-index.netbsd.org/port-arm/2021/11/17/msg007498.html
- multimedia/gst-plugins1-egl-gl
- multimedia/gst-plugins1-egl-opengl
- multimedia/gst-plugins1-omx
PR
#55505 RaspberryPi3A+ can't find Wi-Fi module
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=55505
#54941
Raspberry Pi Zero W serial console corrupted when CPU frequency changed
http://gnats.netbsd.org/54941
- RPI4: testing on NetBSD/aarch64
https://github.com/ebijun/NetBSD/blob/master/RPI/RPIimage/Image/aarch64/README
- pkgin support
check /usr/pkg/etc/pkgin/repositories.conf.
I add
http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/earmv6hf/2021-1
for testing, with pkg_summery.gz .
sysinfo:
dhcpcd-10.3.1 libpcap-1.10.6 (64-bit time_t) pkg_install-20260227
sh-20220122-20260325090945Z tcpdump-4.99.6 tzdata-2026agtz
pkgsrc:
curl-8.19.0 freetype2-2.14.2 gdk-pixbuf2-2.44.5 giflib-6.1.2 glib2-2.86.4nb1
gnutls-3.8.12 gst-plugins1-bad-1.28.1 gst-plugins1-base-1.28.1
gstreamer1-1.28.1 gtk2+-2.24.33nb37 gtk3+-3.24.51nb5 gtk4-4.20.3nb4
harfbuzz-13.0.1 imlib2-1.12.5nb1 jasper-4.2.9 lerc-4.1.0 libgcrypt-1.12.1
libgpg-error-1.59 libproxy-0.5.12nb2 librsvg-2.60.2 libxml2-2.15.1
libxslt-1.1.45 medit-1.2.0nb43 mlterm-3.9.4nb6 mozilla-rootcerts-1.1.20260211
pkg_install-20260227 pkgin-26.2.0 png-1.6.55 py313-setuptools-82.0.1
qt5-qtbase-5.15.18nb3 qt6-qt5compat-6.10.2nb1 qt6-qtbase-6.10.2nb1
qt6-qtdeclarative-6.10.2nb1 qt6-qtimageformats-6.10.2nb1
qt6-qtlanguageserver-6.10.2nb1 qt6-qtshadertools-6.10.2nb1 qt6-qtsvg-6.10.2nb1
raqm-0.10.4 ruby33-3.3.10nb1 ruby33-addressable-2.8.9 ruby33-atk-4.3.5
ruby33-cairo-1.18.4nb2 ruby33-cairo-gobject-4.3.5 ruby33-delayer-1.2.1
ruby33-delayer-deferred-2.2.0 ruby33-diva-2.0.1 ruby33-gdk3-4.3.5
ruby33-gdk_pixbuf2-4.3.5 ruby33-gettext-3.4.1 ruby33-gio2-4.3.5
ruby33-glib2-4.3.5 ruby33-gobject-introspection-4.3.5 ruby33-gtk3-4.3.5
ruby33-httpclient-2.9.0 ruby33-instance_storage-1.0.0 ruby33-locale-2.1.5
ruby33-memoist-0.16.2 ruby33-mikutter-5.1.1nb7 ruby33-mini_portile2-2.8.9
ruby33-moneta-1.6.0 ruby33-native-package-installer-1.1.9
ruby33-nokogiri-1.19.1 ruby33-pango-4.3.5 ruby33-pkg-config-1.6.5
ruby33-pluggaloid-1.7.0 ruby33-public_suffix-7.0.5 ruby33-red-colors-0.4.0
ruby33-text-1.3.1 ruby33-typed-array-0.1.2 sayaka-3.8.6 sqlite3-3.51.3
uim-1.9.7pre20251027nb3 wayland-1.24.0nb2
Need Checking:
- bluetooth keyboard/mouse setting
- RPI camera module
http://mail-index.netbsd.org/current-users/2021/11/16/msg041683.html
Got Reports:
- HDMI output works very well however I wanted to change the resolution
into 800x600 both tty console and X Window graphical modes. Where should I
change it? As config.txt with hdmi_group=1, hdmi_mode=1 or hdmi_safe=1
didn't work.
- USB input devices seem to work fine as well with my USB keyboard, mouse
and barcode reader. However for my USB output device such as my Xprinter
printer didn't work with device driver of ulpt(4). It is detected
and working in OpenBSD.[9.0 release also occurs same error]
[ 195.114857] ulpt0 at uhub1 port 5 configuration 1 interface 0
[ 195.114857] ulpt0: Xprinter (0x0483) USB Printer P (0x5743), rev
2.00/1.00, addr 5, iclass 7/1
[ 195.114857] ulpt0: using bi-directional mode
rpi# cat myfile.txt > /dev/ulpt0
-sh: cannot create /dev/ulpt0: error 16
- with my Raspberry Pi 3B because every time I invoked this command
"shutdown -h now" a kernel panic occurs relating to usbd_transfer.
- After shutting-down leaving the system unplugged, this will
turn it's processor very very hot and seems harmful to the system.
pre-installed packages:
https://github.com/ebijun/NetBSD/blob/master/RPI/RPIimage/pkgsrc/pkginfo
Keyboard layout checkpoint:
http://www.netbsd.org/docs/guide/en/chap-cons.html
/etc/wscons.conf
#encoding sv
#encoding us.swapctrlcaps
encoding jp
System Update:
http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/sets/lists/base/shl.mi
RPI Wifi:
http://mail-index.netbsd.org/port-arm/2019/08/31/msg006102.html
Overview:
http://wiki.NetBSD.org/ports/evbarm/raspberry_pi/
QEMU,with GENERIC kernel : vexpress to GENERIC: testing
https://github.com/ebijun/NetBSD/tree/master/vexpress/Boot
https://github.com/ebijun/NetBSD/tree/master/vexpress/vexpress-v2p-ca15-tc1.dtb
http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2026-03-26-earmv6hf/QEMU/netbsd-GENERIC.ub.gz
http://mail-index.netbsd.org/port-arm/2017/06/02/msg004154.html
dmesg:
https://github.com/ebijun/NetBSD/blob/master/dmesg/earmv6hf/RPI
https://github.com/ebijun/NetBSD/blob/master/dmesg/earmv6hf/RPI0
https://github.com/ebijun/NetBSD/blob/master/dmesg/earmv6hf/RPI0W
https://github.com/ebijun/NetBSD/blob/master/dmesg/earmv6hf/RPI2
https://github.com/ebijun/NetBSD/blob/master/dmesg/earmv6hf/RPI2-1.2
https://github.com/ebijun/NetBSD/blob/master/dmesg/earmv6hf/RPI3
https://github.com/ebijun/NetBSD/blob/master/dmesg/earmv6hf/RPI3A+
https://github.com/ebijun/NetBSD/blob/master/dmesg/earmv6hf/RPI3B+
Problem:
- CPUFLAGS=-mfpu=neon-vfpv4 breaks some programs
http://gnats.netbsd.org/52528
- webkit24-gtk-2.4.11nb9 compile failed.
- dillo-3.0.5nb2 works with -O0
thanx Jared McNeill.
security.pax.mprotect.enabled
http://netbsd.org/gallery/presentations/msaitoh/2016_BSDCan/BSDCan2016-NetBSD.pdf
man security
man paxctl
sysctl -a |grep pax
If application failed, such as omxplayer.
try to test
sysctl -w security.pax.mprotect.enabled=0
Automatic resize partition: see /etc/rc.conf and /etc/fstab
1. copy image to SD/MicroSD
2. Boot
3. Calculate and resize ld0 partition and automatic reboot
4. after the reboot,root partition fit for your card.
http://movapic.com/pic/20150416115108552fa22c4f225
In this image, ld0a re-created with newfs -b 4096.
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
I use /usr/pkgsrc with USB SSD disk.
Pre-compiled packages:
- Pre-compiled packages path setting: man 5 pkg_install.conf
See /etc/pkg_install.conf
PKG_PATH=http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/earmv6hf/2025/
- If you use Official Package for NetBSD9:
set /etc/pkg_install.conf:
PKG_PATH=http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/earmv6hf/9.0/
- If you update pkgsrc by yourself,comment out /etc/pkg_install.conf and check
/etc/mk.conf.
Install application: man 1 pkg_add
# pkg_add some_application_name
- omxplayer
# pkg_add omxplayer
# pkg_add youtube-dl
# youtube-dl https://www.youtube.com/watch?v=wG8ZCC8IwvM
# omxplayer *.mkv
MPEG-2 license key:
sysctl machdep.serial and convert to hex.
- Xfce4
# pkg_add xfce4
# startxfce4
or edit /root/.xinitrc and comment out startxfce4
- seamonkey
# pkg_add seamonkey
# pkg_add seamonkey-l10n
- nodejs
# pkg_add nodejs
omxfinder (https://www.npmjs.com/package/omxfinder)
# npm install -g omxfinder
cd video archive directory,
# omxfinder
can start video viewing via file finder.
SHARP MZ700 emulator
# npm install -g mz700-js
# cd /usr/pkg/lib/node_modules/mz700-js
# npm start
# mz700-js@0.0.0 start /usr/pkg/lib/node_modules/mz700-js
# access http://localhost:3000/MZ-700/client.html
- openjdk
# pkg_add openjdk8
- gimp
# pkg_add gimp
- mpv
# pkg_add mpv
- emacs
# pkg_add emacs
# pkg_add anthy-elisp # for inputmethod/anthy
- evince
# pkg_add evince
- typical apache+php environment
# pkg_add ap22-php56
- gedit
# pkg_add gedit
- sphinx
# pkg_add py27-sphinx
- mcomix .. Book scanning data viewer
# pkg_add py27-mcomix
to avoid ImportError: cannot import name _getexif,
use py27-Pillow package instead of py27-imaging.
- firefox52
# pkg_add firefox52
# pkg_add firefox52-l10n
firefox52: fixed by Jared McNeill.
http://mail-index.netbsd.org/pkgsrc-changes/2017/07/16/msg160171.html
- awscli
# pkg_add py27-awscli
# /usr/pkg/bin/aws ec2 describe-instances ....
Testing::
- midori
# pkg_add midori
XXX: start failed
- scribus
# pkg_add scribus-1.4.3
XXX: libpodofo.so.0.9.3 not found:need re-compile
- inkscape
XXX: libboost_system.so.1.60 not found:need re-compile
- wordpress
# pkg_add wordpress
XXX: need php56-gd
- (shotwell)
# pkg_add shotwell
USB mass storage boot
https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md
CrossCompiling:
http://www.slideshare.net/junebihara18/netbsdworkshop
NetBSD GPIO DOC by Marina Brown
https://github.com/catskillmarina/netbsd-gpio-doc/blob/master/README.md
An introduction to GPIO in RPi3B+ and NetBSD,
building a Wind-speed logger as an application. by Dr. Nicola Mingotti
https://www.netbsd.org/gallery/presentations/mingotti/slides-eurobsdcon-2024-v-1-6.pdf
I2C - "Raspberry Pi I2C implementation still broken?"
http://mail-index.netbsd.org/port-arm/2015/02/10/msg002853.html
"I can confirm the IOCTL is fixed, and can now successfully program I2C
EEPROMs using NetBSD on the Pi."
NetBSD RPi i2c sample code:
https://gist.github.com/cr1901/76af0b3db9e9001a8d5b
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=48855
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=48932
nono - LUNA/LUNA88K/X68K Emulator for NetBSD/x68k (Thanx isaki@)
http://www.pastel-flower.jp/~isaki/nono
Todo:
- set2pkg: update via pkgsrc.
- pkg_in/pkg_summary
- Summarize /usr/tests atf result on earm/earmhf/earmv6hf.
- DTRACE http://wiki.netbsd.org/tutorials/how_to_enable_and_run_dtrace/
- yaft (yet another framebuffer terminal):
https://github.com/uobikiemukot/yaft
- /dev/mem: http://mail-index.netbsd.org/port-arm/2015/03/12/msg002934.html
"can't open /dev/mem" -> re-compile kernel with INSECURE.
- Sound output to the jack: port-arm/2015/03/12/msg002938.html
$ mixerctl -v outputs.select
outputs.select=auto [ auto headphones hdmi ]
pkgsrc Todo:
- lang/go :
earmv7hf: pkgsrc: go-1.9.3.tgz go14-1.4.3nb6.tgz or later.
earmv6hf: pkgsrc: go14-1.4.3nb6.tgz
Golang for NetBSD/arm problem summarized by @oshimyja
http://www.yagoto-urayama.jp/~oshimaya/netbsd/netbsd_goarm.html
http://mail-index.netbsd.org/port-arm/2015/08/02/msg003361.html
https://twitter.com/oshimyja/status/604871730125864960
https://twitter.com/oshimyja/status/840750347022876672
https://github.com/golang/go/commit/30d60936d97423af0403f2d5395c604ac0ff3757
runtime: fetch physical page size from the OS
https://github.com/golang/go/commit/276a52de55fb48c4e56a778f1f7cac9292d8fad7
- gnuradio: g77 failed. need RTL2832U master.
http://mail-index.netbsd.org/port-arm/2017/01/26/msg004090.html
- www/otter-browser: compiling.
- omxplayer: sometimes core dumps.
-> add "gpu=256" to /boot/cmdline.txt, advice from Brandon Wickelhaus.
=====================
For Open Source Conference 2026
I've updated raspberry-pi image.
https://wiki.netbsd.org/users/jun/
https://www.facebook.com/NetBSD.jp
http://www.jp.NetBSD.org/
https://github.com/ebijun/NetBSD/blob/master/Guide/RPI/RPIupdate2025.rst
- NetBSD 11.99.5 earmv6hf rpi.img.gz base
- Connect HDMI,USB Keyboard,USB Mouse,Ether(dhcpd and ntpd will work)
- login root (no passwd)
- startx ,and icewm running.
- running mikutter.
twitter client (net/mikutter) on 40inch home TV.
http://movapic.com/ebijun/pic/5168479
# startx
# dillo &
# mikutter &
or
# LANG=en_US.UTF-8 mikutter &
English menu support. LANG environment setting on .xinitrc .
==== one or two or threee moment =====
Appear mikutter window. and mikutter-chan tell you,
"Well done on the installation!" [Next]
"Hi! This is mikutter-chan speaking to you,join the mastodon with me!" [Next]
:
"Congratulations! You have attained achievement register_account!"
Share your twitter timeline with your family!
Features:
- fit size for 4GB SD Card
- with X11
- increase more inodes on /dev/ld0a
- Recent current RPI kernel
- USB/video support: as NetBSD-current
- pre-build packages
http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/earmv6hf/2021-1/
Installed Packages:
bash
tcsh
vlgothic-ttf
icewm
xli
ruby31-mikutter
uim
fossil
raspberrypi-userland
sudo
git-base
zsh
mlterm
pkg_chk
lintpkgsrc
mozilla-rootcerts
dillo
medit
lrzsz
sayaka
To control HDMI output,add/delete "console=fb" on cmdline.txt.
If delete console=fb definition,you can get serial console instead.
rpi$ more /boot/cmdline.txt
root=ld0a console=fb
/root/.xinitrc
setxkbmap -model jp106 jp
/root/.mikutter/plugin/ : http://yuzuki.hachune.net/wiki/Plugin
- display_requirements.rb [Pre installed]
Build sample script:
https://github.com/ebijun/NetBSD/tree/master/RPI/RPIimage/Image
Guide:
https://github.com/ebijun/NetBSD/blob/master/Guide/RPI.rst
BUGS:
1. port-arm/48855
i2cscan on RPi NetBSD build finds device for all addresses
2. i2c problem reported from "its sead".
/usr/sbin/i2scan on iic0 or iic1 often crashes the device (also with the -r
(use writes) option)
3. cap_mkdb failed, on update terminfo db.
https://twitter.com/uobikiemukot/status/487977340949893121
One more time: (we're gonna celebrate
- Everything you always wanted to know about six but were afraid to ask.
1. login root
2. mlterm-wscons
3. ftp http://mlterm.sf.net/vimperator.six
4. cat vimperator.six
5. exit
6. mlterm-wscons --rotate=left
7. cat vimperator.six
--
Jun Ebihara
Home |
Main Index |
Thread Index |
Old Index