Arm Community
Arm Community
  • Site
  • User
  • Site
  • Search
  • User
  • Groups
    • Arm Research
    • DesignStart
    • Education Hub
    • Graphics and Gaming
    • High Performance Computing
    • Innovation
    • Multimedia
    • Open Source Software and Platforms
    • Physical
    • Processors
    • Security
    • System
    • Software Tools
    • TrustZone for Armv8-M
    • 中文社区
  • Blog
    • Announcements
    • Artificial Intelligence
    • Automotive
    • Healthcare
    • HPC
    • Infrastructure
    • Innovation
    • Internet of Things
    • Machine Learning
    • Mobile
    • Smart Homes
    • Wearables
  • Forums
    • All developer forums
    • IP Product forums
    • Tool & Software forums
  • Support
    • Open a support case
    • Documentation
    • Downloads
    • Training
    • Arm Approved program
    • Arm Design Reviews
  • Community Help
  • More
  • Cancel
Open Source Software and Platforms
  • Developer Community
  • Tools and Software
  • Open Source Software and Platforms
  • Jump...
  • Cancel
Open Source Software and Platforms
Wiki Build Android from source for Juno
  • Android blog
  • Forums
  • Help
  • Jump...
  • Cancel
  • New
  • 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-700
    • Corstone-500
    • Cortex-A5 DesignStart
    • +Neoverse N1 SDP
    • Neoverse Reference Designs
    • +Legacy platforms
    • Total Compute
  • +M-class platforms
  • +FPGA prototyping boards
  • +Open source software

Build Android from source for Juno

Preface

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

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

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

 

Download binary artefacts

Download the following binary artefacts from your chosen YY.MM release page:

  • linaro_android_build_cmds.sh
    Script used to download and build sources
  • pinned-manifest.xml
    Manifest file specifying repository URLs and corresponding tags of all required sources

 

Build the filesystem

Run the Linaro Android build script:

$ chmod a+x linaro_android_build_cmds.sh
$ ./linaro_android_build_cmds.sh -m pinned-manifest.xml

The results of the build process can be found in `./out/target/product/juno/'.

 

Package the image

Download the `pack_juno_img.sh' script and run it from the same directory as containing the built partition images:

$ cd android/out/target/product/juno/
$ wget https://android-git.linaro.org/android/device/linaro/juno.git/plain/pack_juno_img.sh?h=linaro-oreo -O pack_juno_img.sh
$ chmod a+x pack_juno_img.sh
$ ./pack_juno_img.sh

Finally, write the resulting filesystem image to a USB stick with a minimum capacity of 4GB:

$ lsblk
$ sudo dd if=juno.img of=/dev/sdX bs=64M
$ sync

Note: Replace `/dev/sdX' with the handle corresponding to your USB stick as identified by the `lsblk' command.

Note: The contents of the resulting `/boot' partition on the USB stick are not used. These components are instead provided as part of the Juno deliverables from the main instructions above and are resident in NOR Flash.

  • Share
  • History
  • More
  • Cancel
Related
Recommended