summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig181
1 files changed, 169 insertions, 12 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 9894ecb9aa..93e176c2d6 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -60,6 +60,14 @@ config CMD_RISCV_CPUINFO
help
Show info about RISC-V CPU
+config CMD_BOOTROM
+ bool "bootrom command"
+ depends on ARCH_IMX8M
+ help
+ Interact with bootrom on i.MX8M
+
+ bootrom [-la]
+
config CMD_DEVINFO
tristate
default y
@@ -115,6 +123,14 @@ config CMD_DRVINFO
help
List compiled-in device drivers and the devices they support.
+config CMD_EFI_HANDLE_DUMP
+ tristate
+ default y
+ depends on EFI
+ prompt "efi_handle_dump"
+ help
+ Dump information on EFI handles
+
config CMD_HELP
tristate
default y
@@ -193,12 +209,13 @@ config CMD_MEMINFO
config CMD_ARM_MMUINFO
bool "mmuinfo command"
- depends on CPU_V7
+ depends on CPU_V7 || CPU_V8
+ select MMUINFO
help
Say yes here to get a mmuinfo command to show some
- MMU and cache information using the cp15 registers.
+ MMU and cache information using the cp15/model-specific registers.
- Example:
+ Example for ARMv7:
PAR result for 0x00110000:
privileged read: 0x00110090
@@ -326,6 +343,15 @@ config CMD_SLICE
command can be used to print informations about slices and also to manipulate
them on the command line for debugging purposes.
+config CMD_FCB
+ depends on BAREBOX_UPDATE_IMX_NAND_FCB
+ tristate
+ prompt "fcb"
+ help
+ Several i.MX SoCs booting from NAND flash need a so called Flash Control Block
+ at the beginning of the NAND device. The fcb command prints information about
+ the FCB.
+
# end Information commands
endmenu
@@ -443,12 +469,15 @@ config CMD_GO
help
Start application at address or file
- Usage: go ADDR [ARG...]
+ Usage: go [-si] ADDR [ARG...]
Start application at ADDR passing ARG as arguments.
If addr does not start with a digit it is interpreted as a filename
in which case the file is memmapped and executed
+ Options:
+ -s pass all arguments as strings referenced by argc, argv arguments (default)
+ -i pass up to four integer arguments using default calling convention
config CMD_LOADB
depends on CONSOLE_FULL
@@ -634,6 +663,42 @@ config CMD_MOUNT
-o OPTIONS set file system OPTIONS
-v verbose
+config CMD_FINDMNT
+ tristate
+ prompt "findmnt"
+ help
+ Find a file system
+
+ Usage: findmnt [ DEVICE | -T FILE ]
+
+ findmnt will list all mounted filesystems or search
+ for a filesystem when given the mountpoint or the
+ source device as an argument
+
+ Options:
+ -T mount target file path
+
+config CMD_PARTED
+ tristate
+ depends on PARTITION
+ select PARTITION_MANIPULATION
+ prompt "parted"
+ help
+ parted - edit partition tables
+
+ Usage: parted <device> [command [options...]...]
+
+ parted is a partition manipulation program with a behaviour similar to
+ GNU Parted
+
+ commands:
+ print print partitions
+ mklabel <type> create a new partition table
+ rm <num> remove a partition
+ mkpart <name> <fstype> <start> <end> create a new partition
+ unit <unit> change display/input units
+ refresh refresh a partition table
+
config CMD_UBI
tristate
default y if MTD_UBI
@@ -947,6 +1012,22 @@ config CMD_LS
-C column format (opposite of long format)
-R list subdirectories recursively
+config CMD_STAT
+ tristate
+ prompt "stat"
+ select PRINTF_UUID
+ help
+ Display file status
+
+ Usage: stat [-LcC] [FILEDIR...]
+
+ Display status information about the specified files or directories.
+
+ Options:
+ -L follow symlinks
+ -c DIR lookup file relative to directory DIR
+ -C DIR change root to DIR before file lookup
+
config CMD_MD5SUM
tristate
select COMPILE_HASH
@@ -996,10 +1077,11 @@ config CMD_RM
help
Remove files
- Usage: rm [-r] FILES...
+ Usage: rm [-rf] FILES...
Options:
-r remove directories and their contents recursively
+ -f ignore nonexistent files
config CMD_RMDIR
tristate
@@ -1176,15 +1258,17 @@ config CMD_SLEEP
config CMD_TEST
tristate
depends on SHELL_HUSH
+ select FNMATCH
default y
prompt "test"
help
- Minimal test command like in /bin/sh
+ Minimal test command like in /bin/sh with support for bash-style
+ [[ expression ]] tests as well.
Usage: test [EXPR]
Options:
- !, =, !=, -eq, -ne, -ge, -gt, -le, -lt, -o, -a, -z, -n, -d, -e,
+ !, =, ==, !=, -eq, -ne, -ge, -gt, -le, -lt, -o, -a, -z, -n, -d, -e,
-f, -L; see 'man test' on your PC for more information.
config CMD_TRUE
@@ -1352,7 +1436,7 @@ config CMD_EDIT
depends on CONSOLE_FULL || CONSOLE_SIMPLE
prompt "edit"
help
- A small fill-screen editor.
+ A small full-screen editor.
Usage: edit FILE
@@ -1676,6 +1760,7 @@ config CMD_MEMSET
config CMD_MEMTEST
tristate
+ select MEMTEST
prompt "memtest"
help
The memtest command can test the registered barebox memory.
@@ -1896,6 +1981,18 @@ config CMD_I2C
-w use word (16 bit) wide access
-v verbose
+config CMD_PWM
+ bool
+ depends on PWM
+ prompt "PWM commands: pwm"
+ help
+ pwm - set or show pwm state
+
+ Usage: pwm [dDPfwisv]
+
+ Controls the pwm values such as period and duty cycle, or shows
+ the current values.
+
config CMD_LED
bool
depends on LED
@@ -1914,21 +2011,23 @@ config CMD_LED
config CMD_NAND
tristate
default y
- depends on NAND
+ depends on MTD_RAW_NAND
prompt "nand"
help
NAND flash handling
- Usage: nand [-adb] NANDDEV
+ Usage: nand [-adbgi] NANDDEV
Options:
-a register a bad block aware device ontop of a normal NAND device
-d deregister a bad block aware device
-b OFFS mark block at OFFSet as bad
+ -g OFFS mark block at OFFSet as good
+ -i info. Show information about bad blocks
config CMD_NANDTEST
tristate
- depends on NAND
+ depends on MTD_RAW_NAND
depends on PARTITION
prompt "nandtest"
help
@@ -1946,7 +2045,7 @@ config CMD_NANDTEST
config CMD_NAND_BITFLIP
tristate
- depends on NAND
+ depends on MTD_RAW_NAND
prompt "nand_bitflip"
help
nand_bitflip - Create bitflips on Nand pages. This command is useful for testing
@@ -2125,6 +2224,15 @@ config CMD_FIRMWARELOAD
Provides the "firmwareload" command which deals with devices which need
firmware to work. It is also used to upload firmware to FPGA devices.
+config CMD_KALLSYMS
+ depends on KALLSYMS
+ bool
+ prompt "kallsyms"
+ help
+ query kallsyms table
+
+ Usage: kallsyns [SYMBOL | ADDRESS]
+
config CMD_KEYSTORE
depends on CRYPTO_KEYSTORE
bool
@@ -2155,6 +2263,21 @@ config CMD_LSMOD
help
List loaded barebox modules.
+config CMD_OF_COMPATIBLE
+ tristate
+ select OFTREE
+ prompt "of_compatible"
+ help
+ Check DT node's compatible
+
+ Usage: [-fFnk] [COMPAT]
+
+ Options:
+ -f dtb work on dtb instead of internal devicetree
+ -F apply fixups on devicetree before compare
+ -n node node path or alias to compare its compatible (default is /)
+ -k compare $global.of.kernel.add_machine_compatible as well
+
config CMD_OF_DIFF
tristate
select OFTREE
@@ -2222,6 +2345,20 @@ config CMD_OF_DISPLAY_TIMINGS
-s path select display-timings and register oftree fixup
-f dtb work on dtb. Has no effect on -s option
+config CMD_OF_FIXUP
+ tristate
+ select OFTREE
+ depends on KALLSYMS
+ prompt "of_fixup"
+ help
+ List and enable/disable fixups
+
+ Usage: of_fixup [-de] [fixups...]
+
+ Options:
+ -d disable fixup
+ -e re-enable fixup
+
config CMD_OF_FIXUP_STATUS
tristate
select OFTREE
@@ -2275,6 +2412,19 @@ config CMD_TIME
Note: This command depends on COMMAND being interruptible,
otherwise the timer may overrun resulting in incorrect results
+config CMD_UPTIME
+ bool "uptime"
+ help
+ uptime - Tell how long barebox has been running
+
+ Usage: uptime [-n]
+
+ This command formats the number of elapsed nanoseconds
+ as measured with the current clocksource.
+
+ Options:
+ -n output elapsed time in nanoseconds
+
config CMD_STATE
tristate
depends on STATE
@@ -2306,6 +2456,13 @@ config CMD_UBSAN
This is a test command for the undefined behavior sanitizer.
It triggers various undefined behavior, and detect it.
+config CMD_STACKSMASH
+ tristate "stacksmash"
+ depends on STACKPROTECTOR || STACK_GUARD_PAGE || COMPILE_TEST
+ help
+ This commands trashes the stack to test stackprotector and
+ guard page. This command does not return.
+
# end Miscellaneous commands
endmenu