1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
| kvim3#kbi kbi - Khadas Bootloader Instructions sub-system
Usage: kbi [function] [mode] [write|read] <value>
kbi version - read version information kbi usid - read usid information kbi powerstate - read power on state kbi poweroff - power off device kbi ethmac - read ethernet mac address kbi hwver - read board hardware version
kbi led [systemoff|systemon] w <off|on|breathe|heartbeat> - set blue led mode kbi led [systemoff|systemon] r - read blue led mode
kbi forcereset [wol|gpio] w <0|1> - disable/enable force-reset kbi forcereset [wol|gpio] r - read state of force-reset [notice: the wol|gpio boot trigger must be enabled if you want to enable force-reset]
kbi bootmode w <emmc|spi> - set bootmode to emmc or spi kbi bootmode r - read current bootmode
kbi portmode w <0|1> - set port as usb3.0 or pcie kbi portmode r - read current port mode kbi ext_ethernet w <0|1> - set ethernet from internal or m2x kbi ext_ethernet r - read current ethernet mode kbi tststatus r - read TST status kbi tststatus clear - clear TST status
kbi forcebootsd kbi wolreset
kbi ircode [customer1|customer2] w <ircode> kbi ircode [customer1|customer2] r kbi trigger [wol|rtc|ir|dcin|key|gpio] w <0|1> - disable/enable boot trigger kbi trigger [wol|rtc|ir|dcin|key|gpio] r - read mode of a boot trigger kvim3#kbi ext_ethernet w 1 [reg_31] 0x1d9a [reg_16] 0x40 [reg_17] 0x7fbf [reg_19] 0x0 [reg_31] 0x0 [reg_31] 0xd40 [reg_22] 0x0 [reg_31] 0x0 set m2x ethernet kvim3#kbi ext_ethernet r use m2x ethernet kvim3#
|