Archive for the DragonBoard Category

Note: Build Brillo for DragonBoard 410C steps

Posted in DragonBoard, IoT with tags , , on 2017 年 01 月 30 日 by Kun-Yi

I got dragonboard 410c a few days, want to porting Boot2Qt and try Android Things on the board.

this will describe how to make generation Brillo/Android things image for DragonBoard 410C, Need know how to build AOSP source code, because Brillo are subset of Android

  • To download all source code from google source
mkdir brillo
cd brillo
repo init -u https://android.googlesource.com/brillo/manifest -b brillo-m10-release
repo sync
  •     To get latest vendor pre-built package
mkdir -p vendor/bsp/qcom/device/dragonboard
cd vendor/bsp/qcom/device/dragonboard
wget https://developer.qualcomm.com/qfile/29963/dragonboard410c_brillo-v2.1.tar.gz
tar xvf dragonboard410c_brillo-v2.1.tar.gz --strip-components=1
cd ../../../../..
  • Setup build environments and starting build
source build/envsetup.sh
lunch dragonboard-eng
  • you will see the below message
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
TARGET_PRODUCT=dragonboard
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-59-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=MASTER
OUT_DIR=out
============================================

 

Now you can type make -j4 or make -j8 to starting build image
finish you will get build image under out/target/product/dragonboard, check “provision-device" file for update image into device emmc

ref.