Android development made easy for 64-bit Armv8 platformsPosted on Monday, September 8, 2014 in Blog By Khasim Mohammed
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
LCU14-100: Dalvik is Dead, Long Live Dalvik !
LCU14-104: Everything’s Done! Android for 64-bit Armv8, What’s next?
LCU14-108: Panel: Faster, Better and more Open AOSP Support
LCU14-309: Introducing Android NDK for 64bit Armv8 SOCs
LCU14-403: LMG Lightning Talks
LCU14-407: How to enable SELinux for Android on AOSP master for Armv8
LCU14-411: From zero to booting Nano-Android with 64bit support
LCU14-502: Android User-Space Tests: Multimedia codec tests, Status
and Open Discussions
LCU14-504: Taming Armv8 NEON: from theory to benchmark results
You can also remove participate Linaro Connect USA