Re:RaspBSD – FreeBSD images for the Raspberry Pi
by skreuzer on Tuesday August 18, 2015 @04:35PM
(#10081982)
FreeBSD has full support for GPIO and i2c on both the RPi 1 and 2. Simple wrappers around FreeBSD's GPIO ioctl can be found at https://github.com/gonzoua/freebsd-gpio
Re:RaspBSD – FreeBSD images for the Raspberry Pi
by gregwtmtno on Tuesday August 18, 2015 @04:28PM
(#10081941)
I put FreeBSD on my Raspberry Pi B a few months back. (Similar images were previously published as well.)
I had to abandon the project, though, because there were very limited binary ports and base-system updates available. Compiling things on the Pi is a pain when possible at all. I did get a fairly decent cross-compile setup going, but in the end, it was more trouble than it was worth.
Re:RaspBSD – FreeBSD images for the Raspberry Pi
by feld on Tuesday August 18, 2015 @07:16PM
(#10082827)
I don't know, but I would assume it's similar to setting CPUTYPE in your make.conf so binaries are built with some cpu-specific asm for your specific flavor of x86 CPU: you'll get a performance boost, but nothing mind-blowing.
Re:RaspBSD – FreeBSD images for the Raspberry Pi
by zxombie on Tuesday August 18, 2015 @06:40PM
(#10082684)
Because, on FreeBSD, armv6 is for 32-bit ARMv6 and later platforms. The userland is shared between all armv6 SoCs, however the kernel is targeted depending on the architectures it will boot on and will be built for ARMv7 when applicable.
Re:RaspBSD – FreeBSD images for the Raspberry Pi
by mvanotti on Tuesday August 18, 2015 @11:09PM
(#10083505)
I've tried freeBSD in a Raspberry Pi 1, but I couldn't get any binaries precompiled for ARM :(. I would like to have an easy way to cross-compile ports from my main machine.
I had to abandon the project, though, because there were very limited binary ports and base-system updates available. Compiling things on the Pi is a pain when possible at all. I did get a fairly decent cross-compile setup going, but in the end, it was more trouble than it was worth.
> Currently work is ongoing to build and publish offical FreeBSD packages. Once those are published, these images will use them.
Does BSD support fat/multi-architecture binaries?
There potentially could be an speed up by rebuilding everything for armv7 (specially for NEON-fp) but no one has done it yet.