This is an old revision of the document!
VIM4 booting in operating system in eMMC
, TF Card
, or SPI-Flash
In this page, you will know that Khadas SBC booting-up sequence for other medium, such as USB storage,NVMe,ect, depends on U-Boot
configurations.
We can swap the TF-card for the eMMC
or SPI-Flash
in U-Boot shell via the KBI(Khadas Boot Instructions)
Change booting priority to: TF-Card ⇒ eMMC ⇒ SPI-Flash
kvim4# kbi bootmode w emmc
Change booting priority to: TF-Card ⇒ SPI-Flash ⇒ eMMC
kvim4# kbi bootmode w spi
for apply setting for next boot, need reboot device by RESET
button or re-plug power cable or power-off device or reboot via mcu
i2cset -f -y 6 0x18 0x20 1 # setup default eMMC boot-mode
i2cset -f -y 6 0x18 0x20 0 # setup SPI-flash boot-mode
i2cset -f -y 6 0x18 0x91 1
Hold FUNCTION
and short press RESET
to force boot OOWOW service from SPI-flash, and skip other boot sources
TF-card slot must be empty