# BeagleBone Black

**URL:** <https://hub.mender.io/t/beaglebone-black/83>\
**Category:** Yocto Project\
**Tags:** yocto, beaglebone-black, sumo, thud, warrior, zeus\
**Created:** [October 9, 2018, 12:41pm UTC](https://hub.mender.io/t/beaglebone-black/83 "2018-10-09T12:41:44Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [October 9, 2018, 12:41pm UTC](https://hub.mender.io/t/beaglebone-black/83/1 "2018-10-09T12:41:44Z")

</div>

The official [Mender documentation](https://docs.mender.io/) explains how Mender works. This is simply a board-specific complement to the official documentation.

# Board description

BeagleBone Black is a low-cost, community-supported development platform for developers and hobbyists based on AM335x 1GHz ARM® Cortex-A8

![](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/1X/81dd476a36d6447fb4e1d79a5d46135607c0574b.jpeg)

URL: [https://beagleboard.org/black](https://beagleboard.org/black)  
Wiki: [https://elinux.org/Beagleboard:BeagleBoneBlack](https://elinux.org/Beagleboard:BeagleBoneBlack)

# Test results

BeagleBone Black is one of the official reference devices of Mender and is easy to get started with. This device is continuously tested as part of Mender testing pipelines which assures high quality of the integration.

The Yocto Project releases in the table below have been tested by the Mender community. Please update it if you have tested this integration on other [Yocto Project releases](https://wiki.yoctoproject.org/wiki/Releases?target=_blank):

| Yocto Project | Build | Runtime |
| --- | --- | --- |
| zeus (3.0) | :test_works: | :test_works: |
| warrior (2.7) | :test_works: | :test_works: |
| thud (2.6) | :test_works: | :test_works: |
| sumo (2.5) | :test_works: | :test_works: |

**Build** Means that the Yocto Project build using this Mender integration completes without errors and outputs images.  
**Runtime** Means that Mender has been verified to work on the board. For U-Boot-based boards, the [integration checklist](https://docs.mender.io/system-updates-yocto-project/board-integration/bootloader-support/u-boot/integration-checklist?target=_blank) has been verified.

# Getting started

## Prerequisites

- A supported Linux distribution and dependencies installed on your workstation/laptop as described in the [Yocto Mega Manual](https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#detailed-supported-distros)
  - NOTE. Instructions depend on which Yocto version you intend to use.

- Google repo tool [installed](https://hub.mender.io/t/google-repo/58/2)and in your `PATH` .

## Configuring the build

Set the Yocto Project branch you are building for:

```bash
# set to your branch, make sure it is supported (see table above)
BRANCH="warrior" 

```

Create a directory for your `mender-beaglebone` setup to live in and clone the meta information.

```bash
mkdir mender-beaglebone && cd mender-beaglebone

```

Initialize repo manifest:

```bash
repo init -u https://github.com/mendersoftware/meta-mender-community \
           -m meta-mender-beaglebone/scripts/manifest-beaglebone.xml \
           -b ${BRANCH}

```

Fetch layers from manifest:

```bash
repo sync

```

Next, initialize the build environment:

```bash
source setup-environment beaglebone

```

### Building the image

Build your image by running:

```bash
bitbake core-image-base

```

Replace `core-image-base` with your desired image target.

### Using the build output

After a successful build, the images and build artifacts are placed in `tmp/deploy/images/beaglebone-yocto`,

- `tmp/deploy/images/beaglebone-yocto/core-image-base-beaglebone-yocto.sdimg`
- `tmp/deploy/images/beaglebone-yocto/core-image-base-beaglebone-yocto.mender`

The disk image (with `.sdimg` suffix) is used to provision the device storage for devices without Mender running already. Please proceed to [the official documentation on provisioning a new device](https://docs.mender.io/system-updates-yocto-project/provisioning-a-new-device?target=_blank) for steps to do this.

**Hint** : You may need to hold the Boot Button (S2) (near the SD card slot, but on the other side of the PCB) and, **while holding this button** , insert the USB/power lead to connect the power in order to force booting from SD card.

On the other hand, if you already have Mender running on your device and want to deploy a rootfs update using this build, you should use the [Mender Artifact](https://docs.mender.io/overview/artifact) files, which have `.mender` suffix. You can either deploy this Artifact in managed mode with the Mender server (upload it under Releases in the server UI) or by using the Mender client [standalone mode](https://docs.mender.io/artifact-creation/standalone-deployment).

* * *

_If this post was useful to you, please press like, or leave a thank you note to the contributor who put valuable time into this and made it available to you. It will be much appreciated!_

---

_[View the full topic](https://hub.mender.io/t/beaglebone-black/83)._
