-
Notifications
You must be signed in to change notification settings - Fork 3
PI Image
Raspberry PI image setup instructions for Chess Challenger 2018.
Flash the SD card with the PI image using Etcher or something similar.
Open up "wpa_supplicant.conf" and edit it for your home wifi network.
network={
ssid="WIFI"
psk="PASSWORD"
}
After that, copy "wpa_supplicant.conf" to the root directory of the SD card.
Upon first boot there are a few things to do, after it unpacks itself (ETA 2min). Check to make sure the PI is on your home network. Once the PI is on the network, ssh into it.
username: pi
password: raspberry
After that your going to want to stop the Chess Challenger service
sudo systemctl stop chess.service
Once that is done your ready to make the file system read-only. This is because the hardware will NOT gracefully shutdown upon power loss.
navigate to the "readonly-fs" directory.
cd ~/readonly-fs/
Once there, execute the script
sudo ./read-only-fs.sh
when prompted,
- The GPIO pin for read/write jumper is on GPIO21, its soldered on board.
- No need for the halt utility
- Turn the watchdog on
sudo reboot
Upon reboot everything should be up and running, it should take a good 20 seconds for the Chess Challenger splash to appear on the display.
Once you verify everything is working properly your good to go. Powering down the hardware with the on board switch is perfectly fine once the PI is in read-only mode.