AOSP on DragonBoard 845c
Getting started with db845c
Learn about your DragonBoard 845c board as well as how to prepare and set up for basic use from 96boards db845c getting started page https://www.96boards.org/documentation/consumer/dragonboard/dragonboard845c/getting-started/rb3-kit/.
Make sure you are running AOSP (ptable compatible) bootloader on db845c. Latest bootloader binaries (build #97 and above) are hosted at http://snapshots.linaro.org/96boards/dragonboard845c/linaro/rescue/.
For flashing instructions checkout 96boards db845c board recovery page https://www.96boards.org/documentation/consumer/dragonboard/dragonboard845c/installation/board-recovery.md.html.
NOTE:
You can also update bootloader binaries by running flashall script, which is part of installer package of db845c AOSP build target. Boot in fastboot mode and run following command from your HOST machine:
Install pre-built AOSP images on db845c
Linaro create daily AOSP build for db845c that user can download, flash and boot from. If you are interested in prebuilt AOSP images for db845c and want to avoid compiling your own, feel free to download boot.img, super.img, vendor_boot.img and userdata.img from http://snapshots.linaro.org/96boards/dragonboard845c/linaro/aosp-master/.
Flash downloaded AOSP images by running following commands, while booted in fastboot mode:
Compile AOSP from sources for db845c
1. Download the AOSP source tree and build db845c-userdebug build target:
2. Install:
Boot db845c into fastboot mode by following https://www.96boards.org/documentation/consumer/dragonboard/dragonboard845c/installation/board-recovery.md.html and run following command:
1 ./device/linaro/dragonboard/installer/db845c/flash-all-aosp.sh
You can also perform QDL board recovery by running following script after booting db845c in USB flashing mode https://www.96boards.org/documentation/consumer/dragonboard/dragonboard845c/installation/board-recovery.md.html.
1 ./device/linaro/dragonboard/installer/db845c/recovery.sh
Building the kernel for db845c
The Preferred option is to build Dragonboard db845c Android GKI kernel artifacts using official Bazel build. Run following commands to clone the kernel source, prebuilt Android toolchains and build scripts.
Now delete all the objects in $(AOSP_TOPDIR)device/linaro/dragonboard-kernel/android-mainline/ then copy build artifacts from out/db845c/dist/ to $(AOSP_TOPDIR)/device/linaro/dragonboard-kernel/android-mainline/
If you want to properly test the GKI kernel, you should grab the latest kernel_aarch64 build here:
and under artifacts, download the Image.gz and copy it to $(AOSP_TOPDIR)/device/linaro/dragonboard-kernel/android-mainline/
Then rebuild AOSP using:
1 make TARGET_KERNEL_USE=mainline -j`nproc`
Need some help?
In addition to this wiki, we use various mailing lists, IRC, collaborate.linaro.org and projects.linaro.org/LCG to communicate.
File bugs at https://bugs.96boards.org/describecomponents.cgi?product=DragonBoard%20845c
- LCG's public mailing lists
- IRC via irc.oftc.net
- #linaro-android
AOSP/db845c (last modified 2023-05-11 06:19:50)