1*4882a593Smuzhiyunmenu "Command line interface" 2*4882a593Smuzhiyun 3*4882a593Smuzhiyunconfig CMDLINE 4*4882a593Smuzhiyun bool "Support U-Boot commands" 5*4882a593Smuzhiyun default y 6*4882a593Smuzhiyun help 7*4882a593Smuzhiyun Enable U-Boot's command-line functions. This provides a means 8*4882a593Smuzhiyun to enter commands into U-Boot for a wide variety of purposes. It 9*4882a593Smuzhiyun also allows scripts (containing commands) to be executed. 10*4882a593Smuzhiyun Various commands and command categorys can be indivdually enabled. 11*4882a593Smuzhiyun Depending on the number of commands enabled, this can add 12*4882a593Smuzhiyun substantially to the size of U-Boot. 13*4882a593Smuzhiyun 14*4882a593Smuzhiyunconfig HUSH_PARSER 15*4882a593Smuzhiyun bool "Use hush shell" 16*4882a593Smuzhiyun depends on CMDLINE 17*4882a593Smuzhiyun help 18*4882a593Smuzhiyun This option enables the "hush" shell (from Busybox) as command line 19*4882a593Smuzhiyun interpreter, thus enabling powerful command line syntax like 20*4882a593Smuzhiyun if...then...else...fi conditionals or `&&' and '||' 21*4882a593Smuzhiyun constructs ("shell scripts"). 22*4882a593Smuzhiyun 23*4882a593Smuzhiyun If disabled, you get the old, much simpler behaviour with a somewhat 24*4882a593Smuzhiyun smaller memory footprint. 25*4882a593Smuzhiyun 26*4882a593Smuzhiyunconfig SYS_PROMPT 27*4882a593Smuzhiyun string "Shell prompt" 28*4882a593Smuzhiyun default "=> " 29*4882a593Smuzhiyun help 30*4882a593Smuzhiyun This string is displayed in the command line to the left of the 31*4882a593Smuzhiyun cursor. 32*4882a593Smuzhiyun 33*4882a593Smuzhiyunconfig U_BOOT_CMD_ALWAYS 34*4882a593Smuzhiyun bool "Enable cmd with U_BOOT_CMD_ALWAYS() declared" 35*4882a593Smuzhiyun depends on !CMDLINE 36*4882a593Smuzhiyun help 37*4882a593Smuzhiyun This function is used to support some special U-Boot commands with 38*4882a593Smuzhiyun U_BOOT_CMD_ALWAYS() declared even when CONFIG_CMDLINE is disabled. 39*4882a593Smuzhiyun It reduces the image size and works with simple CLI. 40*4882a593Smuzhiyun 41*4882a593Smuzhiyunmenu "Autoboot options" 42*4882a593Smuzhiyun 43*4882a593Smuzhiyunconfig AUTOBOOT 44*4882a593Smuzhiyun bool "Autoboot" 45*4882a593Smuzhiyun default y 46*4882a593Smuzhiyun help 47*4882a593Smuzhiyun This enables the autoboot. See doc/README.autoboot for detail. 48*4882a593Smuzhiyun 49*4882a593Smuzhiyunconfig AUTOBOOT_KEYED 50*4882a593Smuzhiyun bool "Stop autobooting via specific input key / string" 51*4882a593Smuzhiyun default n 52*4882a593Smuzhiyun help 53*4882a593Smuzhiyun This option enables stopping (aborting) of the automatic 54*4882a593Smuzhiyun boot feature only by issuing a specific input key or 55*4882a593Smuzhiyun string. If not enabled, any input key will abort the 56*4882a593Smuzhiyun U-Boot automatic booting process and bring the device 57*4882a593Smuzhiyun to the U-Boot prompt for user input. 58*4882a593Smuzhiyun 59*4882a593Smuzhiyunconfig AUTOBOOT_PROMPT 60*4882a593Smuzhiyun string "Autoboot stop prompt" 61*4882a593Smuzhiyun depends on AUTOBOOT_KEYED 62*4882a593Smuzhiyun default "Autoboot in %d seconds\\n" 63*4882a593Smuzhiyun help 64*4882a593Smuzhiyun This string is displayed before the boot delay selected by 65*4882a593Smuzhiyun CONFIG_BOOTDELAY starts. If it is not defined there is no 66*4882a593Smuzhiyun output indicating that autoboot is in progress. 67*4882a593Smuzhiyun 68*4882a593Smuzhiyun Note that this define is used as the (only) argument to a 69*4882a593Smuzhiyun printf() call, so it may contain '%' format specifications, 70*4882a593Smuzhiyun provided that it also includes, sepearated by commas exactly 71*4882a593Smuzhiyun like in a printf statement, the required arguments. It is 72*4882a593Smuzhiyun the responsibility of the user to select only such arguments 73*4882a593Smuzhiyun that are valid in the given context. 74*4882a593Smuzhiyun 75*4882a593Smuzhiyunconfig AUTOBOOT_ENCRYPTION 76*4882a593Smuzhiyun bool "Enable encryption in autoboot stopping" 77*4882a593Smuzhiyun depends on AUTOBOOT_KEYED 78*4882a593Smuzhiyun default n 79*4882a593Smuzhiyun 80*4882a593Smuzhiyunconfig AUTOBOOT_DELAY_STR 81*4882a593Smuzhiyun string "Delay autobooting via specific input key / string" 82*4882a593Smuzhiyun depends on AUTOBOOT_KEYED && !AUTOBOOT_ENCRYPTION 83*4882a593Smuzhiyun help 84*4882a593Smuzhiyun This option delays the automatic boot feature by issuing 85*4882a593Smuzhiyun a specific input key or string. If CONFIG_AUTOBOOT_DELAY_STR 86*4882a593Smuzhiyun or the environment variable "bootdelaykey" is specified 87*4882a593Smuzhiyun and this string is received from console input before 88*4882a593Smuzhiyun autoboot starts booting, U-Boot gives a command prompt. The 89*4882a593Smuzhiyun U-Boot prompt will time out if CONFIG_BOOT_RETRY_TIME is 90*4882a593Smuzhiyun used, otherwise it never times out. 91*4882a593Smuzhiyun 92*4882a593Smuzhiyunconfig AUTOBOOT_STOP_STR 93*4882a593Smuzhiyun string "Stop autobooting via specific input key / string" 94*4882a593Smuzhiyun depends on AUTOBOOT_KEYED && !AUTOBOOT_ENCRYPTION 95*4882a593Smuzhiyun help 96*4882a593Smuzhiyun This option enables stopping (aborting) of the automatic 97*4882a593Smuzhiyun boot feature only by issuing a specific input key or 98*4882a593Smuzhiyun string. If CONFIG_AUTOBOOT_STOP_STR or the environment 99*4882a593Smuzhiyun variable "bootstopkey" is specified and this string is 100*4882a593Smuzhiyun received from console input before autoboot starts booting, 101*4882a593Smuzhiyun U-Boot gives a command prompt. The U-Boot prompt never 102*4882a593Smuzhiyun times out, even if CONFIG_BOOT_RETRY_TIME is used. 103*4882a593Smuzhiyun 104*4882a593Smuzhiyunconfig AUTOBOOT_KEYED_CTRLC 105*4882a593Smuzhiyun bool "Enable Ctrl-C autoboot interruption" 106*4882a593Smuzhiyun depends on AUTOBOOT_KEYED && !AUTOBOOT_ENCRYPTION 107*4882a593Smuzhiyun default n 108*4882a593Smuzhiyun help 109*4882a593Smuzhiyun This option allows for the boot sequence to be interrupted 110*4882a593Smuzhiyun by ctrl-c, in addition to the "bootdelaykey" and "bootstopkey". 111*4882a593Smuzhiyun Setting this variable provides an escape sequence from the 112*4882a593Smuzhiyun limited "password" strings. 113*4882a593Smuzhiyun 114*4882a593Smuzhiyunconfig AUTOBOOT_STOP_STR_SHA256 115*4882a593Smuzhiyun string "Stop autobooting via SHA256 encrypted password" 116*4882a593Smuzhiyun depends on AUTOBOOT_KEYED && AUTOBOOT_ENCRYPTION 117*4882a593Smuzhiyun help 118*4882a593Smuzhiyun This option adds the feature to only stop the autobooting, 119*4882a593Smuzhiyun and therefore boot into the U-Boot prompt, when the input 120*4882a593Smuzhiyun string / password matches a values that is encypted via 121*4882a593Smuzhiyun a SHA256 hash and saved in the environment. 122*4882a593Smuzhiyun 123*4882a593Smuzhiyunendmenu 124*4882a593Smuzhiyun 125*4882a593Smuzhiyunsource "cmd/fastboot/Kconfig" 126*4882a593Smuzhiyun 127*4882a593Smuzhiyunconfig BUILD_BIN2C 128*4882a593Smuzhiyun bool 129*4882a593Smuzhiyun 130*4882a593Smuzhiyuncomment "Commands" 131*4882a593Smuzhiyun 132*4882a593Smuzhiyunmenu "Info commands" 133*4882a593Smuzhiyun 134*4882a593Smuzhiyunconfig CMD_BDI 135*4882a593Smuzhiyun bool "bdinfo" 136*4882a593Smuzhiyun default y 137*4882a593Smuzhiyun help 138*4882a593Smuzhiyun Print board info 139*4882a593Smuzhiyun 140*4882a593Smuzhiyunconfig CMD_CONFIG 141*4882a593Smuzhiyun bool "config" 142*4882a593Smuzhiyun select BUILD_BIN2C 143*4882a593Smuzhiyun default SANDBOX 144*4882a593Smuzhiyun help 145*4882a593Smuzhiyun Print ".config" contents. 146*4882a593Smuzhiyun 147*4882a593Smuzhiyun If this option is enabled, the ".config" file contents are embedded 148*4882a593Smuzhiyun in the U-Boot image and can be printed on the console by the "config" 149*4882a593Smuzhiyun command. This provides information of which options are enabled on 150*4882a593Smuzhiyun the running U-Boot. 151*4882a593Smuzhiyun 152*4882a593Smuzhiyunconfig CMD_CONSOLE 153*4882a593Smuzhiyun bool "coninfo" 154*4882a593Smuzhiyun default y 155*4882a593Smuzhiyun help 156*4882a593Smuzhiyun Print console devices and information. 157*4882a593Smuzhiyun 158*4882a593Smuzhiyunconfig CMD_CPU 159*4882a593Smuzhiyun bool "cpu" 160*4882a593Smuzhiyun help 161*4882a593Smuzhiyun Print information about available CPUs. This normally shows the 162*4882a593Smuzhiyun number of CPUs, type (e.g. manufacturer, architecture, product or 163*4882a593Smuzhiyun internal name) and clock frequency. Other information may be 164*4882a593Smuzhiyun available depending on the CPU driver. 165*4882a593Smuzhiyun 166*4882a593Smuzhiyunconfig CMD_LICENSE 167*4882a593Smuzhiyun bool "license" 168*4882a593Smuzhiyun select BUILD_BIN2C 169*4882a593Smuzhiyun help 170*4882a593Smuzhiyun Print GPL license text 171*4882a593Smuzhiyun 172*4882a593Smuzhiyunconfig CMD_REGINFO 173*4882a593Smuzhiyun bool "reginfo" 174*4882a593Smuzhiyun depends on PPC 175*4882a593Smuzhiyun help 176*4882a593Smuzhiyun Register dump 177*4882a593Smuzhiyun 178*4882a593Smuzhiyunendmenu 179*4882a593Smuzhiyun 180*4882a593Smuzhiyunmenu "Boot commands" 181*4882a593Smuzhiyun 182*4882a593Smuzhiyunconfig CMD_BOOTD 183*4882a593Smuzhiyun bool "bootd" 184*4882a593Smuzhiyun default y 185*4882a593Smuzhiyun help 186*4882a593Smuzhiyun Run the command stored in the environment "bootcmd", i.e. 187*4882a593Smuzhiyun "bootd" does the same thing as "run bootcmd". 188*4882a593Smuzhiyun 189*4882a593Smuzhiyunconfig CMD_BOOTM 190*4882a593Smuzhiyun bool "bootm" 191*4882a593Smuzhiyun default y 192*4882a593Smuzhiyun help 193*4882a593Smuzhiyun Boot an application image from the memory. 194*4882a593Smuzhiyun 195*4882a593Smuzhiyunconfig CMD_BOOTZ 196*4882a593Smuzhiyun bool "bootz" 197*4882a593Smuzhiyun help 198*4882a593Smuzhiyun Boot the Linux zImage 199*4882a593Smuzhiyun 200*4882a593Smuzhiyunconfig CMD_BOOTI 201*4882a593Smuzhiyun bool "booti" 202*4882a593Smuzhiyun depends on ARM64 203*4882a593Smuzhiyun default y 204*4882a593Smuzhiyun help 205*4882a593Smuzhiyun Boot an AArch64 Linux Kernel image from memory. 206*4882a593Smuzhiyun 207*4882a593Smuzhiyunconfig CMD_BOOTEFI 208*4882a593Smuzhiyun bool "bootefi" 209*4882a593Smuzhiyun depends on EFI_LOADER 210*4882a593Smuzhiyun default y 211*4882a593Smuzhiyun help 212*4882a593Smuzhiyun Boot an EFI image from memory. 213*4882a593Smuzhiyun 214*4882a593Smuzhiyunconfig CMD_BOOTEFI_HELLO_COMPILE 215*4882a593Smuzhiyun bool "Compile a standard EFI hello world binary for testing" 216*4882a593Smuzhiyun depends on CMD_BOOTEFI && (ARM || X86) 217*4882a593Smuzhiyun default y 218*4882a593Smuzhiyun help 219*4882a593Smuzhiyun This compiles a standard EFI hello world application with U-Boot so 220*4882a593Smuzhiyun that it can be used with the test/py testing framework. This is useful 221*4882a593Smuzhiyun for testing that EFI is working at a basic level, and for bringing 222*4882a593Smuzhiyun up EFI support on a new architecture. 223*4882a593Smuzhiyun 224*4882a593Smuzhiyun No additional space will be required in the resulting U-Boot binary 225*4882a593Smuzhiyun when this option is enabled. 226*4882a593Smuzhiyun 227*4882a593Smuzhiyunconfig CMD_BOOTEFI_HELLO 228*4882a593Smuzhiyun bool "Allow booting a standard EFI hello world for testing" 229*4882a593Smuzhiyun depends on CMD_BOOTEFI_HELLO_COMPILE 230*4882a593Smuzhiyun help 231*4882a593Smuzhiyun This adds a standard EFI hello world application to U-Boot so that 232*4882a593Smuzhiyun it can be used with the 'bootefi hello' command. This is useful 233*4882a593Smuzhiyun for testing that EFI is working at a basic level, and for bringing 234*4882a593Smuzhiyun up EFI support on a new architecture. 235*4882a593Smuzhiyun 236*4882a593Smuzhiyunconfig CMD_BOOTMENU 237*4882a593Smuzhiyun bool "bootmenu" 238*4882a593Smuzhiyun select MENU 239*4882a593Smuzhiyun help 240*4882a593Smuzhiyun Add an ANSI terminal boot menu command. 241*4882a593Smuzhiyun 242*4882a593Smuzhiyunconfig CMD_DTIMG 243*4882a593Smuzhiyun bool "dtimg" 244*4882a593Smuzhiyun select OF_LIBFDT_OVERLAY 245*4882a593Smuzhiyun help 246*4882a593Smuzhiyun Android DTB/DTBO image manipulation commands. Read dtb/dtbo files from 247*4882a593Smuzhiyun image into RAM, dump image structure information, etc. Those dtb/dtbo 248*4882a593Smuzhiyun files should be merged in one dtb further, which needs to be passed to 249*4882a593Smuzhiyun the kernel, as part of a boot process. 250*4882a593Smuzhiyun 251*4882a593Smuzhiyunconfig CMD_ELF 252*4882a593Smuzhiyun bool "bootelf, bootvx" 253*4882a593Smuzhiyun default y 254*4882a593Smuzhiyun help 255*4882a593Smuzhiyun Boot an ELF/vxWorks image from the memory. 256*4882a593Smuzhiyun 257*4882a593Smuzhiyunconfig CMD_FDT 258*4882a593Smuzhiyun bool "Flattened Device Tree utility commands" 259*4882a593Smuzhiyun default y 260*4882a593Smuzhiyun depends on OF_LIBFDT 261*4882a593Smuzhiyun help 262*4882a593Smuzhiyun Do FDT related setup before booting into the Operating System. 263*4882a593Smuzhiyun 264*4882a593Smuzhiyunconfig CMD_GO 265*4882a593Smuzhiyun bool "go" 266*4882a593Smuzhiyun default y 267*4882a593Smuzhiyun help 268*4882a593Smuzhiyun Start an application at a given address. 269*4882a593Smuzhiyun 270*4882a593Smuzhiyunconfig CMD_RUN 271*4882a593Smuzhiyun bool "run" 272*4882a593Smuzhiyun default y 273*4882a593Smuzhiyun help 274*4882a593Smuzhiyun Run the command in the given environment variable. 275*4882a593Smuzhiyun 276*4882a593Smuzhiyunconfig CMD_IMI 277*4882a593Smuzhiyun bool "iminfo" 278*4882a593Smuzhiyun default y 279*4882a593Smuzhiyun help 280*4882a593Smuzhiyun Print header information for application image. 281*4882a593Smuzhiyun 282*4882a593Smuzhiyunconfig CMD_IMLS 283*4882a593Smuzhiyun bool "imls" 284*4882a593Smuzhiyun default y 285*4882a593Smuzhiyun help 286*4882a593Smuzhiyun List all images found in flash 287*4882a593Smuzhiyun 288*4882a593Smuzhiyunconfig CMD_XIMG 289*4882a593Smuzhiyun bool "imxtract" 290*4882a593Smuzhiyun default y 291*4882a593Smuzhiyun help 292*4882a593Smuzhiyun Extract a part of a multi-image. 293*4882a593Smuzhiyun 294*4882a593Smuzhiyunconfig CMD_POWEROFF 295*4882a593Smuzhiyun bool "poweroff" 296*4882a593Smuzhiyun help 297*4882a593Smuzhiyun Poweroff/Shutdown the system 298*4882a593Smuzhiyun 299*4882a593Smuzhiyunconfig CMD_SPL 300*4882a593Smuzhiyun bool "spl export - Export boot information for Falcon boot" 301*4882a593Smuzhiyun depends on SPL 302*4882a593Smuzhiyun help 303*4882a593Smuzhiyun Falcon mode allows booting directly from SPL into an Operating 304*4882a593Smuzhiyun System such as Linux, thus skipping U-Boot proper. See 305*4882a593Smuzhiyun doc/README.falcon for full information about how to use this 306*4882a593Smuzhiyun command. 307*4882a593Smuzhiyun 308*4882a593Smuzhiyunconfig CMD_SPL_NAND_OFS 309*4882a593Smuzhiyun hex "Offset of OS command line args for Falcon-mode NAND boot" 310*4882a593Smuzhiyun depends on CMD_SPL 311*4882a593Smuzhiyun default 0 312*4882a593Smuzhiyun help 313*4882a593Smuzhiyun This provides the offset of the command line arguments for Linux 314*4882a593Smuzhiyun when booting from NAND in Falcon mode. See doc/README.falcon 315*4882a593Smuzhiyun for full information about how to use this option (and also see 316*4882a593Smuzhiyun board/gateworks/gw_ventana/README for an example). 317*4882a593Smuzhiyun 318*4882a593Smuzhiyunconfig CMD_SPL_WRITE_SIZE 319*4882a593Smuzhiyun hex "Size of argument area" 320*4882a593Smuzhiyun depends on CMD_SPL 321*4882a593Smuzhiyun default 0x2000 322*4882a593Smuzhiyun help 323*4882a593Smuzhiyun This provides the size of the command-line argument area in NAND 324*4882a593Smuzhiyun flash used by Falcon-mode boot. See the documentation until CMD_SPL 325*4882a593Smuzhiyun for detail. 326*4882a593Smuzhiyun 327*4882a593Smuzhiyunconfig CMD_THOR_DOWNLOAD 328*4882a593Smuzhiyun bool "thor - TIZEN 'thor' download" 329*4882a593Smuzhiyun help 330*4882a593Smuzhiyun Implements the 'thor' download protocol. This is a way of 331*4882a593Smuzhiyun downloading a software update over USB from an attached host. 332*4882a593Smuzhiyun There is no documentation about this within the U-Boot source code 333*4882a593Smuzhiyun but you should be able to find something on the interwebs. 334*4882a593Smuzhiyun 335*4882a593Smuzhiyunconfig CMD_ZBOOT 336*4882a593Smuzhiyun bool "zboot - x86 boot command" 337*4882a593Smuzhiyun help 338*4882a593Smuzhiyun With x86 machines it is common to boot a bzImage file which 339*4882a593Smuzhiyun contains both a kernel and a setup.bin file. The latter includes 340*4882a593Smuzhiyun configuration information from the dark ages which x86 boards still 341*4882a593Smuzhiyun need to pick things out of. 342*4882a593Smuzhiyun 343*4882a593Smuzhiyun Consider using FIT in preference to this since it supports directly 344*4882a593Smuzhiyun booting both 32- and 64-bit kernels, as well as secure boot. 345*4882a593Smuzhiyun Documentation is available in doc/uImage.FIT/x86-fit-boot.txt 346*4882a593Smuzhiyun 347*4882a593Smuzhiyunendmenu 348*4882a593Smuzhiyun 349*4882a593Smuzhiyunmenu "Environment commands" 350*4882a593Smuzhiyun 351*4882a593Smuzhiyunconfig CMD_ASKENV 352*4882a593Smuzhiyun bool "ask for env variable" 353*4882a593Smuzhiyun help 354*4882a593Smuzhiyun Ask for environment variable 355*4882a593Smuzhiyun 356*4882a593Smuzhiyunconfig CMD_EXPORTENV 357*4882a593Smuzhiyun bool "env export" 358*4882a593Smuzhiyun default y 359*4882a593Smuzhiyun help 360*4882a593Smuzhiyun Export environments. 361*4882a593Smuzhiyun 362*4882a593Smuzhiyunconfig CMD_IMPORTENV 363*4882a593Smuzhiyun bool "env import" 364*4882a593Smuzhiyun default y 365*4882a593Smuzhiyun help 366*4882a593Smuzhiyun Import environments. 367*4882a593Smuzhiyun 368*4882a593Smuzhiyunconfig CMD_EDITENV 369*4882a593Smuzhiyun bool "editenv" 370*4882a593Smuzhiyun default y 371*4882a593Smuzhiyun help 372*4882a593Smuzhiyun Edit environment variable. 373*4882a593Smuzhiyun 374*4882a593Smuzhiyunconfig CMD_GREPENV 375*4882a593Smuzhiyun bool "search env" 376*4882a593Smuzhiyun help 377*4882a593Smuzhiyun Allow for searching environment variables 378*4882a593Smuzhiyun 379*4882a593Smuzhiyunconfig CMD_SAVEENV 380*4882a593Smuzhiyun bool "saveenv" 381*4882a593Smuzhiyun default y 382*4882a593Smuzhiyun help 383*4882a593Smuzhiyun Save all environment variables into the compiled-in persistent 384*4882a593Smuzhiyun storage. 385*4882a593Smuzhiyun 386*4882a593Smuzhiyunconfig CMD_ENV_EXISTS 387*4882a593Smuzhiyun bool "env exists" 388*4882a593Smuzhiyun default y 389*4882a593Smuzhiyun help 390*4882a593Smuzhiyun Check if a variable is defined in the environment for use in 391*4882a593Smuzhiyun shell scripting. 392*4882a593Smuzhiyun 393*4882a593Smuzhiyunconfig CMD_ENV_CALLBACK 394*4882a593Smuzhiyun bool "env callbacks - print callbacks and their associated variables" 395*4882a593Smuzhiyun help 396*4882a593Smuzhiyun Some environment variable have callbacks defined by 397*4882a593Smuzhiyun U_BOOT_ENV_CALLBACK. These are called when the variable changes. 398*4882a593Smuzhiyun For example changing "baudrate" adjust the serial baud rate. This 399*4882a593Smuzhiyun command lists the currently defined callbacks. 400*4882a593Smuzhiyun 401*4882a593Smuzhiyunconfig CMD_ENV_FLAGS 402*4882a593Smuzhiyun bool "env flags -print variables that have non-default flags" 403*4882a593Smuzhiyun help 404*4882a593Smuzhiyun Some environment variables have special flags that control their 405*4882a593Smuzhiyun behaviour. For example, serial# can only be written once and cannot 406*4882a593Smuzhiyun be deleted. This command shows the variables that have special 407*4882a593Smuzhiyun flags. 408*4882a593Smuzhiyun 409*4882a593Smuzhiyunendmenu 410*4882a593Smuzhiyun 411*4882a593Smuzhiyunmenu "Memory commands" 412*4882a593Smuzhiyun 413*4882a593Smuzhiyunconfig CMD_CRC32 414*4882a593Smuzhiyun bool "crc32" 415*4882a593Smuzhiyun select HASH 416*4882a593Smuzhiyun default y 417*4882a593Smuzhiyun help 418*4882a593Smuzhiyun Compute CRC32. 419*4882a593Smuzhiyun 420*4882a593Smuzhiyunconfig CRC32_VERIFY 421*4882a593Smuzhiyun bool "crc32 -v" 422*4882a593Smuzhiyun depends on CMD_CRC32 423*4882a593Smuzhiyun help 424*4882a593Smuzhiyun Add -v option to verify data against a crc32 checksum. 425*4882a593Smuzhiyun 426*4882a593Smuzhiyunconfig CMD_EEPROM 427*4882a593Smuzhiyun bool "eeprom - EEPROM subsystem" 428*4882a593Smuzhiyun help 429*4882a593Smuzhiyun (deprecated, needs conversion to driver model) 430*4882a593Smuzhiyun Provides commands to read and write EEPROM (Electrically Erasable 431*4882a593Smuzhiyun Programmable Read Only Memory) chips that are connected over an 432*4882a593Smuzhiyun I2C bus. 433*4882a593Smuzhiyun 434*4882a593Smuzhiyunconfig CMD_EEPROM_LAYOUT 435*4882a593Smuzhiyun bool "Enable layout-aware eeprom commands" 436*4882a593Smuzhiyun depends on CMD_EEPROM 437*4882a593Smuzhiyun help 438*4882a593Smuzhiyun (deprecated, needs conversion to driver model) 439*4882a593Smuzhiyun When enabled, additional eeprom sub-commands become available. 440*4882a593Smuzhiyun 441*4882a593Smuzhiyun eeprom print - prints the contents of the eeprom in a human-readable 442*4882a593Smuzhiyun way (eeprom layout fields, and data formatted to be fit for human 443*4882a593Smuzhiyun consumption). 444*4882a593Smuzhiyun 445*4882a593Smuzhiyun eeprom update - allows user to update eeprom fields by specifying 446*4882a593Smuzhiyun the field name, and providing the new data in a human readable format 447*4882a593Smuzhiyun (same format as displayed by the eeprom print command). 448*4882a593Smuzhiyun 449*4882a593Smuzhiyun Both commands can either auto detect the layout, or be told which 450*4882a593Smuzhiyun layout to use. 451*4882a593Smuzhiyun 452*4882a593Smuzhiyun Feature API: 453*4882a593Smuzhiyun __weak int parse_layout_version(char *str) 454*4882a593Smuzhiyun - override to provide your own layout name parsing 455*4882a593Smuzhiyun __weak void __eeprom_layout_assign(struct eeprom_layout *layout, 456*4882a593Smuzhiyun int layout_version); 457*4882a593Smuzhiyun - override to setup the layout metadata based on the version 458*4882a593Smuzhiyun __weak int eeprom_layout_detect(unsigned char *data) 459*4882a593Smuzhiyun - override to provide your own algorithm for detecting layout 460*4882a593Smuzhiyun version 461*4882a593Smuzhiyun eeprom_field.c 462*4882a593Smuzhiyun - contains various printing and updating functions for common 463*4882a593Smuzhiyun types of eeprom fields. Can be used for defining 464*4882a593Smuzhiyun custom layouts. 465*4882a593Smuzhiyun 466*4882a593Smuzhiyunconfig EEPROM_LAYOUT_HELP_STRING 467*4882a593Smuzhiyun string "Tells user what layout names are supported" 468*4882a593Smuzhiyun depends on CMD_EEPROM_LAYOUT 469*4882a593Smuzhiyun default "<not defined>" 470*4882a593Smuzhiyun help 471*4882a593Smuzhiyun Help printed with the LAYOUT VERSIONS part of the 'eeprom' 472*4882a593Smuzhiyun command's help. 473*4882a593Smuzhiyun 474*4882a593Smuzhiyunconfig LOOPW 475*4882a593Smuzhiyun bool "loopw" 476*4882a593Smuzhiyun help 477*4882a593Smuzhiyun Infinite write loop on address range 478*4882a593Smuzhiyun 479*4882a593Smuzhiyunconfig CMD_MD5SUM 480*4882a593Smuzhiyun bool "md5sum" 481*4882a593Smuzhiyun default n 482*4882a593Smuzhiyun select MD5 483*4882a593Smuzhiyun help 484*4882a593Smuzhiyun Compute MD5 checksum. 485*4882a593Smuzhiyun 486*4882a593Smuzhiyunconfig MD5SUM_VERIFY 487*4882a593Smuzhiyun bool "md5sum -v" 488*4882a593Smuzhiyun default n 489*4882a593Smuzhiyun depends on CMD_MD5SUM 490*4882a593Smuzhiyun help 491*4882a593Smuzhiyun Add -v option to verify data against an MD5 checksum. 492*4882a593Smuzhiyun 493*4882a593Smuzhiyunconfig CMD_MEMINFO 494*4882a593Smuzhiyun bool "meminfo" 495*4882a593Smuzhiyun help 496*4882a593Smuzhiyun Display memory information. 497*4882a593Smuzhiyun 498*4882a593Smuzhiyunconfig CMD_MEMORY 499*4882a593Smuzhiyun bool "md, mm, nm, mw, cp, cmp, base, loop" 500*4882a593Smuzhiyun default y 501*4882a593Smuzhiyun help 502*4882a593Smuzhiyun Memory commands. 503*4882a593Smuzhiyun md - memory display 504*4882a593Smuzhiyun mm - memory modify (auto-incrementing address) 505*4882a593Smuzhiyun nm - memory modify (constant address) 506*4882a593Smuzhiyun mw - memory write (fill) 507*4882a593Smuzhiyun cp - memory copy 508*4882a593Smuzhiyun cmp - memory compare 509*4882a593Smuzhiyun base - print or set address offset 510*4882a593Smuzhiyun loop - initialize loop on address range 511*4882a593Smuzhiyun 512*4882a593Smuzhiyunconfig CMD_MEMTEST 513*4882a593Smuzhiyun bool "memtest" 514*4882a593Smuzhiyun help 515*4882a593Smuzhiyun Simple RAM read/write test. 516*4882a593Smuzhiyun 517*4882a593Smuzhiyunconfig CMD_MX_CYCLIC 518*4882a593Smuzhiyun bool "mdc, mwc" 519*4882a593Smuzhiyun help 520*4882a593Smuzhiyun mdc - memory display cyclic 521*4882a593Smuzhiyun mwc - memory write cyclic 522*4882a593Smuzhiyun 523*4882a593Smuzhiyunconfig CMD_SHA1SUM 524*4882a593Smuzhiyun bool "sha1sum" 525*4882a593Smuzhiyun select SHA1 526*4882a593Smuzhiyun help 527*4882a593Smuzhiyun Compute SHA1 checksum. 528*4882a593Smuzhiyun 529*4882a593Smuzhiyunconfig SHA1SUM_VERIFY 530*4882a593Smuzhiyun bool "sha1sum -v" 531*4882a593Smuzhiyun depends on CMD_SHA1SUM 532*4882a593Smuzhiyun help 533*4882a593Smuzhiyun Add -v option to verify data against a SHA1 checksum. 534*4882a593Smuzhiyun 535*4882a593Smuzhiyunconfig CMD_STRINGS 536*4882a593Smuzhiyun bool "strings - display strings in memory" 537*4882a593Smuzhiyun help 538*4882a593Smuzhiyun This works similarly to the Unix 'strings' command except that it 539*4882a593Smuzhiyun works with a memory range. String of printable characters found 540*4882a593Smuzhiyun within the range are displayed. The minimum number of characters 541*4882a593Smuzhiyun for a sequence to be considered a string can be provided. 542*4882a593Smuzhiyun 543*4882a593Smuzhiyunconfig CMD_CRYPTO 544*4882a593Smuzhiyun bool "crypto test" 545*4882a593Smuzhiyun depends on DM_CRYPTO 546*4882a593Smuzhiyun select SHA1 547*4882a593Smuzhiyun select SHA256 548*4882a593Smuzhiyun select SHA512 549*4882a593Smuzhiyun select MD5 550*4882a593Smuzhiyun help 551*4882a593Smuzhiyun Crypto test. 552*4882a593Smuzhiyun 553*4882a593Smuzhiyunconfig CMD_CRYPTO_SUM 554*4882a593Smuzhiyun bool "crypto checksum engine" 555*4882a593Smuzhiyun depends on DM_CRYPTO 556*4882a593Smuzhiyun default y 557*4882a593Smuzhiyun help 558*4882a593Smuzhiyun Crypto checksum engine for sha1/sha256/sha512/md5. 559*4882a593Smuzhiyunendmenu 560*4882a593Smuzhiyun 561*4882a593Smuzhiyunmenu "Compression commands" 562*4882a593Smuzhiyun 563*4882a593Smuzhiyunconfig CMD_LZMADEC 564*4882a593Smuzhiyun bool "lzmadec" 565*4882a593Smuzhiyun default y if CMD_BOOTI 566*4882a593Smuzhiyun select LZMA 567*4882a593Smuzhiyun help 568*4882a593Smuzhiyun Support decompressing an LZMA (Lempel-Ziv-Markov chain algorithm) 569*4882a593Smuzhiyun image from memory. 570*4882a593Smuzhiyun 571*4882a593Smuzhiyunconfig CMD_UNZIP 572*4882a593Smuzhiyun bool "unzip" 573*4882a593Smuzhiyun default y if CMD_BOOTI 574*4882a593Smuzhiyun help 575*4882a593Smuzhiyun Uncompress a zip-compressed memory region. 576*4882a593Smuzhiyun 577*4882a593Smuzhiyunconfig CMD_ZIP 578*4882a593Smuzhiyun bool "zip" 579*4882a593Smuzhiyun help 580*4882a593Smuzhiyun Compress a memory region with zlib deflate method. 581*4882a593Smuzhiyun 582*4882a593Smuzhiyunendmenu 583*4882a593Smuzhiyun 584*4882a593Smuzhiyunmenu "Device access commands" 585*4882a593Smuzhiyun 586*4882a593Smuzhiyunconfig CMD_ARMFLASH 587*4882a593Smuzhiyun #depends on FLASH_CFI_DRIVER 588*4882a593Smuzhiyun bool "armflash" 589*4882a593Smuzhiyun help 590*4882a593Smuzhiyun ARM Ltd reference designs flash partition access 591*4882a593Smuzhiyun 592*4882a593Smuzhiyunconfig CMD_CLK 593*4882a593Smuzhiyun bool "clk - Show clock frequencies" 594*4882a593Smuzhiyun help 595*4882a593Smuzhiyun (deprecated) 596*4882a593Smuzhiyun Shows clock frequences by calling a sock_clk_dump() hook function. 597*4882a593Smuzhiyun This is depreated in favour of using the CLK uclass and accessing 598*4882a593Smuzhiyun clock values from associated drivers. However currently no command 599*4882a593Smuzhiyun exists for this. 600*4882a593Smuzhiyun 601*4882a593Smuzhiyunconfig CMD_DEMO 602*4882a593Smuzhiyun bool "demo - Demonstration commands for driver model" 603*4882a593Smuzhiyun depends on DM 604*4882a593Smuzhiyun help 605*4882a593Smuzhiyun Provides a 'demo' command which can be used to play around with 606*4882a593Smuzhiyun driver model. To use this properly you will need to enable one or 607*4882a593Smuzhiyun both of the demo devices (DM_DEMO_SHAPE and DM_DEMO_SIMPLE). 608*4882a593Smuzhiyun Otherwise you will always get an empty list of devices. The demo 609*4882a593Smuzhiyun devices are defined in the sandbox device tree, so the easiest 610*4882a593Smuzhiyun option is to use sandbox and pass the -d point to sandbox's 611*4882a593Smuzhiyun u-boot.dtb file. 612*4882a593Smuzhiyun 613*4882a593Smuzhiyunconfig CMD_DFU 614*4882a593Smuzhiyun bool "dfu" 615*4882a593Smuzhiyun select USB_FUNCTION_DFU 616*4882a593Smuzhiyun help 617*4882a593Smuzhiyun Enables the command "dfu" which is used to have U-Boot create a DFU 618*4882a593Smuzhiyun class device via USB. This command requires that the "dfu_alt_info" 619*4882a593Smuzhiyun environment variable be set and define the alt settings to expose to 620*4882a593Smuzhiyun the host. 621*4882a593Smuzhiyun 622*4882a593Smuzhiyunconfig CMD_DM 623*4882a593Smuzhiyun bool "dm - Access to driver model information" 624*4882a593Smuzhiyun depends on DM 625*4882a593Smuzhiyun default y 626*4882a593Smuzhiyun help 627*4882a593Smuzhiyun Provides access to driver model data structures and information, 628*4882a593Smuzhiyun such as a list of devices, list of uclasses and the state of each 629*4882a593Smuzhiyun device (e.g. activated). This is not required for operation, but 630*4882a593Smuzhiyun can be useful to see the state of driver model for debugging or 631*4882a593Smuzhiyun interest. 632*4882a593Smuzhiyun 633*4882a593Smuzhiyunconfig CMD_FDC 634*4882a593Smuzhiyun bool "fdcboot - Boot from floppy device" 635*4882a593Smuzhiyun help 636*4882a593Smuzhiyun The 'fdtboot' command allows booting an image from a floppy disk. 637*4882a593Smuzhiyun 638*4882a593Smuzhiyunconfig CMD_FLASH 639*4882a593Smuzhiyun bool "flinfo, erase, protect" 640*4882a593Smuzhiyun default y 641*4882a593Smuzhiyun help 642*4882a593Smuzhiyun NOR flash support. 643*4882a593Smuzhiyun flinfo - print FLASH memory information 644*4882a593Smuzhiyun erase - FLASH memory 645*4882a593Smuzhiyun protect - enable or disable FLASH write protection 646*4882a593Smuzhiyun 647*4882a593Smuzhiyunconfig CMD_FPGA 648*4882a593Smuzhiyun bool "fpga" 649*4882a593Smuzhiyun default y 650*4882a593Smuzhiyun help 651*4882a593Smuzhiyun FPGA support. 652*4882a593Smuzhiyun 653*4882a593Smuzhiyunconfig CMD_FPGA_LOADBP 654*4882a593Smuzhiyun bool "fpga loadbp - load partial bitstream (Xilinx only)" 655*4882a593Smuzhiyun depends on CMD_FPGA 656*4882a593Smuzhiyun help 657*4882a593Smuzhiyun Supports loading an FPGA device from a bitstream buffer containing 658*4882a593Smuzhiyun a partial bitstream. 659*4882a593Smuzhiyun 660*4882a593Smuzhiyunconfig CMD_FPGA_LOADFS 661*4882a593Smuzhiyun bool "fpga loadfs - load bitstream from FAT filesystem (Xilinx only)" 662*4882a593Smuzhiyun depends on CMD_FPGA 663*4882a593Smuzhiyun help 664*4882a593Smuzhiyun Supports loading an FPGA device from a FAT filesystem. 665*4882a593Smuzhiyun 666*4882a593Smuzhiyunconfig CMD_FPGA_LOADMK 667*4882a593Smuzhiyun bool "fpga loadmk - load bitstream from image" 668*4882a593Smuzhiyun depends on CMD_FPGA 669*4882a593Smuzhiyun help 670*4882a593Smuzhiyun Supports loading an FPGA device from a image generated by mkimage. 671*4882a593Smuzhiyun 672*4882a593Smuzhiyunconfig CMD_FPGA_LOADP 673*4882a593Smuzhiyun bool "fpga loadp - load partial bitstream" 674*4882a593Smuzhiyun depends on CMD_FPGA 675*4882a593Smuzhiyun help 676*4882a593Smuzhiyun Supports loading an FPGA device from a bitstream buffer containing 677*4882a593Smuzhiyun a partial bitstream. 678*4882a593Smuzhiyun 679*4882a593Smuzhiyunconfig CMD_FPGAD 680*4882a593Smuzhiyun bool "fpgad - dump FPGA registers" 681*4882a593Smuzhiyun help 682*4882a593Smuzhiyun (legacy, needs conversion to driver model) 683*4882a593Smuzhiyun Provides a way to dump FPGA registers by calling the board-specific 684*4882a593Smuzhiyun fpga_get_reg() function. This functions similarly to the 'md' 685*4882a593Smuzhiyun command. 686*4882a593Smuzhiyun 687*4882a593Smuzhiyunconfig CMD_FUSE 688*4882a593Smuzhiyun bool "fuse - support for the fuse subssystem" 689*4882a593Smuzhiyun help 690*4882a593Smuzhiyun (deprecated - needs conversion to driver model) 691*4882a593Smuzhiyun This allows reading, sensing, programming or overriding fuses 692*4882a593Smuzhiyun which control the behaviour of the device. The command uses the 693*4882a593Smuzhiyun fuse_...() API. 694*4882a593Smuzhiyun 695*4882a593Smuzhiyunconfig CMD_GPIO 696*4882a593Smuzhiyun bool "gpio" 697*4882a593Smuzhiyun help 698*4882a593Smuzhiyun GPIO support. 699*4882a593Smuzhiyun 700*4882a593Smuzhiyunconfig CMD_GPT 701*4882a593Smuzhiyun bool "GPT (GUID Partition Table) command" 702*4882a593Smuzhiyun select PARTITION_UUIDS 703*4882a593Smuzhiyun select EFI_PARTITION 704*4882a593Smuzhiyun imply RANDOM_UUID 705*4882a593Smuzhiyun help 706*4882a593Smuzhiyun Enable the 'gpt' command to ready and write GPT style partition 707*4882a593Smuzhiyun tables. 708*4882a593Smuzhiyun 709*4882a593Smuzhiyunconfig RANDOM_UUID 710*4882a593Smuzhiyun bool "GPT Random UUID generation" 711*4882a593Smuzhiyun help 712*4882a593Smuzhiyun Enable the generation of partitions with random UUIDs if none 713*4882a593Smuzhiyun are provided. 714*4882a593Smuzhiyun 715*4882a593Smuzhiyunconfig CMD_GPT_RENAME 716*4882a593Smuzhiyun bool "GPT partition renaming commands" 717*4882a593Smuzhiyun depends on CMD_GPT 718*4882a593Smuzhiyun help 719*4882a593Smuzhiyun Enables the 'gpt' command to interchange names on two GPT 720*4882a593Smuzhiyun partitions via the 'gpt swap' command or to rename single 721*4882a593Smuzhiyun partitions via the 'rename' command. 722*4882a593Smuzhiyun 723*4882a593Smuzhiyunconfig CMD_IDE 724*4882a593Smuzhiyun bool "ide - Support for IDE drivers" 725*4882a593Smuzhiyun select IDE 726*4882a593Smuzhiyun help 727*4882a593Smuzhiyun Provides an 'ide' command which allows accessing the IDE drive, 728*4882a593Smuzhiyun reseting the IDE interface, printing the partition table and 729*4882a593Smuzhiyun geting device info. It also enables the 'diskboot' command which 730*4882a593Smuzhiyun permits booting from an IDE drive. 731*4882a593Smuzhiyun 732*4882a593Smuzhiyunconfig CMD_IO 733*4882a593Smuzhiyun bool "io - Support for performing I/O accesses" 734*4882a593Smuzhiyun help 735*4882a593Smuzhiyun Provides an 'iod' command to display I/O space and an 'iow' command 736*4882a593Smuzhiyun to write values to the I/O space. This can be useful for manually 737*4882a593Smuzhiyun checking the state of devices during boot when debugging device 738*4882a593Smuzhiyun drivers, etc. 739*4882a593Smuzhiyun 740*4882a593Smuzhiyunconfig CMD_IOTRACE 741*4882a593Smuzhiyun bool "iotrace - Support for tracing I/O activity" 742*4882a593Smuzhiyun help 743*4882a593Smuzhiyun Provides an 'iotrace' command which supports recording I/O reads and 744*4882a593Smuzhiyun writes in a trace buffer in memory . It also maintains a checksum 745*4882a593Smuzhiyun of the trace records (even if space is exhausted) so that the 746*4882a593Smuzhiyun sequence of I/O accesses can be verified. 747*4882a593Smuzhiyun 748*4882a593Smuzhiyun When debugging drivers it is useful to see what I/O accesses were 749*4882a593Smuzhiyun done and in what order. 750*4882a593Smuzhiyun 751*4882a593Smuzhiyun Even if the individual accesses are of little interest it can be 752*4882a593Smuzhiyun useful to verify that the access pattern is consistent each time 753*4882a593Smuzhiyun an operation is performed. In this case a checksum can be used to 754*4882a593Smuzhiyun characterise the operation of a driver. The checksum can be compared 755*4882a593Smuzhiyun across different runs of the operation to verify that the driver is 756*4882a593Smuzhiyun working properly. 757*4882a593Smuzhiyun 758*4882a593Smuzhiyun In particular, when performing major refactoring of the driver, where 759*4882a593Smuzhiyun the access pattern should not change, the checksum provides assurance 760*4882a593Smuzhiyun that the refactoring work has not broken the driver. 761*4882a593Smuzhiyun 762*4882a593Smuzhiyun This works by sneaking into the io.h heder for an architecture and 763*4882a593Smuzhiyun redirecting I/O accesses through iotrace's tracing mechanism. 764*4882a593Smuzhiyun 765*4882a593Smuzhiyun For now no commands are provided to examine the trace buffer. The 766*4882a593Smuzhiyun format is fairly simple, so 'md' is a reasonable substitute. 767*4882a593Smuzhiyun 768*4882a593Smuzhiyun Note: The checksum feature is only useful for I/O regions where the 769*4882a593Smuzhiyun contents do not change outside of software control. Where this is not 770*4882a593Smuzhiyun suitable you can fall back to manually comparing the addresses. It 771*4882a593Smuzhiyun might be useful to enhance tracing to only checksum the accesses and 772*4882a593Smuzhiyun not the data read/written. 773*4882a593Smuzhiyun 774*4882a593Smuzhiyunconfig CMD_I2C 775*4882a593Smuzhiyun bool "i2c" 776*4882a593Smuzhiyun help 777*4882a593Smuzhiyun I2C support. 778*4882a593Smuzhiyun 779*4882a593Smuzhiyunconfig CMD_LOADB 780*4882a593Smuzhiyun bool "loadb" 781*4882a593Smuzhiyun default y 782*4882a593Smuzhiyun help 783*4882a593Smuzhiyun Load a binary file over serial line. 784*4882a593Smuzhiyun 785*4882a593Smuzhiyunconfig CMD_LOADS 786*4882a593Smuzhiyun bool "loads" 787*4882a593Smuzhiyun default y 788*4882a593Smuzhiyun help 789*4882a593Smuzhiyun Load an S-Record file over serial line 790*4882a593Smuzhiyun 791*4882a593Smuzhiyunconfig CMD_LOAD_ANDROID 792*4882a593Smuzhiyun bool "load_android" 793*4882a593Smuzhiyun default n 794*4882a593Smuzhiyun depends on ANDROID_BOOT_IMAGE 795*4882a593Smuzhiyun help 796*4882a593Smuzhiyun Load an Android Boot image from storage. The Android Boot images 797*4882a593Smuzhiyun define the size and kernel address on the header, which are used by 798*4882a593Smuzhiyun this command. 799*4882a593Smuzhiyun 800*4882a593Smuzhiyunconfig CMD_BOOT_ANDROID 801*4882a593Smuzhiyun bool "boot_android" 802*4882a593Smuzhiyun default n 803*4882a593Smuzhiyun depends on ANDROID_BOOTLOADER 804*4882a593Smuzhiyun help 805*4882a593Smuzhiyun Performs the Android Bootloader boot flow, loading the appropriate 806*4882a593Smuzhiyun Android image (normal kernel, recovery kernel or "bootloader" mode) 807*4882a593Smuzhiyun and booting it. The boot mode is determined by the contents of the 808*4882a593Smuzhiyun Android Bootloader Message. 809*4882a593Smuzhiyun 810*4882a593Smuzhiyunconfig CMD_ANDROID_AB_SELECT 811*4882a593Smuzhiyun bool "android_ab_select" 812*4882a593Smuzhiyun default n 813*4882a593Smuzhiyun depends on ANDROID_AB 814*4882a593Smuzhiyun help 815*4882a593Smuzhiyun On Android devices with more than one boot slot (multiple copies of 816*4882a593Smuzhiyun the kernel and system images) this provides a command to select which 817*4882a593Smuzhiyun slot should be used to boot from and register the boot attempt. This 818*4882a593Smuzhiyun is used by the new A/B update model where one slot is updated in the 819*4882a593Smuzhiyun background while running from the other slot. 820*4882a593Smuzhiyun 821*4882a593Smuzhiyunconfig CMD_BOOT_FIT 822*4882a593Smuzhiyun bool "boot_fit" 823*4882a593Smuzhiyun default n 824*4882a593Smuzhiyun depends on ROCKCHIP_FIT_IMAGE 825*4882a593Smuzhiyun help 826*4882a593Smuzhiyun Performs the FIT boot flow, loading the appropriate FIT image from 827*4882a593Smuzhiyun boot/recovery partition containing kernel/fdt/ramdisk images. 828*4882a593Smuzhiyun Additional that, the IH_TYPE_MULTI can be used for resource file. 829*4882a593Smuzhiyun 830*4882a593Smuzhiyunconfig CMD_BOOT_UIMAGE 831*4882a593Smuzhiyun bool "boot_uimage" 832*4882a593Smuzhiyun default n 833*4882a593Smuzhiyun depends on ROCKCHIP_UIMAGE 834*4882a593Smuzhiyun help 835*4882a593Smuzhiyun Performs the Legacy uImage boot flow, loading the appropriate uImage 836*4882a593Smuzhiyun file from resource/kernel/boot(recovery) partitions. Additional that, 837*4882a593Smuzhiyun the resource partition can be fdt or resource(recommand) uImage file. 838*4882a593Smuzhiyun 839*4882a593Smuzhiyunconfig CMD_BOOT_ROCKCHIP 840*4882a593Smuzhiyun bool "boot_rockchip" 841*4882a593Smuzhiyun default n 842*4882a593Smuzhiyun depends on RKIMG_BOOTLOADER 843*4882a593Smuzhiyun help 844*4882a593Smuzhiyun Performs the Rockchip Bootloader boot flow, loading the appropriate 845*4882a593Smuzhiyun Rockchip image (normal kernel, boot, resource and revocery) 846*4882a593Smuzhiyun and booting it. The boot mode is determined by the contents of the 847*4882a593Smuzhiyun Rockchip bootloader helper. 848*4882a593Smuzhiyun 849*4882a593Smuzhiyunconfig CMD_MMC 850*4882a593Smuzhiyun bool "mmc" 851*4882a593Smuzhiyun help 852*4882a593Smuzhiyun MMC memory mapped support. 853*4882a593Smuzhiyun 854*4882a593Smuzhiyunconfig CMD_MTD 855*4882a593Smuzhiyun bool "mtd" 856*4882a593Smuzhiyun select MTD_PARTITIONS 857*4882a593Smuzhiyun help 858*4882a593Smuzhiyun MTD commands support. 859*4882a593Smuzhiyun 860*4882a593Smuzhiyunconfig CMD_NAND 861*4882a593Smuzhiyun bool "nand" 862*4882a593Smuzhiyun default y if NAND_SUNXI 863*4882a593Smuzhiyun help 864*4882a593Smuzhiyun NAND support. 865*4882a593Smuzhiyun 866*4882a593Smuzhiyunif CMD_NAND 867*4882a593Smuzhiyunconfig CMD_NAND_TRIMFFS 868*4882a593Smuzhiyun bool "nand write.trimffs" 869*4882a593Smuzhiyun default y if ARCH_SUNXI 870*4882a593Smuzhiyun help 871*4882a593Smuzhiyun Allows one to skip empty pages when flashing something on a NAND. 872*4882a593Smuzhiyun 873*4882a593Smuzhiyunconfig CMD_NAND_LOCK_UNLOCK 874*4882a593Smuzhiyun bool "nand lock/unlock" 875*4882a593Smuzhiyun help 876*4882a593Smuzhiyun NAND locking support. 877*4882a593Smuzhiyun 878*4882a593Smuzhiyunconfig CMD_NAND_TORTURE 879*4882a593Smuzhiyun bool "nand torture" 880*4882a593Smuzhiyun help 881*4882a593Smuzhiyun NAND torture support. 882*4882a593Smuzhiyun 883*4882a593Smuzhiyunendif # CMD_NAND 884*4882a593Smuzhiyun 885*4882a593Smuzhiyunconfig CMD_NVME 886*4882a593Smuzhiyun bool "nvme" 887*4882a593Smuzhiyun depends on NVME 888*4882a593Smuzhiyun default y if NVME 889*4882a593Smuzhiyun help 890*4882a593Smuzhiyun NVM Express device support 891*4882a593Smuzhiyun 892*4882a593Smuzhiyunconfig CMD_MMC_SPI 893*4882a593Smuzhiyun bool "mmc_spi - Set up MMC SPI device" 894*4882a593Smuzhiyun help 895*4882a593Smuzhiyun Provides a way to set up an MMC (Multimedia Card) SPI (Serial 896*4882a593Smuzhiyun Peripheral Interface) device. The device provides a means of 897*4882a593Smuzhiyun accessing an MMC device via SPI using a single data line, limited 898*4882a593Smuzhiyun to 20MHz. It is useful since it reduces the amount of protocol code 899*4882a593Smuzhiyun required. 900*4882a593Smuzhiyun 901*4882a593Smuzhiyunconfig CMD_ONENAND 902*4882a593Smuzhiyun bool "onenand - access to onenand device" 903*4882a593Smuzhiyun help 904*4882a593Smuzhiyun OneNAND is a brand of NAND ('Not AND' gate) flash which provides 905*4882a593Smuzhiyun various useful features. This command allows reading, writing, 906*4882a593Smuzhiyun and erasing blocks. It allso provides a way to show and change 907*4882a593Smuzhiyun bad blocks, and test the device. 908*4882a593Smuzhiyun 909*4882a593Smuzhiyunconfig CMD_PART 910*4882a593Smuzhiyun bool "part" 911*4882a593Smuzhiyun select PARTITION_UUIDS 912*4882a593Smuzhiyun help 913*4882a593Smuzhiyun Read and display information about the partition table on 914*4882a593Smuzhiyun various media. 915*4882a593Smuzhiyun 916*4882a593Smuzhiyunconfig CMD_PCI 917*4882a593Smuzhiyun bool "pci - Access PCI devices" 918*4882a593Smuzhiyun help 919*4882a593Smuzhiyun Provide access to PCI (Peripheral Interconnect Bus), a type of bus 920*4882a593Smuzhiyun used on some devices to allow the CPU to communicate with its 921*4882a593Smuzhiyun peripherals. Sub-commands allow bus enumeration, displaying and 922*4882a593Smuzhiyun changing configuration space and a few other features. 923*4882a593Smuzhiyun 924*4882a593Smuzhiyunconfig CMD_PCMCIA 925*4882a593Smuzhiyun bool "pinit - Set up PCMCIA device" 926*4882a593Smuzhiyun help 927*4882a593Smuzhiyun Provides a means to initialise a PCMCIA (Personal Computer Memory 928*4882a593Smuzhiyun Card International Association) device. This is an old standard from 929*4882a593Smuzhiyun about 1990. These devices are typically removable memory or network 930*4882a593Smuzhiyun cards using a standard 68-pin connector. 931*4882a593Smuzhiyun 932*4882a593Smuzhiyunconfig CMD_READ 933*4882a593Smuzhiyun bool "read - Read binary data from a partition" 934*4882a593Smuzhiyun help 935*4882a593Smuzhiyun Provides low-level access to the data in a partition. 936*4882a593Smuzhiyun 937*4882a593Smuzhiyunconfig CMD_REMOTEPROC 938*4882a593Smuzhiyun bool "remoteproc" 939*4882a593Smuzhiyun depends on REMOTEPROC 940*4882a593Smuzhiyun help 941*4882a593Smuzhiyun Support for Remote Processor control 942*4882a593Smuzhiyun 943*4882a593Smuzhiyunconfig CMD_ROCKUSB 944*4882a593Smuzhiyun bool "rockusb - Command to upgrade Rockchip device" 945*4882a593Smuzhiyun depends on USB_GADGET 946*4882a593Smuzhiyun help 947*4882a593Smuzhiyun Rockusb command provides a way to upgrade firmware for 948*4882a593Smuzhiyun Rockchip SoC based devices, its design make use of USB 949*4882a593Smuzhiyun Bulk-Only Transport based on UMS framework. 950*4882a593Smuzhiyun 951*4882a593Smuzhiyunconfig CMD_RKNAND 952*4882a593Smuzhiyun bool "rknand" 953*4882a593Smuzhiyun depends on (RKNAND || RKNANDC_NAND) 954*4882a593Smuzhiyun default y if (RKNAND || RKNANDC_NAND) 955*4882a593Smuzhiyun help 956*4882a593Smuzhiyun Rockchip NAND FLASH device support 957*4882a593Smuzhiyun 958*4882a593Smuzhiyunconfig CMD_RKSFC 959*4882a593Smuzhiyun bool "rksfc" 960*4882a593Smuzhiyun depends on (RKSFC_NOR || RKSFC_NAND) 961*4882a593Smuzhiyun default y if (RKSFC_NOR || RKSFC_NAND) 962*4882a593Smuzhiyun help 963*4882a593Smuzhiyun Rockchip SFC device support 964*4882a593Smuzhiyun 965*4882a593Smuzhiyunconfig CMD_RK_SECURE_STORAGE 966*4882a593Smuzhiyun bool "dump rockchip efuse/otp content" 967*4882a593Smuzhiyun help 968*4882a593Smuzhiyun Dump the data which is written in OTP or efuse. 969*4882a593Smuzhiyun 970*4882a593Smuzhiyunconfig CMD_SATA 971*4882a593Smuzhiyun bool "sata - Access SATA subsystem" 972*4882a593Smuzhiyun select SATA 973*4882a593Smuzhiyun help 974*4882a593Smuzhiyun SATA (Serial Advanced Technology Attachment) is a serial bus 975*4882a593Smuzhiyun standard for connecting to hard drives and other storage devices. 976*4882a593Smuzhiyun This command provides information about attached devices and allows 977*4882a593Smuzhiyun reading, writing and other operations. 978*4882a593Smuzhiyun 979*4882a593Smuzhiyun SATA replaces PATA (originally just ATA), which stands for Parallel AT 980*4882a593Smuzhiyun Attachment, where AT refers to an IBM AT (Advanced Technology) 981*4882a593Smuzhiyun computer released in 1984. 982*4882a593Smuzhiyun 983*4882a593Smuzhiyunconfig CMD_SAVES 984*4882a593Smuzhiyun bool "saves - Save a file over serial in S-Record format" 985*4882a593Smuzhiyun help 986*4882a593Smuzhiyun Provides a way to save a binary file using the Motorola S-Record 987*4882a593Smuzhiyun format over the serial line. 988*4882a593Smuzhiyun 989*4882a593Smuzhiyunconfig CMD_SDRAM 990*4882a593Smuzhiyun bool "sdram - Print SDRAM configuration information" 991*4882a593Smuzhiyun help 992*4882a593Smuzhiyun Provides information about attached SDRAM. This assumed that the 993*4882a593Smuzhiyun SDRAM has an EEPROM with information that can be read using the 994*4882a593Smuzhiyun I2C bus. This is only available on some boards. 995*4882a593Smuzhiyun 996*4882a593Smuzhiyunconfig CMD_SF 997*4882a593Smuzhiyun bool "sf" 998*4882a593Smuzhiyun help 999*4882a593Smuzhiyun SPI Flash support 1000*4882a593Smuzhiyun 1001*4882a593Smuzhiyunconfig CMD_SF_TEST 1002*4882a593Smuzhiyun bool "sf test - Allow testing of SPI flash" 1003*4882a593Smuzhiyun help 1004*4882a593Smuzhiyun Provides a way to test that SPI flash is working correctly. The 1005*4882a593Smuzhiyun test is destructive, in that an area of SPI flash must be provided 1006*4882a593Smuzhiyun for the test to use. Performance information is also provided, 1007*4882a593Smuzhiyun measuring the performance of reading, writing and erasing in 1008*4882a593Smuzhiyun Mbps (Million Bits Per Second). This value should approximately 1009*4882a593Smuzhiyun equal the SPI bus speed for a single-bit-wide SPI bus, assuming 1010*4882a593Smuzhiyun everything is working properly. 1011*4882a593Smuzhiyun 1012*4882a593Smuzhiyunconfig CMD_SPI 1013*4882a593Smuzhiyun bool "sspi" 1014*4882a593Smuzhiyun help 1015*4882a593Smuzhiyun SPI utility command. 1016*4882a593Smuzhiyun 1017*4882a593Smuzhiyunconfig CMD_TSI148 1018*4882a593Smuzhiyun bool "tsi148 - Command to access tsi148 device" 1019*4882a593Smuzhiyun help 1020*4882a593Smuzhiyun This provides various sub-commands to initialise and configure the 1021*4882a593Smuzhiyun Turndra tsi148 device. See the command help for full details. 1022*4882a593Smuzhiyun 1023*4882a593Smuzhiyunconfig CMD_UFS 1024*4882a593Smuzhiyun bool "Enable UFS - Universal Flash Subsystem commands" 1025*4882a593Smuzhiyun depends on UFS 1026*4882a593Smuzhiyun help 1027*4882a593Smuzhiyun "This provides commands to initialise and configure universal flash 1028*4882a593Smuzhiyun subsystem devices" 1029*4882a593Smuzhiyun 1030*4882a593Smuzhiyunconfig CMD_UNIVERSE 1031*4882a593Smuzhiyun bool "universe - Command to set up the Turndra Universe controller" 1032*4882a593Smuzhiyun help 1033*4882a593Smuzhiyun This allows setting up the VMEbus provided by this controller. 1034*4882a593Smuzhiyun See the command help for full details. 1035*4882a593Smuzhiyun 1036*4882a593Smuzhiyunconfig CMD_USB 1037*4882a593Smuzhiyun bool "usb" 1038*4882a593Smuzhiyun help 1039*4882a593Smuzhiyun USB support. 1040*4882a593Smuzhiyun 1041*4882a593Smuzhiyunconfig CMD_USB_SDP 1042*4882a593Smuzhiyun bool "sdp" 1043*4882a593Smuzhiyun select USB_FUNCTION_SDP 1044*4882a593Smuzhiyun help 1045*4882a593Smuzhiyun Enables the command "sdp" which is used to have U-Boot emulating the 1046*4882a593Smuzhiyun Serial Download Protocol (SDP) via USB. 1047*4882a593Smuzhiyun 1048*4882a593Smuzhiyunconfig CMD_USB_MASS_STORAGE 1049*4882a593Smuzhiyun bool "UMS usb mass storage" 1050*4882a593Smuzhiyun help 1051*4882a593Smuzhiyun USB mass storage support 1052*4882a593Smuzhiyun 1053*4882a593Smuzhiyunendmenu 1054*4882a593Smuzhiyun 1055*4882a593Smuzhiyun 1056*4882a593Smuzhiyunmenu "Shell scripting commands" 1057*4882a593Smuzhiyun 1058*4882a593Smuzhiyunconfig CMD_ECHO 1059*4882a593Smuzhiyun bool "echo" 1060*4882a593Smuzhiyun default y 1061*4882a593Smuzhiyun help 1062*4882a593Smuzhiyun Echo args to console 1063*4882a593Smuzhiyun 1064*4882a593Smuzhiyunconfig CMD_ITEST 1065*4882a593Smuzhiyun bool "itest" 1066*4882a593Smuzhiyun default y 1067*4882a593Smuzhiyun help 1068*4882a593Smuzhiyun Return true/false on integer compare. 1069*4882a593Smuzhiyun 1070*4882a593Smuzhiyunconfig CMD_SCRIPT_UPDATE 1071*4882a593Smuzhiyun bool "sd_update/usb_update/tftp_update" 1072*4882a593Smuzhiyun help 1073*4882a593Smuzhiyun Auto run sd_update/usb_update/tftp_update.txt from sd/udisk/tftp. 1074*4882a593Smuzhiyun 1075*4882a593Smuzhiyunconfig CMD_SOURCE 1076*4882a593Smuzhiyun bool "source" 1077*4882a593Smuzhiyun default y 1078*4882a593Smuzhiyun help 1079*4882a593Smuzhiyun Run script from memory 1080*4882a593Smuzhiyun 1081*4882a593Smuzhiyunconfig CMD_SETEXPR 1082*4882a593Smuzhiyun bool "setexpr" 1083*4882a593Smuzhiyun default y 1084*4882a593Smuzhiyun help 1085*4882a593Smuzhiyun Evaluate boolean and math expressions and store the result in an env 1086*4882a593Smuzhiyun variable. 1087*4882a593Smuzhiyun Also supports loading the value at a memory location into a variable. 1088*4882a593Smuzhiyun If CONFIG_REGEX is enabled, setexpr also supports a gsub function. 1089*4882a593Smuzhiyun 1090*4882a593Smuzhiyunendmenu 1091*4882a593Smuzhiyun 1092*4882a593Smuzhiyunmenu "Network commands" 1093*4882a593Smuzhiyun 1094*4882a593Smuzhiyunconfig CMD_NET 1095*4882a593Smuzhiyun bool "bootp, tftpboot" 1096*4882a593Smuzhiyun select NET 1097*4882a593Smuzhiyun default y 1098*4882a593Smuzhiyun help 1099*4882a593Smuzhiyun Network commands. 1100*4882a593Smuzhiyun bootp - boot image via network using BOOTP/TFTP protocol 1101*4882a593Smuzhiyun tftpboot - boot image via network using TFTP protocol 1102*4882a593Smuzhiyun 1103*4882a593Smuzhiyunconfig CMD_TFTPPUT 1104*4882a593Smuzhiyun bool "tftp put" 1105*4882a593Smuzhiyun help 1106*4882a593Smuzhiyun TFTP put command, for uploading files to a server 1107*4882a593Smuzhiyun 1108*4882a593Smuzhiyunconfig CMD_TFTP_BOOTM 1109*4882a593Smuzhiyun bool "tftp download and bootm" 1110*4882a593Smuzhiyun help 1111*4882a593Smuzhiyun TFTP bootm command, download and bootm the aosp/uImage/FIT Image. 1112*4882a593Smuzhiyun 1113*4882a593Smuzhiyunconfig CMD_TFTP_FLASH 1114*4882a593Smuzhiyun bool "tftp download and flash" 1115*4882a593Smuzhiyun help 1116*4882a593Smuzhiyun TFTP flash command, download and flash the Image to partition. 1117*4882a593Smuzhiyun 1118*4882a593Smuzhiyunconfig CMD_TFTP_UPDATE 1119*4882a593Smuzhiyun bool "tftp update" 1120*4882a593Smuzhiyun help 1121*4882a593Smuzhiyun Update a set of images organized with FIT via network using TFTP protocol 1122*4882a593Smuzhiyun 1123*4882a593Smuzhiyun 1124*4882a593Smuzhiyunconfig CMD_TFTPSRV 1125*4882a593Smuzhiyun bool "tftpsrv" 1126*4882a593Smuzhiyun help 1127*4882a593Smuzhiyun Act as a TFTP server and boot the first received file 1128*4882a593Smuzhiyun 1129*4882a593Smuzhiyunconfig CMD_RARP 1130*4882a593Smuzhiyun bool "rarpboot" 1131*4882a593Smuzhiyun help 1132*4882a593Smuzhiyun Boot image via network using RARP/TFTP protocol 1133*4882a593Smuzhiyun 1134*4882a593Smuzhiyunconfig CMD_DHCP 1135*4882a593Smuzhiyun bool "dhcp" 1136*4882a593Smuzhiyun help 1137*4882a593Smuzhiyun Boot image via network using DHCP/TFTP protocol 1138*4882a593Smuzhiyun 1139*4882a593Smuzhiyunconfig CMD_PXE 1140*4882a593Smuzhiyun bool "pxe" 1141*4882a593Smuzhiyun select MENU 1142*4882a593Smuzhiyun help 1143*4882a593Smuzhiyun Boot image via network using PXE protocol 1144*4882a593Smuzhiyun 1145*4882a593Smuzhiyunconfig CMD_NFS 1146*4882a593Smuzhiyun bool "nfs" 1147*4882a593Smuzhiyun default y 1148*4882a593Smuzhiyun help 1149*4882a593Smuzhiyun Boot image via network using NFS protocol. 1150*4882a593Smuzhiyun 1151*4882a593Smuzhiyunconfig CMD_MII 1152*4882a593Smuzhiyun bool "mii" 1153*4882a593Smuzhiyun help 1154*4882a593Smuzhiyun Enable MII utility commands. 1155*4882a593Smuzhiyun 1156*4882a593Smuzhiyunconfig CMD_PING 1157*4882a593Smuzhiyun bool "ping" 1158*4882a593Smuzhiyun help 1159*4882a593Smuzhiyun Send ICMP ECHO_REQUEST to network host 1160*4882a593Smuzhiyun 1161*4882a593Smuzhiyunconfig CMD_CDP 1162*4882a593Smuzhiyun bool "cdp" 1163*4882a593Smuzhiyun help 1164*4882a593Smuzhiyun Perform CDP network configuration 1165*4882a593Smuzhiyun 1166*4882a593Smuzhiyunconfig CMD_SNTP 1167*4882a593Smuzhiyun bool "sntp" 1168*4882a593Smuzhiyun help 1169*4882a593Smuzhiyun Synchronize RTC via network 1170*4882a593Smuzhiyun 1171*4882a593Smuzhiyunconfig CMD_DNS 1172*4882a593Smuzhiyun bool "dns" 1173*4882a593Smuzhiyun help 1174*4882a593Smuzhiyun Lookup the IP of a hostname 1175*4882a593Smuzhiyun 1176*4882a593Smuzhiyunconfig CMD_LINK_LOCAL 1177*4882a593Smuzhiyun bool "linklocal" 1178*4882a593Smuzhiyun help 1179*4882a593Smuzhiyun Acquire a network IP address using the link-local protocol 1180*4882a593Smuzhiyun 1181*4882a593Smuzhiyunconfig CMD_ETHSW 1182*4882a593Smuzhiyun bool "ethsw" 1183*4882a593Smuzhiyun help 1184*4882a593Smuzhiyun Allow control of L2 Ethernet switch commands. These are supported 1185*4882a593Smuzhiyun by the vsc9953 Ethernet driver at present. Sub-commands allow 1186*4882a593Smuzhiyun operations such as enabling / disabling a port and 1187*4882a593Smuzhiyun viewing/maintaining the filtering database (FDB) 1188*4882a593Smuzhiyun 1189*4882a593Smuzhiyunendmenu 1190*4882a593Smuzhiyun 1191*4882a593Smuzhiyunsource "cmd/ddr_tool/Kconfig" 1192*4882a593Smuzhiyun 1193*4882a593Smuzhiyunmenu "Misc commands" 1194*4882a593Smuzhiyun 1195*4882a593Smuzhiyunconfig CMD_BMP 1196*4882a593Smuzhiyun bool "Enable 'bmp' command" 1197*4882a593Smuzhiyun depends on LCD || DM_VIDEO || VIDEO 1198*4882a593Smuzhiyun help 1199*4882a593Smuzhiyun This provides a way to obtain information about a BMP-format iamge 1200*4882a593Smuzhiyun and to display it. BMP (which presumably stands for BitMaP) is a 1201*4882a593Smuzhiyun file format defined by Microsoft which supports images of various 1202*4882a593Smuzhiyun depths, formats and compression methods. Headers on the file 1203*4882a593Smuzhiyun determine the formats used. This command can be used by first loading 1204*4882a593Smuzhiyun the image into RAM, then using this command to look at it or display 1205*4882a593Smuzhiyun it. 1206*4882a593Smuzhiyun 1207*4882a593Smuzhiyunconfig CMD_BSP 1208*4882a593Smuzhiyun bool "Enable board-specific commands" 1209*4882a593Smuzhiyun help 1210*4882a593Smuzhiyun (deprecated: instead, please define a Kconfig option for each command) 1211*4882a593Smuzhiyun 1212*4882a593Smuzhiyun Some boards have board-specific commands which are only enabled 1213*4882a593Smuzhiyun during developemnt and need to be turned off for production. This 1214*4882a593Smuzhiyun option provides a way to control this. The commands that are enabled 1215*4882a593Smuzhiyun vary depending on the board. 1216*4882a593Smuzhiyun 1217*4882a593Smuzhiyunconfig CMD_BKOPS_ENABLE 1218*4882a593Smuzhiyun bool "mmc bkops enable" 1219*4882a593Smuzhiyun depends on CMD_MMC 1220*4882a593Smuzhiyun default n 1221*4882a593Smuzhiyun help 1222*4882a593Smuzhiyun Enable command for setting manual background operations handshake 1223*4882a593Smuzhiyun on a eMMC device. The feature is optionally available on eMMC devices 1224*4882a593Smuzhiyun conforming to standard >= 4.41. 1225*4882a593Smuzhiyun 1226*4882a593Smuzhiyunconfig CMD_BLOCK_CACHE 1227*4882a593Smuzhiyun bool "blkcache - control and stats for block cache" 1228*4882a593Smuzhiyun depends on BLOCK_CACHE 1229*4882a593Smuzhiyun default y if BLOCK_CACHE 1230*4882a593Smuzhiyun help 1231*4882a593Smuzhiyun Enable the blkcache command, which can be used to control the 1232*4882a593Smuzhiyun operation of the cache functions. 1233*4882a593Smuzhiyun This is most useful when fine-tuning the operation of the cache 1234*4882a593Smuzhiyun during development, but also allows the cache to be disabled when 1235*4882a593Smuzhiyun it might hurt performance (e.g. when using the ums command). 1236*4882a593Smuzhiyun 1237*4882a593Smuzhiyunconfig CMD_CACHE 1238*4882a593Smuzhiyun bool "icache or dcache" 1239*4882a593Smuzhiyun help 1240*4882a593Smuzhiyun Enable the "icache" and "dcache" commands 1241*4882a593Smuzhiyun 1242*4882a593Smuzhiyunconfig CMD_DISPLAY 1243*4882a593Smuzhiyun bool "Enable the 'display' command, for character displays" 1244*4882a593Smuzhiyun help 1245*4882a593Smuzhiyun (this needs porting to driver model) 1246*4882a593Smuzhiyun This enables the 'display' command which allows a string to be 1247*4882a593Smuzhiyun displayed on a simple board-specific display. Implement 1248*4882a593Smuzhiyun display_putc() to use it. 1249*4882a593Smuzhiyun 1250*4882a593Smuzhiyunconfig CMD_LED 1251*4882a593Smuzhiyun bool "led" 1252*4882a593Smuzhiyun default y if LED 1253*4882a593Smuzhiyun help 1254*4882a593Smuzhiyun Enable the 'led' command which allows for control of LEDs supported 1255*4882a593Smuzhiyun by the board. The LEDs can be listed with 'led list' and controlled 1256*4882a593Smuzhiyun with led on/off/togle/blink. Any LED drivers can be controlled with 1257*4882a593Smuzhiyun this command, e.g. led_gpio. 1258*4882a593Smuzhiyun 1259*4882a593Smuzhiyunconfig CMD_DATE 1260*4882a593Smuzhiyun bool "date" 1261*4882a593Smuzhiyun default y if DM_RTC 1262*4882a593Smuzhiyun help 1263*4882a593Smuzhiyun Enable the 'date' command for getting/setting the time/date in RTC 1264*4882a593Smuzhiyun devices. 1265*4882a593Smuzhiyun 1266*4882a593Smuzhiyunconfig CMD_TIME 1267*4882a593Smuzhiyun bool "time" 1268*4882a593Smuzhiyun help 1269*4882a593Smuzhiyun Run commands and summarize execution time. 1270*4882a593Smuzhiyun 1271*4882a593Smuzhiyunconfig CMD_GETTIME 1272*4882a593Smuzhiyun bool "gettime - read elapsed time" 1273*4882a593Smuzhiyun help 1274*4882a593Smuzhiyun Enable the 'gettime' command which reads the elapsed time since 1275*4882a593Smuzhiyun U-Boot started running. This shows the time in seconds and 1276*4882a593Smuzhiyun milliseconds. See also the 'bootstage' command which provides more 1277*4882a593Smuzhiyun flexibility for boot timing. 1278*4882a593Smuzhiyun 1279*4882a593Smuzhiyunconfig CMD_RNG 1280*4882a593Smuzhiyun bool "rng command" 1281*4882a593Smuzhiyun depends on DM_RNG 1282*4882a593Smuzhiyun select HEXDUMP 1283*4882a593Smuzhiyun help 1284*4882a593Smuzhiyun Print bytes from the hardware random number generator. 1285*4882a593Smuzhiyun 1286*4882a593Smuzhiyun# TODO: rename to CMD_SLEEP 1287*4882a593Smuzhiyunconfig CMD_MISC 1288*4882a593Smuzhiyun bool "sleep" 1289*4882a593Smuzhiyun default y 1290*4882a593Smuzhiyun help 1291*4882a593Smuzhiyun Delay execution for some time 1292*4882a593Smuzhiyun 1293*4882a593Smuzhiyunconfig CMD_TIMER 1294*4882a593Smuzhiyun bool "timer" 1295*4882a593Smuzhiyun help 1296*4882a593Smuzhiyun Access the system timer. 1297*4882a593Smuzhiyun 1298*4882a593Smuzhiyunconfig CMD_SOUND 1299*4882a593Smuzhiyun bool "sound" 1300*4882a593Smuzhiyun depends on SOUND 1301*4882a593Smuzhiyun help 1302*4882a593Smuzhiyun This provides basic access to the U-Boot's sound support. The main 1303*4882a593Smuzhiyun feature is to play a beep. 1304*4882a593Smuzhiyun 1305*4882a593Smuzhiyun sound init - set up sound system 1306*4882a593Smuzhiyun sound play - play a sound 1307*4882a593Smuzhiyun 1308*4882a593Smuzhiyunconfig CMD_QFW 1309*4882a593Smuzhiyun bool "qfw" 1310*4882a593Smuzhiyun select QFW 1311*4882a593Smuzhiyun help 1312*4882a593Smuzhiyun This provides access to the QEMU firmware interface. The main 1313*4882a593Smuzhiyun feature is to allow easy loading of files passed to qemu-system 1314*4882a593Smuzhiyun via -kernel / -initrd 1315*4882a593Smuzhiyun 1316*4882a593Smuzhiyunsource "cmd/mvebu/Kconfig" 1317*4882a593Smuzhiyun 1318*4882a593Smuzhiyunconfig CMD_TERMINAL 1319*4882a593Smuzhiyun bool "terminal - provides a way to attach a serial terminal" 1320*4882a593Smuzhiyun help 1321*4882a593Smuzhiyun Provides a 'cu'-like serial terminal command. This can be used to 1322*4882a593Smuzhiyun access other serial ports from the system console. The terminal 1323*4882a593Smuzhiyun is very simple with no special processing of characters. As with 1324*4882a593Smuzhiyun cu, you can press ~. (tilde followed by period) to exit. 1325*4882a593Smuzhiyun 1326*4882a593Smuzhiyunconfig CMD_UUID 1327*4882a593Smuzhiyun bool "uuid, guid - generation of unique IDs" 1328*4882a593Smuzhiyun help 1329*4882a593Smuzhiyun This enables two commands: 1330*4882a593Smuzhiyun 1331*4882a593Smuzhiyun uuid - generate random Universally Unique Identifier 1332*4882a593Smuzhiyun guid - generate Globally Unique Identifier based on random UUID 1333*4882a593Smuzhiyun 1334*4882a593Smuzhiyun The two commands are very similar except for the endianness of the 1335*4882a593Smuzhiyun output. 1336*4882a593Smuzhiyun 1337*4882a593Smuzhiyunendmenu 1338*4882a593Smuzhiyun 1339*4882a593Smuzhiyunconfig CMD_BOOTSTAGE 1340*4882a593Smuzhiyun bool "Enable the 'bootstage' command" 1341*4882a593Smuzhiyun depends on BOOTSTAGE 1342*4882a593Smuzhiyun help 1343*4882a593Smuzhiyun Add a 'bootstage' command which supports printing a report 1344*4882a593Smuzhiyun and un/stashing of bootstage data. 1345*4882a593Smuzhiyun 1346*4882a593Smuzhiyunmenu "Power commands" 1347*4882a593Smuzhiyunconfig CMD_PMIC 1348*4882a593Smuzhiyun bool "Enable Driver Model PMIC command" 1349*4882a593Smuzhiyun depends on DM_PMIC 1350*4882a593Smuzhiyun help 1351*4882a593Smuzhiyun This is the pmic command, based on a driver model pmic's API. 1352*4882a593Smuzhiyun Command features are unchanged: 1353*4882a593Smuzhiyun - list - list pmic devices 1354*4882a593Smuzhiyun - pmic dev <id> - show or [set] operating pmic device (NEW) 1355*4882a593Smuzhiyun - pmic dump - dump registers 1356*4882a593Smuzhiyun - pmic read address - read byte of register at address 1357*4882a593Smuzhiyun - pmic write address - write byte to register at address 1358*4882a593Smuzhiyun The only one change for this command is 'dev' subcommand. 1359*4882a593Smuzhiyun 1360*4882a593Smuzhiyunconfig CMD_REGULATOR 1361*4882a593Smuzhiyun bool "Enable Driver Model REGULATOR command" 1362*4882a593Smuzhiyun depends on DM_REGULATOR 1363*4882a593Smuzhiyun help 1364*4882a593Smuzhiyun This command is based on driver model regulator's API. 1365*4882a593Smuzhiyun User interface features: 1366*4882a593Smuzhiyun - list - list regulator devices 1367*4882a593Smuzhiyun - regulator dev <id> - show or [set] operating regulator device 1368*4882a593Smuzhiyun - regulator info - print constraints info 1369*4882a593Smuzhiyun - regulator status - print operating status 1370*4882a593Smuzhiyun - regulator value <val] <-f> - print/[set] voltage value [uV] 1371*4882a593Smuzhiyun - regulator current <val> - print/[set] current value [uA] 1372*4882a593Smuzhiyun - regulator mode <id> - print/[set] operating mode id 1373*4882a593Smuzhiyun - regulator enable - enable the regulator output 1374*4882a593Smuzhiyun - regulator disable - disable the regulator output 1375*4882a593Smuzhiyun 1376*4882a593Smuzhiyun The '-f' (force) option can be used for set the value which exceeds 1377*4882a593Smuzhiyun the limits, which are found in device-tree and are kept in regulator's 1378*4882a593Smuzhiyun uclass platdata structure. 1379*4882a593Smuzhiyun 1380*4882a593Smuzhiyunconfig CMD_CHARGE_DISPLAY 1381*4882a593Smuzhiyun bool "Enable Driver Model Charge Display command" 1382*4882a593Smuzhiyun depends on DM_CHARGE_DISPLAY 1383*4882a593Smuzhiyun default y 1384*4882a593Smuzhiyun help 1385*4882a593Smuzhiyun Support U-Boot charge display. 1386*4882a593Smuzhiyun 1387*4882a593Smuzhiyunconfig CMD_DVFS 1388*4882a593Smuzhiyun bool "Enable Driver Model DVFS command" 1389*4882a593Smuzhiyun depends on DM_DVFS 1390*4882a593Smuzhiyun default y 1391*4882a593Smuzhiyun help 1392*4882a593Smuzhiyun Support dvfs policy apply API 1393*4882a593Smuzhiyun User interface features: 1394*4882a593Smuzhiyun - dvfs - apply dvfs policy once 1395*4882a593Smuzhiyun - dvfs repeat - repeat apply dvfs policy until achieve the target temperature 1396*4882a593Smuzhiyun 1397*4882a593Smuzhiyunendmenu 1398*4882a593Smuzhiyun 1399*4882a593Smuzhiyunmenu "Security commands" 1400*4882a593Smuzhiyunconfig CMD_AES 1401*4882a593Smuzhiyun bool "Enable the 'aes' command" 1402*4882a593Smuzhiyun select AES 1403*4882a593Smuzhiyun help 1404*4882a593Smuzhiyun This provides a means to encrypt and decrypt data using the AES 1405*4882a593Smuzhiyun (Advanced Encryption Standard). This algorithm uses a symetric key 1406*4882a593Smuzhiyun and is widely used as a streaming cipher. Different key lengths are 1407*4882a593Smuzhiyun supported by the algorithm but this command only supports 128 bits 1408*4882a593Smuzhiyun at present. 1409*4882a593Smuzhiyun 1410*4882a593Smuzhiyunconfig CMD_BLOB 1411*4882a593Smuzhiyun bool "Enable the 'blob' command" 1412*4882a593Smuzhiyun help 1413*4882a593Smuzhiyun This is used with the Freescale secure boot mechanism. 1414*4882a593Smuzhiyun 1415*4882a593Smuzhiyun Freescale's SEC block has built-in Blob Protocol which provides 1416*4882a593Smuzhiyun a method for protecting user-defined data across system power 1417*4882a593Smuzhiyun cycles. SEC block protects data in a data structure called a Blob, 1418*4882a593Smuzhiyun which provides both confidentiality and integrity protection. 1419*4882a593Smuzhiyun 1420*4882a593Smuzhiyun Encapsulating data as a blob 1421*4882a593Smuzhiyun Each time that the Blob Protocol is used to protect data, a 1422*4882a593Smuzhiyun different randomly generated key is used to encrypt the data. 1423*4882a593Smuzhiyun This random key is itself encrypted using a key which is derived 1424*4882a593Smuzhiyun from SoC's non-volatile secret key and a 16 bit Key identifier. 1425*4882a593Smuzhiyun The resulting encrypted key along with encrypted data is called a 1426*4882a593Smuzhiyun blob. The non-volatile secure key is available for use only during 1427*4882a593Smuzhiyun secure boot. 1428*4882a593Smuzhiyun 1429*4882a593Smuzhiyun During decapsulation, the reverse process is performed to get back 1430*4882a593Smuzhiyun the original data. 1431*4882a593Smuzhiyun 1432*4882a593Smuzhiyun Sub-commands: 1433*4882a593Smuzhiyun blob enc - encapsulating data as a cryptgraphic blob 1434*4882a593Smuzhiyun blob dec - decapsulating cryptgraphic blob to get the data 1435*4882a593Smuzhiyun 1436*4882a593Smuzhiyun Syntax: 1437*4882a593Smuzhiyun 1438*4882a593Smuzhiyun blob enc src dst len km 1439*4882a593Smuzhiyun 1440*4882a593Smuzhiyun Encapsulate and create blob of data $len bytes long 1441*4882a593Smuzhiyun at address $src and store the result at address $dst. 1442*4882a593Smuzhiyun $km is the 16 byte key modifier is also required for 1443*4882a593Smuzhiyun generation/use as key for cryptographic operation. Key 1444*4882a593Smuzhiyun modifier should be 16 byte long. 1445*4882a593Smuzhiyun 1446*4882a593Smuzhiyun blob dec src dst len km 1447*4882a593Smuzhiyun 1448*4882a593Smuzhiyun Decapsulate the blob of data at address $src and 1449*4882a593Smuzhiyun store result of $len byte at addr $dst. 1450*4882a593Smuzhiyun $km is the 16 byte key modifier is also required for 1451*4882a593Smuzhiyun generation/use as key for cryptographic operation. Key 1452*4882a593Smuzhiyun modifier should be 16 byte long. 1453*4882a593Smuzhiyun 1454*4882a593Smuzhiyunconfig CMD_HASH 1455*4882a593Smuzhiyun bool "Support 'hash' command" 1456*4882a593Smuzhiyun select HASH 1457*4882a593Smuzhiyun help 1458*4882a593Smuzhiyun This provides a way to hash data in memory using various supported 1459*4882a593Smuzhiyun algorithms (such as SHA1, MD5, CRC32). The computed digest can be 1460*4882a593Smuzhiyun saved to memory or to an environment variable. It is also possible 1461*4882a593Smuzhiyun to verify a hash against data in memory. 1462*4882a593Smuzhiyun 1463*4882a593Smuzhiyunconfig HASH_VERIFY 1464*4882a593Smuzhiyun bool "hash -v" 1465*4882a593Smuzhiyun depends on CMD_HASH 1466*4882a593Smuzhiyun help 1467*4882a593Smuzhiyun Add -v option to verify data against a hash. 1468*4882a593Smuzhiyun 1469*4882a593Smuzhiyunconfig CMD_TPM 1470*4882a593Smuzhiyun bool "Enable the 'tpm' command" 1471*4882a593Smuzhiyun depends on TPM 1472*4882a593Smuzhiyun help 1473*4882a593Smuzhiyun This provides a means to talk to a TPM from the command line. A wide 1474*4882a593Smuzhiyun range of commands if provided - see 'tpm help' for details. The 1475*4882a593Smuzhiyun command requires a suitable TPM on your board and the correct driver 1476*4882a593Smuzhiyun must be enabled. 1477*4882a593Smuzhiyun 1478*4882a593Smuzhiyunconfig CMD_TPM_TEST 1479*4882a593Smuzhiyun bool "Enable the 'tpm test' command" 1480*4882a593Smuzhiyun depends on CMD_TPM 1481*4882a593Smuzhiyun help 1482*4882a593Smuzhiyun This provides a a series of tests to confirm that the TPM is working 1483*4882a593Smuzhiyun correctly. The tests cover initialisation, non-volatile RAM, extend, 1484*4882a593Smuzhiyun global lock and checking that timing is within expectations. The 1485*4882a593Smuzhiyun tests pass correctly on Infineon TPMs but may need to be adjusted 1486*4882a593Smuzhiyun for other devices. 1487*4882a593Smuzhiyun 1488*4882a593Smuzhiyunendmenu 1489*4882a593Smuzhiyun 1490*4882a593Smuzhiyunmenu "Firmware commands" 1491*4882a593Smuzhiyunconfig CMD_CROS_EC 1492*4882a593Smuzhiyun bool "Enable crosec command" 1493*4882a593Smuzhiyun depends on CROS_EC 1494*4882a593Smuzhiyun default y 1495*4882a593Smuzhiyun help 1496*4882a593Smuzhiyun Enable command-line access to the Chrome OS EC (Embedded 1497*4882a593Smuzhiyun Controller). This provides the 'crosec' command which has 1498*4882a593Smuzhiyun a number of sub-commands for performing EC tasks such as 1499*4882a593Smuzhiyun updating its flash, accessing a small saved context area 1500*4882a593Smuzhiyun and talking to the I2C bus behind the EC (if there is one). 1501*4882a593Smuzhiyunendmenu 1502*4882a593Smuzhiyun 1503*4882a593Smuzhiyunmenu "Filesystem commands" 1504*4882a593Smuzhiyunconfig CMD_CBFS 1505*4882a593Smuzhiyun bool "Enable the 'cbfs' command" 1506*4882a593Smuzhiyun depends on FS_CBFS 1507*4882a593Smuzhiyun help 1508*4882a593Smuzhiyun Define this to enable support for reading from a Coreboot 1509*4882a593Smuzhiyun filesystem. This is a ROM-based filesystem used for accessing files 1510*4882a593Smuzhiyun on systems that use coreboot as the first boot-loader and then load 1511*4882a593Smuzhiyun U-Boot to actually boot the Operating System. Available commands are 1512*4882a593Smuzhiyun cbfsinit, cbfsinfo, cbfsls and cbfsload. 1513*4882a593Smuzhiyun 1514*4882a593Smuzhiyunconfig CMD_CRAMFS 1515*4882a593Smuzhiyun bool "Enable the 'cramfs' command" 1516*4882a593Smuzhiyun depends on FS_CRAMFS 1517*4882a593Smuzhiyun help 1518*4882a593Smuzhiyun This provides commands for dealing with CRAMFS (Compressed ROM 1519*4882a593Smuzhiyun filesystem). CRAMFS is useful when space is tight since files are 1520*4882a593Smuzhiyun compressed. Two commands are provided: 1521*4882a593Smuzhiyun 1522*4882a593Smuzhiyun cramfsls - lists files in a cramfs image 1523*4882a593Smuzhiyun cramfsload - loads a file from a cramfs image 1524*4882a593Smuzhiyun 1525*4882a593Smuzhiyunconfig CMD_EXT2 1526*4882a593Smuzhiyun bool "ext2 command support" 1527*4882a593Smuzhiyun help 1528*4882a593Smuzhiyun Enables EXT2 FS command 1529*4882a593Smuzhiyun 1530*4882a593Smuzhiyunconfig CMD_EXT4 1531*4882a593Smuzhiyun bool "ext4 command support" 1532*4882a593Smuzhiyun help 1533*4882a593Smuzhiyun Enables EXT4 FS command 1534*4882a593Smuzhiyun 1535*4882a593Smuzhiyunconfig CMD_EXT4_WRITE 1536*4882a593Smuzhiyun depends on CMD_EXT4 1537*4882a593Smuzhiyun bool "ext4 write command support" 1538*4882a593Smuzhiyun help 1539*4882a593Smuzhiyun Enables EXT4 FS write command 1540*4882a593Smuzhiyun 1541*4882a593Smuzhiyunconfig CMD_EXT4_SPARSE_WRITE 1542*4882a593Smuzhiyun depends on CMD_EXT4 1543*4882a593Smuzhiyun bool "ext4 sparse write command support" 1544*4882a593Smuzhiyun help 1545*4882a593Smuzhiyun 1546*4882a593Smuzhiyunconfig CMD_FAT 1547*4882a593Smuzhiyun bool "FAT command support" 1548*4882a593Smuzhiyun select FS_FAT 1549*4882a593Smuzhiyun help 1550*4882a593Smuzhiyun Support for the FAT fs 1551*4882a593Smuzhiyun 1552*4882a593Smuzhiyunconfig CMD_FS_GENERIC 1553*4882a593Smuzhiyun bool "filesystem commands" 1554*4882a593Smuzhiyun help 1555*4882a593Smuzhiyun Enables filesystem commands (e.g. load, ls) that work for multiple 1556*4882a593Smuzhiyun fs types. 1557*4882a593Smuzhiyun 1558*4882a593Smuzhiyunconfig CMD_FS_UUID 1559*4882a593Smuzhiyun bool "fsuuid command" 1560*4882a593Smuzhiyun help 1561*4882a593Smuzhiyun Enables fsuuid command for filesystem UUID. 1562*4882a593Smuzhiyun 1563*4882a593Smuzhiyunconfig CMD_JFFS2 1564*4882a593Smuzhiyun bool "jffs2 command" 1565*4882a593Smuzhiyun select FS_JFFS2 1566*4882a593Smuzhiyun help 1567*4882a593Smuzhiyun Enables commands to support the JFFS2 (Journalling Flash File System 1568*4882a593Smuzhiyun version 2) filesystem. This enables fsload, ls and fsinfo which 1569*4882a593Smuzhiyun provide the ability to load files, list directories and obtain 1570*4882a593Smuzhiyun filesystem information. 1571*4882a593Smuzhiyun 1572*4882a593Smuzhiyunconfig CMD_MTDPARTS 1573*4882a593Smuzhiyun bool "MTD partition support" 1574*4882a593Smuzhiyun select MTD_DEVICE if (CMD_NAND || NAND) 1575*4882a593Smuzhiyun help 1576*4882a593Smuzhiyun MTD partition support 1577*4882a593Smuzhiyun 1578*4882a593Smuzhiyunconfig CMD_MTD 1579*4882a593Smuzhiyun bool "MTD support" 1580*4882a593Smuzhiyun help 1581*4882a593Smuzhiyun MTD support 1582*4882a593Smuzhiyun 1583*4882a593Smuzhiyunconfig CMD_MTD_BLK 1584*4882a593Smuzhiyun bool "MTD block support" 1585*4882a593Smuzhiyun help 1586*4882a593Smuzhiyun MTD block support 1587*4882a593Smuzhiyun 1588*4882a593Smuzhiyunconfig MTDIDS_DEFAULT 1589*4882a593Smuzhiyun string "Default MTD IDs" 1590*4882a593Smuzhiyun depends on CMD_MTD || CMD_MTDPARTS || CMD_NAND || CMD_FLASH 1591*4882a593Smuzhiyun help 1592*4882a593Smuzhiyun Defines a default MTD ID 1593*4882a593Smuzhiyun 1594*4882a593Smuzhiyunconfig MTDPARTS_DEFAULT 1595*4882a593Smuzhiyun string "Default MTD partition scheme" 1596*4882a593Smuzhiyun depends on CMD_MTD || CMD_MTDPARTS || CMD_NAND || CMD_FLASH 1597*4882a593Smuzhiyun help 1598*4882a593Smuzhiyun Defines a default MTD partitioning scheme in the Linux MTD command 1599*4882a593Smuzhiyun line partitions format 1600*4882a593Smuzhiyun 1601*4882a593Smuzhiyunconfig CMD_MTDPARTS_SPREAD 1602*4882a593Smuzhiyun bool "Padd partition size to take account of bad blocks" 1603*4882a593Smuzhiyun depends on CMD_MTDPARTS 1604*4882a593Smuzhiyun help 1605*4882a593Smuzhiyun This enables the 'spread' sub-command of the mtdparts command. 1606*4882a593Smuzhiyun This command will modify the existing mtdparts variable by increasing 1607*4882a593Smuzhiyun the size of the partitions such that 1) each partition's net size is 1608*4882a593Smuzhiyun at least as large as the size specified in the mtdparts variable and 1609*4882a593Smuzhiyun 2) each partition starts on a good block. 1610*4882a593Smuzhiyun 1611*4882a593Smuzhiyunconfig CMD_REISER 1612*4882a593Smuzhiyun bool "reiser - Access to reiserfs filesystems" 1613*4882a593Smuzhiyun help 1614*4882a593Smuzhiyun This provides two commands which operate on a resierfs filesystem, 1615*4882a593Smuzhiyun commonly used some years ago: 1616*4882a593Smuzhiyun 1617*4882a593Smuzhiyun reiserls - list files 1618*4882a593Smuzhiyun reiserload - load a file 1619*4882a593Smuzhiyun 1620*4882a593Smuzhiyunconfig CMD_SCSI 1621*4882a593Smuzhiyun bool "scsi - Access to SCSI devices" 1622*4882a593Smuzhiyun default y if SCSI 1623*4882a593Smuzhiyun help 1624*4882a593Smuzhiyun This provides a 'scsi' command which provides access to SCSI (Small 1625*4882a593Smuzhiyun Computer System Interface) devices. The command provides a way to 1626*4882a593Smuzhiyun scan the bus, reset the bus, read and write data and get information 1627*4882a593Smuzhiyun about devices. 1628*4882a593Smuzhiyun 1629*4882a593Smuzhiyunconfig CMD_YAFFS2 1630*4882a593Smuzhiyun bool "yaffs2 - Access of YAFFS2 filesystem" 1631*4882a593Smuzhiyun depends on YAFFS2 1632*4882a593Smuzhiyun default y 1633*4882a593Smuzhiyun help 1634*4882a593Smuzhiyun This provides commands for accessing a YAFFS2 filesystem. Yet 1635*4882a593Smuzhiyun Another Flash Filesystem 2 is a filesystem designed specifically 1636*4882a593Smuzhiyun for NAND flash. It incorporates bad-block management and ensures 1637*4882a593Smuzhiyun that device writes are sequential regardless of filesystem 1638*4882a593Smuzhiyun activity. 1639*4882a593Smuzhiyun 1640*4882a593Smuzhiyunconfig CMD_ZFS 1641*4882a593Smuzhiyun bool "zfs - Access of ZFS filesystem" 1642*4882a593Smuzhiyun help 1643*4882a593Smuzhiyun This provides commands to accessing a ZFS filesystem, commonly used 1644*4882a593Smuzhiyun on Solaris systems. Two sub-commands are provided: 1645*4882a593Smuzhiyun 1646*4882a593Smuzhiyun zfsls - list files in a directory 1647*4882a593Smuzhiyun zfsload - load a file 1648*4882a593Smuzhiyun 1649*4882a593Smuzhiyun See doc/README.zfs for more details. 1650*4882a593Smuzhiyun 1651*4882a593Smuzhiyunendmenu 1652*4882a593Smuzhiyun 1653*4882a593Smuzhiyunmenu "Debug commands" 1654*4882a593Smuzhiyun 1655*4882a593Smuzhiyunconfig CMD_ATAGS 1656*4882a593Smuzhiyun bool "atags - Dump all rockchip atags" 1657*4882a593Smuzhiyun default y 1658*4882a593Smuzhiyun help 1659*4882a593Smuzhiyun This command dump all rockchip atags. 1660*4882a593Smuzhiyun 1661*4882a593Smuzhiyunconfig CMD_BEDBUG 1662*4882a593Smuzhiyun bool "bedbug" 1663*4882a593Smuzhiyun help 1664*4882a593Smuzhiyun The bedbug (emBEDded deBUGger) command provides debugging features 1665*4882a593Smuzhiyun for some PowerPC processors. For details please see the 1666*4882a593Smuzhiyun docuemntation in doc/README.beddbug 1667*4882a593Smuzhiyun 1668*4882a593Smuzhiyunconfig CMD_DIAG 1669*4882a593Smuzhiyun bool "diag - Board diagnostics" 1670*4882a593Smuzhiyun help 1671*4882a593Smuzhiyun This command provides access to board diagnostic tests. These are 1672*4882a593Smuzhiyun called Power-on Self Tests (POST). The command allows listing of 1673*4882a593Smuzhiyun available tests and running either all the tests, or specific tests 1674*4882a593Smuzhiyun identified by name. 1675*4882a593Smuzhiyun 1676*4882a593Smuzhiyunconfig CMD_IRQ 1677*4882a593Smuzhiyun bool "irq - Show information about interrupts" 1678*4882a593Smuzhiyun depends on !ARM && !MIPS && !SH 1679*4882a593Smuzhiyun help 1680*4882a593Smuzhiyun This enables two commands: 1681*4882a593Smuzhiyun 1682*4882a593Smuzhiyun interrupts - enable or disable interrupts 1683*4882a593Smuzhiyun irqinfo - print device-specific interrupt information 1684*4882a593Smuzhiyun 1685*4882a593Smuzhiyunconfig CMD_KGDB 1686*4882a593Smuzhiyun bool "kgdb - Allow debugging of U-Boot with gdb" 1687*4882a593Smuzhiyun help 1688*4882a593Smuzhiyun This enables a 'kgdb' command which allows gdb to connect to U-Boot 1689*4882a593Smuzhiyun over a serial link for debugging purposes. This allows 1690*4882a593Smuzhiyun single-stepping, inspecting variables, etc. This is supported only 1691*4882a593Smuzhiyun on PowerPC at present. 1692*4882a593Smuzhiyun 1693*4882a593Smuzhiyunconfig CMD_LOG 1694*4882a593Smuzhiyun bool "log - Generation, control and access to logging" 1695*4882a593Smuzhiyun help 1696*4882a593Smuzhiyun This provides access to logging features. It allows the output of 1697*4882a593Smuzhiyun log data to be controlled to a limited extent (setting up the default 1698*4882a593Smuzhiyun maximum log level for emitting of records). It also provides access 1699*4882a593Smuzhiyun to a command used for testing the log system. 1700*4882a593Smuzhiyun 1701*4882a593Smuzhiyunconfig CMD_TRACE 1702*4882a593Smuzhiyun bool "trace - Support tracing of function calls and timing" 1703*4882a593Smuzhiyun help 1704*4882a593Smuzhiyun Enables a command to control using of function tracing within 1705*4882a593Smuzhiyun U-Boot. This allows recording of call traces including timing 1706*4882a593Smuzhiyun information. The command can write data to memory for exporting 1707*4882a593Smuzhiyun for analsys (e.g. using bootchart). See doc/README.trace for full 1708*4882a593Smuzhiyun details. 1709*4882a593Smuzhiyun 1710*4882a593Smuzhiyunendmenu 1711*4882a593Smuzhiyun 1712*4882a593Smuzhiyunconfig CMD_UBI 1713*4882a593Smuzhiyun tristate "Enable UBI - Unsorted block images commands" 1714*4882a593Smuzhiyun select CRC32 1715*4882a593Smuzhiyun select MTD_UBI 1716*4882a593Smuzhiyun select CMD_MTDPARTS 1717*4882a593Smuzhiyun default y if NAND_SUNXI 1718*4882a593Smuzhiyun help 1719*4882a593Smuzhiyun UBI is a software layer above MTD layer which admits use of LVM-like 1720*4882a593Smuzhiyun logical volumes on top of MTD devices, hides some complexities of 1721*4882a593Smuzhiyun flash chips like wear and bad blocks and provides some other useful 1722*4882a593Smuzhiyun capabilities. Please, consult the MTD web site for more details 1723*4882a593Smuzhiyun (www.linux-mtd.infradead.org). Activate this option if you want 1724*4882a593Smuzhiyun to use U-Boot UBI commands. 1725*4882a593Smuzhiyun 1726*4882a593Smuzhiyunconfig CMD_UBIFS 1727*4882a593Smuzhiyun tristate "Enable UBIFS - Unsorted block images filesystem commands" 1728*4882a593Smuzhiyun depends on CMD_UBI 1729*4882a593Smuzhiyun select CRC32 1730*4882a593Smuzhiyun select LZO 1731*4882a593Smuzhiyun default y if CMD_UBI 1732*4882a593Smuzhiyun help 1733*4882a593Smuzhiyun UBIFS is a file system for flash devices which works on top of UBI. 1734*4882a593Smuzhiyun 1735*4882a593Smuzhiyunendmenu 1736