This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:vim4:development:boot-sequence [2022/07/08 05:54] frank |
products:sbc:vim4:development:boot-sequence [2022/08/22 03:33] hyphop old revision restored (2022/08/22 14:54) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== OS Boot Priority ====== | + | ~~tag> |
- | VIM4 is capable of booting from the following devices: | + | ====== |
- | * eMMC | + | VIM4 have possibility boot-up from : '' |
- | * TF Card | + | |
- | * SPI Flash | + | |
- | The OS image can be flased into the '' | + | <WRAP info > |
+ | We talking there only about 1st stage SoC boot, | ||
+ | next second stage OS loading possible for any other devices like USB storage's, | ||
+ | NVMe etc ... and depends from '' | ||
+ | </ | ||
- | The default | + | ===== Default |
- | - TF Card | + | - TF-Card <wrap important> |
- eMMC | - eMMC | ||
- | - SPI Flash | + | - SPI-Flash |
- | You can also swap the boot priority of the '' | + | ===== U-Boot shell usage ===== |
+ | You can change | ||
- | * Setting the priority | + | Change boot priority |
```shell | ```shell | ||
Line 23: | Line 26: | ||
``` | ``` | ||
- | Then the boot priority | + | Change |
- | + | ||
- | - TF Card | + | |
- | | + | |
- | - SPI Flash | + | |
- | + | ||
- | * Setting the priority of '' | + | |
```shell | ```shell | ||
Line 35: | Line 32: | ||
``` | ``` | ||
- | Then the boot priority will become: | + | <WRAP important > |
+ | for apply setting for next boot, need reboot device by '' | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== 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 |