Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim1s:hardware:vim1s-boot-flow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
products:sbc:vim1s:hardware:vim1s-boot-flow [2023/03/07 01:41]
hyphop [OOWOW mode]
products:sbc:vim1s:hardware:vim1s-boot-flow [2023/06/05 07:56]
hyphop [OOWOW boot led indication]
Line 21: Line 21:
  
 More detail: [[./interfaces#hardware-buttons]] More detail: [[./interfaces#hardware-buttons]]
 +
 +
 +====== OOWOW boot led indication ======
 +
 +OOWOW boot makes a red LED indication on the first boot seconds, it's looks like a short RED blinking 1-3 sec in success,
 +
 +<WRAP important >
 +Red blink or permanent red LED means OOWOW failed
 +</WRAP>
 +
 +<WRAP tip >
 +This indication common for VIM4, Edge2 and VIM1S
 +</WRAP>
 +
 +
 +```shell Preparing for oowow
 +# red led hb mode
 +i2c mw 0x18 0x89 3
 +```
 +
 +```shell try to start
 +# red led off
 +i2c mw 0x18 0x89 0
 +```
 +
 +```shell oowow fail 
 +# red led on mode
 +i2c mw 0x18 0x89 1
 +```
 +
 +=== dev-info ===
 +
 +WIP: special pre-boot led indication
 +
 +```shell ~/khadas/vim1s/fenix/build/u-boot/board/khadas/configs$ grep -m1 PREBOOT kvim1s.h -A12
 +#define CONFIG_PREBOOT  \
 + "run mcu_fan; " \
 + "run mcu_oowow_mode_chk; " \
 + "run led_mcu_on; " \
 + "run bcb_cmd; " \
 + "run upgrade_check;" \
 + "run init_display;" \
 + "run storeargs;" \
 + "run led_mcu_off; " \
 + "run upgrade_key;" \
 + "run switch_bootmode; " \
 + "run mcu_fan_off; "
 +#else
 +```
 +
 +```shell uboot led
 +kvim1s# printenv led_mcu_on
 +led_mcu_on=kbi led systemon w on
 +kvim1s# printenv led_mcu_off
 +led_mcu_off=kbi led systemon w off
 +```
  
  
 ====== OOWOW mode  ====== ====== OOWOW mode  ======
  
-Exclusive special service mode:+Exclusive special service mode: activated [[#hardware-buttons|by hardware buttons]] or [[#set-oowow-mode|by software request]] 
  
 <WRAP important > <WRAP important >
Last modified: 2023/06/05 21:45 by hyphop