This is an old revision of the document!
VIM1S have advanced and flexible booting sequence…
MCU ⇒ BROM ⇒ U-Boot ⇒ OS target
Next information actual for MCU ver: 0x0005
OOWOW boot makes a red LED indication on the first boot seconds, its looks like a short RED blink about 1 sec in success,
Red blink or permanent red LED means OOWOW failed
This indication common for VIM4, Edge2 and VIM1S
# red led hb mode i2c mw 0x18 0x89 3
# red led off i2c mw 0x18 0x89 0
# red led on mode i2c mw 0x18 0x89 1
dev info
#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
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
Exclusive special service mode: activated by hardware buttons or by software request
Ignore all boot sources like: USB
removable stores , eMMC
internal storage …
Boot fail service mode activated automatically as rescue mode for:
Try at 1st boot from sources all sources: USB
removable stores , eMMC
internal storage …
~# bootmode spi ~# bootmode mmc [i] /opt/bootmode spi -> mmc(sd) ~# bootmode mmc ~# bootmode spi [i] /opt/bootmode mmc -> spi
Setup, check, or clean next OOWOW bootup…
~# mcu_oowow_mode set 1 [i] set with 1 ~# mcu_oowow_mode clean [i] set with 0 ~# mcu_oowow_mode && echo activated 0x01 activated ~# mcu_oowow_mode clean [i] set with 0 ~# mcu_oowow_mode || echo disabled disabled ~# i2cset -f -y 1 0x18 0x92 1 ~# i2cget -f -y 1 0x18 0x92 0x01
Forced hardware reboot
~# mcu_reboot ~# i2cset -f -y 1 0x18 0x91 2
Current u-boot can start OS from USB
⇒ SD
⇒ eMMC
⇒ …
kvim1s# printenv boot_targets
boot_targets=wow usb0 mmc0 mmc1 storeboot rescue fail pxe dhcp
default eMMC u-boot log for Ubuntu images
kvim1s# printenv boot_targets
boot_targets=usb0 mmc0 mmc1 storeboot rescue fail pxe dhcp
1STBLOB 0x00000200 0x0002a000 BL2E 0x0002a200 0x00013000 BL2X 0x0003d200 0x00011000 DDRFIP 0x0004e200 0x00040000 DEVFIP 0x0008e200 0x00300000
1STBLOB 0x00000000 0x0002a000 BL2E 0x00054000 0x00013000 BL2X 0x0007a000 0x00011000 DDRFIP 0x0009c000 0x00040000 DEVFIP 0x0011c000 0x00300000