A setup script to run on top of Armbian Debian in order to set up the necessary drivers and packages to get RetroPie working.
- Download Armbian Stetch (Legacy Kernel 4.4y) from https://www.armbian.com/tinkerboard - https://dl.armbian.com/tinkerboard/Debian_stretch_default.7z
- Burn the image to an SD card using Etcher (https://etcher.io/)
- Boot from the SD card. At the login prompt type root with password 1234.
- You are required to change your password, first enter the root password again 1234. Then a new password tinkerboard.
- You are now required to create a new user, for ease of compatiblity with Retropie, we will use pi. When asked for a password type tinkerboard. This has created a new user pi with the password tinkerboard. When prompted for Full Name, Room Number, Work Phone, Home Phone and Other just press Enter.
- To set up WiFi - Type sudo armbian-config. Go to Network and then wlan0. Go to WiFi then choose your SSID and enter your password. Don't set up bluetooth or anything yet. Go back to the command prompt once you have an Internet conection.
- Type wget https://github.com/Tinkerpie/Armbian-Setup/raw/master/setup.sh, sudo chmod +x setup.sh and then ./setup.sh.
- Once everything has installed, run RetroPie-Setup/retropie_setup.sh as indicated in the output of the above script and install core packages and restart.
After running the setup.sh (which also sets up bluetooth) do the following to complete the process:
sudo bluetoothctl
[bluetooth]# agent on
Agent registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# exit
sudo nano /usr/share/alsa/alsa.conf
Change defaults.pcm.card 0 to 1