Skip to content

Instantly share code, notes, and snippets.

@oklahomer
Last active August 29, 2015 14:04
Show Gist options
  • Save oklahomer/ca78d6dcf515298b2b5e to your computer and use it in GitHub Desktop.
Save oklahomer/ca78d6dcf515298b2b5e to your computer and use it in GitHub Desktop.
pi@raspberrypi ~ $ mkdir pitft-setup
pi@raspberrypi ~ $ cd pitft-setup/
pi@raspberrypi ~/pitft-setup $ wget http://adafruit-download.s3.amazonaws.com/libraspberrypi-bin-adafruit.deb && \
> wget http://adafruit-download.s3.amazonaws.com/libraspberrypi-dev-adafruit.deb && \
> wget http://adafruit-download.s3.amazonaws.com/libraspberrypi-doc-adafruit.deb && \
> wget http://adafruit-download.s3.amazonaws.com/libraspberrypi0-adafruit.deb && \
> wget http://adafruit-download.s3.amazonaws.com/raspberrypi-bootloader-adafruit-112613.deb
--2014-07-21 04:28:16-- http://adafruit-download.s3.amazonaws.com/libraspberrypi-bin-adafruit.deb
Resolving adafruit-download.s3.amazonaws.com (adafruit-download.s3.amazonaws.com)... 54.231.19.49
Connecting to adafruit-download.s3.amazonaws.com (adafruit-download.s3.amazonaws.com)|54.231.19.49|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 184818 (180K) [application/octet-stream]
Saving to: `libraspberrypi-bin-adafruit.deb'
100%[=======================================================================================================================================>] 184,818 168K/s in 1.1s
2014-07-21 04:28:17 (168 KB/s) - `libraspberrypi-bin-adafruit.deb' saved [184818/184818]
--2014-07-21 04:28:17-- http://adafruit-download.s3.amazonaws.com/libraspberrypi-dev-adafruit.deb
Resolving adafruit-download.s3.amazonaws.com (adafruit-download.s3.amazonaws.com)... 176.32.99.35
Connecting to adafruit-download.s3.amazonaws.com (adafruit-download.s3.amazonaws.com)|176.32.99.35|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 672150 (656K) [application/octet-stream]
Saving to: `libraspberrypi-dev-adafruit.deb'
100%[=======================================================================================================================================>] 672,150 279K/s in 2.4s
2014-07-21 04:28:20 (279 KB/s) - `libraspberrypi-dev-adafruit.deb' saved [672150/672150]
--2014-07-21 04:28:20-- http://adafruit-download.s3.amazonaws.com/libraspberrypi-doc-adafruit.deb
Resolving adafruit-download.s3.amazonaws.com (adafruit-download.s3.amazonaws.com)... 54.231.18.137
Connecting to adafruit-download.s3.amazonaws.com (adafruit-download.s3.amazonaws.com)|54.231.18.137|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 31480442 (30M) [application/octet-stream]
Saving to: `libraspberrypi-doc-adafruit.deb'
100%[=======================================================================================================================================>] 31,480,442 931K/s in 29s
2014-07-21 04:28:50 (1.03 MB/s) - `libraspberrypi-doc-adafruit.deb' saved [31480442/31480442]
--2014-07-21 04:28:50-- http://adafruit-download.s3.amazonaws.com/libraspberrypi0-adafruit.deb
Resolving adafruit-download.s3.amazonaws.com (adafruit-download.s3.amazonaws.com)... 54.231.8.185
Connecting to adafruit-download.s3.amazonaws.com (adafruit-download.s3.amazonaws.com)|54.231.8.185|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 444188 (434K) [application/octet-stream]
Saving to: `libraspberrypi0-adafruit.deb'
100%[=======================================================================================================================================>] 444,188 58.8K/s in 7.4s
2014-07-21 04:28:57 (58.8 KB/s) - `libraspberrypi0-adafruit.deb' saved [444188/444188]
--2014-07-21 04:28:58-- http://adafruit-download.s3.amazonaws.com/raspberrypi-bootloader-adafruit-112613.deb
Resolving adafruit-download.s3.amazonaws.com (adafruit-download.s3.amazonaws.com)... 54.231.12.161
Connecting to adafruit-download.s3.amazonaws.com (adafruit-download.s3.amazonaws.com)|54.231.12.161|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 27410550 (26M) [application/octet-stream]
Saving to: `raspberrypi-bootloader-adafruit-112613.deb'
100%[=======================================================================================================================================>] 27,410,550 804K/s in 60s
2014-07-21 04:29:59 (443 KB/s) - `raspberrypi-bootloader-adafruit-112613.deb' saved [27410550/27410550]
pi@raspberrypi ~/pitft-setup $ sudo dpkg -i -B *.deb
Selecting previously unselected package libraspberrypi0-adafruit.
dpkg: considering removing libraspberrypi0 in favour of libraspberrypi0-adafruit ...
dpkg: yes, will remove libraspberrypi0 in favour of libraspberrypi0-adafruit
(Reading database ... 71274 files and directories currently installed.)
Unpacking libraspberrypi0-adafruit (from libraspberrypi0-adafruit.deb) ...
De-configuring libraspberrypi-doc, to allow removal of libraspberrypi0 ...
De-configuring libraspberrypi-dev, to allow removal of libraspberrypi0 ...
De-configuring libraspberrypi-bin, to allow removal of libraspberrypi0 ...
Selecting previously unselected package libraspberrypi-bin-adafruit.
dpkg: considering removing libraspberrypi-bin in favour of libraspberrypi-bin-adafruit ...
dpkg: libraspberrypi-bin is not properly installed; ignoring any dependencies on it
dpkg: yes, will remove libraspberrypi-bin in favour of libraspberrypi-bin-adafruit
Unpacking libraspberrypi-bin-adafruit (from libraspberrypi-bin-adafruit.deb) ...
Selecting previously unselected package libraspberrypi-dev-adafruit.
dpkg: considering removing libraspberrypi-dev in favour of libraspberrypi-dev-adafruit ...
dpkg: libraspberrypi-dev is not properly installed; ignoring any dependencies on it
dpkg: yes, will remove libraspberrypi-dev in favour of libraspberrypi-dev-adafruit
Unpacking libraspberrypi-dev-adafruit (from libraspberrypi-dev-adafruit.deb) ...
Selecting previously unselected package libraspberrypi-doc-adafruit.
dpkg: considering removing libraspberrypi-doc in favour of libraspberrypi-doc-adafruit ...
dpkg: libraspberrypi-doc is not properly installed; ignoring any dependencies on it
dpkg: yes, will remove libraspberrypi-doc in favour of libraspberrypi-doc-adafruit
Unpacking libraspberrypi-doc-adafruit (from libraspberrypi-doc-adafruit.deb) ...
Selecting previously unselected package raspberrypi-bootloader-adafruit.
dpkg: considering removing raspberrypi-bootloader in favour of raspberrypi-bootloader-adafruit ...
dpkg: yes, will remove raspberrypi-bootloader in favour of raspberrypi-bootloader-adafruit
Unpacking raspberrypi-bootloader-adafruit (from raspberrypi-bootloader-adafruit-112613.deb) ...
Adding 'diversion of /boot/bootcode.bin to /usr/share/rpikernelhack/bootcode.bin by rpikernelhack'
Adding 'diversion of /boot/fixup.dat to /usr/share/rpikernelhack/fixup.dat by rpikernelhack'
Adding 'diversion of /boot/fixup_cd.dat to /usr/share/rpikernelhack/fixup_cd.dat by rpikernelhack'
Adding 'diversion of /boot/fixup_x.dat to /usr/share/rpikernelhack/fixup_x.dat by rpikernelhack'
Adding 'diversion of /boot/kernel.img to /usr/share/rpikernelhack/kernel.img by rpikernelhack'
Adding 'diversion of /boot/kernel_cutdown.img to /usr/share/rpikernelhack/kernel_cutdown.img by rpikernelhack'
Adding 'diversion of /boot/kernel_emergency.img to /usr/share/rpikernelhack/kernel_emergency.img by rpikernelhack'
Adding 'diversion of /boot/start.elf to /usr/share/rpikernelhack/start.elf by rpikernelhack'
Adding 'diversion of /boot/start_cd.elf to /usr/share/rpikernelhack/start_cd.elf by rpikernelhack'
Adding 'diversion of /boot/start_x.elf to /usr/share/rpikernelhack/start_x.elf by rpikernelhack'
Setting up raspberrypi-bootloader-adafruit (1.20130902-4) ...
Memory split is now set in /boot/config.txt.
You may want to use raspi-config to set it
Removing 'diversion of /boot/bootcode.bin to /usr/share/rpikernelhack/bootcode.bin by rpikernelhack'
Removing 'diversion of /boot/fixup.dat to /usr/share/rpikernelhack/fixup.dat by rpikernelhack'
Removing 'diversion of /boot/fixup_cd.dat to /usr/share/rpikernelhack/fixup_cd.dat by rpikernelhack'
Removing 'diversion of /boot/fixup_x.dat to /usr/share/rpikernelhack/fixup_x.dat by rpikernelhack'
Removing 'diversion of /boot/kernel.img to /usr/share/rpikernelhack/kernel.img by rpikernelhack'
Removing 'diversion of /boot/kernel_cutdown.img to /usr/share/rpikernelhack/kernel_cutdown.img by rpikernelhack'
Removing 'diversion of /boot/kernel_emergency.img to /usr/share/rpikernelhack/kernel_emergency.img by rpikernelhack'
Removing 'diversion of /boot/start.elf to /usr/share/rpikernelhack/start.elf by rpikernelhack'
Removing 'diversion of /boot/start_cd.elf to /usr/share/rpikernelhack/start_cd.elf by rpikernelhack'
Removing 'diversion of /boot/start_x.elf to /usr/share/rpikernelhack/start_x.elf by rpikernelhack'
Setting up libraspberrypi0-adafruit (1.20130902-1) ...
Setting up libraspberrypi-bin-adafruit (1.20130902-1) ...
Setting up libraspberrypi-dev-adafruit (1.20130902-1) ...
Setting up libraspberrypi-doc-adafruit (1.20130902-1) ...
pi@raspberrypi ~/pitft-setup $
pi@raspberrypi ~/pitft-setup $
pi@raspberrypi ~/pitft-setup $
pi@raspberrypi ~/pitft-setup $ sudo mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf ~
pi@raspberrypi ~/pitft-setup $ sudo reboot
Broadcast message from root@raspberrypi (pts/1) (Mon Jul 21 04:34:31 2014):
The system is going down for reboot NOW!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment