Advertisement
Guest User

Alpha C.H.I.P. SDK install & firmware update & WiFi

a guest
Oct 9th, 2015
901
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.29 KB | None | 0 0
  1. ########################################################################################
  2. #
  3. # Installing CHIP-SDK
  4. #
  5. ########################################################################################
  6.  
  7. bokbokbok% vagrant up
  8. Bringing machine 'default' up with 'virtualbox' provider...
  9. ==> default: Box 'ubuntu/trusty32' could not be found. Attempting to find and install...
  10. default: Box Provider: virtualbox
  11. default: Box Version: >= 0
  12. ==> default: Loading metadata for box 'ubuntu/trusty32'
  13. default: URL: https://atlas.hashicorp.com/ubuntu/trusty32
  14. ==> default: Adding box 'ubuntu/trusty32' (v20151007.0.0) for provider: virtualbox
  15. default: Downloading: https://atlas.hashicorp.com/ubuntu/boxes/trusty32/versions/20151007.0.0/providers/virtualbox.box
  16. ==> default: Successfully added box 'ubuntu/trusty32' (v20151007.0.0) for 'virtualbox'!
  17. ==> default: Importing base box 'ubuntu/trusty32'...
  18. ==> default: Matching MAC address for NAT networking...
  19. ==> default: Checking if box 'ubuntu/trusty32' is up to date...
  20. ==> default: Setting the name of the VM: CHIP-SDK_default_1444419269042_40304
  21. ==> default: Clearing any previously set forwarded ports...
  22. ==> default: Clearing any previously set network interfaces...
  23. ==> default: Preparing network interfaces based on configuration...
  24. default: Adapter 1: nat
  25. ==> default: Forwarding ports...
  26. default: 22 => 2222 (adapter 1)
  27. ==> default: Running 'pre-boot' VM customizations...
  28. ==> default: Booting VM...
  29. ==> default: Waiting for machine to boot. This may take a few minutes...
  30. default: SSH address: 127.0.0.1:2222
  31. default: SSH username: vagrant
  32. default: SSH auth method: private key
  33. default: Warning: Connection timeout. Retrying...
  34. default:
  35. default: Vagrant insecure key detected. Vagrant will automatically replace
  36. default: this with a newly generated keypair for better security.
  37. default:
  38. default: Inserting generated public key within guest...
  39. default: Removing insecure key from the guest if it's present...
  40. default: Key inserted! Disconnecting and reconnecting using new SSH key...
  41. ==> default: Machine booted and ready!
  42. ==> default: Checking for guest additions in VM...
  43. default: The guest additions on this VM do not match the installed version of
  44. default: VirtualBox! In most cases this is fine, but in rare cases it can
  45. default: prevent things such as shared folders from working properly. If you see
  46. default: shared folder errors, please make sure the guest additions within the
  47. default: virtual machine match the version of VirtualBox you have installed on
  48. default: your host and reload your VM.
  49. default:
  50. default: Guest Additions Version: 4.3.10
  51. default: VirtualBox Version: 5.0
  52. ==> default: Mounting shared folders...
  53. default: /home/vagrant/CHIP-SDK => /Users/tod/projects/chip/CHIP-SDK
  54. bokbokbok% vagrant ssh
  55. Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-65-generic i686)
  56.  
  57. * Documentation: https://help.ubuntu.com/
  58.  
  59. System information as of Fri Oct 9 19:34:50 UTC 2015
  60.  
  61. System load: 0.65 Processes: 79
  62. Usage of /: 2.7% of 39.34GB Users logged in: 0
  63. Memory usage: 7% IP address for eth0: 10.0.2.15
  64. Swap usage: 0%
  65.  
  66. Graph this data and manage this system at:
  67. https://landscape.canonical.com/
  68.  
  69. Get cloud support with Ubuntu Advantage Cloud Guest:
  70. http://www.ubuntu.com/business/services/cloud
  71.  
  72. 0 packages can be updated.
  73. 0 updates are security updates.
  74.  
  75.  
  76. vagrant@vagrant-ubuntu-trusty-32:~$ ./CHIP-SDK/setup_ubuntu1404.sh
  77.  
  78. Setting up environment in Ubuntu 14.04
  79. Hit http://security.ubuntu.com trusty-security InRelease
  80. Ign http://archive.ubuntu.com trusty InRelease
  81. Get:1 http://security.ubuntu.com trusty-security/main Sources [96.9 kB]
  82. Get:2 http://archive.ubuntu.com trusty-updates InRelease [64.4 kB]
  83. Hit http://archive.ubuntu.com trusty Release.gpg
  84. Get:3 http://security.ubuntu.com trusty-security/universe Sources [31.0 kB]
  85. Get:4 http://archive.ubuntu.com trusty-updates/main Sources [238 kB]
  86. Hit http://security.ubuntu.com trusty-security/main i386 Packages
  87. Hit http://security.ubuntu.com trusty-security/universe i386 Packages
  88. Hit http://security.ubuntu.com trusty-security/main Translation-en
  89. Hit http://security.ubuntu.com trusty-security/universe Translation-en
  90. Get:5 http://archive.ubuntu.com trusty-updates/universe Sources [140 kB]
  91. Get:6 http://archive.ubuntu.com trusty-updates/main i386 Packages [609 kB]
  92. Get:7 http://archive.ubuntu.com trusty-updates/universe i386 Packages [324 kB]
  93. Get:8 http://archive.ubuntu.com trusty-updates/main Translation-en [305 kB]
  94. Get:9 http://archive.ubuntu.com trusty-updates/universe Translation-en [170 kB]
  95. Hit http://archive.ubuntu.com trusty Release
  96. Get:10 http://archive.ubuntu.com trusty/main Sources [1,064 kB]
  97. Get:11 http://archive.ubuntu.com trusty/universe Sources [6,399 kB]
  98. Hit http://archive.ubuntu.com trusty/main i386 Packages
  99. Hit http://archive.ubuntu.com trusty/universe i386 Packages
  100. Hit http://archive.ubuntu.com trusty/main Translation-en
  101. Hit http://archive.ubuntu.com trusty/universe Translation-en
  102. Ign http://archive.ubuntu.com trusty/main Translation-en_US
  103. Ign http://archive.ubuntu.com trusty/universe Translation-en_US
  104. Fetched 9,443 kB in 12s (784 kB/s)
  105. Reading package lists... Done
  106. Reading package lists... Done
  107. Building dependency tree
  108. Reading state information... Done
  109. Note, selecting 'libncurses5-dev' instead of 'libncurses-dev'
  110. The following extra packages will be installed:
  111. cmake-data crda dpkg-dev fontconfig-config fonts-dejavu-core g++ g++-4.8
  112. git-man iw libalgorithm-diff-perl libalgorithm-diff-xs-perl
  113. libalgorithm-merge-perl libarchive13 libdpkg-perl liberror-perl
  114. libexpat1-dev libfile-fcntllock-perl libfontconfig1 liblzo2-2 libnettle4
  115. libnl-3-200 libnl-genl-3-200 libpython-dev libpython2.7-dev
  116. libstdc++-4.8-dev libtcl8.6 libtinfo-dev libtk8.6 libusb-1.0-doc
  117. libutempter0 libxcb-shape0 libxft2 libxi6 libxinerama1 libxss1 libxtst6
  118. libxv1 libxxf86dga1 linux-firmware linux-image-extra-3.13.0-65-generic
  119. linux-image-generic mercurial-common python-chardet-whl python-colorama
  120. python-colorama-whl python-distlib python-distlib-whl python-html5lib
  121. python-html5lib-whl python-pip-whl python-requests-whl python-setuptools
  122. python-setuptools-whl python-six-whl python-urllib3-whl python-wheel
  123. python2.7-dev python3-pkg-resources tcl tcl8.6 tk tk8.6 wireless-regdb
  124. x11-utils xbitmaps xterm
  125. Suggested packages:
  126. codeblocks eclipse debian-keyring g++-multilib g++-4.8-multilib gcc-4.8-doc
  127. libstdc++6-4.8-dbg git-daemon-run git-daemon-sysvinit git-doc git-el
  128. git-email git-gui gitk gitweb git-arch git-bzr git-cvs git-mediawiki git-svn
  129. lrzip ncurses-doc libstdc++-4.8-doc qct kdiff3 kdiff3-qt kompare meld tkcvs
  130. mgdiff python-mysqldb python-pygments python-genshi python-lxml
  131. python3-setuptools tcl-tclreadline mesa-utils xfonts-cyrillic
  132. Recommended packages:
  133. wish python-dev-all
  134. The following NEW packages will be installed:
  135. android-tools-fastboot build-essential cmake cmake-data crda cu
  136. device-tree-compiler dpkg-dev fontconfig-config fonts-dejavu-core g++
  137. g++-4.8 git git-man iw libalgorithm-diff-perl libalgorithm-diff-xs-perl
  138. libalgorithm-merge-perl libarchive13 libdpkg-perl liberror-perl
  139. libexpat1-dev libfile-fcntllock-perl libfontconfig1 liblzo2-2
  140. libncurses5-dev libnettle4 libnl-3-200 libnl-genl-3-200 libpython-dev
  141. libpython2.7-dev libstdc++-4.8-dev libtcl8.6 libtinfo-dev libtk8.6
  142. libusb-1.0-0-dev libusb-1.0-doc libutempter0 libxcb-shape0 libxft2 libxi6
  143. libxinerama1 libxss1 libxtst6 libxv1 libxxf86dga1 linux-firmware
  144. linux-image-extra-3.13.0-65-generic linux-image-extra-virtual
  145. linux-image-generic mercurial mercurial-common pkg-config python-chardet-whl
  146. python-colorama python-colorama-whl python-dev python-distlib
  147. python-distlib-whl python-html5lib python-html5lib-whl python-pip
  148. python-pip-whl python-requests-whl python-setuptools python-setuptools-whl
  149. python-six-whl python-urllib3-whl python-wheel python2.7-dev
  150. python3-pkg-resources tcl tcl8.6 tk tk8.6 u-boot-tools unzip wireless-regdb
  151. x11-utils xbitmaps xterm
  152. 0 upgraded, 81 newly installed, 0 to remove and 0 not upgraded.
  153. Need to get 116 MB of archives.
  154. After this operation, 340 MB of additional disk space will be used.
  155. Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main liblzo2-2 i386 2.06-1.2ubuntu1.1 [49.9 kB]
  156. Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main libnettle4 i386 2.7.1-1 [125 kB]
  157. Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libarchive13 i386 3.1.2-7ubuntu2.1 [274 kB]
  158. Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main fonts-dejavu-core all 2.34-1ubuntu1 [1,024 kB]
  159. Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main fontconfig-config all 2.11.0-0ubuntu4.1 [47.4 kB]
  160. Get:6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libfontconfig1 i386 2.11.0-0ubuntu4.1 [124 kB]
  161. Get:7 http://archive.ubuntu.com/ubuntu/ trusty/main libnl-3-200 i386 3.2.21-1 [45.1 kB]
  162. Get:8 http://archive.ubuntu.com/ubuntu/ trusty/main libnl-genl-3-200 i386 3.2.21-1 [10.3 kB]
  163. Get:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libexpat1-dev i386 2.1.0-4ubuntu1.1 [112 kB]
  164. Get:10 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libpython2.7-dev i386 2.7.6-8ubuntu0.2 [21.8 MB]
  165. Get:11 http://archive.ubuntu.com/ubuntu/ trusty/main libtcl8.6 i386 8.6.1-4ubuntu1 [827 kB]
  166. Get:12 http://archive.ubuntu.com/ubuntu/ trusty/main libxft2 i386 2.3.1-2 [35.6 kB]
  167. Get:13 http://archive.ubuntu.com/ubuntu/ trusty/main libxss1 i386 1:1.2.2-1 [8,566 B]
  168. Get:14 http://archive.ubuntu.com/ubuntu/ trusty/main libtk8.6 i386 8.6.1-3ubuntu2 [670 kB]
  169. Get:15 http://archive.ubuntu.com/ubuntu/ trusty/main libxcb-shape0 i386 1.10-2ubuntu1 [5,864 B]
  170. Get:16 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libxi6 i386 2:1.7.1.901-1ubuntu1.1 [27.3 kB]
  171. Get:17 http://archive.ubuntu.com/ubuntu/ trusty/main libxinerama1 i386 2:1.1.3-1 [7,900 B]
  172. Get:18 http://archive.ubuntu.com/ubuntu/ trusty/main libxtst6 i386 2:1.2.2-1 [13.8 kB]
  173. Get:19 http://archive.ubuntu.com/ubuntu/ trusty/main libxv1 i386 2:1.0.10-1 [10.2 kB]
  174. Get:20 http://archive.ubuntu.com/ubuntu/ trusty/main libxxf86dga1 i386 2:1.1.4-1 [13.3 kB]
  175. Get:21 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libstdc++-4.8-dev i386 4.8.4-2ubuntu1~14.04 [1,058 kB]
  176. Get:22 http://archive.ubuntu.com/ubuntu/ trusty-updates/main g++-4.8 i386 4.8.4-2ubuntu1~14.04 [14.8 MB]
  177. Get:23 http://archive.ubuntu.com/ubuntu/ trusty/main g++ i386 4:4.8.2-1ubuntu6 [1,500 B]
  178. Get:24 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libdpkg-perl all 1.17.5ubuntu5.4 [179 kB]
  179. Get:25 http://archive.ubuntu.com/ubuntu/ trusty-updates/main dpkg-dev all 1.17.5ubuntu5.4 [726 kB]
  180. Get:26 http://archive.ubuntu.com/ubuntu/ trusty/main build-essential i386 11.6ubuntu6 [4,824 B]
  181. Get:27 http://archive.ubuntu.com/ubuntu/ trusty/main cmake-data all 2.8.12.2-0ubuntu3 [676 kB]
  182. Get:28 http://archive.ubuntu.com/ubuntu/ trusty/main cmake i386 2.8.12.2-0ubuntu3 [2,641 kB]
  183. Get:29 http://archive.ubuntu.com/ubuntu/ trusty/main wireless-regdb all 2013.02.13-1ubuntu1 [6,456 B]
  184. Get:30 http://archive.ubuntu.com/ubuntu/ trusty/main crda i386 1.1.2-1ubuntu2 [14.7 kB]
  185. Get:31 http://archive.ubuntu.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB]
  186. Get:32 http://archive.ubuntu.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.1 [698 kB]
  187. Get:33 http://archive.ubuntu.com/ubuntu/ trusty-updates/main git i386 1:1.9.1-1ubuntu0.1 [2,511 kB]
  188. Get:34 http://archive.ubuntu.com/ubuntu/ trusty/main iw i386 3.4-1 [51.9 kB]
  189. Get:35 http://archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-perl all 1.19.02-3 [50.0 kB]
  190. Get:36 http://archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-xs-perl i386 0.04-2build4 [13.1 kB]
  191. Get:37 http://archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]
  192. Get:38 http://archive.ubuntu.com/ubuntu/ trusty/main libfile-fcntllock-perl i386 0.14-2build1 [16.0 kB]
  193. Get:39 http://archive.ubuntu.com/ubuntu/ trusty/main libtinfo-dev i386 5.9+20140118-1ubuntu1 [71.2 kB]
  194. Get:40 http://archive.ubuntu.com/ubuntu/ trusty/main libncurses5-dev i386 5.9+20140118-1ubuntu1 [166 kB]
  195. Get:41 http://archive.ubuntu.com/ubuntu/ trusty/main libpython-dev i386 2.7.5-5ubuntu3 [7,090 B]
  196. Get:42 http://archive.ubuntu.com/ubuntu/ trusty/main libusb-1.0-0-dev i386 2:1.0.17-1ubuntu2 [52.7 kB]
  197. Get:43 http://archive.ubuntu.com/ubuntu/ trusty/main libusb-1.0-doc all 2:1.0.17-1ubuntu2 [115 kB]
  198. Get:44 http://archive.ubuntu.com/ubuntu/ trusty/main libutempter0 i386 1.1.5-4build1 [8,286 B]
  199. Get:45 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-firmware all 1.127.15 [24.3 MB]
  200. Get:46 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-extra-3.13.0-65-generic i386 3.13.0-65.106 [37.1 MB]
  201. Get:47 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-generic i386 3.13.0.65.71 [2,388 B]
  202. Get:48 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-extra-virtual i386 3.13.0.65.71 [1,762 B]
  203. Get:49 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mercurial-common all 2.8.2-1ubuntu1.3 [1,520 kB]
  204. Get:50 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe mercurial i386 2.8.2-1ubuntu1.3 [39.5 kB]
  205. Get:51 http://archive.ubuntu.com/ubuntu/ trusty/main pkg-config i386 0.26-1ubuntu4 [40.5 kB]
  206. Get:52 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3-pkg-resources all 3.3-1ubuntu2 [31.7 kB]
  207. Get:53 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe python-chardet-whl all 2.2.1-2~ubuntu1 [170 kB]
  208. Get:54 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe python-colorama all 0.2.5-0.1ubuntu2 [18.4 kB]
  209. Get:55 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe python-colorama-whl all 0.2.5-0.1ubuntu2 [18.2 kB]
  210. Get:56 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python2.7-dev i386 2.7.6-8ubuntu0.2 [269 kB]
  211. Get:57 http://archive.ubuntu.com/ubuntu/ trusty/main python-dev i386 2.7.5-5ubuntu3 [1,176 B]
  212. Get:58 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe python-distlib all 0.1.8-1ubuntu1 [113 kB]
  213. Get:59 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe python-distlib-whl all 0.1.8-1ubuntu1 [140 kB]
  214. Get:60 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-html5lib all 0.999-3~ubuntu1 [83.5 kB]
  215. Get:61 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-html5lib-whl all 0.999-3~ubuntu1 [109 kB]
  216. Get:62 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-six-whl all 1.5.2-1ubuntu1 [10.5 kB]
  217. Get:63 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-urllib3-whl all 1.7.1-1ubuntu3 [64.0 kB]
  218. Get:64 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-requests-whl all 2.2.1-1ubuntu0.3 [227 kB]
  219. Get:65 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-setuptools-whl all 3.3-1ubuntu2 [244 kB]
  220. Get:66 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe python-pip-whl all 1.5.4-1ubuntu3 [111 kB]
  221. Get:67 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-setuptools all 3.3-1ubuntu2 [230 kB]
  222. Get:68 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe python-pip all 1.5.4-1ubuntu3 [97.2 kB]
  223. Get:69 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-wheel all 0.24.0-1~ubuntu1 [44.7 kB]
  224. Get:70 http://archive.ubuntu.com/ubuntu/ trusty/main tcl8.6 i386 8.6.1-4ubuntu1 [14.1 kB]
  225. Get:71 http://archive.ubuntu.com/ubuntu/ trusty/main tcl i386 8.6.0+6ubuntu3 [4,884 B]
  226. Get:72 http://archive.ubuntu.com/ubuntu/ trusty/main tk8.6 i386 8.6.1-3ubuntu2 [12.1 kB]
  227. Get:73 http://archive.ubuntu.com/ubuntu/ trusty/main tk i386 8.6.0+6ubuntu3 [3,188 B]
  228. Get:74 http://archive.ubuntu.com/ubuntu/ trusty/main u-boot-tools i386 2013.10-3 [59.7 kB]
  229. Get:75 http://archive.ubuntu.com/ubuntu/ trusty-updates/main unzip i386 6.0-9ubuntu1.3 [150 kB]
  230. Get:76 http://archive.ubuntu.com/ubuntu/ trusty/main x11-utils i386 7.7+1 [221 kB]
  231. Get:77 http://archive.ubuntu.com/ubuntu/ trusty/main xbitmaps all 1.1.1-2 [28.1 kB]
  232. Get:78 http://archive.ubuntu.com/ubuntu/ trusty/main xterm i386 297-1ubuntu1 [652 kB]
  233. Get:79 http://archive.ubuntu.com/ubuntu/ trusty/universe android-tools-fastboot i386 4.2.2+git20130218-3ubuntu23 [45.5 kB]
  234. Get:80 http://archive.ubuntu.com/ubuntu/ trusty/main cu i386 1.07-20.1 [70.0 kB]
  235. Get:81 http://archive.ubuntu.com/ubuntu/ trusty/main device-tree-compiler i386 1.4.0+dfsg-1 [357 kB]
  236. Fetched 116 MB in 32s (3,534 kB/s)
  237. Extracting templates from packages: 100%
  238. Selecting previously unselected package liblzo2-2:i386.
  239. (Reading database ... 61102 files and directories currently installed.)
  240. Preparing to unpack .../liblzo2-2_2.06-1.2ubuntu1.1_i386.deb ...
  241. Unpacking liblzo2-2:i386 (2.06-1.2ubuntu1.1) ...
  242. Selecting previously unselected package libnettle4:i386.
  243. Preparing to unpack .../libnettle4_2.7.1-1_i386.deb ...
  244. Unpacking libnettle4:i386 (2.7.1-1) ...
  245. Selecting previously unselected package libarchive13:i386.
  246. Preparing to unpack .../libarchive13_3.1.2-7ubuntu2.1_i386.deb ...
  247. Unpacking libarchive13:i386 (3.1.2-7ubuntu2.1) ...
  248. Selecting previously unselected package fonts-dejavu-core.
  249. Preparing to unpack .../fonts-dejavu-core_2.34-1ubuntu1_all.deb ...
  250. Unpacking fonts-dejavu-core (2.34-1ubuntu1) ...
  251. Selecting previously unselected package fontconfig-config.
  252. Preparing to unpack .../fontconfig-config_2.11.0-0ubuntu4.1_all.deb ...
  253. Unpacking fontconfig-config (2.11.0-0ubuntu4.1) ...
  254. Selecting previously unselected package libfontconfig1:i386.
  255. Preparing to unpack .../libfontconfig1_2.11.0-0ubuntu4.1_i386.deb ...
  256. Unpacking libfontconfig1:i386 (2.11.0-0ubuntu4.1) ...
  257. Selecting previously unselected package libnl-3-200:i386.
  258. Preparing to unpack .../libnl-3-200_3.2.21-1_i386.deb ...
  259. Unpacking libnl-3-200:i386 (3.2.21-1) ...
  260. Selecting previously unselected package libnl-genl-3-200:i386.
  261. Preparing to unpack .../libnl-genl-3-200_3.2.21-1_i386.deb ...
  262. Unpacking libnl-genl-3-200:i386 (3.2.21-1) ...
  263. Selecting previously unselected package libexpat1-dev:i386.
  264. Preparing to unpack .../libexpat1-dev_2.1.0-4ubuntu1.1_i386.deb ...
  265. Unpacking libexpat1-dev:i386 (2.1.0-4ubuntu1.1) ...
  266. Selecting previously unselected package libpython2.7-dev:i386.
  267. Preparing to unpack .../libpython2.7-dev_2.7.6-8ubuntu0.2_i386.deb ...
  268. Unpacking libpython2.7-dev:i386 (2.7.6-8ubuntu0.2) ...
  269. Selecting previously unselected package libtcl8.6:i386.
  270. Preparing to unpack .../libtcl8.6_8.6.1-4ubuntu1_i386.deb ...
  271. Unpacking libtcl8.6:i386 (8.6.1-4ubuntu1) ...
  272. Selecting previously unselected package libxft2:i386.
  273. Preparing to unpack .../libxft2_2.3.1-2_i386.deb ...
  274. Unpacking libxft2:i386 (2.3.1-2) ...
  275. Selecting previously unselected package libxss1:i386.
  276. Preparing to unpack .../libxss1_1%3a1.2.2-1_i386.deb ...
  277. Unpacking libxss1:i386 (1:1.2.2-1) ...
  278. Selecting previously unselected package libtk8.6:i386.
  279. Preparing to unpack .../libtk8.6_8.6.1-3ubuntu2_i386.deb ...
  280. Unpacking libtk8.6:i386 (8.6.1-3ubuntu2) ...
  281. Selecting previously unselected package libxcb-shape0:i386.
  282. Preparing to unpack .../libxcb-shape0_1.10-2ubuntu1_i386.deb ...
  283. Unpacking libxcb-shape0:i386 (1.10-2ubuntu1) ...
  284. Selecting previously unselected package libxi6:i386.
  285. Preparing to unpack .../libxi6_2%3a1.7.1.901-1ubuntu1.1_i386.deb ...
  286. Unpacking libxi6:i386 (2:1.7.1.901-1ubuntu1.1) ...
  287. Selecting previously unselected package libxinerama1:i386.
  288. Preparing to unpack .../libxinerama1_2%3a1.1.3-1_i386.deb ...
  289. Unpacking libxinerama1:i386 (2:1.1.3-1) ...
  290. Selecting previously unselected package libxtst6:i386.
  291. Preparing to unpack .../libxtst6_2%3a1.2.2-1_i386.deb ...
  292. Unpacking libxtst6:i386 (2:1.2.2-1) ...
  293. Selecting previously unselected package libxv1:i386.
  294. Preparing to unpack .../libxv1_2%3a1.0.10-1_i386.deb ...
  295. Unpacking libxv1:i386 (2:1.0.10-1) ...
  296. Selecting previously unselected package libxxf86dga1:i386.
  297. Preparing to unpack .../libxxf86dga1_2%3a1.1.4-1_i386.deb ...
  298. Unpacking libxxf86dga1:i386 (2:1.1.4-1) ...
  299. Selecting previously unselected package libstdc++-4.8-dev:i386.
  300. Preparing to unpack .../libstdc++-4.8-dev_4.8.4-2ubuntu1~14.04_i386.deb ...
  301. Unpacking libstdc++-4.8-dev:i386 (4.8.4-2ubuntu1~14.04) ...
  302. Selecting previously unselected package g++-4.8.
  303. Preparing to unpack .../g++-4.8_4.8.4-2ubuntu1~14.04_i386.deb ...
  304. Unpacking g++-4.8 (4.8.4-2ubuntu1~14.04) ...
  305. Selecting previously unselected package g++.
  306. Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_i386.deb ...
  307. Unpacking g++ (4:4.8.2-1ubuntu6) ...
  308. Selecting previously unselected package libdpkg-perl.
  309. Preparing to unpack .../libdpkg-perl_1.17.5ubuntu5.4_all.deb ...
  310. Unpacking libdpkg-perl (1.17.5ubuntu5.4) ...
  311. Selecting previously unselected package dpkg-dev.
  312. Preparing to unpack .../dpkg-dev_1.17.5ubuntu5.4_all.deb ...
  313. Unpacking dpkg-dev (1.17.5ubuntu5.4) ...
  314. Selecting previously unselected package build-essential.
  315. Preparing to unpack .../build-essential_11.6ubuntu6_i386.deb ...
  316. Unpacking build-essential (11.6ubuntu6) ...
  317. Selecting previously unselected package cmake-data.
  318. Preparing to unpack .../cmake-data_2.8.12.2-0ubuntu3_all.deb ...
  319. Unpacking cmake-data (2.8.12.2-0ubuntu3) ...
  320. Selecting previously unselected package cmake.
  321. Preparing to unpack .../cmake_2.8.12.2-0ubuntu3_i386.deb ...
  322. Unpacking cmake (2.8.12.2-0ubuntu3) ...
  323. Selecting previously unselected package wireless-regdb.
  324. Preparing to unpack .../wireless-regdb_2013.02.13-1ubuntu1_all.deb ...
  325. Unpacking wireless-regdb (2013.02.13-1ubuntu1) ...
  326. Selecting previously unselected package crda.
  327. Preparing to unpack .../crda_1.1.2-1ubuntu2_i386.deb ...
  328. Unpacking crda (1.1.2-1ubuntu2) ...
  329. Selecting previously unselected package liberror-perl.
  330. Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
  331. Unpacking liberror-perl (0.17-1.1) ...
  332. Selecting previously unselected package git-man.
  333. Preparing to unpack .../git-man_1%3a1.9.1-1ubuntu0.1_all.deb ...
  334. Unpacking git-man (1:1.9.1-1ubuntu0.1) ...
  335. Selecting previously unselected package git.
  336. Preparing to unpack .../git_1%3a1.9.1-1ubuntu0.1_i386.deb ...
  337. Unpacking git (1:1.9.1-1ubuntu0.1) ...
  338. Selecting previously unselected package iw.
  339. Preparing to unpack .../apt/archives/iw_3.4-1_i386.deb ...
  340. Unpacking iw (3.4-1) ...
  341. Selecting previously unselected package libalgorithm-diff-perl.
  342. Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
  343. Unpacking libalgorithm-diff-perl (1.19.02-3) ...
  344. Selecting previously unselected package libalgorithm-diff-xs-perl.
  345. Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-2build4_i386.deb ...
  346. Unpacking libalgorithm-diff-xs-perl (0.04-2build4) ...
  347. Selecting previously unselected package libalgorithm-merge-perl.
  348. Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
  349. Unpacking libalgorithm-merge-perl (0.08-2) ...
  350. Selecting previously unselected package libfile-fcntllock-perl.
  351. Preparing to unpack .../libfile-fcntllock-perl_0.14-2build1_i386.deb ...
  352. Unpacking libfile-fcntllock-perl (0.14-2build1) ...
  353. Selecting previously unselected package libtinfo-dev:i386.
  354. Preparing to unpack .../libtinfo-dev_5.9+20140118-1ubuntu1_i386.deb ...
  355. Unpacking libtinfo-dev:i386 (5.9+20140118-1ubuntu1) ...
  356. Selecting previously unselected package libncurses5-dev:i386.
  357. Preparing to unpack .../libncurses5-dev_5.9+20140118-1ubuntu1_i386.deb ...
  358. Unpacking libncurses5-dev:i386 (5.9+20140118-1ubuntu1) ...
  359. Selecting previously unselected package libpython-dev:i386.
  360. Preparing to unpack .../libpython-dev_2.7.5-5ubuntu3_i386.deb ...
  361. Unpacking libpython-dev:i386 (2.7.5-5ubuntu3) ...
  362. Selecting previously unselected package libusb-1.0-0-dev:i386.
  363. Preparing to unpack .../libusb-1.0-0-dev_2%3a1.0.17-1ubuntu2_i386.deb ...
  364. Unpacking libusb-1.0-0-dev:i386 (2:1.0.17-1ubuntu2) ...
  365. Selecting previously unselected package libusb-1.0-doc.
  366. Preparing to unpack .../libusb-1.0-doc_2%3a1.0.17-1ubuntu2_all.deb ...
  367. Unpacking libusb-1.0-doc (2:1.0.17-1ubuntu2) ...
  368. Selecting previously unselected package libutempter0.
  369. Preparing to unpack .../libutempter0_1.1.5-4build1_i386.deb ...
  370. Unpacking libutempter0 (1.1.5-4build1) ...
  371. Selecting previously unselected package linux-firmware.
  372. Preparing to unpack .../linux-firmware_1.127.15_all.deb ...
  373. Unpacking linux-firmware (1.127.15) ...
  374. Selecting previously unselected package linux-image-extra-3.13.0-65-generic.
  375. Preparing to unpack .../linux-image-extra-3.13.0-65-generic_3.13.0-65.106_i386.deb ...
  376. Unpacking linux-image-extra-3.13.0-65-generic (3.13.0-65.106) ...
  377. Selecting previously unselected package linux-image-generic.
  378. Preparing to unpack .../linux-image-generic_3.13.0.65.71_i386.deb ...
  379. Unpacking linux-image-generic (3.13.0.65.71) ...
  380. Selecting previously unselected package linux-image-extra-virtual.
  381. Preparing to unpack .../linux-image-extra-virtual_3.13.0.65.71_i386.deb ...
  382. Unpacking linux-image-extra-virtual (3.13.0.65.71) ...
  383. Selecting previously unselected package mercurial-common.
  384. Preparing to unpack .../mercurial-common_2.8.2-1ubuntu1.3_all.deb ...
  385. Unpacking mercurial-common (2.8.2-1ubuntu1.3) ...
  386. Selecting previously unselected package mercurial.
  387. Preparing to unpack .../mercurial_2.8.2-1ubuntu1.3_i386.deb ...
  388. Unpacking mercurial (2.8.2-1ubuntu1.3) ...
  389. Selecting previously unselected package pkg-config.
  390. Preparing to unpack .../pkg-config_0.26-1ubuntu4_i386.deb ...
  391. Unpacking pkg-config (0.26-1ubuntu4) ...
  392. Selecting previously unselected package python3-pkg-resources.
  393. Preparing to unpack .../python3-pkg-resources_3.3-1ubuntu2_all.deb ...
  394. Unpacking python3-pkg-resources (3.3-1ubuntu2) ...
  395. Selecting previously unselected package python-chardet-whl.
  396. Preparing to unpack .../python-chardet-whl_2.2.1-2~ubuntu1_all.deb ...
  397. Unpacking python-chardet-whl (2.2.1-2~ubuntu1) ...
  398. Selecting previously unselected package python-colorama.
  399. Preparing to unpack .../python-colorama_0.2.5-0.1ubuntu2_all.deb ...
  400. Unpacking python-colorama (0.2.5-0.1ubuntu2) ...
  401. Selecting previously unselected package python-colorama-whl.
  402. Preparing to unpack .../python-colorama-whl_0.2.5-0.1ubuntu2_all.deb ...
  403. Unpacking python-colorama-whl (0.2.5-0.1ubuntu2) ...
  404. Selecting previously unselected package python2.7-dev.
  405. Preparing to unpack .../python2.7-dev_2.7.6-8ubuntu0.2_i386.deb ...
  406. Unpacking python2.7-dev (2.7.6-8ubuntu0.2) ...
  407. Selecting previously unselected package python-dev.
  408. Preparing to unpack .../python-dev_2.7.5-5ubuntu3_i386.deb ...
  409. Unpacking python-dev (2.7.5-5ubuntu3) ...
  410. Selecting previously unselected package python-distlib.
  411. Preparing to unpack .../python-distlib_0.1.8-1ubuntu1_all.deb ...
  412. Unpacking python-distlib (0.1.8-1ubuntu1) ...
  413. Selecting previously unselected package python-distlib-whl.
  414. Preparing to unpack .../python-distlib-whl_0.1.8-1ubuntu1_all.deb ...
  415. Unpacking python-distlib-whl (0.1.8-1ubuntu1) ...
  416. Selecting previously unselected package python-html5lib.
  417. Preparing to unpack .../python-html5lib_0.999-3~ubuntu1_all.deb ...
  418. Unpacking python-html5lib (0.999-3~ubuntu1) ...
  419. Selecting previously unselected package python-html5lib-whl.
  420. Preparing to unpack .../python-html5lib-whl_0.999-3~ubuntu1_all.deb ...
  421. Unpacking python-html5lib-whl (0.999-3~ubuntu1) ...
  422. Selecting previously unselected package python-six-whl.
  423. Preparing to unpack .../python-six-whl_1.5.2-1ubuntu1_all.deb ...
  424. Unpacking python-six-whl (1.5.2-1ubuntu1) ...
  425. Selecting previously unselected package python-urllib3-whl.
  426. Preparing to unpack .../python-urllib3-whl_1.7.1-1ubuntu3_all.deb ...
  427. Unpacking python-urllib3-whl (1.7.1-1ubuntu3) ...
  428. Selecting previously unselected package python-requests-whl.
  429. Preparing to unpack .../python-requests-whl_2.2.1-1ubuntu0.3_all.deb ...
  430. Unpacking python-requests-whl (2.2.1-1ubuntu0.3) ...
  431. Selecting previously unselected package python-setuptools-whl.
  432. Preparing to unpack .../python-setuptools-whl_3.3-1ubuntu2_all.deb ...
  433. Unpacking python-setuptools-whl (3.3-1ubuntu2) ...
  434. Selecting previously unselected package python-pip-whl.
  435. Preparing to unpack .../python-pip-whl_1.5.4-1ubuntu3_all.deb ...
  436. Unpacking python-pip-whl (1.5.4-1ubuntu3) ...
  437. Selecting previously unselected package python-setuptools.
  438. Preparing to unpack .../python-setuptools_3.3-1ubuntu2_all.deb ...
  439. Unpacking python-setuptools (3.3-1ubuntu2) ...
  440. Selecting previously unselected package python-pip.
  441. Preparing to unpack .../python-pip_1.5.4-1ubuntu3_all.deb ...
  442. Unpacking python-pip (1.5.4-1ubuntu3) ...
  443. Selecting previously unselected package python-wheel.
  444. Preparing to unpack .../python-wheel_0.24.0-1~ubuntu1_all.deb ...
  445. Unpacking python-wheel (0.24.0-1~ubuntu1) ...
  446. Selecting previously unselected package tcl8.6.
  447. Preparing to unpack .../tcl8.6_8.6.1-4ubuntu1_i386.deb ...
  448. Unpacking tcl8.6 (8.6.1-4ubuntu1) ...
  449. Selecting previously unselected package tcl.
  450. Preparing to unpack .../tcl_8.6.0+6ubuntu3_i386.deb ...
  451. Unpacking tcl (8.6.0+6ubuntu3) ...
  452. Selecting previously unselected package tk8.6.
  453. Preparing to unpack .../tk8.6_8.6.1-3ubuntu2_i386.deb ...
  454. Unpacking tk8.6 (8.6.1-3ubuntu2) ...
  455. Selecting previously unselected package tk.
  456. Preparing to unpack .../tk_8.6.0+6ubuntu3_i386.deb ...
  457. Unpacking tk (8.6.0+6ubuntu3) ...
  458. Selecting previously unselected package u-boot-tools.
  459. Preparing to unpack .../u-boot-tools_2013.10-3_i386.deb ...
  460. Unpacking u-boot-tools (2013.10-3) ...
  461. Selecting previously unselected package unzip.
  462. Preparing to unpack .../unzip_6.0-9ubuntu1.3_i386.deb ...
  463. Unpacking unzip (6.0-9ubuntu1.3) ...
  464. Selecting previously unselected package x11-utils.
  465. Preparing to unpack .../x11-utils_7.7+1_i386.deb ...
  466. Unpacking x11-utils (7.7+1) ...
  467. Selecting previously unselected package xbitmaps.
  468. Preparing to unpack .../xbitmaps_1.1.1-2_all.deb ...
  469. Unpacking xbitmaps (1.1.1-2) ...
  470. Selecting previously unselected package xterm.
  471. Preparing to unpack .../xterm_297-1ubuntu1_i386.deb ...
  472. Unpacking xterm (297-1ubuntu1) ...
  473. Selecting previously unselected package android-tools-fastboot.
  474. Preparing to unpack .../android-tools-fastboot_4.2.2+git20130218-3ubuntu23_i386.deb ...
  475. Unpacking android-tools-fastboot (4.2.2+git20130218-3ubuntu23) ...
  476. Selecting previously unselected package cu.
  477. Preparing to unpack .../archives/cu_1.07-20.1_i386.deb ...
  478. Unpacking cu (1.07-20.1) ...
  479. Selecting previously unselected package device-tree-compiler.
  480. Preparing to unpack .../device-tree-compiler_1.4.0+dfsg-1_i386.deb ...
  481. Unpacking device-tree-compiler (1.4.0+dfsg-1) ...
  482. Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
  483. Processing triggers for mime-support (3.54ubuntu1.1) ...
  484. Setting up liblzo2-2:i386 (2.06-1.2ubuntu1.1) ...
  485. Setting up libnettle4:i386 (2.7.1-1) ...
  486. Setting up libarchive13:i386 (3.1.2-7ubuntu2.1) ...
  487. Setting up fonts-dejavu-core (2.34-1ubuntu1) ...
  488. Setting up fontconfig-config (2.11.0-0ubuntu4.1) ...
  489. Setting up libfontconfig1:i386 (2.11.0-0ubuntu4.1) ...
  490. Setting up libnl-3-200:i386 (3.2.21-1) ...
  491. Setting up libnl-genl-3-200:i386 (3.2.21-1) ...
  492. Setting up libexpat1-dev:i386 (2.1.0-4ubuntu1.1) ...
  493. Setting up libpython2.7-dev:i386 (2.7.6-8ubuntu0.2) ...
  494. Setting up libtcl8.6:i386 (8.6.1-4ubuntu1) ...
  495. Setting up libxft2:i386 (2.3.1-2) ...
  496. Setting up libxss1:i386 (1:1.2.2-1) ...
  497. Setting up libtk8.6:i386 (8.6.1-3ubuntu2) ...
  498. Setting up libxcb-shape0:i386 (1.10-2ubuntu1) ...
  499. Setting up libxi6:i386 (2:1.7.1.901-1ubuntu1.1) ...
  500. Setting up libxinerama1:i386 (2:1.1.3-1) ...
  501. Setting up libxtst6:i386 (2:1.2.2-1) ...
  502. Setting up libxv1:i386 (2:1.0.10-1) ...
  503. Setting up libxxf86dga1:i386 (2:1.1.4-1) ...
  504. Setting up libstdc++-4.8-dev:i386 (4.8.4-2ubuntu1~14.04) ...
  505. Setting up g++-4.8 (4.8.4-2ubuntu1~14.04) ...
  506. Setting up g++ (4:4.8.2-1ubuntu6) ...
  507. update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
  508. Setting up libdpkg-perl (1.17.5ubuntu5.4) ...
  509. Setting up dpkg-dev (1.17.5ubuntu5.4) ...
  510. Setting up build-essential (11.6ubuntu6) ...
  511. Setting up cmake-data (2.8.12.2-0ubuntu3) ...
  512. Setting up cmake (2.8.12.2-0ubuntu3) ...
  513. Setting up wireless-regdb (2013.02.13-1ubuntu1) ...
  514. Setting up crda (1.1.2-1ubuntu2) ...
  515. Setting up liberror-perl (0.17-1.1) ...
  516. Setting up git-man (1:1.9.1-1ubuntu0.1) ...
  517. Setting up git (1:1.9.1-1ubuntu0.1) ...
  518. Setting up iw (3.4-1) ...
  519. Setting up libalgorithm-diff-perl (1.19.02-3) ...
  520. Setting up libalgorithm-diff-xs-perl (0.04-2build4) ...
  521. Setting up libalgorithm-merge-perl (0.08-2) ...
  522. Setting up libfile-fcntllock-perl (0.14-2build1) ...
  523. Setting up libtinfo-dev:i386 (5.9+20140118-1ubuntu1) ...
  524. Setting up libncurses5-dev:i386 (5.9+20140118-1ubuntu1) ...
  525. Setting up libpython-dev:i386 (2.7.5-5ubuntu3) ...
  526. Setting up libusb-1.0-0-dev:i386 (2:1.0.17-1ubuntu2) ...
  527. Setting up libusb-1.0-doc (2:1.0.17-1ubuntu2) ...
  528. Setting up libutempter0 (1.1.5-4build1) ...
  529. Creating utempter group...
  530. Setting up linux-firmware (1.127.15) ...
  531. Setting up linux-image-extra-3.13.0-65-generic (3.13.0-65.106) ...
  532. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-65-generic /boot/vmlinuz-3.13.0-65-generic
  533. run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-65-generic /boot/vmlinuz-3.13.0-65-generic
  534. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-65-generic /boot/vmlinuz-3.13.0-65-generic
  535. update-initramfs: Generating /boot/initrd.img-3.13.0-65-generic
  536. run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-65-generic /boot/vmlinuz-3.13.0-65-generic
  537. run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-65-generic /boot/vmlinuz-3.13.0-65-generic
  538. Generating grub configuration file ...
  539. Found linux image: /boot/vmlinuz-3.13.0-65-generic
  540. Found initrd image: /boot/initrd.img-3.13.0-65-generic
  541. done
  542. Setting up linux-image-generic (3.13.0.65.71) ...
  543. Setting up linux-image-extra-virtual (3.13.0.65.71) ...
  544. Setting up mercurial-common (2.8.2-1ubuntu1.3) ...
  545. Setting up mercurial (2.8.2-1ubuntu1.3) ...
  546.  
  547. Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version
  548. Setting up pkg-config (0.26-1ubuntu4) ...
  549. Setting up python3-pkg-resources (3.3-1ubuntu2) ...
  550. Setting up python-chardet-whl (2.2.1-2~ubuntu1) ...
  551. Setting up python-colorama (0.2.5-0.1ubuntu2) ...
  552. Setting up python-colorama-whl (0.2.5-0.1ubuntu2) ...
  553. Setting up python2.7-dev (2.7.6-8ubuntu0.2) ...
  554. Setting up python-dev (2.7.5-5ubuntu3) ...
  555. Setting up python-distlib (0.1.8-1ubuntu1) ...
  556. Setting up python-distlib-whl (0.1.8-1ubuntu1) ...
  557. Setting up python-html5lib (0.999-3~ubuntu1) ...
  558. Setting up python-html5lib-whl (0.999-3~ubuntu1) ...
  559. Setting up python-six-whl (1.5.2-1ubuntu1) ...
  560. Setting up python-urllib3-whl (1.7.1-1ubuntu3) ...
  561. Setting up python-requests-whl (2.2.1-1ubuntu0.3) ...
  562. Setting up python-setuptools-whl (3.3-1ubuntu2) ...
  563. Setting up python-pip-whl (1.5.4-1ubuntu3) ...
  564. Setting up python-setuptools (3.3-1ubuntu2) ...
  565. Setting up python-pip (1.5.4-1ubuntu3) ...
  566. Setting up python-wheel (0.24.0-1~ubuntu1) ...
  567. Setting up tcl8.6 (8.6.1-4ubuntu1) ...
  568. Setting up tcl (8.6.0+6ubuntu3) ...
  569. Setting up tk8.6 (8.6.1-3ubuntu2) ...
  570. Setting up tk (8.6.0+6ubuntu3) ...
  571. Setting up u-boot-tools (2013.10-3) ...
  572. Setting up unzip (6.0-9ubuntu1.3) ...
  573. Setting up x11-utils (7.7+1) ...
  574. Setting up xbitmaps (1.1.1-2) ...
  575. Setting up xterm (297-1ubuntu1) ...
  576. update-alternatives: using /usr/bin/xterm to provide /usr/bin/x-terminal-emulator (x-terminal-emulator) in auto mode
  577. update-alternatives: using /usr/bin/lxterm to provide /usr/bin/x-terminal-emulator (x-terminal-emulator) in auto mode
  578. Setting up android-tools-fastboot (4.2.2+git20130218-3ubuntu23) ...
  579. Setting up cu (1.07-20.1) ...
  580. Setting up device-tree-compiler (1.4.0+dfsg-1) ...
  581. Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
  582.  
  583. Adding current user to dialout group
  584.  
  585. Adding current user to plugdev group
  586.  
  587. Adding udev rule for Allwinner device
  588. SUBSYSTEM=="usb", ATTRS{idVendor}=="1f3a", ATTRS{idProduct}=="efe8", GROUP="plugdev", MODE="0660" SYMLINK+="usb-chip"
  589. SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="1010", GROUP="plugdev", MODE="0660" SYMLINK+="usb-chip-fastboot"
  590.  
  591.  
  592. Installing sunxi-tools
  593. Cloning into 'sunxi-tools'...
  594. remote: Counting objects: 1178, done.
  595. remote: Total 1178 (delta 0), reused 0 (delta 0), pack-reused 1178
  596. Receiving objects: 100% (1178/1178), 367.46 KiB | 332.00 KiB/s, done.
  597. Resolving deltas: 100% (698/698), done.
  598. Checking connectivity... done.
  599. ~/sunxi-tools ~
  600. gcc -g -O0 -Wall -Wextra -std=c99 -D_POSIX_C_SOURCE=200112L -Iinclude/ -o fexc fexc.c script.c script_uboot.c script_bin.c script_fex.c
  601. ln -s fexc bin2fex
  602. ln -s fexc fex2bin
  603. gcc -g -O0 -Wall -Wextra -std=c99 -D_POSIX_C_SOURCE=200112L -Iinclude/ -o bootinfo bootinfo.c
  604. bootinfo.c: In function ‘print_script’:
  605. bootinfo.c:274:25: warning: unused parameter ‘script’ [-Wunused-parameter]
  606. void print_script(void *script)
  607. ^
  608. gcc -g -O0 -Wall -Wextra -std=c99 -D_POSIX_C_SOURCE=200112L -Iinclude/ `pkg-config --cflags libusb-1.0` -o fel fel.c `pkg-config --libs libusb-1.0`
  609. gcc -g -O0 -Wall -Wextra -std=c99 -D_POSIX_C_SOURCE=200112L -Iinclude/ -o pio pio.c
  610. pio.c: In function ‘do_command’:
  611. pio.c:318:57: warning: unused parameter ‘argc’ [-Wunused-parameter]
  612. static int do_command(char *buf, const char **args, int argc)
  613. ^
  614. gcc -g -O0 -Wall -Wextra -std=c99 -D_POSIX_C_SOURCE=200112L -Iinclude/ -c -o nand-part-main.o nand-part-main.c
  615. gcc -g -O0 -Wall -Wextra -std=c99 -D_POSIX_C_SOURCE=200112L -Iinclude/ -c -o nand-part-a10.o nand-part.c -D A10
  616. gcc -g -O0 -Wall -Wextra -std=c99 -D_POSIX_C_SOURCE=200112L -Iinclude/ -c -o nand-part-a20.o nand-part.c -D A20
  617. gcc -o nand-part nand-part-main.o nand-part-a10.o nand-part-a20.o
  618. ~
  619.  
  620. Installing CHIP-tools
  621. Cloning into 'CHIP-tools'...
  622. remote: Counting objects: 132, done.
  623. remote: Total 132 (delta 0), reused 0 (delta 0), pack-reused 132
  624. Receiving objects: 100% (132/132), 36.13 KiB | 0 bytes/s, done.
  625. Resolving deltas: 100% (61/61), done.
  626. Checking connectivity... done.
  627.  
  628. Installing CHIP-buildroot
  629. Cloning into 'CHIP-buildroot'...
  630. remote: Counting objects: 171996, done.
  631. remote: Compressing objects: 100% (15/15), done.
  632. remote: Total 171996 (delta 6), reused 0 (delta 0), pack-reused 171978
  633. Receiving objects: 100% (171996/171996), 41.96 MiB | 6.15 MiB/s, done.
  634. Resolving deltas: 100% (119002/119002), done.
  635. Checking connectivity... done.
  636.  
  637. ########################################################################################
  638. #
  639. # Flashing CHIP firmware with CHIP-SDK
  640. #
  641. ########################################################################################
  642.  
  643. vagrant@vagrant-ubuntu-trusty-32:~$ cd ~/CHIP-tools/
  644.  
  645. vagrant@vagrant-ubuntu-trusty-32:~/CHIP-tools$ ./chip-update-firmware.sh
  646.  
  647. LATEST_URL=http://stak-images.s3.amazonaws.com/firmware/chip/stable/68/
  648. BUILD=68
  649. --2015-10-09 19:43:29-- http://stak-images.s3.amazonaws.com/firmware/chip/stable/68/images/rootfs.ubi
  650. Resolving stak-images.s3.amazonaws.com (stak-images.s3.amazonaws.com)... 54.231.225.42
  651. Connecting to stak-images.s3.amazonaws.com (stak-images.s3.amazonaws.com)|54.231.225.42|:80... connected.
  652. HTTP request sent, awaiting response... 200 OK
  653. Length: 54525952 (52M) [binary/octet-stream]
  654. Saving to: ‘/home/vagrant/CHIP-tools/.firmware/images/rootfs.ubi’
  655.  
  656. 100%[========================================================================================================>] 54,525,952 4.45MB/s in 16s
  657.  
  658. 2015-10-09 19:43:46 (3.28 MB/s) - ‘/home/vagrant/CHIP-tools/.firmware/images/rootfs.ubi’ saved [54525952/54525952]
  659.  
  660. --2015-10-09 19:43:46-- http://stak-images.s3.amazonaws.com/firmware/chip/stable/68/images/sun5i-r8-chip.dtb
  661. Resolving stak-images.s3.amazonaws.com (stak-images.s3.amazonaws.com)... 54.231.226.10
  662. Connecting to stak-images.s3.amazonaws.com (stak-images.s3.amazonaws.com)|54.231.226.10|:80... connected.
  663. HTTP request sent, awaiting response... 200 OK
  664. Length: 20463 (20K) [binary/octet-stream]
  665. Saving to: ‘/home/vagrant/CHIP-tools/.firmware/images/sun5i-r8-chip.dtb’
  666.  
  667. 100%[========================================================================================================>] 20,463 --.-K/s in 0.003s
  668.  
  669. 2015-10-09 19:43:46 (7.17 MB/s) - ‘/home/vagrant/CHIP-tools/.firmware/images/sun5i-r8-chip.dtb’ saved [20463/20463]
  670.  
  671. --2015-10-09 19:43:46-- http://stak-images.s3.amazonaws.com/firmware/chip/stable/68/images/sunxi-spl.bin
  672. Resolving stak-images.s3.amazonaws.com (stak-images.s3.amazonaws.com)... 54.231.226.10
  673. Connecting to stak-images.s3.amazonaws.com (stak-images.s3.amazonaws.com)|54.231.226.10|:80... connected.
  674. HTTP request sent, awaiting response... 200 OK
  675. Length: 24576 (24K) [binary/octet-stream]
  676. Saving to: ‘/home/vagrant/CHIP-tools/.firmware/images/sunxi-spl.bin’
  677.  
  678. 100%[========================================================================================================>] 24,576 --.-K/s in 0.001s
  679.  
  680. 2015-10-09 19:43:46 (19.1 MB/s) - ‘/home/vagrant/CHIP-tools/.firmware/images/sunxi-spl.bin’ saved [24576/24576]
  681.  
  682. --2015-10-09 19:43:46-- http://stak-images.s3.amazonaws.com/firmware/chip/stable/68/images/uboot-env.bin
  683. Resolving stak-images.s3.amazonaws.com (stak-images.s3.amazonaws.com)... 54.231.226.10
  684. Connecting to stak-images.s3.amazonaws.com (stak-images.s3.amazonaws.com)|54.231.226.10|:80... connected.
  685. HTTP request sent, awaiting response... 200 OK
  686. Length: 4194304 (4.0M) [binary/octet-stream]
  687. Saving to: ‘/home/vagrant/CHIP-tools/.firmware/images/uboot-env.bin’
  688.  
  689. 100%[========================================================================================================>] 4,194,304 2.42MB/s in 1.7s
  690.  
  691. 2015-10-09 19:43:48 (2.42 MB/s) - ‘/home/vagrant/CHIP-tools/.firmware/images/uboot-env.bin’ saved [4194304/4194304]
  692.  
  693. --2015-10-09 19:43:48-- http://stak-images.s3.amazonaws.com/firmware/chip/stable/68/images/zImage
  694. Resolving stak-images.s3.amazonaws.com (stak-images.s3.amazonaws.com)... 54.231.229.5
  695. Connecting to stak-images.s3.amazonaws.com (stak-images.s3.amazonaws.com)|54.231.229.5|:80... connected.
  696. HTTP request sent, awaiting response... 200 OK
  697. Length: 4216280 (4.0M) [binary/octet-stream]
  698. Saving to: ‘/home/vagrant/CHIP-tools/.firmware/images/zImage’
  699.  
  700. 100%[========================================================================================================>] 4,216,280 1.28MB/s in 3.6s
  701.  
  702. 2015-10-09 19:43:52 (1.13 MB/s) - ‘/home/vagrant/CHIP-tools/.firmware/images/zImage’ saved [4216280/4216280]
  703.  
  704. --2015-10-09 19:43:52-- http://stak-images.s3.amazonaws.com/firmware/chip/stable/68/images/u-boot-dtb.bin
  705. Resolving stak-images.s3.amazonaws.com (stak-images.s3.amazonaws.com)... 54.231.230.17
  706. Connecting to stak-images.s3.amazonaws.com (stak-images.s3.amazonaws.com)|54.231.230.17|:80... connected.
  707. HTTP request sent, awaiting response... 200 OK
  708. Length: 581189 (568K) [binary/octet-stream]
  709. Saving to: ‘/home/vagrant/CHIP-tools/.firmware/images/u-boot-dtb.bin’
  710.  
  711. 100%[========================================================================================================>] 581,189 340KB/s in 1.7s
  712.  
  713. 2015-10-09 19:43:54 (340 KB/s) - ‘/home/vagrant/CHIP-tools/.firmware/images/u-boot-dtb.bin’ saved [581189/581189]
  714.  
  715. BUILDROOT_OUTPUT_DIR = /home/vagrant/CHIP-tools/.firmware
  716. == preparing images ==
  717. 1+0 records in
  718. 1+0 records out
  719. 8192 bytes (8.2 kB) copied, 0.000723013 s, 11.3 MB/s
  720. 1+0 records in
  721. 1+0 records out
  722. 8192 bytes (8.2 kB) copied, 0.00146401 s, 5.6 MB/s
  723. 1+0 records in
  724. 1+0 records out
  725. 8192 bytes (8.2 kB) copied, 0.000715543 s, 11.4 MB/s
  726. 1+0 records in
  727. 1+0 records out
  728. 8192 bytes (8.2 kB) copied, 0.00171973 s, 4.8 MB/s
  729. 1+0 records in
  730. 1+0 records out
  731. 8192 bytes (8.2 kB) copied, 0.000637459 s, 12.9 MB/s
  732. 1+0 records in
  733. 1+0 records out
  734. 8192 bytes (8.2 kB) copied, 0.00162837 s, 5.0 MB/s
  735. 35+1 records in
  736. 36+0 records out
  737. 589824 bytes (590 kB) copied, 0.00160497 s, 367 MB/s
  738. 12+0 records in
  739. 12+0 records out
  740. 196608 bytes (197 kB) copied, 0.025654 s, 7.7 MB/s
  741. Image Name: flash CHIP
  742. Created: Fri Oct 9 19:43:55 2015
  743. Image Type: ARM Linux Script (uncompressed)
  744. Data Size: 856 Bytes = 0.84 kB = 0.00 MB
  745. Load Address: 00000000
  746. Entry Point: 00000000
  747. Contents:
  748. Image 0: 848 Bytes = 0.83 kB = 0.00 MB
  749. == upload the SPL to SRAM and execute it ==
  750. == upload images ==
  751. == execute the main u-boot binary ==
  752. vagrant@vagrant-ubuntu-trusty-32:~/CHIP-tools$ cu -l /dev/ttyACM0 -s 115200
  753. cu: open (/dev/ttyACM0): No such file or directory
  754. cu: /dev/ttyACM0: Line in use
  755. vagrant@vagrant-ubuntu-trusty-32:~/CHIP-tools$ cu -l /dev/ttyACM0 -s 115200
  756. cu: open (/dev/ttyACM0): No such file or directory
  757. cu: /dev/ttyACM0: Line in use
  758. vagrant@vagrant-ubuntu-trusty-32:~/CHIP-tools$ cu -l /dev/ttyACM0 -s 115200
  759. Connected.
  760.  
  761.  
  762. Welcome to CHIP Buildroot build 68 rev 7c9b1c77
  763.  
  764. CHIP Buildroot contains various open source software.
  765.  
  766. The source code can be downloaded from:
  767. http://opensource.nextthing.co/chip/buildroot/stable/68/build68.tar.gz
  768.  
  769. chip login: root
  770. Password:
  771.  
  772. # ls -al
  773. total 12
  774. drwx------ 2 root root 448 Jan 1 00:00 .
  775. drwxr-xr-x 19 root root 1440 Oct 2 2015 ..
  776. -rw------- 1 root root 10 Jan 1 00:00 .ash_history
  777. -rw-r--r-- 1 root root 0 Oct 2 2015 .bash_history
  778. -rw-r--r-- 1 root root 175 Oct 2 2015 .bash_logout
  779. -rw-r--r-- 1 root root 78 Oct 2 2015 .bash_profile
  780.  
  781. # hwtest
  782.  
  783.  
  784. ############################################################
  785. # [ CHIP HW TEST ] #
  786. ############################################################
  787.  
  788.  
  789. # Turn on wlan0...OK
  790. # Turn on wlan1...OK
  791. # Hardware list...OK
  792. # I2C bus 0...OK
  793. # I2C bus 1...OK
  794. # I2C bus 2...OK
  795. # testing AXP209 on I2C bus 0...OK
  796. # GPIO expander test...OK
  797. # Doing 10s stress test...OK
  798. # Wifi enumeration test...OK
  799. ### ALL TESTS PASSED ###
  800. # exit
  801. cu: Got hangup signal
  802.  
  803. Disconnected.
  804. vagrant@vagrant-ubuntu-trusty-32:~/CHIP-tools$
  805. vagrant@vagrant-ubuntu-trusty-32:~/CHIP-tools$ exit
  806. logout
  807. Connection to 127.0.0.1 closed.
  808.  
  809. bokbokbok% vagrant halt
  810. ==> default: Attempting graceful shutdown of VM...
  811.  
  812. ########################################################################################
  813. #
  814. # Getting CHIP on WiFi
  815. #
  816. ########################################################################################
  817.  
  818. bokbokbok% ls -al /dev/tty.usbmodem14141
  819. crw-rw-rw- 1 root wheel 18, 34 Oct 9 12:47 /dev/tty.usbmodem14141
  820.  
  821. bokbokbok% cu -l /dev/tty.usbmodem14141 -s 115200
  822. cu: creat during lock (/var/spool/uucp/TMP000000bd6a in /Users/tod/projects/chip/CHIP-SDK as uid 502): Permission denied
  823. cu: /dev/tty.usbmodem14141: Line in use
  824.  
  825. bokbokbok% sudo cu -l /dev/tty.usbmodem14141 -s 115200
  826. Connected.
  827. CHIP Buildroot contains various open source software.
  828.  
  829. The source code can be downloaded from:
  830. http://opensource.nextthing.co/chip/buildroot/stable/68/build68.tar.gz
  831.  
  832. chip login: root
  833. Password:
  834. # cat /etc/issue
  835. Welcome to CHIP Buildroot build 68 rev 7c9b1c77
  836.  
  837. CHIP Buildroot contains various open source software.
  838.  
  839. The source code can be downloaded from:
  840. http://opensource.nextthing.co/chip/buildroot/stable/68/build68.tar.gz
  841.  
  842. # ifconfig
  843. lo Link encap:Local Loopback
  844. inet addr:127.0.0.1 Mask:255.0.0.0
  845. inet6 addr: ::1/128 Scope:Host
  846. UP LOOPBACK RUNNING MTU:65536 Metric:1
  847. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  848. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  849. collisions:0 txqueuelen:0
  850. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  851.  
  852. wlan0 Link encap:Ethernet HWaddr 8C:18:D9:F2:D8:6C
  853. UP BROADCAST MULTICAST MTU:1500 Metric:1
  854. RX packets:0 errors:0 dropped:260 overruns:0 frame:0
  855. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  856. collisions:0 txqueuelen:1000
  857. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  858.  
  859. wlan1 Link encap:Ethernet HWaddr 8E:18:D9:F2:D8:6C
  860. inet6 addr: fe80::8c18:d9ff:fef2:d86c/64 Scope:Link
  861. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  862. RX packets:260 errors:0 dropped:0 overruns:0 frame:0
  863. TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
  864. collisions:0 txqueuelen:1000
  865. RX bytes:0 (0.0 B) TX bytes:96 (96.0 B)
  866.  
  867. # connmanctl technologies
  868. /net/connman/technology/bluetooth
  869. Name = Bluetooth
  870. Type = bluetooth
  871. Powered = False
  872. Connected = False
  873. Tethering = False
  874. /net/connman/technology/wifi
  875. Name = WiFi
  876. Type = wifi
  877. Powered = False
  878. Connected = False
  879. Tethering = False
  880.  
  881. # connmanctl enable wifi
  882. Enabled wifi
  883.  
  884. # connmanctl scan wifi
  885. Scan completed for wifi
  886.  
  887. # connmanctl services
  888. todbot wifi_8c18d9f2d86c_746f64626f74_managed_none
  889. wifi_8c18d9f2d86c_hidden_managed_none
  890.  
  891. # connmanctl connect wifi_8c18d9f2d86c_746f64626f74_managed_none
  892. Connected wifi_8c18d9f2d86c_746f64626f74_managed_none
  893.  
  894. # ifconfig wlan0
  895. wlan0 Link encap:Ethernet HWaddr 8C:18:D9:F2:D8:6C
  896. inet addr:192.168.42.198 Bcast:192.168.42.255 Mask:255.255.255.0
  897. inet6 addr: fe80::8e18:d9ff:fef2:d86c/64 Scope:Link
  898. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  899. RX packets:225 errors:0 dropped:660 overruns:0 frame:0
  900. TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
  901. collisions:0 txqueuelen:1000
  902. RX bytes:31391 (30.6 KiB) TX bytes:4051 (3.9 KiB)
  903.  
  904. # ping 8.8.8.8
  905. PING 8.8.8.8 (8.8.8.8): 56 data bytes
  906. 64 bytes from 8.8.8.8: seq=0 ttl=56 time=13.292 ms
  907. 64 bytes from 8.8.8.8: seq=1 ttl=53 time=17.802 ms
  908. 64 bytes from 8.8.8.8: seq=2 ttl=56 time=14.612 ms
  909. ^C
  910. --- 8.8.8.8 ping statistics ---
  911. 3 packets transmitted, 3 packets received, 0% packet loss
  912. round-trip min/avg/max = 13.292/15.235/17.802 ms
  913. # exit
  914.  
  915. Welcome to CHIP Buildroot build 68 rev 7c9b1c77
  916.  
  917. CHIP Buildroot contains various open source software.
  918.  
  919. The source code can be downloaded from:
  920. http://opensource.nextthing.co/chip/buildroot/stable/68/build68.tar.gz
  921.  
  922. chip login:
  923. Welcome to CHIP Buildroot build 68 rev 7c9b1c77
  924.  
  925. CHIP Buildroot contains various open source software.
  926.  
  927. The source code can be downloaded from:
  928. http://opensource.nextthing.co/chip/buildroot/stable/68/build68.tar.gz
  929.  
  930. chip login: ~.
  931.  
  932. bokbokbok% ping 192.168.42.198
  933. PING 192.168.42.198 (192.168.42.198): 56 data bytes
  934. 64 bytes from 192.168.42.198: icmp_seq=0 ttl=64 time=16.310 ms
  935. ^C
  936. --- 192.168.42.198 ping statistics ---
  937. 1 packets transmitted, 1 packets received, 0.0% packet loss
  938. round-trip min/avg/max/stddev = 16.310/16.310/16.310/0.000 ms
  939.  
  940. bokbokbok% ssh root@192.168.42.198
  941. The authenticity of host '192.168.42.198 (192.168.42.198)' can't be established.
  942. RSA key fingerprint is c9:87:3f:68:78:13:8f:ff:fd:7f:2a:b7:0b:d9:10:bb.
  943. Are you sure you want to continue connecting (yes/no)? yes
  944. Warning: Permanently added '192.168.42.198' (RSA) to the list of known hosts.
  945. root@192.168.42.198's password:
  946.  
  947. # cat /etc/issue
  948. Welcome to CHIP Buildroot build 68 rev 7c9b1c77
  949.  
  950. CHIP Buildroot contains various open source software.
  951.  
  952. The source code can be downloaded from:
  953. http://opensource.nextthing.co/chip/buildroot/stable/68/build68.tar.gz
  954.  
  955. #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement