X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=cmd%2FKconfig;h=ae49b8247156cdcfe5a5d6e19e1748515696ec88;hb=6417572efa9107674ec106ae7e388178a92155fc;hp=fd34f445e087c45d58fb4efdb35a380a94df3ddf;hpb=3b50382ab5fa7f325e5eb976d0e3bbdb467b6854;p=u-boot diff --git a/cmd/Kconfig b/cmd/Kconfig index fd34f445e0..ae49b82471 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -23,6 +23,29 @@ config HUSH_PARSER If disabled, you get the old, much simpler behaviour with a somewhat smaller memory footprint. +config CMDLINE_EDITING + bool "Enable command line editing" + depends on CMDLINE + default y + help + Enable editing and History functions for interactive command line + input operations + +config AUTO_COMPLETE + bool "Enable auto complete using TAB" + depends on CMDLINE + default y + help + Enable auto completion of commands using TAB. + +config SYS_LONGHELP + bool "Enable long help messages" + depends on CMDLINE + default y if CMDLINE + help + Defined when you want long help messages included + Do not set this option when short of memory. + config SYS_PROMPT string "Shell prompt" default "=> " @@ -308,6 +331,12 @@ config CMD_SPL_WRITE_SIZE flash used by Falcon-mode boot. See the documentation until CMD_SPL for detail. +config CMD_FITUPD + bool "fitImage update command" + help + Implements the 'fitupd' command, which allows to automatically + store software updates present on a TFTP server in NOR Flash + config CMD_THOR_DOWNLOAD bool "thor - TIZEN 'thor' download" help @@ -394,10 +423,15 @@ endmenu menu "Memory commands" +config CMD_BINOP + bool "binop" + help + Compute binary operations (xor, or, and) of byte arrays of arbitrary + size from memory and store the result in memory or the environment. + config CMD_CRC32 bool "crc32" select HASH - default n if ARCH_SUNXI default y help Compute CRC32. @@ -499,6 +533,15 @@ config CMD_MEMTEST help Simple RAM read/write test. +if CMD_MEMTEST + +config SYS_ALT_MEMTEST + bool "Alternative test" + help + Use a more complete alternative memory test. + +endif + config CMD_MX_CYCLIC bool "mdc, mwc" help @@ -539,7 +582,6 @@ config CMD_LZMADEC config CMD_UNZIP bool "unzip" - default n if ARCH_SUNXI default y if CMD_BOOTI help Uncompress a zip-compressed memory region. @@ -582,7 +624,7 @@ config CMD_DEMO config CMD_DFU bool "dfu" - select USB_FUNCTION_DFU + select DFU help Enables the command "dfu" which is used to have U-Boot create a DFU class device via USB. This command requires that the "dfu_alt_info" @@ -616,6 +658,7 @@ config CMD_FLASH config CMD_FPGA bool "fpga" + depends on FPGA default y help FPGA support. @@ -671,6 +714,7 @@ config CMD_GPT bool "GPT (GUID Partition Table) command" select PARTITION_UUIDS select EFI_PARTITION + select HAVE_BLOCK_DEVICE imply RANDOM_UUID help Enable the 'gpt' command to ready and write GPT style partition @@ -678,6 +722,7 @@ config CMD_GPT config RANDOM_UUID bool "GPT Random UUID generation" + select LIB_UUID help Enable the generation of partitions with random UUIDs if none are provided. @@ -815,6 +860,7 @@ config CMD_ONENAND config CMD_PART bool "part" select PARTITION_UUIDS + select HAVE_BLOCK_DEVICE help Read and display information about the partition table on various media. @@ -865,6 +911,15 @@ config CMD_SAVES Provides a way to save a binary file using the Motorola S-Record format over the serial line. +config CMD_SCSI + bool "scsi - Access to SCSI devices" + default y if SCSI + help + This provides a 'scsi' command which provides access to SCSI (Small + Computer System Interface) devices. The command provides a way to + scan the bus, reset the bus, read and write data and get information + about devices. + config CMD_SDRAM bool "sdram - Print SDRAM configuration information" help @@ -907,6 +962,7 @@ config CMD_UNIVERSE config CMD_USB bool "usb" + select HAVE_BLOCK_DEVICE help USB support. @@ -927,6 +983,7 @@ config CMD_ROCKUSB config CMD_USB_MASS_STORAGE bool "UMS usb mass storage" + select USB_FUNCTION_MASS_STORAGE help USB mass storage support @@ -964,43 +1021,127 @@ config CMD_SETEXPR endmenu -menu "Network commands" +if NET -config CMD_NET - bool "bootp, tftpboot" - select NET +menuconfig CMD_NET + bool "Network commands" + default y + +if CMD_NET + +config CMD_BOOTP + bool "bootp" default y help - Network commands. bootp - boot image via network using BOOTP/TFTP protocol + +config CMD_DHCP + bool "dhcp" + depends on CMD_BOOTP + help + Boot image via network using DHCP/TFTP protocol + +config BOOTP_BOOTPATH + bool "Request & store 'rootpath' from BOOTP/DHCP server" + default y + depends on CMD_BOOTP + help + Even though the config is called BOOTP_BOOTPATH, it stores the + path in the variable 'rootpath'. + +config BOOTP_DNS + bool "Request & store 'dnsip' from BOOTP/DHCP server" + default y + depends on CMD_BOOTP + help + The primary DNS server is stored as 'dnsip'. If two servers are + returned, you must set BOOTP_DNS2 to store that second server IP + also. + +config BOOTP_DNS2 + bool "Store 'dnsip2' from BOOTP/DHCP server" + depends on BOOTP_DNS + help + If a DHCP client requests the DNS server IP from a DHCP server, + it is possible that more than one DNS serverip is offered to the + client. If CONFIG_BOOTP_DNS2 is enabled, the secondary DNS + server IP will be stored in the additional environment + variable "dnsip2". The first DNS serverip is always + stored in the variable "dnsip", when BOOTP_DNS is defined. + +config BOOTP_GATEWAY + bool "Request & store 'gatewayip' from BOOTP/DHCP server" + default y + depends on CMD_BOOTP + +config BOOTP_HOSTNAME + bool "Request & store 'hostname' from BOOTP/DHCP server" + default y + depends on CMD_BOOTP + help + The name may or may not be qualified with the local domain name. + +config BOOTP_SUBNETMASK + bool "Request & store 'netmask' from BOOTP/DHCP server" + default y + depends on CMD_BOOTP + +config BOOTP_PXE + bool "Send PXE client arch to BOOTP/DHCP server" + default y + depends on CMD_BOOTP && CMD_PXE + help + Supported for ARM, ARM64, and x86 for now. + +config BOOTP_PXE_CLIENTARCH + hex + depends on BOOTP_PXE + default 0x16 if ARM64 + default 0x15 if ARM + default 0 if X86 + +config BOOTP_VCI_STRING + string + depends on CMD_BOOTP + default "U-Boot.armv7" if CPU_V7A || CPU_V7M || CPU_V7R + default "U-Boot.armv8" if ARM64 + default "U-Boot.arm" if ARM + default "U-Boot" + +config CMD_TFTPBOOT + bool "tftpboot" + default y + help tftpboot - boot image via network using TFTP protocol config CMD_TFTPPUT bool "tftp put" + depends on CMD_TFTPBOOT help TFTP put command, for uploading files to a server config CMD_TFTPSRV bool "tftpsrv" + depends on CMD_TFTPBOOT help Act as a TFTP server and boot the first received file +config NET_TFTP_VARS + bool "Control TFTP timeout and count through environment" + depends on CMD_TFTPBOOT + default y + help + If set, allows controlling the TFTP timeout through the + environment variable tftptimeout, and the TFTP maximum + timeout count through the variable tftptimeoutcountmax. + If unset, timeout and maximum are hard-defined as 1 second + and 10 timouts per TFTP transfer. + config CMD_RARP bool "rarpboot" help Boot image via network using RARP/TFTP protocol -config CMD_DHCP - bool "dhcp" - help - Boot image via network using DHCP/TFTP protocol - -config CMD_PXE - bool "pxe" - select MENU - help - Boot image via network using PXE protocol - config CMD_NFS bool "nfs" default y @@ -1037,6 +1178,8 @@ config CMD_LINK_LOCAL help Acquire a network IP address using the link-local protocol +endif + config CMD_ETHSW bool "ethsw" help @@ -1045,7 +1188,13 @@ config CMD_ETHSW operations such as enabling / disabling a port and viewing/maintaining the filtering database (FDB) -endmenu +config CMD_PXE + bool "pxe" + select MENU + help + Boot image via network using PXE protocol + +endif menu "Misc commands" @@ -1175,6 +1324,7 @@ config CMD_TERMINAL config CMD_UUID bool "uuid, guid - generation of unique IDs" + select LIB_UUID help This enables two commands: @@ -1295,6 +1445,20 @@ config CMD_HASH saved to memory or to an environment variable. It is also possible to verify a hash against data in memory. +config CMD_HVC + bool "Support the 'hvc' command" + depends on ARM_SMCCC + help + Allows issuing Hypervisor Calls (HVCs). Mostly useful for + development and testing. + +config CMD_SMC + bool "Support the 'smc' command" + depends on ARM_SMCCC + help + Allows issuing Secure Monitor Calls (SMCs). Mostly useful for + development and testing. + config HASH_VERIFY bool "hash -v" depends on CMD_HASH @@ -1369,17 +1533,20 @@ config CMD_CRAMFS config CMD_EXT2 bool "ext2 command support" + select FS_EXT4 help Enables EXT2 FS command config CMD_EXT4 bool "ext4 command support" + select FS_EXT4 help Enables EXT4 FS command config CMD_EXT4_WRITE depends on CMD_EXT4 bool "ext4 write command support" + select EXT4_WRITE help Enables EXT4 FS write command @@ -1447,15 +1614,6 @@ config CMD_REISER reiserls - list files reiserload - load a file -config CMD_SCSI - bool "scsi - Access to SCSI devices" - default y if SCSI - help - This provides a 'scsi' command which provides access to SCSI (Small - Computer System Interface) devices. The command provides a way to - scan the bus, reset the bus, read and write data and get information - about devices. - config CMD_YAFFS2 bool "yaffs2 - Access of YAFFS2 filesystem" depends on YAFFS2 @@ -1516,6 +1674,7 @@ config CMD_KGDB config CMD_LOG bool "log - Generation, control and access to logging" + select LOG help This provides access to logging features. It allows the output of log data to be controlled to a limited extent (setting up the default