Similar Posts
How does the Crochet-FreeBSD ARM boot work?
Introduction This is my 3rd blog posting on the topic of the Crochet-FreeBSD ARM boot process. The other two are here and here. At long last, I have the Crochet-FreeBSD build for Wandboard working properly, with U-boot and ubldr. This article will serve, I hope, to document the entire process and give others a…
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>;…
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…
Print-to-Folder on FreeBSD
Some printers, like the one I have (HP 8600 Pro), have “Print-to-Folder” capability. Unfortunately, I have no Windows server, only a FreeBSD box to print to. I can mount folders from the FreeBSD box on my MacBook.. if I can get files to scan there. So, to do that, I need a Samba…
Simple pf for Raspberry Pi
One of the best things about the Pi is that it’s small, and portable. It’s very tempting to use it on wireless networks, unattended. Sadly, in the real world, any wireless network can be hacked, and any device on wireless should be considered vulnerable. So, pf is an easy way to harden your Pi. The…
Building a Beaglebone FreeBSD Kernel
Building a FreeBSD kernel for Beaglebone is not terribly difficult. Firstly, you need the FreeBSD-Current sources: svn co http://svn0.us-east.freebsd.org/base/head /src/FreeBSD/ Next, build the cross-development tools for FreeBSD: cd /src/FreeBSD/head make XDEV=arm XDEV_ARCH=armv6 xdev Then get Crochet-FreeBSD. This is by far the easiest way to build a FreeBSD kernel for Beaglebone git clone git://github.com/kientzle/crochet-freebsd.git Once you…