Refactor the SPI and ums info for the ODROID-N2+ (#20007)

This commit is contained in:
Achilleas Pipinellis 2021-10-27 13:49:55 +02:00 committed by GitHub
parent 7717ed9800
commit c2d567b80e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,34 +14,41 @@ To flash your eMMC using Petitboot and OTG-USB, you will need the following item
#### Enabling SPI boot mode
Remove the case of your ODROID-N2+
To enable the SPI boot mode:
![Photo of the removed case](/images/hassio/screenshots/case-removed.jpg)
1. Power off the ODROID-N2+ by unplugging the power cable.
1. Remove the case.
Next, locate the toggle for boot mode and switch it from MMC to SPI.
![Photo of the removed case](/images/hassio/screenshots/case-removed.jpg)
![Photo of the SPI toggle switch](/images/hassio/screenshots/toggle_spi.jpg)
1. Locate the toggle for boot mode and switch it from MMC to SPI.
Connect a USB keyboard and HDMI connected monitor to your ODROID-N2+, and then connect power.
![Photo of the SPI toggle switch](/images/hassio/screenshots/toggle_spi.jpg)
1. Connect the ODROID-N2+ directly to your computer via the USB-OTG port located on the front of the board.
1. Connect a USB keyboard and a monitor (using HDMI) to your ODROID-N2+.
1. Plug in the power cable to power on the ODROID-N2+.
#### Enabling USB drive mode
The ODROID-N2+ will now boot into a terminal. Select `Exit to shell` from the menu.
After The ODROID-N2+ is set to SPI boot mode and powered on, it boots into a terminal. To enable the USB drive mode:
![Exit to shell](/images/hassio/screenshots/exit-shell.png)
1. Select `Exit to shell` from the menu.
Use the following command at the console to confirm the storage device node:
![Exit to shell](/images/hassio/screenshots/exit-shell.png)
```bash
ls /dev/mmc*
```
1. Use the following command at the console to confirm the storage device node:
Set the storage device on the ODROID-N2+ as a mass storage device using `ums` (USB Mass storage mode)
This will configure the ODROID-N2+ and OTG to act as a memory card reader.
```bash
ls /dev/mmc*
```
```bash
ums /dev/mmcblk0
```
1. Set the storage device on the ODROID-N2+ as a mass storage device using the `ums` command (USB Mass storage mode).
This will configure the ODROID-N2+ and OTG to act as a memory card reader:
```bash
ums /dev/mmcblk0
```
#### Flashing Home Assistant
@ -51,4 +58,4 @@ When the flash process is complete, disconnect the ODROID-N2+ from your PC and r
Once it is back in its case, connect your ODROID-N2+ to your network with an Ethernet cable and plug in power.
If your router supports mDNS, you will be able to reach your installation on `http://homeassistant.local:8123`. If your network doesnt support mDNS, youll have to use the IP address of your ODROID-N2+ instead of `homeassistant.local`. For example, `http://192.168.0.9:8123`. You should be able to find the IP address of your ODROID-N2+ from the admin interface of your router.
If your router supports mDNS, you will be able to reach your installation on `http://homeassistant.local:8123`. If your network doesnt support mDNS, youll have to use the IP address of your ODROID-N2+ instead of `homeassistant.local`. For example, `http://192.168.0.9:8123`. You should be able to find the IP address of your ODROID-N2+ from the admin interface of your router.