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/26 02:29] hyphop [VIM4 OS Boot Priority] |
products:sbc:vim4:development:boot-sequence [2022/08/22 03:33] (current) hyphop old revision restored (2022/08/22 14:54) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ~~tag> | ||
| + | |||
| ====== VIM4 OS Boot Priority ====== | ====== VIM4 OS Boot Priority ====== | ||
| - | VIM4 is capable of booting | + | VIM4 have possibility boot-up |
| <WRAP info > | <WRAP info > | ||
| - | We talking there only about 1st stage SOC boot, next second stage os loading possible for any other diveices | + | We talking there only about 1st stage SoC boot, |
| + | next second stage OS loading possible for any other devices | ||
| + | NVMe etc ... and depends from '' | ||
| </ | </ | ||
| - | |||
| - | /* not sure its needed ? | ||
| - | The OS image can be flased into the '' | ||
| - | */ | ||
| ===== Default boot priority ===== | ===== Default boot priority ===== | ||
| - | - TF Card | + | - TF-Card <wrap important> |
| - eMMC | - eMMC | ||
| - | - SPI Flash | + | - SPI-Flash |
| + | ===== U-Boot shell usage ===== | ||
| + | You can change the boot priority of the '' | ||
| + | |||
| + | Change boot priority to: '' | ||
| + | |||
| + | ```shell | ||
| + | kvim4# kbi bootmode w emmc | ||
| + | ``` | ||
| + | |||
| + | Change boot priority to: '' | ||
| + | |||
| + | ```shell | ||
| + | kvim4# kbi bootmode w spi | ||
| + | ``` | ||
| <WRAP important > | <WRAP important > | ||
| - | '' | + | for apply setting for next boot, need reboot device by '' |
| </ | </ | ||
| - | You can also swap the boot priority of the '' | + | ===== Linux command-line usage ===== |
| - | * Setting the priority of '' | + | ```sh |
| + | i2cset -f -y 6 0x18 0x20 1 # setup default | ||
| + | ``` | ||
| - | ```shell | + | ```sh |
| - | kvim4# kbi bootmode w emmc | + | i2cset -f -y 6 0x18 0x20 0 # setup SPI-flash boot-mode |
| ``` | ``` | ||
| - | Then the boot priority will become: | + | ==== Hot apply setting changes via mcu reboot ==== |
| - | - TF Card | + | ```sh |
| - | - eMMC | + | i2cset |
| - | - SPI Flash | + | ``` |
| - | * Setting the priority of '' | ||
| - | ```shell | + | ===== OOWOW boot special shortcut ===== |
| - | kvim4# kbi bootmode w spi | + | |
| - | ``` | + | Hold '' |
| + | |||
| + | <WRAP important> | ||
| - | Then the boot priority will become: | ||
| - | - TF Card | ||
| - | - SPI Flash | ||
| - | - eMMC | ||