Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@raspberrypi:~/ArduBerry/script $ ./install.sh
- _____ _
- | __ \ | |
- | | | | _____ _| |_ ___ _ __
- | | | |/ _ \ \/ / __/ _ \ '__|
- | |__| | __/> <| || __/ |
- |_____/ \___/_/\_\__\___|_| _ _
- |_ _| | | | | (_)
- | | _ __ __| |_ _ ___| |_ _ __ _ ___ ___
- | | | '_ \ / _` | | | / __| __| '__| |/ _ \/ __|
- _| |_| | | | (_| | |_| \__ \ |_| | | | __/\__ \
- |_____|_| |_|\__,_|\__,_|___/\__|_| |_|\___||___/
- Welcome to Arduberry Installer.
- Please ensure internet connectivity before running this script.
- 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
- Press ENTER to begin...
- Check for internet connectivity...
- ==================================
- Connected
- Installing Dependencies
- =======================
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- arduino is already the newest version.
- git is already the newest version.
- minicom is already the newest version.
- python-pip is already the newest version.
- python-serial is already the newest version.
- i2c-tools is already the newest version.
- libi2c-dev is already the newest version.
- python-rpi.gpio is already the newest version.
- python-smbus is already the newest version.
- The following package was automatically installed and is no longer required:
- libftdi1
- Use 'apt-get autoremove' to remove it.
- 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
- Dependencies installed
- fatal: destination path 'wiringPi' already exists and is not an empty directory.
- wiringPi Build script
- =====================
- WiringPi Library
- [UnInstall]
- make: Nothing to be done for 'all'.
- [Install Headers]
- [Install Dynamic Lib]
- WiringPi Devices Library
- [UnInstall]
- make: Nothing to be done for 'all'.
- [Install Headers]
- [Install Dynamic Lib]
- GPIO Utility
- make: Nothing to be done for 'all'.
- [Install]
- All Done.
- NOTE: To compile programs with wiringPi, you need to add:
- -lwiringPi
- to your compile line(s) To use the Gertboard, MaxDetect, etc.
- code (the devLib), you need to also add:
- -lwiringPiDev
- to your compile line(s).
- wiringPi Installed
- Removing blacklist from /etc/modprobe.d/raspi-blacklist.conf . . .
- ==================================================================
- I2C removed from blacklist
- SPI removed from blacklist
- Adding I2C-dev and SPI-dev in /etc/modules . . .
- ================================================
- I2C-dev already there
- i2c-bcm2708 already there
- spi-dev already there
- Making changes to Arduino . . .
- ===============================
- --2016-01-24 16:16:43-- http://project-downloads.drogon.net/gertboard/avrdude_5.10-4_armhf.deb
- Resolving project-downloads.drogon.net (project-downloads.drogon.net)... 195.10.226.169, 2a00:ce0:2:feed:beef:cafe:0:4
- Connecting to project-downloads.drogon.net (project-downloads.drogon.net)|195.10.226.169|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 202814 (198K) [application/x-debian-package]
- Saving to: ‘avrdude_5.10-4_armhf.deb’
- avrdude_5.10-4_armhf.deb 100%[=======================================================================================================================================>] 198.06K 699KB/s in 0.3s
- 2016-01-24 16:16:43 (699 KB/s) - ‘avrdude_5.10-4_armhf.deb’ saved [202814/202814]
- (Reading database ... 176662 files and directories currently installed.)
- Preparing to unpack avrdude_5.10-4_armhf.deb ...
- Unpacking avrdude (1:5.10-4) over (1:5.10-4) ...
- Setting up avrdude (1:5.10-4) ...
- Processing triggers for man-db (2.7.0.2-5) ...
- --2016-01-24 16:16:59-- http://project-downloads.drogon.net/gertboard/setup.sh
- Resolving project-downloads.drogon.net (project-downloads.drogon.net)... 195.10.226.169, 2a00:ce0:2:feed:beef:cafe:0:4
- Connecting to project-downloads.drogon.net (project-downloads.drogon.net)|195.10.226.169|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 1870 (1.8K) [application/x-sh]
- Saving to: ‘setup.sh’
- setup.sh 100%[=======================================================================================================================================>] 1.83K --.-KB/s in 0s
- 2016-01-24 16:16:59 (26.7 MB/s) - ‘setup.sh’ saved [1870/1870]
- Setting up Raspberry Pi to make it work with the Gertboard
- and the ATmega chip on-board with the Arduino IDE.
- Checking ...
- Avrdude: OK
- Arduino IDE: OK
- Fetching files:
- boards.txt
- programmers.txt
- avrsetup
- Replacing/updating files:
- inittab: cp: cannot stat ‘inittab’: No such file or directory
- ./setup.sh: line 61: inittab: No such file or directory
- mv: cannot stat ‘/tmp/inittab.1571’: No such file or directory
- OK
- cmdline.txt: Backup exists: not overwriting
- boards.txt: Backup of boards.txt exists, not overwriting
- programmers.txt: Backup of programmers.txt exists, not overwriting
- All Done.
- Check and reboot now to apply changes.
- --2016-01-24 16:17:00-- http://project-downloads.drogon.net/gertboard/minirc.ama0
- Resolving project-downloads.drogon.net (project-downloads.drogon.net)... 195.10.226.169, 2a00:ce0:2:feed:beef:cafe:0:4
- Connecting to project-downloads.drogon.net (project-downloads.drogon.net)|195.10.226.169|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 256 [text/plain]
- Saving to: ‘minirc.ama0.1’
- minirc.ama0.1 100%[=======================================================================================================================================>] 256 --.-KB/s in 0s
- 2016-01-24 16:17:00 (4.94 MB/s) - ‘minirc.ama0.1’ saved [256/256]
- Please restart to implement changes!
- _____ ______ _____ _______ _____ _______
- | __ \| ____|/ ____|__ __|/\ | __ \__ __|
- | |__) | |__ | (___ | | / \ | |__) | | |
- | _ /| __| \___ \ | | / /\ \ | _ / | |
- | | \ \| |____ ____) | | |/ ____ \| | \ \ | |
- |_| \_\______|_____/ |_/_/ \_\_| \_\ |_|
- Please restart to implement changes!
- To Restart type sudo reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement