version 1.15, 2015/11/02 10:47:00
|
version 1.16, 2015/12/07 09:32:48
|
Line 2
|
Line 2
|
|
|
[[images/beaglebone.jpg]] |
[[images/beaglebone.jpg]] |
|
|
This page attempts to document and coordinate efforts towards NetBSD on [BeagleBone](http://beagleboard.org/bone) and [BeagleBone Black](http://beagleboard.org/black). |
This page attempts to document and coordinate efforts towards NetBSD on |
|
[BeagleBone](http://beagleboard.org/bone) and |
|
[BeagleBone Black](http://beagleboard.org/black). |
|
|
(BeagleBone [image](http://www.flickr.com/photos/sparkfun/8267577194/) by SparkFun Electronics used under CC-By-2.0 license) |
(BeagleBone [image](http://www.flickr.com/photos/sparkfun/8267577194/) by |
|
SparkFun Electronics used under CC-By-2.0 license) |
|
|
[[!toc levels=2]] |
[[!toc levels=2]] |
|
|
Line 28 This page attempts to document and coord
|
Line 31 This page attempts to document and coord
|
|
|
# BeagleBone Black User LEDs |
# BeagleBone Black User LEDs |
|
|
The four blue user LEDs on the BeagleBone Black are wired to GPIO1_21 through GPIO1_24. To control the LEDs from userland, set **gpio=YES** in rc.conf and add this to */etc/gpio.conf*: |
The four blue user LEDs on the BeagleBone Black are wired to GPIO1_21 through |
|
GPIO1_24. To control the LEDs from userland, set **gpio=YES** in rc.conf and |
|
add this to */etc/gpio.conf*: |
|
|
[[!template id=programlisting text=""" |
[[!template id=programlisting text=""" |
gpio1 21 set out USR0 |
gpio1 21 set out USR0 |
Line 37 gpio1 23 set out USR2
|
Line 42 gpio1 23 set out USR2
|
gpio1 24 set out USR3 |
gpio1 24 set out USR3 |
"""]] |
"""]] |
|
|
After rebooting, the LED states can be controlled with [[!template id=man name="gpioctl" section="8"]]. |
After rebooting, the LED states can be controlled with |
|
[[!template id=man name="gpioctl" section="8"]]. |
|
|
[[!template id=programlisting text=""" |
[[!template id=programlisting text=""" |
# turn the USR0 light on |
# turn the USR0 light on |