Note: Build Brillo for DragonBoard 410C steps

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.

廣告

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

您的留言將使用 WordPress.com 帳號。 登出 / 變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 / 變更 )

Facebook照片

您的留言將使用 Facebook 帳號。 登出 / 變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 / 變更 )

連結到 %s

%d 位部落客按了讚: