OpenBSD vs FreeBSD for a Raspberry Pi project? reddit / BSD ---------------------------------------------------------------------- [deleted] · 2021-10-17 09:46 I looking to create a BSD-based OS for a Raspberry Pi Project, I am wondering if I should use FreeBSD or OpenBSD? ---------------------------------------------------------------------- gumnos · 2021-10-17 12:53 what sort of project? And which model of RPi? The details would likely influence recommendations. ---------------------------------------------------------------------- Darth_Ender_Ro · 2021-10-17 14:03 It’s probably a software project and the Pi is the rectagle shaped one ---------------------------------------------------------------------- gumnos · 2021-10-17 14:36 Thanks. By which Pi, I know that OpenBSD only runs on the Pi3 and Pi4 devices, but not the older models that I have (where FreeBSD does have builds that I've run…btw, doing a FreeBSD buildworld/buildkernel takes ~3 days on that hardware). So if it's an older RPi, OpenBSD might not even be an option. By which project, it could be a web server, a mail server, a file/media server, a Minecraft server, just a place to experiment with development, or driving some physical hardware via the GPIO pins. The choice of OS can be influenced by both factors. ---------------------------------------------------------------------- GodlessAristocrat · 2021-10-17 14:50 3 days? Distcc is your friend. ---------------------------------------------------------------------- LowerSeaworthiness · 2021-10-17 16:36 I’ve used both on Pi4. Both suited my purposes, but only OpenBSD can run the wifi hardware. ---------------------------------------------------------------------- Sndr666 · 2021-10-17 17:27 yooo, I just accepted that I would have no wifi on bsd, bc freebsd stated it would (probably) never support the wifi driver. What made openbsd support it anyway ? ---------------------------------------------------------------------- pseydtonne · 2021-10-17 18:33 I will warn you based on my experience of running FreeBSD on a Pi3B+. The OS runs well, but their dev team lists aarm64 as a second tier. This means you cannot run a successful major upgrade without installing from a fresh image or ISO. This was a show-stopper for me. I need to use a separate SD card to get the new image, test that my setting worked as new, copy data from the old card, and expect to do this again within a year. If this doesn't sounds like it would hurt your project, then you may prefer to run BSD on an RPi. You don't have to deal with SystemD, and that's good. ---------------------------------------------------------------------- trasz · 2021-10-17 19:21 It’s trivially simple to just cross build (man development, example at the end). ---------------------------------------------------------------------- LJB018_ · 2021-10-17 19:23 I am building a Custom Car Dashboard and I will probably be using the Raspberry Pi 4. ---------------------------------------------------------------------- trasz · 2021-10-17 19:23 You certainly can, using the usual buildworld/buildkernel. You might not be able to use binary one - don’t know, never used it. ---------------------------------------------------------------------- jggimi · 2021-10-18 01:33 > What made openbsd support it anyway ? Looking through commit logs, it seems patrick@ invested time and interest in developing this driver for USB, PCI, and SD bus. ---------------------------------------------------------------------- Sndr666 · 2021-10-18 08:51 kudos to Patrick ! Before I move to obsd, is zfs support on the rpi 4 for obsd on par with freebsd ? ---------------------------------------------------------------------- jggimi · 2021-10-18 10:57 ZFS is not available for OpenBSD. ---------------------------------------------------------------------- gumnos · 2021-10-18 13:31 Ah, as long as you can access whatever GPIO you need from either FreeBSD or OpenBSD, either one should serve purposes just fine. I'd bias slightly toward FreeBSD mostly for the ZFS because a car is a harsh environment so there's value in being able to set `copies=2` (or have mirrored drives) and do an online `zpool scrub` to make sure the data doesn't get corrupted. But otherwise, either should be more than fine. ---------------------------------------------------------------------- LJB018_ · 2021-10-18 20:49 Ok ---------------------------------------------------------------------- masterblaster0 · 2021-10-19 15:24 With FreeBSD 13 it switched to tier 1 support https://lists.freebsd.org/pipermail/freebsd- announce/2021-April/002030.html ---------------------------------------------------------------------- pseydtonne · 2021-10-19 18:06 Thus is awesome news! Thank you very much for this update. My warning no longer applies. Now I ought to set up some BSD Tau...