Skip to content

Raspberry Pi: Flash Existing Image and Configure

Michael Fulton edited this page Feb 16, 2021 · 1 revision

If you want to use a pre-configured image, follow these instructions.

Update the Firmware

You need the most recent version of the Raspberry Pi firmware (which since RPI4 is stored onboard a separate chip). So, install Raspbian on an MicroSD (I recommend balenaEtcher for flashing MicroSDs), boot it and connect to a network, and update the firmware by running the following commands.

sudo apt-get update && sudo apt-get dist-upgrade -y  
sudo rpi-update  
sudo rpi-eeprom-update -a

Of course, you will need a network connection for this. Use WiFi or Ethernet, whatever is at your disposal.

Flash Image

Once the firmware is updated, you can flash the image. The current image for the IRV lab is stored in our Google Drive here.. To flash it onto a MicroSD card, plug your card into a laptop and use your program of choice to flash the image on the SD card. balenaEtcher is a good option.

Configuration

Make sure to go through the required software (described in Software Installation (RPI) and make sure that it's set up. You should be fine, as it's a direct disk image, but it's probably best to double-check that ROS, MAVROS, and the systemd services are all set up.

Clone this wiki locally