Android development made easy for 64-bit Armv8 platforms

3 mins read

The latest Linaro 14.08 AOSP software build provides developers a unique pre-integrated Android software distribution that enables them to more easily conduct 64-bit development for Android on Armv8-A based SOCs & platforms.

Multiple engineering teams at Arm and Linaro have worked together to provide this feature rich, pre-integrated build of Android for the Juno Arm Development Platform (ADP). The release includes the latest Android from the AOSP master with kernel based on Linaro Linux LSK 3.10, pre-integrated with Arm Mali, accelerated OpenGL (3D Graphics) drivers, Arm Trusted Firmware and the UEFI EDK II boot loader. All components are built with Linaro GCC version 4.9. The release works for both the Armv8-A Juno hardware platform and Arm Fast Models.

The following video from Arm helps developers easily understand the Android development and booting procedure using Linaro Android release for Armv8 based Juno platforms:

The latest release from Linaro is available is here

How does this release helps developers? Android and other software components like the Linux kernel, and the UEFI boot loader are built with a common toolchain - in this case, the Linaro GCC compiler version 4.9 - and this helps to reduce the number of debug and development cycles. Developers have access to documentation that provides a build procedure, Android booting instructions for both the Arm Fast models and Juno hardware. The release provides both source and pre-built binaries to ease the initial setup and facilitates porting to custom hardware or integration with custom software components in Android.

Linaro’s LAVA infrastructure is used to help in thorough validation and thereby hardening of upcoming Android software for Armv8 64-bit architecture. The Android compatibility test suite (CTS version 4.4), individual BIONIC and Android Monkey tests were run on Juno hardware platform setup on LAVA automated infrastructure. OpenGL 3D graphics rendering is validated manually to check for UI artifacts if any, and multi-lib (64-bit and 32-bit native applications) is tested using Android NDK apps. Known issues are captured separately in the release notes.

Key Android features included in Linaro build

The release includes Armv8 optimizations for Android of OpenSSL, LibPNG and BIONIC cortex C strings. These optimizations have also been submitted by Linaro to AOSP. By default ART runtime is enabled in “compiler” mode. SELinux is enabled in enforcing mode and validated with CTS packages. Recently Google released the Android NDK with support for 64-bit platforms and the changes to Andrid NDK are also starting to show up in the AOSP master codebase. The release includes Android latest NDK from AOSP master built with Linaro tool chains.

Can 32-bit applications be run? The release is built for a 64-bit primary and 32-bit secondary configuration. So, the libraries are built for both 32-bit and 64-bit versions giving applications a fair chance to run on the 64-bit Android rootfs.

by Khasim Syed Mohammed, Tech Lead - Android, Linaro Mobile Group.

A lot More @ **2014 Linaro Connect USA**

Don’t miss this opportunity to meet Arm and Linaro engineers developing and integrating 64bit Armv8 features in Android AOSP. Following are few very important and key technical sessions for on Armv8 Android developers

You can also remove participate Linaro Connect USA

Recent Posts