After more than one flub, I've gotten through the hoops to make NetBSD run on a Raspberry Pi 4. I had already gotten 2 different working versions on a Pi 3, but the 4 was giving me fits.
All credit goes to the very clear directions from Astro:
Those instructions are reasonably recent, 6 months or so, and the version I pulled down is NetBSD-current from just after New Year's 2022.
Pictures are at the end, as I've given up trying to make google-blogspot do the thing right.
I went through several passes of getting UEFI boot-code onto a micro-SD card that would then allow NetBSD install and reboot onto something other than the limited lifetime SD chip a few months back. OK, it was 2020, but probably also later.
user@pi:~ $ sudo mkfs.vfat /dev/sdb1 -n UEFI
mkfs.fat 4.2 (2021-01-31)
user@pi:~/iso $ sudo dd if=NetBSD-9.99.93-evbarm-aarch64.iso of=/dev/sda
I had a 128GB USB micro-stick (about as big as my thumbnail) ready for NetBSD but somewhere along the way that device had been partitioned or initialized in a way the install could not detect it. So, in a shortcut to avoid another shopping trip (or delay for shipping) I connected a 500GB SSD. The adapter is nice in that no extra power is needed, and the Pi supplies enough.
But, the Pi does not supply enough power for an SSD and a spinning external USB-powered CD drive; I saw overcurrent messages on the install startup. Also, don't try to plug in the CD drive after the install has started. It might work, but it might also generate spurious on-screen messages, fouling up the normal curses menu.
-rw-r--r-- 1 me users 11500 Jan 2 23:55 dmesg-netbsd-1.txt
- Figure out font paths in VNC (works from an x86 system but not arm64)
- Unpeel the perl onion surrounding the Byte benchmark and get valid results
- Try 2 monitors. I guess you need to buy them in pairs now.
- Locate a functional USB wi-fi dongle (have one on the 3)
- Open problem reports if it seems fixable and/or important
- Refactor shell scripts to perl/python
- find the "Limit RAM to 3 GB" option and disable it.
Figure 0: boot screen
Figure 1 and 2: photos of the Pi 4, external SSD and X on-screen, plus a USB receptacle.
Figure 5: Ganttproject 2.x
Figure 6 and 7 are RRD views of CPU metrics (vcmbox0 and acpitz0).