< return

PiBoy Build Log - Part 3 - OS

Had a few issues while trying to use the easy install, so decided to cook it from 'scratch'

So with the typical images I had nothing but issues; PiGrrl: Controls couldn't be edited, wifi wouldn't work on my Pi Zero PiTFT Easy Install: Old Kernel, wifi wouldnt work

So I decided to get Jessie light and go from there. but for whatever reason my hdmi port wasn't working on my Pi0 W (works fine on my Pi0), anyway!

SSH

  1. Download and flash jessie light image to SD card
  2. open the SD card on your PC
  3. add this line to config.txt:
    dtoverlay=dwc2
  4. add this entry to cmdline.txt (after rootwait):
    modules-load=dwc2,g_ether
  5. create a file called ssh (no extension)
  6. Put the SD card into the Pi and plug it into the PC, wait for boot to complete (90 secs)
  7. Fire up PuTTY on your PC and connect to raspberrypi.local
  8. login as pi, raspberry

Setup Wi-Fi

  1. run: sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
  2. add the following text:
    network={
                    ssid="YOUR WIFI NAME"
                    psk="YOUR WIFI PASSW"
    }
  3. reboot

Updates & PiTFT

  1. reconnect to SSH session once pi has finished rebooting
  2. run:
    sudo apt-get update && sudo apt-get upgrade
  3. run:
    cd
    curl -O https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/pitft-fbcp.sh
    sudo bash pitft-fbcp.sh
  4. Do the manual setup, it's easy (promise).
  5. That'll then prompt you to reboot
  6. You should now have PiTFT + WiFi working.

RetroPie

  1. reconnect to SSH again
  2. confirm language settings:
     sudo update-locale LC_all="en_GB.UTF-8"
     sudo update-locale LANGUAGE="en_GB.UTF-8"
  3. Get RetroPie installer
    sudo apt-get install git lsb-release
    git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git
    cd RetroPie-Setup
    chmod +x retropie_setup.sh
    sudo ./retropie_setup.sh
    1. Wait for it to load and choose basic install
    2. after that go to configuration and autostart, set emulationstation to boot on startup
    3. you can make other changes here, I got the the minilumi theme enabled samba shares
    4. finally, perform reboot

Done! Pi Zero + PiTFT + WiFi

I've made an image with all the steps above, it's targeted for a 30gb sd card though, blame rasbian for auto resizing :)

http://server.andrewiankidd.co.uk/open/PiKidd.7z


Links/Sources

RetroPie manual install: https://retropie.org.uk/docs/Manual-Installation/

raspbian: https://www.raspberrypi.org/downloads/raspbian/

ssh: https://gist.github.com/gbaman/975e2db164b3ca2b51ae11e45e8fd40a

wifi: https://thepihut.com/blogs/raspberry-pi-tutorials/83502916-how-to-setup-wifi-on-raspbian-jessie-lite

pitft: https://learn.adafruit.com/running-opengl-based-games-and-emulators-on-adafruit-pitft-displays/pitft-setup

login