Similar Posts
Securing FreeBSD with Ansible
My preferred server OS is FreeBSD. Each time I install it, I have to go through numerous steps to secure it. So, to avoid that effort, and to make sure I get it right each time, I’ve created an Ansible playbook to automate the entire process. You can learn about it here. Some of the…
Configuring the FreeBSD automounter
I have a number of disks in my FreeBSD box which exist only as backups of data. I prefer that they not be mounted all the time, but instead mounted on use. They are 2x internal SATA disks and an external USB3 disk. This blog post explains how they are set up to auto-mount….
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…
New FreeBSD Wandboard Image
There is a new FreeBSD-11 build for Wandboard here. This is based on subversion revision 266651.
Spelunking Apple DOS 3.3 DSK files
If you happen to have had an Apple][, you might be interested in retrieving your data from old DOS 3.3 floppies. Or maybe you’re just interested in retrocomputing and downloaded some floppies at Apple2Online. In my case, I had an ulterior motive. I’ve been learning about FreeBSD device drivers and was wondering how difficult it…
A simple FreeBSD GPIO Example
I’ve been making FreeBSD-Current builds for my Raspberry Pi. Naturally I wanted to try out the GPIO support to find out just how simple it is to use. Here’s an example, and the full code is here. int main (int argc, char *argv[]) { char *device = “/dev/gpioc0”; int gpiofd = open(device, O_RDWR); if…
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.