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/13 05:58] nick |
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 |
- | * eMMC | + | <WRAP info > |
- | * TF Card | + | This page mainly introduces about the first-stage SoC boot. The second-stage OS flashing is possible for USB storage and NVMe, which depends on '' |
- | * SPI Flash | + | </ |
- | The OS image can be flased into the '' | + | ===== Default boot priority ===== |
- | The default boot priority is: | + | |
- | + | ||
- | | + | |
- eMMC | - eMMC | ||
- | - SPI Flash | + | - SPI-Flash |
- | You can also swap the boot priority of the '' | + | ===== U-boot shell usage ===== |
+ | We can swap the boot priority of the '' | ||
- | * Setting the priority | + | Change boot priority |
```shell | ```shell | ||
Line 23: | Line 24: | ||
``` | ``` | ||
- | Then the boot priority | + | Change |
- | + | ||
- | | + | |
- | | + | |
- | - SPI Flash | + | |
- | + | ||
- | * Setting the priority of '' | + | |
```shell | ```shell | ||
Line 35: | Line 30: | ||
``` | ``` | ||
- | Then the boot priority | + | <WRAP important > |
+ | To make the booting | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Linux command-line usage ===== | ||
+ | |||
+ | ```sh | ||
+ | i2cset -f -y 6 0x18 0x20 1 # setup default eMMC boot-mode | ||
+ | ``` | ||
+ | |||
+ | ```sh | ||
+ | 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> | ||
- | - TF Card | ||
- | - SPI Flash | ||
- | - eMMC |