IoT 的封存

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.

Note: mbed something

Posted in mbed with tags , , on 2015 年 01 月 29 日 by Kun-Yi

今天早上剛加入了 mbed.org, 有線上的 compiler 可以讓一般人直接寫 application, 不過這看起來就比較玩具或是個人興趣者的平台, 有趣的是 mbed 的SCM 採用 mercurial (HG) 而加入的 developer 可以pull 官方的 公開的 repositories

不過很奇怪的是 目前我看到的狀況是 官方的 repositories 不知為何都沒有包含 build system? mbed 這個 repository 本身是 SDK 部份, 裏面的 RTOS 是 rebuilt libraries & objects 組成, 而 RTOS 的 source code 也有開放 叫作 mbed-src repository.

但是github 上的 mbedmicro/mbed 看來跟像是官網上的 mbed-src + other parts 的組成

昨晚剛定了一塊 FRDM-K64F, 下週應該就可以收到, 到時候再來跑跑測試程式看看

大概研究了一下API 看來 RTOS 的 方面很完整, 還有 TCP/IP stack + PPP client + ppp mode 的modem support 真的是針對 IoT應用的!

不過可以預期公司會弄錯HW , 等弄對HW時 我人不知道在哪裡….

update,  這有一篇"你也許不知道mbed 的10件事", 裏面有提到線上compiler 是 DS-5 or Keil,
而且有team development management, 不過到底適不適合 我想還是見仁見智吧!

http://community.arm.com/groups/internet-of-things/blog/2014/06/09/ten-things-you-may-not-know-about-mbed