Similar Posts
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:…
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…
Spelunking the Crochet-FreeBSD Wandboard boot
Some time ago I was part of the effort to add Wandboard support to Crochet-FreeBSD. I wrote a blog posting about it here. An explanation of how Crochet-FreeBSD boots the Wandboard is below: The Wandboard uses U-Boot as its initial boot-loader. A number of patches to the U-Boot source are required, and you…
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…
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>;…
Bare Metal coding on FreeBSD
I recently got interested in the technical details of how ARM OS’s work, so I decided to try my hand at writing a simple one. This blog post is not about the OS itself, but about setting up the development environment. In my case, I’m developing in a terminal session, on FreeBSD 10 on an…
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.