This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
products:sbc:vim4:development:boot-sequence [2022/07/26 02:46] hyphop [U-boot shell usage] |
products:sbc:vim4:development:boot-sequence [2022/08/21 23:58] ruby [VIM4 OS Boot Priority] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~tag> | ||
+ | |||
====== VIM4 OS Boot Priority ====== | ====== VIM4 OS Boot Priority ====== | ||
- | VIM4 is capable of booting | + | VIM4 is capable of boot-up |
<WRAP info > | <WRAP info > | ||
- | We talking there only about 1st stage SOC boot, next second stage os loading | + | This page mainly introduces |
</ | </ | ||
- | |||
- | /* not sure its needed ? | ||
- | The OS image can be flased into the '' | ||
- | */ | ||
===== Default boot priority ===== | ===== Default boot priority ===== | ||
- | - TF-Card <wrap important> | + | - TF-Card <wrap important> |
- eMMC | - eMMC | ||
- SPI-Flash | - SPI-Flash | ||
===== U-boot shell usage ===== | ===== U-boot shell usage ===== | ||
- | We can swap the boot priority of the '' | + | We can swap the boot priority of the '' |
Change boot priority to: '' | Change boot priority to: '' | ||
Line 31: | Line 29: | ||
kvim4# kbi bootmode w spi | kvim4# kbi bootmode w spi | ||
``` | ``` | ||
+ | |||
+ | <WRAP important > | ||
+ | To make the booting priority swap take effect, you can [[# | ||
+ | </ | ||
+ | |||
===== Linux command-line usage ===== | ===== Linux command-line usage ===== | ||
```sh | ```sh | ||
- | i2cset -f -y 6 0x18 0x20 1 | + | i2cset -f -y 6 0x18 0x20 1 # setup default eMMC boot-mode |
``` | ``` | ||
```sh | ```sh | ||
- | i2cset -f -y 6 0x18 0x20 0 | + | i2cset -f -y 6 0x18 0x20 0 # setup SPI-flash boot-mode |
``` | ``` | ||
+ | |||
+ | ==== Hot apply setting changes via mcu reboot ==== | ||
+ | |||
+ | ```sh | ||
+ | i2cset -f -y 6 0x18 0x91 1 | ||
+ | ``` | ||
+ | |||
+ | |||
+ | ===== OOWOW boot special shortcut ===== | ||
+ | |||
+ | Hold '' | ||
+ | |||
+ | <WRAP important> | ||
+ | |||