Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Blatantly Stolen from Adafruit
- ssh into your RetroPie
- (1)Copy Code one line at a time into terminal
- -----
- curl -SLs https://apt.adafruit.com/add-pin | sudo bash
- sudo apt-get update
- sudo apt-get install adafruit-pitft-helper raspberrypi-bootloader
- sudo adafruit-pitft-helper -t 35r
- -----
- The “curl” line can take a very long time; this is normal. Likewise with the “update.” When the adafruit-pitft-helper script asks about the console, answer 'n'.DO NOT enable the console on the PiTFT or you’ll be starting over.
- Edit /boot/config.txt and change the dtoverlay line (near the end, added by the adafruit-pitft-helper script) to make it a little more responsive:
- (2)Copy Code at the end of the file
- -----
- dtoverlay=pitft35r,rotate=90,speed=64000000,fps=30
- -----
- Also while you're editing that file, add these lines at the end so the framebuffer's running at the PiTFT's native resolution:
- (3)Copy Code at the end of the file
- -----
- hdmi_force_hotplug=1
- hdmi_group=2
- hdmi_mode=87
- hdmi_cvt=480 320 60 1 0 0 0
- disable_overscan=1
- -----
- Install fbcp:
- (4)Copy Code one line at a time
- -----
- git clone https://github.com/tasanakorn/rpi-fbcp
- cd rpi-fbcp/
- mkdir build
- cd build/
- cmake ..
- make
- sudo install fbcp /usr/local/bin/fbcp
- -----
- And edit /etc/rc.local, inserting this one line just before the final 'exit 0':
- (5)Copy Code
- -----
- /usr/local/bin/fbcp &
- -----
- Then 'sudo reboot' and you should have RetroPie/EmulationStation on the PiTFT!
Advertisement
Add Comment
Please, Sign In to add comment