Advertisement
Guest User

Untitled

a guest
Jan 24th, 2016
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.50 KB | None | 0 0
  1. pi@raspberrypi:~/ArduBerry/script $ ./install.sh
  2. _____ _
  3. | __ \ | |
  4. | | | | _____ _| |_ ___ _ __
  5. | | | |/ _ \ \/ / __/ _ \ '__|
  6. | |__| | __/> <| || __/ |
  7. |_____/ \___/_/\_\__\___|_| _ _
  8. |_ _| | | | | (_)
  9. | | _ __ __| |_ _ ___| |_ _ __ _ ___ ___
  10. | | | '_ \ / _` | | | / __| __| '__| |/ _ \/ __|
  11. _| |_| | | | (_| | |_| \__ \ |_| | | | __/\__ \
  12. |_____|_| |_|\__,_|\__,_|___/\__|_| |_|\___||___/
  13.  
  14.  
  15.  
  16. Welcome to Arduberry Installer.
  17. Please ensure internet connectivity before running this script.
  18.  
  19. NOTE: Raspberry Pi wil reboot after completion.Special thanks to Joe Sanford at Tufts University. This script was derived from his work. Thank you Joe! Must be running as Root user
  20.  
  21. Press ENTER to begin...
  22.  
  23.  
  24. Check for internet connectivity...
  25. ==================================
  26. Connected
  27.  
  28. Installing Dependencies
  29. =======================
  30. Reading package lists... Done
  31. Building dependency tree
  32. Reading state information... Done
  33. arduino is already the newest version.
  34. git is already the newest version.
  35. minicom is already the newest version.
  36. python-pip is already the newest version.
  37. python-serial is already the newest version.
  38. i2c-tools is already the newest version.
  39. libi2c-dev is already the newest version.
  40. python-rpi.gpio is already the newest version.
  41. python-smbus is already the newest version.
  42. The following package was automatically installed and is no longer required:
  43. libftdi1
  44. Use 'apt-get autoremove' to remove it.
  45. 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
  46. Dependencies installed
  47. fatal: destination path 'wiringPi' already exists and is not an empty directory.
  48. wiringPi Build script
  49. =====================
  50.  
  51.  
  52. WiringPi Library
  53. [UnInstall]
  54. make: Nothing to be done for 'all'.
  55. [Install Headers]
  56. [Install Dynamic Lib]
  57.  
  58. WiringPi Devices Library
  59. [UnInstall]
  60. make: Nothing to be done for 'all'.
  61. [Install Headers]
  62. [Install Dynamic Lib]
  63.  
  64. GPIO Utility
  65. make: Nothing to be done for 'all'.
  66. [Install]
  67.  
  68. All Done.
  69.  
  70. NOTE: To compile programs with wiringPi, you need to add:
  71. -lwiringPi
  72. to your compile line(s) To use the Gertboard, MaxDetect, etc.
  73. code (the devLib), you need to also add:
  74. -lwiringPiDev
  75. to your compile line(s).
  76.  
  77. wiringPi Installed
  78.  
  79. Removing blacklist from /etc/modprobe.d/raspi-blacklist.conf . . .
  80. ==================================================================
  81. I2C removed from blacklist
  82. SPI removed from blacklist
  83.  
  84. Adding I2C-dev and SPI-dev in /etc/modules . . .
  85. ================================================
  86. I2C-dev already there
  87. i2c-bcm2708 already there
  88. spi-dev already there
  89.  
  90. Making changes to Arduino . . .
  91. ===============================
  92. --2016-01-24 16:16:43-- http://project-downloads.drogon.net/gertboard/avrdude_5.10-4_armhf.deb
  93. Resolving project-downloads.drogon.net (project-downloads.drogon.net)... 195.10.226.169, 2a00:ce0:2:feed:beef:cafe:0:4
  94. Connecting to project-downloads.drogon.net (project-downloads.drogon.net)|195.10.226.169|:80... connected.
  95. HTTP request sent, awaiting response... 200 OK
  96. Length: 202814 (198K) [application/x-debian-package]
  97. Saving to: ‘avrdude_5.10-4_armhf.deb’
  98.  
  99. avrdude_5.10-4_armhf.deb 100%[=======================================================================================================================================>] 198.06K 699KB/s in 0.3s
  100.  
  101. 2016-01-24 16:16:43 (699 KB/s) - ‘avrdude_5.10-4_armhf.deb’ saved [202814/202814]
  102.  
  103. (Reading database ... 176662 files and directories currently installed.)
  104. Preparing to unpack avrdude_5.10-4_armhf.deb ...
  105. Unpacking avrdude (1:5.10-4) over (1:5.10-4) ...
  106. Setting up avrdude (1:5.10-4) ...
  107. Processing triggers for man-db (2.7.0.2-5) ...
  108. --2016-01-24 16:16:59-- http://project-downloads.drogon.net/gertboard/setup.sh
  109. Resolving project-downloads.drogon.net (project-downloads.drogon.net)... 195.10.226.169, 2a00:ce0:2:feed:beef:cafe:0:4
  110. Connecting to project-downloads.drogon.net (project-downloads.drogon.net)|195.10.226.169|:80... connected.
  111. HTTP request sent, awaiting response... 200 OK
  112. Length: 1870 (1.8K) [application/x-sh]
  113. Saving to: ‘setup.sh’
  114.  
  115. setup.sh 100%[=======================================================================================================================================>] 1.83K --.-KB/s in 0s
  116.  
  117. 2016-01-24 16:16:59 (26.7 MB/s) - ‘setup.sh’ saved [1870/1870]
  118.  
  119. Setting up Raspberry Pi to make it work with the Gertboard
  120. and the ATmega chip on-board with the Arduino IDE.
  121.  
  122. Checking ...
  123. Avrdude: OK
  124. Arduino IDE: OK
  125. Fetching files:
  126. boards.txt
  127. programmers.txt
  128. avrsetup
  129. Replacing/updating files:
  130. inittab: cp: cannot stat ‘inittab’: No such file or directory
  131. ./setup.sh: line 61: inittab: No such file or directory
  132. mv: cannot stat ‘/tmp/inittab.1571’: No such file or directory
  133. OK
  134. cmdline.txt: Backup exists: not overwriting
  135. boards.txt: Backup of boards.txt exists, not overwriting
  136. programmers.txt: Backup of programmers.txt exists, not overwriting
  137. All Done.
  138. Check and reboot now to apply changes.
  139. --2016-01-24 16:17:00-- http://project-downloads.drogon.net/gertboard/minirc.ama0
  140. Resolving project-downloads.drogon.net (project-downloads.drogon.net)... 195.10.226.169, 2a00:ce0:2:feed:beef:cafe:0:4
  141. Connecting to project-downloads.drogon.net (project-downloads.drogon.net)|195.10.226.169|:80... connected.
  142. HTTP request sent, awaiting response... 200 OK
  143. Length: 256 [text/plain]
  144. Saving to: ‘minirc.ama0.1’
  145.  
  146. minirc.ama0.1 100%[=======================================================================================================================================>] 256 --.-KB/s in 0s
  147.  
  148. 2016-01-24 16:17:00 (4.94 MB/s) - ‘minirc.ama0.1’ saved [256/256]
  149.  
  150.  
  151. Please restart to implement changes!
  152. _____ ______ _____ _______ _____ _______
  153. | __ \| ____|/ ____|__ __|/\ | __ \__ __|
  154. | |__) | |__ | (___ | | / \ | |__) | | |
  155. | _ /| __| \___ \ | | / /\ \ | _ / | |
  156. | | \ \| |____ ____) | | |/ ____ \| | \ \ | |
  157. |_| \_\______|_____/ |_/_/ \_\_| \_\ |_|
  158.  
  159. Please restart to implement changes!
  160. To Restart type sudo reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement