Note: It is very unlikely that reinstalling the Home Assistant Operating System is necessary. Before going through this procedure, make sure to reset the device.
To reinstall Home Assistant Operating System on a CM4, the Home Assistant OS Installer for Yellow flashed on a USB flash drive needs to be used. However, the Raspberry Pi Compute Module 4 has a fixed boot order: eMMC -> NVMe SSD -> USB flash drive.
There are currently 2 options on how to reinstall the Home Assistant OS:
- Option 1 disables booting of Home Assistant OS (from eMMC or NVMe SSD), which makes it possible to start the Installer again from a USB flash drive. This option only works if you currently have Home Assistant OS installed!
- Option 2 uses rpiboot. Use this option if option 1 doesn't work for you.
Option 1 (recommended): Reinstalling Home Assistant OS on CM4 using red and blue button
- Make sure no USB device is plugged into the device. Remove power from your system.
- Power up the system.
- Within 3 seconds (or from start), press and hold the red and blue button on the backside of the device simultaneously.
- Hold the two buttons for approximately 10 seconds. The Yellow LED should not start blinking!
- Remove power from your system.
- Follow the instructions to install the Home Assistant Software on kit using the Home Assistant OS Installer for Yellow from a USB flash drive.
Option 2: Reinstall Home Assistant OS using rpiboot
- Install rpiboot onto your computer.
- Open the Home Assistant Yellow enclosure to access jumpers on the PCB.
- Set JP1 to USB.
- Plug-in a USB-C cable to Home Assistant Yellow and connect it to your PC.
- Press and hold the USB-C Recvry push button. Older Home Assistant Yellow versions: Bridge JP2 (USB-C Rcvry).
- Power up the board by plugging in the 12V DC connector or Ethernet cable (if PoE is used). Only the red LED should be on at this point (solid, not blinking).
- Release the USB-C Recvry push button. Older Home Assistant Yellow versions: Un-bridge JP2.
- Run rpiboot on your PC and let it run through.
- If you are on Windows, it might ask you if you want to reformat the disk. Select Cancel each time.
- Afterwards, the green LED should be on.
- To flash the Home Assistant OS Installer for Yellow onto the eMMC ("RPi-MSD"), run the Raspberry Pi Imager.
- Follow step 1 through 5 from the Installing Home Assistant Software on Kit procedure.
- Windows might bring up a message asking to insert a disk. Close this message.
- Ignore the Raspberry Pi Imager prompt to remove the SD card.
- Select Continue and close the Raspberry Pi Installer.
- Remove power from the board.
- Set JP1 to UART.
- To connect Ethernet and power, follow the instructions from step 8 from the Installing Home Assistant Software on Kit procedure. Note that because the installer is now installed to the eMMC, no USB flash drive is required.
Related topics
- Resetting the device
- Windows Installer
- Rpiboot from source code
- Install the Home Assistant Software on kit
Edit this article on GitHub