Arm Community
Arm Community
  • Site
  • User
  • Site
  • Search
  • User
Open Source Software and Platforms
Open Source Software and Platforms
Wiki Build OpenEmbedded from source for Juno
  • Help
  • Jump...
  • Cancel
  • About this wiki
  • Supported platforms
  • Obtaining support
  • +Arm Reference Platforms deliverables
  • -A-class platforms
    • -Juno
      • Run the Arm Platforms deliverables on Juno
      • Juno board revisions
      • +Troubleshooting your Juno
      • Bare metal development on Juno
      • Change which CPUs are released from reset on Juno
      • Install Debian on Juno
      • Energy monitoring on Juno
      • Ethernet on Juno
      • PCIe on Juno
      • Trusted Applications on Juno
      • Build Android from source for Juno
      • Build OpenEmbedded from source for Juno
      • Documentation error: Mali OpenGL in OpenEmbedded on Juno
    • +FVPs
    • +Total Compute Platforms
    • +Morello Platform
    • +System Guidance for Infrastructure (SGI)
    • +System Guidance for Mobile (SGM)
    • Corstone-500
    • Cortex-A5 DesignStart
    • +Neoverse N1 SDP
    • Neoverse Reference Designs
    • +Legacy platforms
  • +M-class platforms
  • +R-class platforms
  • +FPGA prototyping boards
  • +Open source software

You are currently reviewing an older revision of this page.

  • History View current version

Build OpenEmbedded from source for Juno

Preface

These instructions are intended for users wishing the build/modify the OpenEmbedded filesystem from source; it is expected that most users will instead use the OpenEmbedded filesystems shipped with the Arm Platforms deliverables.

These instructions are based on a specific year/month (YY.MM) release of the Juno OpenEmbedded deliverables here.

Follow these instructions alongside the instructions here and here to run this image on the Juno board.

 

Prepare build environment

Ensure the repo tool is on your PATH. If necessary, install the Repo tool as per the "Installing Repo" section here. Note: Do not initialize the Repo client.

In this section replace `YY.MM' with your chosen release, for example `15.09'.

Clone the required repositories and perform initial setup:

/* Create workspace */
/* WARNING: Do *not* create this as a subdirectory of the main Arm Platforms workspace created by `armplat_yymm.py' */
$ mkdir openembedded
$ cd openembedded
$ export OE_HOME=`pwd`
$ git clone git://git.linaro.org/openembedded/jenkins-setup.git
$ cd $OE_HOME/jenkins-setup
$ git checkout release-YY.MM
$ cd $OE_HOME
$ sudo jenkins-setup/pre-build-root-install-dependencies.sh
$ jenkins-setup/init-and-build.sh
$ cd $OE_HOME/openembedded-core
$ ./oe-init-build-env
/* Add bitbake to your $PATH */
$ export PATH=$OE_HOME/openembedded-core/bitbake/bin:$PATH

 

Prepare build environment

The following `bitbake' recipes are available:

  • linaro-image-minimal
    A very minimal rootfs
  • linaro-image-lamp
    LAMP stack and toolchain

You can list all recipes like so:

$ cd $OE_HOME/build
$ bitbake-layers show-recipes

To build a recipe:

$ cd $OE_HOME/build
$ bitbake linaro-image-minimal

Images are written to `$OE_HOME/build/tmp-glibc/deploy/images'.