Skip to content

PI Image

MadamGray edited this page Dec 29, 2018 · 3 revisions

Chess Challenger Raspberry PI Image

Raspberry PI image setup instructions for Chess Challenger 2018.

Setup

Flash the SD card with the PI image using Etcher or something similar.

Wifi

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.

First Boot

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.

Read-only Setup

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

Rebooting

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.

Finished

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.

Clone this wiki locally