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