Building for BBB using OpenEmbedded

From Crashcourse Wiki

Jump to: navigation, search

Contents

Overview

Summarize the process for building a minimal image for the BBB using Openembedded and the meta-beagleboard layer, and how to examine the underlying source configuration.

General software links

The meta-beagleboard layer

As the README.md file in the meta-beagleboard layer reads (in part):

The official OpenEmbedded/Yocto BSP layer for Beagleboard.org platforms.

It is hosted on https://github.com/beagleboard/meta-beagleboard with the source repository at git://github.com/beagleboard/meta-beagleboard.git

The common-bsp layer depends on:

        URI: git://git.openembedded.org/openembedded-core
        layers: meta
        branch: master

And for machine_kernel_pr.bbclass:

        URI: git://git.openembedded.org/meta-openembedded
        layers: meta-oe
        branch: master

The meta-beagleboard-extras layer depends on:

        URI: git://git.openembedded.org/openembedded-core
        layers: meta
        branch: master

        URI: git://git.openembedded.org/meta-openembedded
        layers: meta-oe
        branch: master

The required OE files

Use fully-updated repos for everything.

In local.conf:

MACHINE ??= "beaglebone"

In bblayers.conf:

BBLAYERS ?= " \
  /home/rpjday/oe/dist/layers/oe-core/meta \
  /home/rpjday/oe/dist/layers/meta-openembedded/meta-oe \
  /home/rpjday/oe/dist/layers/meta-beagleboard/common-bsp \
  "

Building a core-image-minimal

The results of building a core-image-minimal:

-rw-r--r-- 1 rpjday rpjday  2684501 May 24 12:00 core-image-minimal-beaglebone-20130524151036.rootfs.tar.gz
-rw-r--r-- 1 rpjday rpjday  1890036 May 24 12:00 core-image-minimal-beaglebone-20130524151036.rootfs.tar.xz
lrwxrwxrwx 1 rpjday rpjday       58 May 24 12:00 core-image-minimal-beaglebone.tar.gz -> core-image-minimal-beaglebone-20130524151036.rootfs.tar.gz
lrwxrwxrwx 1 rpjday rpjday       58 May 24 12:00 core-image-minimal-beaglebone.tar.xz -> core-image-minimal-beaglebone-20130524151036.rootfs.tar.xz
lrwxrwxrwx 1 rpjday rpjday       22 May 24 11:52 MLO -> MLO-beaglebone-2013.04
lrwxrwxrwx 1 rpjday rpjday       22 May 24 11:52 MLO-beaglebone -> MLO-beaglebone-2013.04
-rwxr-xr-x 1 rpjday rpjday   100512 May 24 11:52 MLO-beaglebone-2013.04
-rw-rw-r-- 2 rpjday rpjday 37458245 May 24 11:45 modules--3.8.13-r23a-beaglebone-20130524151036.tgz
lrwxrwxrwx 2 rpjday rpjday       54 May 24 11:45 modules-beaglebone.tgz -> modules--3.8.13-r23a-beaglebone-20130524151036.tgz.bin
-rw-rw-r-- 2 rpjday rpjday      294 May 24 12:00 README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
-rwxr-xr-x 1 rpjday rpjday   380424 May 24 11:52 u-boot-beaglebone-2013.04-r0.img
lrwxrwxrwx 1 rpjday rpjday       32 May 24 11:52 u-boot-beaglebone.img -> u-boot-beaglebone-2013.04-r0.img
lrwxrwxrwx 1 rpjday rpjday       32 May 24 11:52 u-boot.img -> u-boot-beaglebone-2013.04-r0.img
lrwxrwxrwx 2 rpjday rpjday       49 May 24 11:45 uImage -> uImage--3.8.13-r23a-beaglebone-20130524151036.bin
-rw-r--r-- 2 rpjday rpjday  4228648 May 24 11:45 uImage--3.8.13-r23a-beaglebone-20130524151036.bin
lrwxrwxrwx 2 rpjday rpjday       49 May 24 11:45 uImage-beaglebone.bin -> uImage--3.8.13-r23a-beaglebone-20130524151036.bin

The underlying software configuration

Separate wiki pages here:



(Back to BeagleBone Black page.)

Personal tools