Skip to end of metadata
Go to start of metadata

This is a page about TI's Cortex-A8 based; BeagleBone.

Availability:

Boards:
BeagleBone at Digi-Key
BeagleBone DVI Cape at Digi-Key
BeagleBone 3inch LCD Cape at Digi-Key
BeagleBone 7inch LCD Cape at Digi-Key
BeagleBone BreadBoard Cape at Digi-Key
BeagleBone Breakout Cape 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 -> 15.10

 

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

Debian 7, 8 & 9 (Stretch)

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
eewiki.net patch archive: https://github.com/eewiki/u-boot-patches
Download:

~/

Patches:

~/u-boot

Configure and Build:

~/u-boot

Linux Kernel

This script will build the kernel, modules, device tree binaries and copy them to the deploy directory.

Mainline

Download:

~/

For Mainline v3.8.x: (full cape support)

~/bb-kernel

For Mainline v4.1.x: (capemgr support)
see: BeagleBone#capemgr:v4.1.x+ for overlay building on target

~/bb-kernel

Build:

~/bb-kernel/

TI BSP

WARNING: do not use if you are not use to re-basing git branches, as this is based on http://git.ti.com/gitweb/?p=ti-linux-kernel/ti-linux-kernel.git;a=shortlog;h=refs/heads/ti-linux-3.14.y instead of a stable kernel branch. Thus you will have to do: (git checkout master -f ; git branch -D tmp ; git pull ; git checkout origin/ti-linux-3.14.y -b tmp) often..
Download:

~/

For TI v4.1.x:

~/ti-linux-kernel-dev

Build:

~/ti-linux-kernel-dev/

Root File System

Debian 8

User

Password

debian

temppwd

root

root

Download:

~/

Verify:

~/

Extract:

~/

Ubuntu 14.04 LTS

User

Password

ubuntu

temppwd

Download:

~/

Verify:

~/

Extract:

~/

Root File System (small flash)

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

Debian 8 (small flash)

User

Password

debian

temppwd

root

root

Download:

~/

Verify:

~/

Extract:

~/

Setup microSD card

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

Erase partition table/labels on microSD card:

Install Bootloader:

~/

Create Partition Layout:
With util-linux v2.26, sfdisk was rewritten and is now based on libfdisk.

sfdisk >= 2.26.x
sfdisk <= 2.25.x

Format Partition:

Mount Partition:
On most systems these partitions may will be auto-mounted...

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=4.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

~/

Set uname_r in /boot/uEnv.txt

~/

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

Ubuntu v3.8.x
Create new file: /etc/init/serial.conf

With this content:

/etc/init/serial.conf

Ubuntu v4.1.x
Create new file: /etc/init/serial.conf

With this content:

/etc/init/serial.conf

Remove microSD/SD card:

capemgr: v4.1.x+

Full Documentation: readme
Download:

~/

Update dtc:

~/bb.org-overlays

Install *.dtbo:

~/bb.org-overlays

capemgr: enable/disable capes on kernel cmdline:

/boot/uEnv.txt

slots:

Comments

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

  • No labels