Similar Posts
Building a NetBSD Release
Having built FreeBSD numerous times, I thought it would be interesting to know how to build NetBSD. The instructions from the NetBSD documentation are here. Firstly get the sources. An easy way is to simply FTP them. I got the NetBSD 6.1.2 sources from here. These files are all tarballs, so they’ll need to be…
Building my own wireless point
I got interested in building my own wireless point after seeing some of the wireless firmware issues like this. Besides, I’ve always been interested in embedded devices and FreeBSD. So, the first step was a device. I chose to use a Wandboard. I’m a committer to Crochet-FreeBSD, so I built out the device support for…
The skeleton of a FreeBSD driver
It’s been a goal of mine for a while to understand how FreeBSD device drivers work. So, firstly I wrote a simple module; it’s here. The next step is to write the skeleton of a device driver. That is, a device driver that does nothing. The resulting source code is here. The Makefile is very…
Creating a custom FreeBSD build for Raspberry Pi
The default FreeBSD kernel for Raspberry Pi can be found here in the FreeBSD source browser. It’s everything you need to boot FreeBSD on a Pi, and includes GPIO support. However, the Pi is a nice small computer, so it’s likely that you’ll want it to include options such as Wifi, and pf. In my…
freebsd-arm-tools
I’ve had the opportunity to make some updates to the freebsd-arm-tools. If you’re interested in trying FreeBSD-current on a Raspberry Pi, I’ve posted a build at http://files.khubla.com/freebsd-raspberry-pi/ which has full Wifi and pf support. If you’re interested, the kernel configuration is here. Installing the FreeBSD on the Pi is simple. Firstly, get an image, such…
The mystery of uart0
The FDT file for Raspberry Pi, declares UART. I’ve had quite a bit of trouble understanding how declaring a uart in the FDT results in /dev/tty0 and /dev/cuau0 appearing in /dev/ Here are the relevant lines from the FDT: uart0: uart0 { compatible = “broadcom,bcm2835-uart”, “broadcom,bcm2708-uart”, “arm,pl011”, “arm,primecell”; reg = <0x201000 0x1000>; interrupts = <65>;…