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/06/30 03:56] hyphop |
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: | ||
| - | ====== Boot Sequence | + | ~~tag> |
| + | |||
| + | ====== | ||
| + | |||
| + | VIM4 have possibility boot-up from : '' | ||
| + | |||
| + | <WRAP info > | ||
| + | We talking there only about 1st stage SoC boot, | ||
| + | next second stage OS loading possible for any other devices like USB storage' | ||
| + | NVMe etc ... and depends from '' | ||
| + | </ | ||
| + | |||
| + | ===== Default boot priority ===== | ||
| + | |||
| + | - TF-Card <wrap important> | ||
| + | - eMMC | ||
| + | - 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 > | ||
| + | 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> | ||