Beaglebone Black

From Glacsweb Wiki
Jump to: navigation, search


Setup using instructions from

Boot off an uSD card by holding the user button when booting.

xz -cd ubuntu-raring-13.04-armhf-3.8.13-bone20.img.xz > /dev/mmcblk1

Port Muxing gives a good overview, most of the following is taken from there.

Device Tree overlays are used to dymanically modify the device tree system without requiring a reboot.

dtb Device Tree Blob

dts Device Tree Source

dtbo Device Tree Blob overlay

Useful aliases

export SLOTS=/sys/devices/bone_capemgr.9/slots
export PINS=/sys/kernel/debug/pinctrl/44e10800.pinmux/pins
cat $SLOTS

Tells you what capes are connected

cat $PINS

Details of the pins provided on the system, column 3 is the mode.

DO NOT install the compiler from ubuntu repos as of 07/2013 it doesn't work instead do the following as root

wget -c

This will install a correct version of the compiler. Adapted from[1]

Serial Ports

Is totally different to the old beagle bone. See

cd /lib/firmware

Then to apply (needed after each boot)

echo > /sys/devices/bone_capemgr*/slots
echo > /sys/devices/bone_capemgr*/slots
echo > /sys/devices/bone_capemgr*/slots
echo > /sys/devices/bone_capemgr*/slots

WARNING: ttyO5 shares pins with the HDMI overlay – both cannot be active at the same time


we really need to try sleep/wake see echo +60 > /sys/class/rtc/rtc0/wakealarm echo mem > /sys/power/state