2007-07-05 16:02:14 +00:00
|
|
|
config REGINFO
|
|
|
|
bool
|
|
|
|
|
2011-04-01 13:16:27 +00:00
|
|
|
config COMMAND_SUPPORT
|
|
|
|
bool
|
|
|
|
depends on !SHELL_NONE
|
|
|
|
default y
|
|
|
|
|
|
|
|
if COMMAND_SUPPORT
|
|
|
|
|
|
|
|
menu "commands "
|
2007-07-05 16:02:13 +00:00
|
|
|
|
|
|
|
menu "scripting "
|
|
|
|
|
|
|
|
config CMD_EDIT
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:13 +00:00
|
|
|
prompt "edit"
|
|
|
|
|
|
|
|
config CMD_EXEC
|
2007-09-23 23:40:06 +00:00
|
|
|
depends on !SHELL_HUSH
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:13 +00:00
|
|
|
prompt "exec"
|
|
|
|
|
|
|
|
config CMD_SLEEP
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:13 +00:00
|
|
|
prompt "sleep"
|
|
|
|
|
2007-11-09 22:19:54 +00:00
|
|
|
config CMD_SAVEENV
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-11-09 22:19:54 +00:00
|
|
|
select ENV_HANDLING
|
|
|
|
prompt "saveenv"
|
|
|
|
|
|
|
|
config CMD_LOADENV
|
|
|
|
tristate
|
|
|
|
select ENV_HANDLING
|
|
|
|
prompt "loadenv"
|
2007-07-05 16:02:13 +00:00
|
|
|
|
2007-11-09 21:09:25 +00:00
|
|
|
config CMD_EXPORT
|
2011-04-01 13:06:49 +00:00
|
|
|
depends on ENVIRONMENT_VARIABLES
|
2007-11-09 21:09:25 +00:00
|
|
|
tristate
|
|
|
|
prompt "export"
|
|
|
|
|
|
|
|
config CMD_PRINTENV
|
|
|
|
tristate
|
2011-04-01 13:06:49 +00:00
|
|
|
depends on ENVIRONMENT_VARIABLES
|
2007-11-09 21:09:25 +00:00
|
|
|
prompt "printenv"
|
|
|
|
|
2008-08-13 13:54:53 +00:00
|
|
|
config CMD_READLINE
|
|
|
|
tristate
|
|
|
|
prompt "readline"
|
|
|
|
|
|
|
|
config CMD_TRUE
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:13 +00:00
|
|
|
default y
|
2008-08-13 13:54:53 +00:00
|
|
|
prompt "true"
|
2007-07-05 16:02:13 +00:00
|
|
|
|
2008-08-13 13:54:53 +00:00
|
|
|
config CMD_FALSE
|
2007-10-19 09:28:58 +00:00
|
|
|
tristate
|
2008-08-13 13:54:53 +00:00
|
|
|
default y
|
|
|
|
prompt "false"
|
2007-10-19 09:28:58 +00:00
|
|
|
|
2010-08-20 08:22:47 +00:00
|
|
|
config CMD_MENU
|
|
|
|
tristate
|
|
|
|
depends on MENU
|
|
|
|
prompt "menu"
|
|
|
|
|
|
|
|
config CMD_MENU_MANAGEMENT
|
|
|
|
tristate
|
|
|
|
depends on CMD_MENU
|
|
|
|
prompt "menu scripts management"
|
|
|
|
|
2010-09-07 19:15:09 +00:00
|
|
|
config CMD_LOGIN
|
2010-09-08 15:21:52 +00:00
|
|
|
tristate
|
|
|
|
select PASSWORD
|
2010-09-07 19:15:09 +00:00
|
|
|
prompt "login"
|
|
|
|
|
|
|
|
config CMD_PASSWD
|
|
|
|
tristate
|
|
|
|
select CMD_LOGIN
|
2010-09-08 15:21:52 +00:00
|
|
|
prompt "passwd"
|
|
|
|
|
2010-09-07 19:15:09 +00:00
|
|
|
if CMD_LOGIN || CMD_PASSWD
|
2010-09-08 15:21:52 +00:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "passwd mode"
|
|
|
|
|
|
|
|
config PASSWD_MODE_HIDE
|
|
|
|
bool "Hide"
|
|
|
|
|
|
|
|
config PASSWD_MODE_STAR
|
|
|
|
bool "Star"
|
|
|
|
|
|
|
|
config PASSWD_MODE_CLEAR
|
|
|
|
bool "Clear"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2007-07-05 16:02:13 +00:00
|
|
|
endmenu
|
|
|
|
|
2007-07-05 16:02:14 +00:00
|
|
|
menu "file commands "
|
|
|
|
|
|
|
|
config CMD_LS
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:18 +00:00
|
|
|
default y
|
2007-07-05 16:02:14 +00:00
|
|
|
prompt "ls"
|
|
|
|
|
|
|
|
config CMD_RM
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:18 +00:00
|
|
|
default y
|
2007-07-05 16:02:14 +00:00
|
|
|
prompt "rm"
|
|
|
|
|
|
|
|
config CMD_CAT
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:18 +00:00
|
|
|
default y
|
2007-07-05 16:02:14 +00:00
|
|
|
prompt "cat"
|
|
|
|
|
|
|
|
config CMD_MKDIR
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:18 +00:00
|
|
|
default y
|
2007-07-05 16:02:14 +00:00
|
|
|
prompt "mkdir"
|
|
|
|
|
|
|
|
config CMD_RMDIR
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:18 +00:00
|
|
|
default y
|
2007-07-05 16:02:14 +00:00
|
|
|
prompt "rmdir"
|
|
|
|
|
|
|
|
config CMD_CP
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:18 +00:00
|
|
|
default y
|
2007-07-05 16:02:14 +00:00
|
|
|
prompt "cp"
|
|
|
|
|
|
|
|
config CMD_PWD
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:18 +00:00
|
|
|
default y
|
2007-07-05 16:02:14 +00:00
|
|
|
prompt "pwd"
|
|
|
|
|
|
|
|
config CMD_CD
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:18 +00:00
|
|
|
default y
|
2007-07-05 16:02:14 +00:00
|
|
|
prompt "cd"
|
|
|
|
|
|
|
|
config CMD_MOUNT
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:18 +00:00
|
|
|
default y
|
2007-07-05 16:02:14 +00:00
|
|
|
prompt "mount"
|
|
|
|
|
|
|
|
config CMD_UMOUNT
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:18 +00:00
|
|
|
default y
|
2007-07-05 16:02:14 +00:00
|
|
|
prompt "umount"
|
|
|
|
|
2011-04-01 12:25:09 +00:00
|
|
|
config CMD_NAND
|
|
|
|
tristate
|
|
|
|
default y
|
|
|
|
depends on NAND
|
|
|
|
prompt "nand"
|
|
|
|
|
2007-07-05 16:02:14 +00:00
|
|
|
endmenu
|
2007-07-05 16:02:13 +00:00
|
|
|
|
|
|
|
menu "console "
|
|
|
|
|
|
|
|
config CMD_CLEAR
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:18 +00:00
|
|
|
default y
|
2007-07-05 16:02:13 +00:00
|
|
|
prompt "clear"
|
|
|
|
|
|
|
|
config CMD_ECHO
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:18 +00:00
|
|
|
default y
|
2007-07-05 16:02:13 +00:00
|
|
|
prompt "echo"
|
|
|
|
|
2010-03-23 14:35:39 +00:00
|
|
|
config CMD_ECHO_E
|
|
|
|
bool
|
|
|
|
depends on CMD_ECHO
|
|
|
|
select PROCESS_ESCAPE_SEQUENCE
|
|
|
|
prompt "support -e option to echo"
|
|
|
|
|
2007-07-05 16:02:13 +00:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "memory "
|
|
|
|
|
|
|
|
config CMD_LOADB
|
|
|
|
select CRC16
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:13 +00:00
|
|
|
prompt "loadb"
|
|
|
|
|
2008-06-05 17:45:20 +00:00
|
|
|
config CMD_LOADY
|
|
|
|
select CRC16
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
bool
|
|
|
|
prompt "loady"
|
|
|
|
|
2007-07-05 16:02:13 +00:00
|
|
|
config CMD_LOADS
|
2007-07-05 16:02:13 +00:00
|
|
|
depends on BROKEN
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:13 +00:00
|
|
|
prompt "loads"
|
|
|
|
|
|
|
|
config CMD_SAVES
|
2007-07-05 16:02:13 +00:00
|
|
|
depends on BROKEN
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:13 +00:00
|
|
|
depends on CMD_LOADS
|
|
|
|
prompt "saves"
|
|
|
|
|
|
|
|
config CMD_MEMINFO
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:13 +00:00
|
|
|
prompt "meminfo"
|
|
|
|
|
2007-11-27 19:35:04 +00:00
|
|
|
config CMD_MEMORY
|
2007-07-05 16:02:13 +00:00
|
|
|
bool
|
2007-07-05 16:02:18 +00:00
|
|
|
default y
|
2007-11-27 19:35:04 +00:00
|
|
|
prompt "md and mw"
|
2007-07-05 16:02:16 +00:00
|
|
|
|
|
|
|
config CMD_CRC
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:16 +00:00
|
|
|
select CRC32
|
|
|
|
prompt "crc"
|
2007-07-05 16:02:13 +00:00
|
|
|
|
2010-10-11 14:34:40 +00:00
|
|
|
config CMD_CRC_CMP
|
|
|
|
tristate
|
|
|
|
depends on CMD_CRC
|
|
|
|
prompt "compare 2 files crc"
|
|
|
|
|
2007-07-05 16:02:13 +00:00
|
|
|
config CMD_MTEST
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:13 +00:00
|
|
|
prompt "mtest"
|
|
|
|
|
|
|
|
config CMD_MTEST_ALTERNATIVE
|
|
|
|
bool
|
|
|
|
depends on CMD_MTEST
|
|
|
|
prompt "alternative mtest implementation"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "flash "
|
|
|
|
|
|
|
|
config CMD_FLASH
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-11-27 20:30:46 +00:00
|
|
|
prompt "protect/erase"
|
2010-06-28 12:18:35 +00:00
|
|
|
|
|
|
|
config CMD_UBI
|
|
|
|
tristate
|
|
|
|
default y if UBI
|
|
|
|
prompt "ubimkvol, ubirmvol, ubiattach"
|
|
|
|
|
2007-07-05 16:02:13 +00:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
|
|
|
|
menu "booting "
|
|
|
|
|
|
|
|
config CMD_BOOTM
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:18 +00:00
|
|
|
default y
|
2007-07-05 16:02:13 +00:00
|
|
|
select CRC32
|
|
|
|
prompt "bootm"
|
|
|
|
|
|
|
|
config CMD_BOOTM_ZLIB
|
|
|
|
bool
|
|
|
|
depends on CMD_BOOTM
|
|
|
|
select ZLIB
|
|
|
|
prompt "bootm with zlib support"
|
|
|
|
|
|
|
|
config CMD_BOOTM_BZLIB
|
|
|
|
bool
|
|
|
|
depends on CMD_BOOTM
|
|
|
|
select BZLIB
|
|
|
|
prompt "bootm with bzlib support"
|
|
|
|
|
2007-09-13 13:25:22 +00:00
|
|
|
config CMD_BOOTM_SHOW_TYPE
|
|
|
|
bool
|
|
|
|
depends on CMD_BOOTM
|
|
|
|
prompt "show image information"
|
|
|
|
|
2009-08-19 08:45:03 +00:00
|
|
|
config CMD_BOOTZ
|
|
|
|
tristate
|
|
|
|
default y
|
|
|
|
depends on ARM
|
|
|
|
prompt "bootz"
|
|
|
|
help
|
|
|
|
compile in the 'bootz' command to start zImages
|
|
|
|
|
2009-08-18 13:45:29 +00:00
|
|
|
config CMD_BOOTU
|
|
|
|
tristate
|
|
|
|
default y
|
|
|
|
depends on ARM
|
|
|
|
prompt "bootu"
|
|
|
|
help
|
|
|
|
compile in the 'bootu' command to start raw (uncompressed)
|
|
|
|
Linux images
|
|
|
|
|
2010-01-12 10:15:47 +00:00
|
|
|
config CMD_LINUX16
|
|
|
|
tristate
|
2010-09-20 07:07:34 +00:00
|
|
|
depends on X86
|
2010-01-12 10:15:47 +00:00
|
|
|
default y if X86
|
|
|
|
prompt "linux16"
|
|
|
|
help
|
|
|
|
Compile the linux16 command to be able to boot bzImages
|
|
|
|
via real mode.
|
|
|
|
|
2007-07-05 16:02:13 +00:00
|
|
|
config CMD_RESET
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:13 +00:00
|
|
|
prompt "reset"
|
|
|
|
|
|
|
|
config CMD_GO
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:13 +00:00
|
|
|
prompt "go"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2007-09-16 09:13:16 +00:00
|
|
|
config CMD_TIMEOUT
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-09-16 09:13:16 +00:00
|
|
|
prompt "timeout"
|
|
|
|
|
2007-07-05 16:02:14 +00:00
|
|
|
config CMD_PARTITION
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:14 +00:00
|
|
|
prompt "addpart/delpart"
|
|
|
|
|
2007-07-05 16:02:18 +00:00
|
|
|
config CMD_TEST
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-09-23 23:40:06 +00:00
|
|
|
depends on SHELL_HUSH
|
2007-07-05 16:02:18 +00:00
|
|
|
default y
|
|
|
|
prompt "test"
|
|
|
|
help
|
|
|
|
shell like test function
|
|
|
|
|
2007-07-05 16:02:14 +00:00
|
|
|
config CMD_REGINFO
|
|
|
|
depends on HAS_REGINFO
|
|
|
|
select REGINFO
|
2007-10-07 12:33:07 +00:00
|
|
|
tristate
|
2007-07-05 16:02:14 +00:00
|
|
|
prompt "reginfo"
|
|
|
|
|
2008-08-13 13:54:53 +00:00
|
|
|
config CMD_VERSION
|
|
|
|
tristate
|
|
|
|
default y
|
|
|
|
prompt "version"
|
|
|
|
|
|
|
|
config CMD_HELP
|
|
|
|
tristate
|
|
|
|
default y
|
|
|
|
prompt "help"
|
|
|
|
|
|
|
|
config CMD_DEVINFO
|
|
|
|
tristate
|
|
|
|
default y
|
|
|
|
prompt "devinfo"
|
|
|
|
|
|
|
|
config CMD_INSMOD
|
|
|
|
bool
|
|
|
|
depends on MODULES
|
|
|
|
default y
|
|
|
|
prompt "insmod"
|
|
|
|
|
|
|
|
config CMD_LSMOD
|
|
|
|
bool
|
|
|
|
depends on MODULES
|
|
|
|
prompt "lsmod"
|
|
|
|
|
2009-07-31 13:08:49 +00:00
|
|
|
config CMD_BMP
|
|
|
|
bool
|
|
|
|
depends on VIDEO
|
|
|
|
prompt "bmp"
|
|
|
|
help
|
|
|
|
show bmp files on framebuffer devices
|
|
|
|
|
2009-12-03 13:04:42 +00:00
|
|
|
config CMD_GPIO
|
|
|
|
bool
|
|
|
|
depends on GENERIC_GPIO
|
|
|
|
prompt "gpio commands"
|
|
|
|
help
|
|
|
|
include gpio_set_value, gpio_get_value, gpio_direction_input and
|
|
|
|
gpio_direction_output commands to control gpios.
|
|
|
|
|
2010-03-26 15:06:23 +00:00
|
|
|
config CMD_UNLZO
|
|
|
|
bool
|
|
|
|
select LZO_DECOMPRESS
|
|
|
|
prompt "unlzo"
|
|
|
|
help
|
|
|
|
Say yes here to get the unlzo command. lzo is a fast compression
|
|
|
|
algorithm by Markus Franz Xaver Johannes Oberhumer.
|
|
|
|
|
2010-05-25 10:01:27 +00:00
|
|
|
config CMD_I2C
|
|
|
|
bool
|
|
|
|
depends on I2C
|
|
|
|
prompt "i2c commands"
|
|
|
|
help
|
|
|
|
include i2c_probe, i2c_read and i2c_write commands to communicate
|
|
|
|
on i2c bus.
|
|
|
|
|
2010-12-18 13:39:45 +00:00
|
|
|
config CMD_LED
|
|
|
|
bool
|
|
|
|
depends on LED
|
|
|
|
prompt "led command"
|
|
|
|
help
|
|
|
|
include led command to control LEDs
|
|
|
|
|
2010-12-18 13:40:24 +00:00
|
|
|
config CMD_LED_TRIGGER
|
|
|
|
bool
|
|
|
|
depends on LED_TRIGGERS
|
|
|
|
prompt "trigger command"
|
|
|
|
help
|
|
|
|
The trigger command allows to control LED triggers from the command
|
|
|
|
line.
|
|
|
|
|
2011-04-07 10:43:27 +00:00
|
|
|
config CMD_USB
|
|
|
|
bool
|
|
|
|
depends on USB
|
|
|
|
prompt "usb command"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
The usb command allows to rescan for USB devices.
|
|
|
|
|
2007-07-05 16:02:13 +00:00
|
|
|
endmenu
|
2011-04-01 13:16:27 +00:00
|
|
|
|
|
|
|
endif
|