FreeBSD is here!

Update: A more recent version of Nick Hudson’s NetBSD image (mentioned below) is available here.

Another day (a particularly snowy day, here), another new OS for the Pi. This is not an official release; this image has been built by the FreeBSD community (and we do expect an official variant from www.freebsd.org at some point). But this is very useful early access if you’ve been wanting to play with FreeBSD on your Pi; be aware, though, that this is not a finished, stable port, so you may encounter some bugs. You’ll need an SD card of 4GB or more to dd this image to. (And if you’re not sure what any of this means, that means this probably isn’t for you – yet!)

Torrent freebsd-pi-r245446.img.gz.torrent
Direct download freebsd-pi-r245446.img.gz
SHA-1 65db3507b3c6f448d34068ca2a11f915d1b6b8f8
Default login Username: root Password: freebsdarm

Alie Tan, who developed the image, says:

Features: Compiled with native FreeBSD GCC 4.2.1, tmps, 512MB swap partition with debug module off. Keep in mind that this image is based on FreeBSD10-CURRENT which is the “bleeding edge” of FreeBSD development and not ready for production yet.

Apart from this, NetBSD developer also released a testing image for Raspberry Pi that can be found here:

http://mail-index.netbsd.org/port-arm/tindex.html

Both of FreeBSD and NetBSD doesn’t have stable port yet, they are still having issue with network throughput, DMA, some packages not compile-able, High speed SD CARD issue, etc.

Please leave any feedback in the comments!

50 comments

Avatar

Great news everyone!

I like the idea of FreeBSD on my Pi. Looking forward to use the ports when it’s ready ;)

Avatar

GREAT NEWS EVERYONE!

Avatar

Great!

I am still closely looking at this project! Hope we will see a stable releases coming out soon!

I can help with torrent! I have a dedicated server running 24/24 with very nice bandwidth for Europe!

Avatar

I see FreeBSD and OpenBSD. Is there any sign of NetBSD yet? After all their slogan is “Of course it runs NetBSD”

Avatar

The last thing I read about an OpenBSD port for the RPI was “Short answer: no.” said by Theo de Raadt. Where are you seeing information about an OpenBSD port ?

Avatar
Avatar

Hello! What’s the default user/password? I can’t find it.

Thank you!

Avatar

Did u get the answer?

Avatar

user/pass: root/freebsdarm

Avatar

Very nice, is ZFS included?

Avatar

Seeing that ZFS needs quite a bit of RAM to work sensibly, I guess that the RPi is a bit underspecced…

Looking forward to testing the build. FreeBSD is my unix of choice.

Avatar

Works but whats the root/pi password to login? Starts really well!
pi/raspberry doesn’t work!

Avatar

Will the downloads page (http://www.raspberrypi.org/downloads) ever be updated? That page is only showing 4 distros (The 2 Wheezy ones, Arch and RISC OS). There is no mention there of FreeBSD, Fedora or QtonPi.

Avatar

Not “official” yet and so I doubt it will appear on the Downloads page until it is.

Avatar

That’s great.. So FreeNAS and pfSense are not far away!

Avatar

Errr, FreeBSD and NetBSD aren’t “another distro”.

They are different operating systems with some userland moving in/out of the Linux distro space, but this isn’t Linux. It’s BSD Unix. It’s a major step.

Just irks me when people call it a distro :-)

Avatar

You do know that BSD stands for “Berkeley Software Distribution” don’t you. Therefore this IS another ‘distribution’ abeit not a Linux distribution.

Avatar

That’s certainly true linguistically, but I think the term has a sufficiently different meaning in each context to make the distinction justified, otherwise people might think there is a closer connection between the two or think that they can share packages etc.

Avatar

try root/raspberry

Avatar

Is says the default username and password in the news item, in BOLD!

default username/password: root/freebsdarm

Avatar

Its root/freebsdarm

Avatar

Is there a desktop manager in this release of FreeBSD for the R-Pi? If so, I’m having difficulty activating it after logging in as root. Any help would be appreciated!

Avatar

This being FreeBSD, you will have a basic system without any 3rd party software.
You will need to fetch the packages/build the packages from source.

I’m not familiar with the fetch for packages, as I usually build everything from source (the ports collection is BLISS ;-))
I haven’t installed the image yet, so this is all info I can give you right now.

Avatar

Just so you know, friends…it appears that ntp is not enabled at boot

Add this in an /etc/rc.conf
ntpdate_enable=”YES”
ntpdate_flags=”-u -b”
ntpdate_hosts=”north-america.pool.ntp.org*”

* pick your correct location
http://support.ntp.org/bin/view/Servers/NTPPoolServers

Avatar

Ports for FreeBSD fits and unpacks ok…

Avatar

Can I suggest a Forum under “Operating System Distributions” be created ? I’m guessing there’s going to be more than a few questions along the lines of “I do x in Linux, how can I do that in FreeBSD ?” I can see this coming up, esp with regards to the SPI, I2C, and GPIO Interrupt kernel hackery

