Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 17 additions & 14 deletions docs/interfaces/hmm/leds.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ This platform has four red, green and yellow light-emitting diodes (LEDs).

LEDs are used to indicate [system flashing](../../system/update.md).

LED 1 will be yellow when entering u-boot and green when leaving. The same LED is then set up with a heartbeat trigger from device tree and blink in green light to indicate that the system is running.
LED 1 will be yellow when entering u-boot and green when leaving. The same LED is then set up with a heartbeat trigger
from device tree and blink in green light to indicate that the system is running.
After that point, any application running on the device may take over and change the behavior of the LEDs.
If your product comes with customer specific software, see the dedicated software manual companion for the specific LED matrix.

### The following LEDs are available

Expand All @@ -28,7 +31,7 @@ LED 1 will be yellow when entering u-boot and green when leaving. The same LED i


### Default front
Overlay illustration (HM020-003711, HM020-010411)
Overlay illustration (HM020-\*\*\*W11, HM020-\*\*\*W21)

- 🟢 D
- 🟢 C
Expand All @@ -37,15 +40,15 @@ Overlay illustration (HM020-003711, HM020-010411)

### System built in modes

| Stage | LED 4 (Top) | LED 3 | LED 2 | LED 1 (Bottom) |
|-----------------------------------|------------|-------|-------|---------------------|
| **Power On** | 🟡 | 🟡 | 🟡 | 🟡 |
| **Booting U-Boot** | ⚫ | ⚫ | ⚫ | 🟡 |
| **Bootscript(load bootfs)** | ⚫ | ⚫ | ⚫ | ⚫ |
| **Flashing Mode(initial USB*)** | ⚫ | ⚫ | ⚫ | ⚫ |
| **File Load OK** | ⚫ | 🟢 | ⚫ | ⚫ |
| **File Load Fail(USB*)** | ⚫ | 🔴 | ⚫ | ⚫ |
| **Flash Success** | 🟢 | 🟢 | ⚫ | ⚫ |
| **Booting Linux** | | | ⚫ | 🟢 |
| **Linux Running** | ⚫ | ⚫ | ⚫ | 🟢/⚫(blinking) |
- *USB= Flashing with USB memory stick
| Stage | LED D (Top) | LED C | LED B | LED A (Bottom) |
|-----------------------------------|-------------|-------|-------|--------------------|
| **Power On** | 🟡 | 🟡 | 🟡 | 🟡 |
| **Booting U-Boot** | ⚫ | ⚫ | ⚫ | 🟡 |
| **Bootscript(load bootfs)** | ⚫ | ⚫ | ⚫ | ⚫ |
| **Flashing Mode(initial USB*)** | ⚫ | ⚫ | ⚫ | ⚫ |
| **File Load OK** | ⚫ | 🟢 | ⚫ | ⚫ |
| **File Load Fail(USB*)** | ⚫ | 🔴 | ⚫ | ⚫ |
| **Flash Success** | 🟢 | 🟢 | ⚫ | ⚫ |
| **Booting Linux** | | | ⚫ | 🟢 |
| **Linux Running** | ⚫ | ⚫ | ⚫ | 🟢/⚫(blinking) |
- *USB= Flashing with USB flash drive
12 changes: 6 additions & 6 deletions docs/system/hmm/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ tags:
### Prepare upgrade

* Rename the file `***-image-verdin-am62-hmm.wic.gz` to `hmm-image.wic.gz`
* Copy `hmm_boot.scr` and `hmm-image.wic.gz` to a USB memory.
* Copy `hmm_boot.scr` and `hmm-image.wic.gz` to a USB flash drive.
* It is also possible to update by copying `hmm-image.wic.gz` to `/boot` or `/` on the Linux file system

### If the USB method is used

* Plug the USB memory into the HMM
* Press and release the the `RESET` button
* You can add an [autoboot.sh](../update.md#usb-method-autobootsh) script to the USB memory on the first boot after flash to perform post installation.
* Plug the USB drive into the HMM
* Press and release the the `RESET` button
* You can add an [autoboot.sh](../update.md#usb-method-autobootsh) script to the USB drive on the first boot after flash to perform post installation.

### If /boot method is used

Expand All @@ -30,7 +30,7 @@ tags:

* The unit shall now set LED 4 (D) to green if it was successful in writing the wic.gz file or red for 10 seconds before reset.

***NOTE*** Detailed LED behavior can be found [here](../interfaces/hmm/leds.md
***NOTE*** Detailed LED behavior can be found [here](../interfaces/hmm/leds.md).



Expand All @@ -42,4 +42,4 @@ ssh dut reboot
```
### Update u-boot and spl

TODO description for a /opt/hm/boot_flash.sh script.
TODO description for a /opt/hm/boot_flash.sh script.