Similar Posts
Beaglebone Serial Console on OS X
I recently got a Beaglebone Black. I was very excited; it’s similar to a Pi, but has 60 GPIO ports! Getting a serial console up on it was not quite a simple as I thought, since the BeagleBone uses FTDI. Following the instructions here I installed the OS X serial driver for FTDI. After plugging…
Spelunking the FreeBSD ARM FDT
The FDT is the “Flattened Device Tree”, a simple device tree used in embedded FreeBSD, for example on a Pi. Every architecture has a DTS file, which contains a human-readable list of hardware for that architecture. For example, the Pi FTD is here. You should notice that there are declarations for: cpu axi (the…
Building FreeBSD-9.2 for Soekris using Crochet-BSD
Crochet-BSD is a github project which supports building FreeBSD disk images for various platforms such a RaspberryPi, BeagleBoard and others. I had a Soekris 4501 laying around, so I decided to extend Crochet to build images for it. So, firstly, I needed a kernel. Building the kernel config for Soekris is explained pretty well here….
Understanding the Raspberry Pi – FreeBSD gpio device
Recently I found myself wanting to understand how I2C for FreeBSD ARM, on the Pi works. The first step is to understand the GPIO implementation on Pi, since on a Pi, I2C is implemented on the GPIO. So, here’s the basic summary. Firstly, the FreeBSD source browser is here. In the directory /sys/ is the…
Updated FreeBSD-Wandboard bootloader
I’ve updated the u-boot bootloader for Crochet-FreeBSD Wandboard to 2014-10, from 2014-07. The updated image is here, and the boot log is here.
FreeBSD-Wandboard r266864
This build fixes the recent console speed bug, and include super-pages, a new feature recently added to the ARM kernel. The image file is here, and the boot log is here.
2 Comments
Leave a Reply Cancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Did you intentionally remove i2c support from r270855?
root@wandboard:/dev # ofwdump -a | grep i2c
Node 0x143c: i2c@021a0000
Node 0x14a8: i2c@021a4000
Node 0x1518: i2c@021ac000
root@wandboard:/dev # kldstat -v | grep iic
130 i2c/iicbus
58 iichb/ofw_iicbus
57 iicbb/ofw_iicbus
16 iichb/iicbus
15 iicbus/iic
root@wandboard:/dev # ls -l /dev/iic*
ls: No match.
Same board with r268304
root@wandboard:~ # ofwdump -a | grep i2c
Node 0x1538: i2c@021a0000
Node 0x15d0: i2c@021a4000
Node 0x1668: i2c@021a8000
root@wandboard:~ # kldstat -v | grep iic
131 i2c/iicbus
13 iichb/iicbus
12 iicbus/iic
55 iichb/ofw_iicbus
54 iicbb/ofw_iicbus
root@wandboard:~ # ls -l /dev/iic*
crw——- 1 root wheel 0x20 Jul 6 01:29 /dev/iic0
crw——- 1 root wheel 0x21 Jul 6 01:29 /dev/iic1
crw——- 1 root wheel 0x22 Jul 6 01:29 /dev/iic2
Just curious. I guess it’s time to try out crochet.
Nope, I didn’t.