Avatar

BTW, there is another FreeBSD port for RPi
http://shell.peach.ne.jp/aoyama/archives/2467

Works pretty fine for me.

Avatar

I thought everyone said the possibility of FreeBSD running on Raspberry Pi is non-existant given their stance against non-open platforms? At least that’s what everyone told me when I asked a few months ago – and now it’s suddenly here..

Cool!

Avatar

That might have been OpenBSD ?

Avatar

You may be thinking of OpenBSD, not FreeBSD.

Avatar

lrp and Narishma, thanks for the heads up – my mistake!

Avatar

Very nice. I love it.

Avatar

I love BSD. Great to have it join the club!

Avatar

I would recommend installing 3rd-party software from packages for now, considering it took me the best part of 22 hours to compile irssi from ports on the RasPi. :)

I’m going to investigate cross-compiling arm ports on my desktop machine, since precompiled binary packages are rarely up to date.

All things considered, FreeBSD seems to work nicely on the RasPi, so far.

Avatar

How Do You Get Graphical Display?

Avatar

Cameron: The xorg windows environment probably won’t run too well in FreeBSD on the RasPi, although it’s worth a try.

Take a look at the FreeBSD Handbook for a good starting point. As I said previously, you’re better off installing from packages, in this case, using ‘pkg_add -rv xorg-minimal’, rather than ports (xorg-minimal is probably best unless you want to download 4GB of binaries).

Avatar

Having done some reading in the forums, it turns out that there are no pre-built binaries for FreeBSD on arm at the moment, considering it is FreeBSD 10-CURRENT. :(

That just leaves compiling from ports, which will take an age, and will probably cause excessive wear on the SD card.

When I get a moment, I’ll see how feasible cross-compilation on a desktop machine is.

Avatar

Very nice image. Now we have NFS to link src and ports :b. Does anyone know where I can find info about how to rebuild this image from source? I would like to see a kernel configuration and method for creating the boot-partition da0s1.
Before this one I was trying this one, but I never managed to build one that actually boots: http://kernelnomicon.org/?p=164

Avatar

I posted up to date version of the build instruction: http://kernelnomicon.org/?p=275

Avatar

can we log in ssh after install ? i don’t own USB keyboard, nor USB mouse !

Avatar

Yes, you can login via ssh after. It’s enabled on the image.

Also, I have ports working. So far I have python, perl, nano, irssi, and tor all successfully installed and built.

Avatar

hi everyone!

I recently received a Raspberry Pi from JasTech in NJ, for a special project..

I intend to have it receive a UDP audio/video stream from a hardware encoder rack; the Pi’s job will be to convert this stream into TCP and attach it to an icecast login protocol..

The RPI will be running FreeBSD with perl, python, libshout, p5-Shout icecast and all their dependencies.. plus ipfw with an aggressive ruleset (since it will be put on the public internet directly)

SCARY!

Will this little guy handle the task?

any recommendations/suggestions would be appreciated!

thanks!

— DJ Zath —
WARP Radio Network

Avatar

As far as I tested, this image does not boot with brand new firmware (I received my Rpi yesterday ;) ). You’ll have to get bootcode.bin and start.elf from the raspbian image.
I’ve done it for you :
http://koca-root.s3.amazonaws.com/bootcode.bin
http://koca-root.s3.amazonaws.com/start.elf
Although, in my case it does not boot without hdmi screen connected. To do so, I’ve had to put those line in config.txt :
hdmi_edid_file=1
hdmi_force_hotplug=1
And make an edid.dat with this command line :
/opt/vc/bin/tvservice -d /boot/edid.dat
(Yes, you have to boot on a rasbian sdcard … )
Of course, the generated edid.dat have to be put in the boot partition of your netbsd, not the one of raspbian …

Avatar

I am afraid, but the links are dead..
But I found the files on Kent university servers, so
If anyone still interested, here it is.
http://www.mirrorservice.org/sites/downloads.raspberrypi.org/images/freebsd/freebsd-pi-r245446/

Avatar

The links are broken !

Avatar

For anyone interested in using FreeBSD on Raspberry Pi, Model B (Not Model A!).

A FreeBSD 10.0 STABLE bzip2 compresssed image, ca. 125 MiB can be found here:
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/10.0/

The bzip2 compressed image is here:
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/10.0/FreeBSD-10.0-STABLE-arm-armv6-RPI-B-20140406-r264194.img.bz2

SHA256 checksum for that file:
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/10.0/CHECKSUM.SHA256-10.0-STABLE-arm-armv6-RPI-B-20140406-r264194

Avatar

Why startx do not work on freebsd

Avatar

Start X does not work because there is no window manager for it to load…speaking of which.. any responses on one that won’t make the raspi go kablooey?

Avatar

Hi, how is this ‘build’ different from those at freebsd.org/armv6? What are the compiler settings and has this been optimised for the RPI including hard float?

Leave a Comment

Comments are closed