Skip to end of metadata
Go to start of metadata

This is a page about TI's BeagleBone Black.

Availability:

BeagleBone Black (old) at Digi-Key
BeagleBone Black Rev B (2GB eMMC EOL) at Digi-Key
BeagleBone Black Rev C (4GB eMMC) at Digi-Key
BeagleBone BreadBoard Cape at Digi-Key
BeagleBone Breakout Cape at Digi-Key

Cables:
(USB to serial adapter) TTL-232R-3V3 at Digi-Key
HDMI-A Male to HDMI-D Male (1.5M) at Digi-Key
HDMI-A Male to HDMI-D Male (1.5M) at Digi-Key
HDMI-A Male to HDMI-D Male (2M) at Digi-Key

Basic Requirements:

ARM Cross Compiler: GCC

This is a pre-built (32bit) version of Linaro GCC that runs on generic linux, so 64bit users need to make sure they have installed the 32bit libraries for their distribution.

Debian based (deb)

extra

pkgs: (sudo apt-get update ; sudo apt-get install xyz)

Ubuntu 14.04 -> 14.10

 

libc6:i386 libstdc++6:i386 libncurses5:i386 zlib1g:i386

Debian 7 -> 8 (Jessie)

sudo dpkg --add-architecture i386

libc6:i386 libstdc++6:i386 libncurses5:i386 zlib1g:i386

Red Hat based (rpm)

extra

pkgs: (yum install xyz)

Red Hat/Centos/Fedora

 

libstdc++.i686 ncurses-devel.i686 zlib.i686

Download/Extract:

~/

Test: If this test fails, verify that you have the 32bit libraries installed on your development system.

~/

Bootloader: U-Boot

Das U-Boot -- the Universal Boot Loader http://www.denx.de/wiki/U-Boot

Download:

~/

Patches:

~/u-boot

Configure and Build:

~/u-boot

Upgrade distro "device-tree-compiler" package

~/

Linux Kernel

This script will build the kernel and modules and copy them to the deploy directory.

Download:

~/

Checkout v3.8.x branch (full cape support):

~/bb-kernel

Or the v3.15.x branch (SGX and better usb & ethernet):

~/bb-kernel

Build:

~/bb-kernel

Root File System

Debian 7

User

Password

debian

temppwd

root

root

This image contains, systemd: https://wiki.debian.org/systemd to enable, add to uEnv.txt:

Download:

~/

Verify:

~/

Extract:

~/

Ubuntu 14.04

User

Password

ubuntu

temppwd

Download:

~/

Verify:

~/

Extract:

~/

Root File System (small flash)

A Root File System around 64Mb in size, for flash applications.

Debian 7 (small flash)

User

Password

debian

temppwd

root

root

Download:

~/

Verify: 

~/

Extract: 

~/

Setup microSD/SD card

For these instruction, we are assuming: DISK=/dev/mmcblk0, "lsblk" is very useful for determining the device id.

Erase microSD/SD card:

Create Partition Layout:

Format Partitions:

Mount Partitions:

On some systems, these partitions may be auto-mounted...

Install Bootloader

Copy MLO/u-boot.img to the boot partition

~/

Dealing with old Bootloader in eMMC

If you don't want to clear out the old Bootloader in eMMC add this uEnv.txt to /media/boot/

~/uEnv.txt
~/

Install Kernel and Root File System

To help new users, since the kernel version can change on a daily basis. The kernel building scripts listed on this page will now give you a hint of what kernel version was built.

Copy and paste that "export kernel_version=3.X.Y-Z" exactly as shown in your own build/desktop environment and hit enter to create an environment variable to be used later.

Copy Root File System

~/

Create /boot/uEnv.txt

~/

Debian /boot/uEnv.txt (enable systemd)

~/

Copy Kernel Files

Kernel Image:

~/

Kernel Device Tree Binaries:

~/

Kernel Modules:

~/

File Systems Table (/etc/fstab)

/etc/fstab

Networking

Edit: /etc/network/interfaces

Add:

/etc/network/interfaces

Networking: Using a shared SD card with Multiple BeagleBone 

 To always enable the Ethernet interface as eth0.

Edit: /etc/udev/rules.d/70-persistent-net.rules

Add:

/etc/udev/rules.d/70-persistent-net.rules

Serial Login

Debian

/etc/inittab

Ubuntu

Create new file: /etc/init/serial.conf

With this content:

/etc/init/serial.conf

 Remove microSD/SD card:

usb gadget

Provides http access to beaglebone black over usb.

Install udhcpd

Edit: /etc/network/interfaces and add:

/etc/network/interfaces

Temp Script:

HDMI

This sections assumes you have already installed your favorite xorg based window manager, such as lxde, xfce, kde, gnome, etc... These are packages that need to be installed on top of your selected windows manager and an xorg.conf needed to correctly setup the video interface.

Note: If the cursor doesn't show up right away, first hit: ctlr-alt-f1 then: ctrl-alt-f7 after which it 'should' show up...

Make sure to install, modesetting driver and xrandr utilities:

/etc/X11/xorg.conf

xrandr:

xrandr (over serial/ssh)

eMMC

Script to copy your microSD card to eMMC:

 

 

SGX

Build SGX modules/userspace (must be done on an x86, due to the TI 5.01.01.01 blob extractor)

~/bb-kernel

Copy ./deploy/GFX_5.01.01.01.tar.gz to BeagleBone/BeagleBone Black and install

Verify omaplfb & pvrsrvkm loaded

SGX Demos

FAQ

BeagleBone Black Angstrom usb networking fails to load

dmesg will show an error like:

Background:

hexdump has a feature to replace repeated characters with a *, thus the mac-address can become corrupted when read:

/usr/bin/g-ether-load.sh

Add "-v" to hexdump call.

/usr/bin/g-ether-load.sh

Patch posted:

https://github.com/beagleboard/meta-beagleboard/pull/12

Comments

Comments, feedback, and questions can be sent to eewiki@digikey.com.

Comments Page

Labels
  • No labels