IAC 2024 - IA Fast Track to Search Focused AI Solutions
Â
LCE12: Streamline Platform Approaches for Android Builds
1. Streamline Platform Approaches for Android
Builds
â—Ź Agenda
â—‹ Meta-info of the builds for LAVA and l-a-m-c
â—‹ Documentation process.
â—‹ Current build process.
â—‹ How far can and should we deviate from AOSP.
â—‹ CI loop for kernel in Android.
â—‹ Fastboot support in LAVA.
â—‹ Toolchain Integration in the build.
2. Meta-info of the builds for LAVA and linaro
image tools
â—Ź Current Setup
â—‹ Bootargs are currently set by l-a-m-c.
â—‹ Can't use the same setup at LAVA for FM across all
builds.
â—‹ Installation of binaries are currently exported as build
variables for LAVA.
â—‹ A new user cannot decide when the graphics
installer script needs to be used.
3. Meta-info of the builds for LAVA and linaro
image tools
â—Ź Use of Meta-info to pass info about
â—‹ Bootargs from the build.
â—‹ Right dtb to be used by l-a-m-c.
â—‹ Pop Instructions or run installer for end user.
â—Ź Something similar to hardware packs
â– https://wiki.linaro.org/HardwarePacksV3
4. Documentation Process
â—Ź Documentation on a.b.l.o,snapshots.l.o,releases.linaro.
org through predifined texts .
â—‹ Release Notes
â—‹ Binary Image Installation
â—‹ Building From Source
â—‹ Firmware Update
https://blueprints.launchpad.net/linaro-license-protection/+spec/support-
predefined-text-files
5. Current Build Process
â—Ź Fetch toolchain externally instead of using repo.
â—Ź 17 Manifests in linaro_android_4.1.2 branch.
â—Ź Not compatible to AOSP build procedure.
6. How far can and should we move from AOSP
â—Ź We have added packages like busybox ffmpeg which
use different kinds of Makefiles
â—‹ These libraries can't be linked with other libraries
which include conventional android build methods.
â—Ź We have kernel,u-boot built as part of AOSP
7. CI loop for kernel in Android
â—Ź Need to setup CI loop for kernels.
â—Ź Need to add hooks to enable or disable userspace
features like support for hardware accelerated graphics
depending on the support available in the kernel.
8. Fastboot support in LAVA
Can fastboot protocol be an alternative to master image for
testing AOSP supported devices ?
9. Toolchain Integration in the build
â—Ź Available Options
â—‹ Integrate compilation of toolchain as part of source?
â—‹ Check in prebuilt toolchain into git.
â—‹ Any other suggestions ?