Arm Community
Arm Community
  • Site
  • User
  • Site
  • Search
  • User
  • Groups
    • Arm Research
    • 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
    • Mobile blog
    • Operating Systems blog
    • Research Articles
    • SoC Design and Simulation blog
    • Smart Homes
    • Tools, Software and IDEs blog
    • Works on Arm blog
    • 中文社区博客
  • Support
    • Open a support case
    • 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 Android 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 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