Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim-5:development:boot-sequence

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
products:sbc:vim-5:development:boot-sequence [2026/09/15 02:51]
127.0.0.1 external edit
products:sbc:vim-5:development:boot-sequence [2026/09/15 03:18] (current)
nick
Line 1: Line 1:
-~~tag>VIM4 boot-sequence MCU~~+~~tag>VIM-5 boot-sequence MCU~~
  
-====== VIM4 OS Boot Priority ======+====== VIM 5 OS Boot Priority ======
  
-VIM4 have possibility boot-up from : ''eMMC'', ''TF Card'', ''SPI-Flash''+VIM 5 have possibility boot-up from : ''eMMC'', ''TF Card'', ''SPI-Flash''
  
 <WRAP info > <WRAP info >
Line 13: Line 13:
 ===== Default boot priority ===== ===== Default boot priority =====
  
-  - TF-Card <wrap important>always highest priority</wrap> 
   - eMMC   - eMMC
-  - SPI-Flash+  - SPI-Flash - **MUST press FUNC to boot from SPI Flash in default boot mode** 
 +  - TF Card - **MUST press quick press FUNC 3 times to boot from TF Card in default boot mode**
  
 ===== U-Boot shell usage ===== ===== U-Boot shell usage =====
-You can change the boot priority of the ''eMMC'' and ''SPI-Flash'' via the [[products:sbc:vim4:development:kbi|KBI(Khadas Boot Instructions)]] from u-boot shell+You can change the boot priority of the ''eMMC'' and ''SPI-Flash'' via the [[products:sbc:vim-5:development:kbi|KBI(Khadas Boot Instructions)]] from u-boot shell
  
-Change boot priority to: ''TF-Card'' => ''eMMC'' => ''SPI-Flash''+Change boot priority to: ''eMMC'' => ''SPI-Flash''
  
 ```shell ```shell
-kvim4# kbi bootmode w emmc+kvim-5# kbi bootmode w emmc
 ``` ```
  
-Change boot priority to: ''TF-Card'' => ''SPI-Flash'' => ''eMMC''+Change boot priority to: ''SPI-Flash'' => ''eMMC''
  
 ```shell ```shell
-kvim4# kbi bootmode w spi+kvim-5# kbi bootmode w spi
 ``` ```
  
Line 39: Line 39:
 ===== Linux command-line usage ===== ===== Linux command-line usage =====
  
-```sh +```shell 
-i2cset -f -y 0x18 0x20 1 # setup default eMMC boot-mode+i2cset -f -y 0x18 0x20 1 # setup default eMMC boot-mode
 ``` ```
  
-```sh +```shell 
-i2cset -f -y 0x18 0x20 0 # setup SPI-flash boot-mode+i2cset -f -y 0x18 0x20 0 # setup SPI-flash boot-mode
 ``` ```
  
 ==== Hot apply setting changes via mcu reboot ==== ==== Hot apply setting changes via mcu reboot ====
  
-```sh +```shell 
-i2cset -f -y 0x18 0x91 1+i2cset -f -y 0x18 0x91 1
 ``` ```
- 
  
 ===== OOWOW boot special shortcut ===== ===== OOWOW boot special shortcut =====
Last modified: 2026/09/15 02:51 by 127.0.0.1