c0ffeeca7 3eda1db689
Installation methods: add glossary references (#32287)
* Installtion methods: add glossary references

* Update source/_docs/blueprint/selectors.markdown
2024-04-12 11:56:02 +02:00

3.9 KiB

Flashing an ODROID-M1S

Home Assistant can be flashed to an ODROID-M1S by connecting the device directly to your computer via the USB-OTG connection on the front of the board. Unlike other ODROID boards, the M1S does not have a socket for an optional eMMC module. It also does not have a separate flash chip that holds a dedicated bootloader. Instead, the M1S has a build-in 64GB eMMC soldered directly on the board that holds a bootloader by default. This guide will show you how to install the {% term "Home Assistant Operating System" %} to the built-in eMMC.

Warning: Installing Home Assistant OS replaces the firmware and SPL on the eMMC with the mainline version provided by the Home Assistant OS. As a result, it is not possible to use the SD card with the EMMC2UMS image anymore, because the mainline SPL is not compatible with U-Boot in the EMMC2UMS image at this time (February 2024). This does not pose any problem for standard use, just makes it more complicated in case you want to return to the Hardkernel-provided OS (see HK Recovery).

What you will need

To flash your eMMC using USB-OTG, you will need the following items:

  • A small SD card
  • Another computer
  • USB 2.0 to micro-USB cable
  • the special Hardkernel eMMC-to-USB-mass-storage image

Boot into mass-storage mode

(These steps are identical to the official Hardkernel wiki page.)

  1. Download ODROID-M1S_EMMC2UMS.img.
  2. Use balena Etcher or another tool to flash the UMS utility onto an SD card.
    • Use Flash from file. Flash from URL does not work on all systems. (balena Etcher will complain that something went wrong during flashing. You can ignore this message)
  3. Plug-in that SD card to your ODROID-M1S and boot it.

Flashing Home Assistant M1S

  1. Download the latest stable version of Home Assistant OS for the ODROID-M1S.
  2. Apart from the HAOS image to flash (M1S instead of N2+ version), you can follow the N2+ step-by-step flashing guide HERE.

HK Recovery

If you want to restore your M1S back into Hardkernel's initial state, you will have to restore the HK's bootloader. A reliable way of reflashing the eMMC with an operating system of your choice is to use Home Assistant OS to flash the EMMC2UMS image which turns the ODROID-M1S into USB Mass Storage device. Once you have flashed the EMMC2UMS image, you can flash any OS again. You will need a micro USB cable to connect ODROID-M1S to PC.

Note: This commands will render your current Home Assistant OS installation unbootable!

Use the local terminal (HDMI/keyboard) to access the system console. On the Home Assistant CLI (command line), enter login to enter the root shell and use curl to download an image and dd it to the eMMC block device:

curl https://dn.odroid.com/RK3566/ODROID-M1S/Installer/ODROID-M1S_EMMC2UMS.img | dd of=/dev/mmcblk0

This way, the device will start in the UMS mode on the next boot with the SD card removed. Follow the Install over USB from PC to install a different operating system.