Arm Community
Arm Community
  • Site
  • User
  • Site
  • Search
  • User
  • Groups
    • Research Collaboration and Enablement
    • DesignStart
    • Education Hub
    • Innovation
    • Open Source Software and Platforms
  • Forums
    • AI and ML forum
    • Architectures and Processors forum
    • Arm Development Platforms forum
    • Arm Development Studio forum
    • Arm Virtual Hardware forum
    • Automotive forum
    • Compilers and Libraries forum
    • Graphics, Gaming, and VR forum
    • High Performance Computing (HPC) forum
    • Infrastructure Solutions forum
    • Internet of Things (IoT) forum
    • Keil forum
    • Morello Forum
    • Operating Systems forum
    • SoC Design and Simulation forum
    • 中文社区论区
  • Blogs
    • AI and ML blog
    • Announcements
    • Architectures and Processors blog
    • Automotive blog
    • Graphics, Gaming, and VR blog
    • High Performance Computing (HPC) blog
    • Infrastructure Solutions blog
    • Innovation blog
    • Internet of Things (IoT) blog
    • Operating Systems blog
    • Research Articles
    • SoC Design and Simulation blog
    • Tools, Software and IDEs blog
    • 中文社区博客
  • Support
    • Arm Support Services
    • Documentation
    • Downloads
    • Training
    • Arm Approved program
    • Arm Design Reviews
  • Community Help
  • More
  • Cancel
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
    • +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

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'.

  • Share
  • History
  • More
  • Cancel
Related
Recommended