This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:common:development:kbi [2022/08/18 02:11] hyphop [Get help] |
products:sbc:common:development:kbi [2024/12/27 04:30] (current) hyphop [Read for reference] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== KBI - Khadas Bootloader Instructions ====== | ====== KBI - Khadas Bootloader Instructions ====== | ||
- | |||
- | ===== Introduction ===== | ||
This page introduces about KBI. You will learn how to manage the status of Khadas SBC through KBI. | This page introduces about KBI. You will learn how to manage the status of Khadas SBC through KBI. | ||
Line 16: | Line 14: | ||
</ | </ | ||
- | ==== Get help ==== | + | ===== Uboot usage ===== |
To get started, make sure you have booted into U-Boot: | To get started, make sure you have booted into U-Boot: | ||
Line 26: | Line 24: | ||
kvim2# _ | kvim2# _ | ||
``` | ``` | ||
+ | |||
+ | ==== Help information ===== | ||
You can get help information by typing '' | You can get help information by typing '' | ||
Line 53: | Line 53: | ||
``` | ``` | ||
- | ==== KBI Command ==== | + | ==== MCU Verison |
- | + | ||
- | === MCU Verison === | + | |
Get the MCU firmware version: | Get the MCU firmware version: | ||
Line 64: | Line 62: | ||
``` | ``` | ||
- | === Initialize === | + | ==== Initialize |
Initialize the KBI: | Initialize the KBI: | ||
Line 72: | Line 70: | ||
``` | ``` | ||
- | === Serial number === | + | ==== Serial number |
Get the device serial number: | Get the device serial number: | ||
Line 81: | Line 79: | ||
``` | ``` | ||
- | === ADC === | + | ==== ADC ==== |
Get ADC value: | Get ADC value: | ||
Line 91: | Line 89: | ||
The ADC value can distinguish between hardware modules. | The ADC value can distinguish between hardware modules. | ||
- | === Power Off === | + | ==== Power Off ==== |
Power off the device: | Power off the device: | ||
Line 98: | Line 96: | ||
``` | ``` | ||
- | === MAC Address === | + | ==== MAC Address |
Get the Ethernet MAC address: | Get the Ethernet MAC address: | ||
Line 106: | Line 104: | ||
``` | ``` | ||
- | === LED Control === | + | ==== LED Control |
Setup the blue LED: | Setup the blue LED: | ||
Line 148: | Line 146: | ||
``` | ``` | ||
- | === Boot Mode === | + | ==== Boot Mode ==== |
You can flash the images to SPI or eMMC storage in VIM2, and setup one of them as the default boot media by KBI. | You can flash the images to SPI or eMMC storage in VIM2, and setup one of them as the default boot media by KBI. | ||
Line 171: | Line 169: | ||
``` | ``` | ||
- | === Boot Trigger Events === | + | ==== Boot Trigger Events |
VIM2 supports different events for triggering boot-up: | VIM2 supports different events for triggering boot-up: | ||
Line 197: | Line 195: | ||
``` | ``` | ||
- | ===== Read for reference ===== | + | ====== Read for reference |
- | * [[https://dl.khadas.com/Hardware/Edge/MCU/Edge-V_MCU_REG_EN.pdf|Edge-V MCU Register Map]] | + | * [[dl> |
- | * [[https://dl.khadas.com/Hardware/VIM2/MCU/VIM2_MCU_REG_EN.pdf|VIM2 MCU Register Map]] | + | * [[dl> |
- | * [[https://dl.khadas.com/Hardware/VIM3/MCU/VIM3_MCU_REG_EN.pdf|VIM3 MCU Register Map]] | + | * [[dl> |