Flashing OS
Warning
Before flashing your device, make sure you back up your pipeline settings and camera calibration as the flashing process will wipe these settings.
If you are using PhotonVision, you can usually just use the Offline Update feature instead of flashing the OS, which will preserve your settings.
Prerequisites
- Download and install RPIBoot tool
- Windows: Download
- Mac/Linux: Build from source
- Download and install balenaEtcher
- Download the latest PhotonVision image for Luma P1 or other raspberry pi compatible vision solutions
Put P1 in Flash Mode
- Ensure P1 is not powered
- Connect a USB C cable between your laptop and the device's USB C flash port
- Run the RPIBoot tool to mount P1 as a mass storage device
- Windows: Search "cm5" in the windows start menu, then run the
rpiboot-CM4-CM5 - Mass Storage Gadgetapp - Mac/Linux: Run
sudo ./rpibootfrom the directory you built the usbboot tool in
- Windows: Search "cm5" in the windows start menu, then run the
Flash the OS
- Open balenaEtcher
- Click "Flash From File" and select your OS image
- Click "Select Target" and select the device labeled
mmcblk0 - Click "Flash" and wait for the flashing process to finish
- Unplug USB C cable from device