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…
The FreeBSD FDT, the Raspberry PI SPI
How the FDT works In specific, I’m looking at this file bcm2835.dtsi which contains the hardware definitions for the BCM2835, the SOC which powers a Raspberry Pi. Primarily, i’m interested in how to read it. To really make sense of this, you should have this pdf at hand; it’s the hardware manual for BCM2835. If…
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….
Cross-compiling FreeBSD ARM on AMD-64
I’ve been learning about FreeBSD kernel development, and discovering that, not surprisingly, it’s very, very slow to compile on a Raspberry Pi. So, I decided to figure out how to compile the Pi kernel on a nice fast AMD-64. Firstly, get the kernel sources to a subdirectory under a non-root user profile: mkdir fbsd cd…
FreeBSD Jail filesystems
I’ve been using FreeBSD jails for a while, and was looking for a simple way to create jail filesystems. After some reading, I came up with this simple script which creates full FreeBSD filesystems. The filesystem can then be used via jail.conf. #!/bin/bash JAILNAME=$1 echo “kjail “$1 JAIL_HOME=/tank/kjail/ FTP=http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.1-RELEASE/ # # get packages # if…
FreeBSD Wandboard, new build with multicore
The FreeBSD ARM team have completed the work to support multicore on ARM. You can read the announcement here. I’ve made a new build of FreeBSD ARM for Wandboard, which you can download here. The dmesg output is here, and here is the sysctl showing four cores [Kroot@wandboard:~ # sysctl -a | grep hw.ncpu hw.ncpu:…
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.