Similar Posts
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…
Writing a FreeBSD loadable module
In preparation for writing a device driver, I thought I would firstly write a module. The resulting source code is here. Firstly the Makefile: SRCS+=bus_if.h device_if.h examplemodule.c KMOD=examplemodule .include <bsd.kmod.mk> The first line defines the sources. examplemodule.c is my module source. I needed to include bus_if.h and device_if.h since I’m writing my module…
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…
FreeBSD 10.1-BETA3 SOEKRIS Image
Image file here.
FreeBSD-11 on Wandboard
Adding Wandboard support to Crochet-FreeBSD has been a project of mine for a while. After this fascinating kernel fix, I can now build a working image and boot FreeBSD-Current. Here is an example boot log, and here’s an image file. The output of dmesg, with a USB wireless adapter in the board, is: KDB:…
FreeBSD on AWS with Ansible
I often have a need for a fresh FreeBSD install, to host a server, or perhaps just experiment with. My usual solution is FreeBSD jails. However, I’ve recently gotten interested in Ansible and AWS. There are quite a few advantages to installing infra with AWS, however the one I’m most interested in is automating the…
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.