Step 1. Expand Filesystem
Start by expanding the filesystem This is required!!!
- sudo raspi-config
- (expand filesystem)
- sudo reboot
Then, once the filesys is expanded, download and install t he new kernel by running the following commands:
- curl -SLs https://apt.adafruit.com/add-pin | sudo bash
- sudo apt-get install raspberrypi-bootloader adafruit-pitft-helper raspberrypi-kernel
and type y (yes) when prompted
The first command adds apt.adafruit.com to your repository list, so you can grab code directly from adafruit's servers
The next line does the actual download and installation, it'll take a while because there's a lot of software to replace for PiTFT support.
OK now the kernel and helper are installed, all you have to do is run the helper which will configure the kernel device tree overlays and add the few configurations to make the console show up, etc.
- sudo adafruit-pitft-helper -t 28r
This will install the "2.8 Resistive" type of PiTFT into the current install. This is the same as the 3.2" and 2.4" Resistive screen too (same resolution, pinout, etc.)
At the end you will be prompted on whether you want the text console to appear on the PiTFT. Answer Y or N depending on your personal desires!
You will also be prompted on whether you want one of the tactile buttons to act as an 'on off' switch. Answer Y or N depending on your personal desires!
Run sudo reboot to try out your fancy new PiTFT :)