Google formally launched Brillo operating system a few weeks ago. The new operating system is a stripped down version of Android that targets Internet of Things (IoT) applications, and more recently the company pushed the source code to their servers. So I’ve given it a try by checking out the code, building Brillo emulator for Intel/AMD, and running it in Ubuntu 14.04 64-bit. First you’ll need to retrieve the source code:
1 2 3 4 |
mkdir brillo-master cd brillo-master repo init -u https://android.googlesource.com/brillo/manifest -b master repo sync -j8 |
It took a few hours here with some errors the first time, so I tried again and I finally got the code a few hours later. Once this is done, set the build environment and configuration:
1 |
source build/envsetup.sh && lunch |
Lunch will bring a list of possible builds:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
You're building on Linux Lunch menu... pick a combo: 1. aosp_arm-eng 2. aosp_arm64-eng 3. aosp_mips-eng 4. aosp_mips64-eng 5. aosp_x86-eng 6. aosp_x86_64-eng 7. brilloemulator_arm64-eng 8. brilloemulator_arm-eng 9. brilloemulator_x86_64-eng 10. brilloemulator_x86-eng 11. edison-eng 12. mini_emulator_arm64-userdebug 13. m_e_arm-userdebug 14. mini_emulator_x86_64-userdebug 15. mini_emulator_x86-userdebug 16. brillo_gpios-userdebug 17. brillo_i2c-userdebug 18. brillo_leds-userdebug 19. ledflasher-userdebug Which would you like? [aosp_arm-eng] 9 |
You could also run the “Brillo emulator” on ARM, and edison-eng must be the build for Intel Edison board. Now you can start the build:
1 |
make -j8 |
It has to complete 21491 different tasks, […]