On May 29, 2015, the annual Google I/O Developers Conference opened in San Francisco, USA. In terms of smart homes, Google proposed Project IoT (Internet Of Things), the Internet of Things program, and released the Brillo operating system. The Brillo system brings a convenient and fast experience to software development based on hardware systems in the IoT environment through three things: "embedded systems, core services, and developer tools."
Brillo is a lightweight, open, scalable, Android-based system tailored to the low-power, low-resource nature of IoT devices. The Brillo system works in conjunction with the Weave protocol, an open, standardized communication protocol that supports a variety of search, configuration, and authentication functions. Google senior developer TImothy Jordan said that running the Brillo system requires only 128MB of storage and 32MB of memory.
Weave cross-platform protocols can connect to devices supported by the cloud, mobile phones and Brillo. Android devices can also automatically detect Brillo devices. Overall, this makes Android a true IoT ecosystem.
Environmental preparationAs we mentioned earlier, Brillo is based on Android, so the compilation environment is the same as Android, you can refer to the Android build environment configuration method settings.
Take Ubuntu 14.04 as an example for a brief introduction:
1, install JDK
Sudo apt-get update
Sudo apt-get install openjdk-7-jdk
2, install the necessary software and lib library
Sudo apt-get install git-core gnupg flex bison gperf build-essenTIal \
Zip curl zlib1g-dev gcc-mulTIlib g++-mulTIlib libc6-dev-i386 \
Lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache \
Libgl1-mesa-dev libxml2-utils xsltproc unzip
Specific content can refer to Google's website. Establishing a Build Environment
Code downloadDownload the Brillo code
Like Android, the Brillo code can be downloaded via the repo command, and the release version of Brillo is currently m9.
Repo init -u https://android.googlesource.com/brillo/manifest -b brillo-m9-release
Repo sync
DragonBoard 410C BSP package download
Wget https://developer.qualcomm.com/qfile/29541/dragonboard410c_brillo-v1.1.tar.g
Extract the BSP package to the corresponding directory
$ tar zxvf dragonboard410c_brillo-v1.1.tar.gz
$ mkdir -p vendor/bsp/qcom/device
$ mv dragonboard410c_brillo-v1.1 vendor/bsp/qcom/device/dragonboard/
Compile the Brillo system
$ source build/envsetup.sh
$ lunch dragonboard-eng
$ make -j4
Programming system
Execute the following script.
Out/target/product/dragonboard/provision-device
Bar Sign,Led Soft Light Tube,Outdoor Led Aluminum Bar Lamp,Full Color Strip Lamp
Kindwin Technology (H.K.) Limited , https://www.ktl-led.com