]>
Commit | Line | Data |
---|---|---|
88d9b261 SG |
1 | menuconfig CMDLINE |
2 | bool "Command line interface" | |
302a6487 SG |
3 | default y |
4 | help | |
5 | Enable U-Boot's command-line functions. This provides a means | |
6 | to enter commands into U-Boot for a wide variety of purposes. It | |
7 | also allows scripts (containing commands) to be executed. | |
8 | Various commands and command categorys can be indivdually enabled. | |
9 | Depending on the number of commands enabled, this can add | |
10 | substantially to the size of U-Boot. | |
11 | ||
88d9b261 SG |
12 | if CMDLINE |
13 | ||
72a8cf8d SG |
14 | config HUSH_PARSER |
15 | bool "Use hush shell" | |
72a8cf8d SG |
16 | help |
17 | This option enables the "hush" shell (from Busybox) as command line | |
18 | interpreter, thus enabling powerful command line syntax like | |
19 | if...then...else...fi conditionals or `&&' and '||' | |
20 | constructs ("shell scripts"). | |
21 | ||
22 | If disabled, you get the old, much simpler behaviour with a somewhat | |
23 | smaller memory footprint. | |
24 | ||
30dcef89 FL |
25 | menu "Hush flavor to use" |
26 | depends on HUSH_PARSER | |
27 | ||
28 | config HUSH_OLD_PARSER | |
29 | bool "Use hush old parser" | |
3c3a7342 | 30 | default y |
30dcef89 FL |
31 | help |
32 | This option enables the old flavor of hush based on hush Busybox from | |
33 | 2005. | |
34 | ||
3c3a7342 TR |
35 | It is actually the default U-Boot shell when decided to use hush as shell. |
36 | ||
9a068377 FL |
37 | config HUSH_MODERN_PARSER |
38 | bool "Use hush modern parser" | |
39 | help | |
40 | This option enables the new flavor of hush based on hush upstream | |
41 | Busybox. | |
42 | ||
3c3a7342 TR |
43 | This parser is experimental and not well tested. |
44 | ||
9a068377 FL |
45 | config HUSH_SELECTABLE |
46 | bool | |
47 | default y if HUSH_OLD_PARSER && HUSH_MODERN_PARSER | |
30dcef89 FL |
48 | endmenu |
49 | ||
d021e942 AF |
50 | config CMDLINE_EDITING |
51 | bool "Enable command line editing" | |
d021e942 AF |
52 | default y |
53 | help | |
54 | Enable editing and History functions for interactive command line | |
55 | input operations | |
56 | ||
dafcd96d TR |
57 | config CMDLINE_PS_SUPPORT |
58 | bool "Enable support for changing the command prompt string at run-time" | |
59 | depends on HUSH_PARSER | |
60 | help | |
61 | Only static string in the prompt is supported so far. The string is | |
62 | obtained from environment variables PS1 and PS2. | |
63 | ||
d021e942 AF |
64 | config AUTO_COMPLETE |
65 | bool "Enable auto complete using TAB" | |
d021e942 AF |
66 | default y |
67 | help | |
68 | Enable auto completion of commands using TAB. | |
69 | ||
70 | config SYS_LONGHELP | |
71 | bool "Enable long help messages" | |
88d9b261 | 72 | default y |
d021e942 AF |
73 | help |
74 | Defined when you want long help messages included | |
75 | Do not set this option when short of memory. | |
76 | ||
72a8cf8d SG |
77 | config SYS_PROMPT |
78 | string "Shell prompt" | |
a91feaee | 79 | default "Zynq> " if ARCH_ZYNQ |
3c3886d7 | 80 | default "ZynqMP> " if ARCH_ZYNQMP |
72a8cf8d SG |
81 | default "=> " |
82 | help | |
83 | This string is displayed in the command line to the left of the | |
84 | cursor. | |
85 | ||
48aee0af PD |
86 | config SYS_PROMPT_HUSH_PS2 |
87 | string "Hush shell secondary prompt" | |
88 | depends on HUSH_PARSER | |
89 | default "> " | |
90 | help | |
91 | This defines the secondary prompt string, which is | |
92 | printed when the command interpreter needs more input | |
93 | to complete a command. Usually "> ". | |
94 | ||
cf493582 TR |
95 | config SYS_MAXARGS |
96 | int "Maximum number arguments accepted by commands" | |
cc7e3d19 | 97 | default 64 |
cf493582 | 98 | |
7ae31fcc | 99 | config SYS_XTRACE |
b935d190 | 100 | bool "Command execution tracer" |
88d9b261 | 101 | default y |
7ae31fcc CM |
102 | help |
103 | This option enables the possiblity to print all commands before | |
104 | executing them and after all variables are evaluated (similar | |
105 | to Bash's xtrace/'set -x' feature). | |
106 | To enable the tracer a variable "xtrace" needs to be defined in | |
107 | the environment. | |
108 | ||
610eec7f SP |
109 | config BUILD_BIN2C |
110 | bool | |
111 | ||
72a8cf8d SG |
112 | comment "Commands" |
113 | ||
114 | menu "Info commands" | |
115 | ||
0b885bcf SG |
116 | config CMD_ACPI |
117 | bool "acpi" | |
0992a90d | 118 | depends on ACPI |
12218c1f | 119 | default y |
0b885bcf SG |
120 | help |
121 | List and dump ACPI tables. ACPI (Advanced Configuration and Power | |
122 | Interface) is used mostly on x86 for providing information to the | |
123 | Operating System about devices in the system. The tables are set up | |
124 | by the firmware, typically U-Boot but possibly an earlier firmware | |
125 | module, if U-Boot is chain-loaded from something else. ACPI tables | |
126 | can also include code, to perform hardware-specific tasks required | |
127 | by the Operating Systems. This allows some amount of separation | |
128 | between the firmware and OS, and is particularly useful when you | |
129 | want to make hardware changes without the OS needing to be adjusted. | |
130 | ||
56d0635f BM |
131 | config CMD_ADDRMAP |
132 | bool "addrmap" | |
133 | depends on ADDR_MAP | |
134 | default y | |
135 | help | |
136 | List non-identity virtual-physical memory mappings for 32-bit CPUs. | |
137 | ||
72a8cf8d SG |
138 | config CMD_BDI |
139 | bool "bdinfo" | |
140 | default y | |
141 | help | |
142 | Print board info | |
143 | ||
b279f517 SG |
144 | config CMD_BDINFO_EXTRA |
145 | bool "bdinfo extra features" | |
146 | default y if SANDBOX || X86 | |
147 | help | |
148 | Show additional information about the board. This uses a little more | |
149 | code space but provides more options, particularly those useful for | |
150 | bringup, development and debugging. | |
151 | ||
61304dbe MY |
152 | config CMD_CONFIG |
153 | bool "config" | |
61304dbe | 154 | default SANDBOX |
5ed063d1 | 155 | select BUILD_BIN2C |
61304dbe MY |
156 | help |
157 | Print ".config" contents. | |
158 | ||
159 | If this option is enabled, the ".config" file contents are embedded | |
160 | in the U-Boot image and can be printed on the console by the "config" | |
161 | command. This provides information of which options are enabled on | |
162 | the running U-Boot. | |
163 | ||
72a8cf8d SG |
164 | config CMD_CONSOLE |
165 | bool "coninfo" | |
166 | default y | |
167 | help | |
168 | Print console devices and information. | |
169 | ||
170 | config CMD_CPU | |
171 | bool "cpu" | |
622178d9 | 172 | depends on CPU |
72a8cf8d SG |
173 | help |
174 | Print information about available CPUs. This normally shows the | |
175 | number of CPUs, type (e.g. manufacturer, architecture, product or | |
176 | internal name) and clock frequency. Other information may be | |
177 | available depending on the CPU driver. | |
178 | ||
e68c03be SG |
179 | config CMD_FWU_METADATA |
180 | bool "fwu metadata read" | |
181 | depends on FWU_MULTI_BANK_UPDATE | |
182 | help | |
183 | Command to read the metadata and dump it's contents | |
184 | ||
33eb0b9e SG |
185 | config CMD_HISTORY |
186 | bool "history" | |
187 | depends on CMDLINE_EDITING | |
188 | help | |
189 | Show the command-line history, i.e. a list of commands that are in | |
190 | the history buffer. | |
191 | ||
421359ac HZ |
192 | config CMD_HISTORY_USE_CALLOC |
193 | bool "dynamically allocate memory" | |
194 | default y | |
195 | depends on CMD_HISTORY | |
196 | help | |
197 | Saying Y to this will use calloc to get the space for history | |
198 | storing. Otherwise the history buffer will be an uninitialized | |
199 | static array directly, without the memory allocation, and it is | |
200 | writable after relocation to RAM. If u-boot is running from ROM | |
201 | all the time or unsure, say Y to this. | |
202 | ||
72a8cf8d SG |
203 | config CMD_LICENSE |
204 | bool "license" | |
d726f225 | 205 | select BUILD_BIN2C |
cf536dae | 206 | depends on GZIP |
72a8cf8d SG |
207 | help |
208 | Print GPL license text | |
209 | ||
3b65ee34 SG |
210 | config CMD_PMC |
211 | bool "pmc" | |
212 | help | |
213 | Provides access to the Intel Power-Management Controller (PMC) so | |
214 | that its state can be examined. This does not currently support | |
215 | changing the state but it is still useful for debugging and seeing | |
216 | what is going on. | |
217 | ||
fa379223 CL |
218 | config CMD_REGINFO |
219 | bool "reginfo" | |
220 | depends on PPC | |
221 | help | |
222 | Register dump | |
223 | ||
1c79f2ff BS |
224 | config CMD_TLV_EEPROM |
225 | bool "tlv_eeprom" | |
226 | depends on I2C_EEPROM | |
56e3d6ef | 227 | select CRC32 |
1c79f2ff BS |
228 | help |
229 | Display and program the system EEPROM data block in ONIE Tlvinfo | |
230 | format. TLV stands for Type-Length-Value. | |
231 | ||
232 | config SPL_CMD_TLV_EEPROM | |
233 | bool "tlv_eeprom for SPL" | |
234 | depends on SPL_I2C_EEPROM | |
9ca00684 | 235 | select SPL_DRIVERS_MISC |
56e3d6ef | 236 | select SPL_CRC32 |
1c79f2ff BS |
237 | help |
238 | Read system EEPROM data block in ONIE Tlvinfo format from SPL. | |
239 | ||
c92b50a4 HS |
240 | config CMD_SBI |
241 | bool "sbi" | |
242 | depends on RISCV_SMODE && SBI_V02 | |
243 | help | |
244 | Display information about the SBI implementation. | |
245 | ||
9de4ec81 HS |
246 | config CMD_SMBIOS |
247 | bool "smbios" | |
248 | depends on SMBIOS | |
249 | help | |
250 | Display the SMBIOS information. | |
251 | ||
72a8cf8d SG |
252 | endmenu |
253 | ||
254 | menu "Boot commands" | |
255 | ||
256 | config CMD_BOOTD | |
257 | bool "bootd" | |
258 | default y | |
259 | help | |
260 | Run the command stored in the environment "bootcmd", i.e. | |
261 | "bootd" does the same thing as "run bootcmd". | |
262 | ||
263 | config CMD_BOOTM | |
264 | bool "bootm" | |
265 | default y | |
266 | help | |
267 | Boot an application image from the memory. | |
268 | ||
9d46e63d PR |
269 | config CMD_BOOTM_PRE_LOAD |
270 | bool "enable pre-load on bootm" | |
271 | depends on CMD_BOOTM | |
272 | depends on IMAGE_PRE_LOAD | |
9d46e63d | 273 | help |
608a88c2 | 274 | Enable support of stage pre-load for the bootm command. |
9d46e63d PR |
275 | This stage allow to check or modify the image provided |
276 | to the bootm command. | |
277 | ||
5d053cca SG |
278 | config CMD_BOOTDEV |
279 | bool "bootdev" | |
280 | depends on BOOTSTD | |
281 | default y if BOOTSTD_FULL | |
282 | help | |
283 | Support listing available bootdevs (boot devices) which can provide an | |
284 | OS to boot, as well as showing information about a particular one. | |
285 | ||
286 | This command is not necessary for bootstd to work. | |
287 | ||
2d653f68 SG |
288 | config CMD_BOOTFLOW |
289 | bool "bootflow" | |
290 | depends on BOOTSTD | |
291 | default y | |
292 | help | |
293 | Support scanning for bootflows available with the bootdevs. The | |
294 | bootflows can optionally be booted. | |
295 | ||
296 | config CMD_BOOTFLOW_FULL | |
297 | bool "bootflow - extract subcommands" | |
298 | depends on BOOTSTD_FULL | |
d8d40bc3 | 299 | default y |
2d653f68 SG |
300 | help |
301 | Add the ability to list the available bootflows, select one and obtain | |
302 | information about it. | |
303 | ||
304 | This command is not necessary for bootstd to work. | |
305 | ||
7fca71d0 SG |
306 | config CMD_BOOTMETH |
307 | bool "bootmeth" | |
308 | depends on BOOTSTD | |
309 | default y if BOOTSTD_FULL | |
310 | help | |
20a03831 | 311 | Support listing available bootmeths (methods used to boot an |
7fca71d0 SG |
312 | Operating System), as well as selecting the order that the bootmeths |
313 | are used. | |
314 | ||
315 | This command is not necessary for bootstd to work. | |
316 | ||
ecc7fdaa CC |
317 | config BOOTM_EFI |
318 | bool "Support booting UEFI FIT images" | |
6422820a | 319 | depends on EFI_BINARY_EXEC && CMD_BOOTM && FIT |
ecc7fdaa CC |
320 | default y |
321 | help | |
322 | Support booting UEFI FIT images via the bootm command. | |
323 | ||
2abf14df MM |
324 | config BOOTM_ELF |
325 | bool "Support booting ELF images" | |
326 | depends on CMD_BOOTM && LIB_ELF | |
0e463846 | 327 | default y if LIB_ELF |
2abf14df MM |
328 | help |
329 | Support booting ELF images via the bootm command. | |
330 | ||
ab8243e4 DN |
331 | config CMD_BOOTZ |
332 | bool "bootz" | |
333 | help | |
334 | Boot the Linux zImage | |
335 | ||
26959271 MY |
336 | config CMD_BOOTI |
337 | bool "booti" | |
6b8f26bc | 338 | depends on ARM64 || RISCV || SANDBOX |
26959271 MY |
339 | default y |
340 | help | |
341 | Boot an AArch64 Linux Kernel image from memory. | |
342 | ||
cdd20e3f TR |
343 | config BOOTM_LINUX |
344 | bool "Support booting Linux OS images" | |
345 | depends on CMD_BOOTM || CMD_BOOTZ || CMD_BOOTI | |
346 | default y | |
347 | help | |
348 | Support booting the Linux kernel directly via a command such as bootm | |
349 | or booti or bootz. | |
350 | ||
351 | config BOOTM_NETBSD | |
352 | bool "Support booting NetBSD (non-EFI) loader images" | |
353 | depends on CMD_BOOTM | |
354 | default y | |
355 | help | |
356 | Support booting NetBSD via the bootm command. | |
357 | ||
358 | config BOOTM_OPENRTOS | |
359 | bool "Support booting OPENRTOS / FreeRTOS images" | |
360 | depends on CMD_BOOTM | |
361 | help | |
362 | Support booting OPENRTOS / FreeRTOS via the bootm command. | |
363 | ||
364 | config BOOTM_OSE | |
365 | bool "Support booting Enea OSE images" | |
366 | depends on (ARM && (ARM64 || CPU_V7A || CPU_V7R) || SANDBOX || PPC || X86) | |
367 | depends on CMD_BOOTM | |
368 | help | |
369 | Support booting Enea OSE images via the bootm command. | |
370 | ||
371 | config BOOTM_PLAN9 | |
372 | bool "Support booting Plan9 OS images" | |
373 | depends on CMD_BOOTM | |
374 | default y | |
375 | help | |
376 | Support booting Plan9 images via the bootm command. | |
377 | ||
378 | config BOOTM_RTEMS | |
379 | bool "Support booting RTEMS OS images" | |
380 | depends on CMD_BOOTM | |
381 | default y | |
382 | help | |
383 | Support booting RTEMS images via the bootm command. | |
384 | ||
41a29f28 LW |
385 | config CMD_SEAMA |
386 | bool "Support read SEAMA NAND images" | |
387 | depends on MTD_RAW_NAND | |
388 | help | |
389 | Support reading NAND Seattle Image (SEAMA) images. | |
390 | ||
264f4b0b SG |
391 | config CMD_UPL |
392 | bool "upl - Universal Payload Specification" | |
393 | help | |
394 | Provides commands to deal with UPL payloads and handoff information. | |
395 | U-Boot supports generating and accepting handoff information. The | |
396 | mkimage tool will eventually support creating payloads. | |
397 | ||
5fe76d46 SG |
398 | config CMD_VBE |
399 | bool "vbe - Verified Boot for Embedded" | |
400 | depends on BOOTMETH_VBE | |
2d74226f | 401 | default y if BOOTSTD_FULL |
5fe76d46 SG |
402 | help |
403 | Provides various subcommands related to VBE, such as listing the | |
404 | available methods, looking at the state and changing which method | |
405 | is used to boot. Updating the parameters is not currently | |
406 | supported. | |
407 | ||
cdd20e3f TR |
408 | config BOOTM_VXWORKS |
409 | bool "Support booting VxWorks OS images" | |
410 | depends on CMD_BOOTM | |
411 | default y | |
412 | help | |
413 | Support booting VxWorks images via the bootm command. | |
414 | ||
fefff636 AT |
415 | config CMD_BOOTEFI |
416 | bool "bootefi" | |
417 | depends on EFI_LOADER | |
418 | default y | |
419 | help | |
420 | Boot an EFI image from memory. | |
421 | ||
296faf4f AT |
422 | if CMD_BOOTEFI |
423 | config CMD_BOOTEFI_BINARY | |
424 | bool "Allow booting an EFI binary directly" | |
6422820a | 425 | depends on EFI_BINARY_EXEC |
296faf4f AT |
426 | default y |
427 | help | |
428 | Select this option to enable direct execution of binary at 'bootefi'. | |
429 | This subcommand will allow you to load the UEFI binary using | |
430 | other U-Boot commands or external methods and then run it. | |
431 | ||
422822cf SG |
432 | config CMD_BOOTEFI_BOOTMGR |
433 | bool "UEFI Boot Manager command" | |
279b03d9 | 434 | depends on EFI_BOOTMGR |
422822cf SG |
435 | default y |
436 | help | |
437 | Select this option to enable the 'bootmgr' subcommand of 'bootefi'. | |
438 | This subcommand will allow you to select the UEFI binary to be booted | |
439 | via UEFI variables Boot####, BootOrder, and BootNext. | |
440 | ||
c7ae3dfd SG |
441 | config CMD_BOOTEFI_HELLO |
442 | bool "Allow booting a standard EFI hello world for testing" | |
6fe80876 | 443 | depends on CMD_BOOTEFI_BINARY && BOOTEFI_HELLO_COMPILE |
ec5f0ed3 | 444 | default y if CMD_BOOTEFI_SELFTEST |
c7ae3dfd SG |
445 | help |
446 | This adds a standard EFI hello world application to U-Boot so that | |
447 | it can be used with the 'bootefi hello' command. This is useful | |
448 | for testing that EFI is working at a basic level, and for bringing | |
449 | up EFI support on a new architecture. | |
450 | ||
953d335d | 451 | source "lib/efi_selftest/Kconfig" |
296faf4f | 452 | endif |
623b3a57 | 453 | |
4880b026 TR |
454 | config CMD_BOOTMENU |
455 | bool "bootmenu" | |
456 | select MENU | |
a3d0aa87 | 457 | select CHARSET |
4880b026 TR |
458 | help |
459 | Add an ANSI terminal boot menu command. | |
460 | ||
b84acf10 ER |
461 | config CMD_ADTIMG |
462 | bool "adtimg" | |
d03e76af SP |
463 | help |
464 | Android DTB/DTBO image manipulation commands. Read dtb/dtbo files from | |
465 | image into RAM, dump image structure information, etc. Those dtb/dtbo | |
466 | files should be merged in one dtb further, which needs to be passed to | |
467 | the kernel, as part of a boot process. | |
468 | ||
94f6d0d1 SP |
469 | config CMD_ABOOTIMG |
470 | bool "abootimg" | |
471 | depends on ANDROID_BOOT_IMAGE | |
472 | help | |
473 | Android Boot Image manipulation commands. Allows one to extract | |
474 | images contained in boot.img, like kernel, ramdisk, dtb, etc, and | |
475 | obtain corresponding meta-information from boot.img. | |
476 | ||
34b43193 SP |
477 | See doc/android/boot-image.rst for details. |
478 | ||
a0874dc4 SG |
479 | config CMD_CEDIT |
480 | bool "cedit - Configuration editor" | |
481 | depends on CEDIT | |
482 | default y | |
483 | help | |
484 | Provides a command to allow editing of board configuration and | |
485 | providing a UI for the user to adjust settings. Subcommands allow | |
486 | loading and saving of configuration as well as showing an editor. | |
487 | ||
72a8cf8d | 488 | config CMD_ELF |
080bb848 | 489 | bool "bootelf" |
72a8cf8d | 490 | default y |
805b3cac | 491 | select LIB_ELF |
72a8cf8d | 492 | help |
080bb848 DP |
493 | Boot an ELF image from memory. |
494 | ||
495 | config CMD_ELF_BOOTVX | |
496 | bool "bootvx" | |
497 | default y | |
498 | depends on CMD_ELF | |
499 | help | |
500 | Boot a vxWorks image from memory | |
72a8cf8d | 501 | |
6d1734f0 MM |
502 | config CMD_ELF_FDT_SETUP |
503 | bool "Flattened Device Tree setup in bootelf cmd" | |
6d1734f0 | 504 | depends on CMD_ELF |
0e463846 | 505 | select OF_LIBFDT |
6d1734f0 MM |
506 | help |
507 | Do FDT setup in bootelf command optionally by param -d, which | |
508 | allows to bring additional system info (e.g. /memory node) to | |
509 | the Operating System or application. | |
510 | ||
23922e26 MS |
511 | config CMD_FDT |
512 | bool "Flattened Device Tree utility commands" | |
513 | default y | |
514 | depends on OF_LIBFDT | |
515 | help | |
516 | Do FDT related setup before booting into the Operating System. | |
517 | ||
2f84e9cf KM |
518 | config SUPPORT_EXTENSION_SCAN |
519 | bool | |
520 | ||
521 | config CMD_EXTENSION | |
522 | bool "Extension board management command" | |
523 | select CMD_FDT | |
524 | depends on SUPPORT_EXTENSION_SCAN | |
525 | help | |
526 | Enables the "extension" command, which allows to detect | |
527 | extension boards connected to the system, and apply | |
528 | corresponding Device Tree overlays. | |
529 | ||
72a8cf8d SG |
530 | config CMD_GO |
531 | bool "go" | |
532 | default y | |
533 | help | |
534 | Start an application at a given address. | |
535 | ||
536 | config CMD_RUN | |
537 | bool "run" | |
538 | default y | |
539 | help | |
540 | Run the command in the given environment variable. | |
541 | ||
542 | config CMD_IMI | |
543 | bool "iminfo" | |
544 | default y | |
545 | help | |
546 | Print header information for application image. | |
547 | ||
548 | config CMD_IMLS | |
549 | bool "imls" | |
03de305e | 550 | depends on MTD_NOR_FLASH || FLASH_CFI_DRIVER |
72a8cf8d SG |
551 | help |
552 | List all images found in flash | |
553 | ||
554 | config CMD_XIMG | |
555 | bool "imxtract" | |
556 | default y | |
557 | help | |
558 | Extract a part of a multi-image. | |
559 | ||
05e8e240 NS |
560 | config SYS_XIMG_LEN |
561 | hex "imxtract max gunzip size" | |
562 | default 0x800000 | |
563 | depends on CMD_XIMG && GZIP | |
564 | help | |
565 | This provides the size of the commad-line argument area | |
566 | used by imxtract for extracting pieces of FIT image. | |
567 | It should be large enough to fit uncompressed size of | |
568 | FIT piece we are extracting. | |
569 | ||
72c3033f SG |
570 | config CMD_SPL |
571 | bool "spl export - Export boot information for Falcon boot" | |
572 | depends on SPL | |
573 | help | |
574 | Falcon mode allows booting directly from SPL into an Operating | |
575 | System such as Linux, thus skipping U-Boot proper. See | |
576 | doc/README.falcon for full information about how to use this | |
577 | command. | |
578 | ||
203dc1b3 | 579 | config CMD_SPL_NAND_OFS |
f63c43b8 | 580 | hex "Offset of OS args or dtb for Falcon-mode NAND boot" |
7cb179ee | 581 | depends on CMD_SPL && (TPL_NAND_SUPPORT || SPL_NAND_SUPPORT) |
a077ac13 | 582 | default 0x0 |
203dc1b3 SG |
583 | help |
584 | This provides the offset of the command line arguments for Linux | |
585 | when booting from NAND in Falcon mode. See doc/README.falcon | |
586 | for full information about how to use this option (and also see | |
587 | board/gateworks/gw_ventana/README for an example). | |
588 | ||
ef9e57d3 LM |
589 | config CMD_SPL_NOR_OFS |
590 | hex "Offset of OS args or dtb for Falcon-mode NOR boot" | |
591 | depends on CMD_SPL && SPL_NOR_SUPPORT | |
a077ac13 | 592 | default 0x0 |
ef9e57d3 LM |
593 | help |
594 | This provides the offset of the command line arguments or dtb for | |
595 | Linux when booting from NOR in Falcon mode. | |
596 | ||
3a91a253 SG |
597 | config CMD_SPL_WRITE_SIZE |
598 | hex "Size of argument area" | |
599 | depends on CMD_SPL | |
600 | default 0x2000 | |
601 | help | |
602 | This provides the size of the command-line argument area in NAND | |
603 | flash used by Falcon-mode boot. See the documentation until CMD_SPL | |
604 | for detail. | |
605 | ||
9b92a8d7 SG |
606 | config CMD_THOR_DOWNLOAD |
607 | bool "thor - TIZEN 'thor' download" | |
909338c3 | 608 | select DFU |
16794d30 VYA |
609 | select USB_FUNCTION_THOR |
610 | depends on USB_GADGET_DOWNLOAD | |
9b92a8d7 SG |
611 | help |
612 | Implements the 'thor' download protocol. This is a way of | |
613 | downloading a software update over USB from an attached host. | |
614 | There is no documentation about this within the U-Boot source code | |
615 | but you should be able to find something on the interwebs. | |
616 | ||
60910a3f TR |
617 | config THOR_RESET_OFF |
618 | bool "thor: Disable reset on completion" | |
619 | depends on CMD_THOR_DOWNLOAD | |
620 | ||
e7a815f3 SG |
621 | config CMD_ZBOOT |
622 | bool "zboot - x86 boot command" | |
80d4c987 SG |
623 | depends on ZBOOT |
624 | default y | |
e7a815f3 SG |
625 | help |
626 | With x86 machines it is common to boot a bzImage file which | |
627 | contains both a kernel and a setup.bin file. The latter includes | |
628 | configuration information from the dark ages which x86 boards still | |
629 | need to pick things out of. | |
630 | ||
631 | Consider using FIT in preference to this since it supports directly | |
632 | booting both 32- and 64-bit kernels, as well as secure boot. | |
082b4675 | 633 | Documentation is available in doc/usage/fit/x86-fit-boot.rst. |
e7a815f3 | 634 | |
72a8cf8d SG |
635 | endmenu |
636 | ||
637 | menu "Environment commands" | |
638 | ||
ab8243e4 DN |
639 | config CMD_ASKENV |
640 | bool "ask for env variable" | |
641 | help | |
642 | Ask for environment variable | |
643 | ||
72a8cf8d SG |
644 | config CMD_EXPORTENV |
645 | bool "env export" | |
646 | default y | |
647 | help | |
648 | Export environments. | |
649 | ||
650 | config CMD_IMPORTENV | |
651 | bool "env import" | |
652 | default y | |
653 | help | |
654 | Import environments. | |
655 | ||
656 | config CMD_EDITENV | |
657 | bool "editenv" | |
658 | default y | |
659 | help | |
660 | Edit environment variable. | |
661 | ||
ab8243e4 DN |
662 | config CMD_GREPENV |
663 | bool "search env" | |
664 | help | |
665 | Allow for searching environment variables | |
666 | ||
72a8cf8d SG |
667 | config CMD_SAVEENV |
668 | bool "saveenv" | |
669 | default y | |
670 | help | |
671 | Save all environment variables into the compiled-in persistent | |
672 | storage. | |
673 | ||
cd121bdb FW |
674 | config CMD_ERASEENV |
675 | bool "eraseenv" | |
cd121bdb FW |
676 | depends on CMD_SAVEENV |
677 | help | |
678 | Erase environment variables from the compiled-in persistent | |
679 | storage. | |
680 | ||
72a8cf8d SG |
681 | config CMD_ENV_EXISTS |
682 | bool "env exists" | |
683 | default y | |
684 | help | |
685 | Check if a variable is defined in the environment for use in | |
686 | shell scripting. | |
687 | ||
a55d29d2 SG |
688 | config CMD_ENV_CALLBACK |
689 | bool "env callbacks - print callbacks and their associated variables" | |
690 | help | |
691 | Some environment variable have callbacks defined by | |
692 | U_BOOT_ENV_CALLBACK. These are called when the variable changes. | |
693 | For example changing "baudrate" adjust the serial baud rate. This | |
694 | command lists the currently defined callbacks. | |
695 | ||
ffc76589 SG |
696 | config CMD_ENV_FLAGS |
697 | bool "env flags -print variables that have non-default flags" | |
698 | help | |
699 | Some environment variables have special flags that control their | |
700 | behaviour. For example, serial# can only be written once and cannot | |
701 | be deleted. This command shows the variables that have special | |
702 | flags. | |
703 | ||
49d81fdf AT |
704 | config CMD_NVEDIT_EFI |
705 | bool "env [set|print] -e - set/print UEFI variables" | |
706 | depends on EFI_LOADER | |
49d81fdf AT |
707 | imply HEXDUMP |
708 | help | |
709 | UEFI variables are encoded as some form of U-Boot variables. | |
710 | If enabled, we are allowed to set/print UEFI variables using | |
711 | "env" command with "-e" option without knowing details. | |
712 | ||
ec57bd74 SDR |
713 | config CMD_NVEDIT_INDIRECT |
714 | bool "env indirect - Sets environment value from another" | |
715 | ||
8e92120b LR |
716 | config CMD_NVEDIT_INFO |
717 | bool "env info - print or evaluate environment information" | |
718 | help | |
719 | Print environment information: | |
720 | - env_valid : is environment valid | |
721 | - env_ready : is environment imported into hash table | |
722 | - env_use_default : is default environment used | |
723 | ||
724 | This command can be optionally used for evaluation in scripts: | |
725 | [-d] : evaluate whether default environment is used | |
726 | [-p] : evaluate whether environment can be persisted | |
6718ebd0 | 727 | [-q] : quiet output |
8e92120b LR |
728 | The result of multiple evaluations will be combined with AND. |
729 | ||
0115dd3a PD |
730 | config CMD_NVEDIT_LOAD |
731 | bool "env load" | |
732 | help | |
733 | Load all environment variables from the compiled-in persistent | |
734 | storage. | |
735 | ||
a97d22eb PD |
736 | config CMD_NVEDIT_SELECT |
737 | bool "env select" | |
738 | help | |
739 | Select the compiled-in persistent storage of environment variables. | |
740 | ||
72a8cf8d SG |
741 | endmenu |
742 | ||
743 | menu "Memory commands" | |
744 | ||
55b25561 MS |
745 | config CMD_BINOP |
746 | bool "binop" | |
747 | help | |
748 | Compute binary operations (xor, or, and) of byte arrays of arbitrary | |
749 | size from memory and store the result in memory or the environment. | |
750 | ||
4aed2276 SG |
751 | config CMD_BLOBLIST |
752 | bool "bloblist" | |
aa028df7 HS |
753 | depends on BLOBLIST |
754 | default y | |
4aed2276 SG |
755 | help |
756 | Show information about the bloblist, a collection of binary blobs | |
757 | held in memory that persist between SPL and U-Boot. In the case of | |
758 | x86 devices the bloblist can be used to hold ACPI tables so that they | |
759 | remain available in memory. | |
760 | ||
72a8cf8d SG |
761 | config CMD_CRC32 |
762 | bool "crc32" | |
763 | default y | |
5ed063d1 | 764 | select HASH |
72a8cf8d SG |
765 | help |
766 | Compute CRC32. | |
767 | ||
221a949e DT |
768 | config CRC32_VERIFY |
769 | bool "crc32 -v" | |
770 | depends on CMD_CRC32 | |
771 | help | |
772 | Add -v option to verify data against a crc32 checksum. | |
773 | ||
a1dc980d SG |
774 | config CMD_EEPROM |
775 | bool "eeprom - EEPROM subsystem" | |
407184cd | 776 | depends on DM_I2C || SYS_I2C_LEGACY |
a1dc980d SG |
777 | help |
778 | (deprecated, needs conversion to driver model) | |
779 | Provides commands to read and write EEPROM (Electrically Erasable | |
780 | Programmable Read Only Memory) chips that are connected over an | |
781 | I2C bus. | |
782 | ||
783 | config CMD_EEPROM_LAYOUT | |
784 | bool "Enable layout-aware eeprom commands" | |
785 | depends on CMD_EEPROM | |
786 | help | |
787 | (deprecated, needs conversion to driver model) | |
788 | When enabled, additional eeprom sub-commands become available. | |
789 | ||
790 | eeprom print - prints the contents of the eeprom in a human-readable | |
791 | way (eeprom layout fields, and data formatted to be fit for human | |
792 | consumption). | |
793 | ||
794 | eeprom update - allows user to update eeprom fields by specifying | |
795 | the field name, and providing the new data in a human readable format | |
796 | (same format as displayed by the eeprom print command). | |
797 | ||
798 | Both commands can either auto detect the layout, or be told which | |
799 | layout to use. | |
800 | ||
801 | Feature API: | |
802 | __weak int parse_layout_version(char *str) | |
803 | - override to provide your own layout name parsing | |
804 | __weak void __eeprom_layout_assign(struct eeprom_layout *layout, | |
805 | int layout_version); | |
806 | - override to setup the layout metadata based on the version | |
807 | __weak int eeprom_layout_detect(unsigned char *data) | |
808 | - override to provide your own algorithm for detecting layout | |
809 | version | |
810 | eeprom_field.c | |
811 | - contains various printing and updating functions for common | |
812 | types of eeprom fields. Can be used for defining | |
813 | custom layouts. | |
814 | ||
2d49dafe MB |
815 | config EEPROM_LAYOUT_VERSIONS |
816 | bool "Support specifying eeprom layout version" | |
817 | depends on CMD_EEPROM_LAYOUT | |
818 | help | |
819 | Support specifying eeprom layout version in the 'eeprom' command | |
820 | via the -l option. | |
821 | ||
a1dc980d SG |
822 | config EEPROM_LAYOUT_HELP_STRING |
823 | string "Tells user what layout names are supported" | |
2d49dafe | 824 | depends on EEPROM_LAYOUT_VERSIONS |
a1dc980d SG |
825 | default "<not defined>" |
826 | help | |
827 | Help printed with the LAYOUT VERSIONS part of the 'eeprom' | |
828 | command's help. | |
829 | ||
88cd7d0e TR |
830 | config SYS_I2C_EEPROM_BUS |
831 | int "I2C bus of the EEPROM device." | |
832 | depends on CMD_EEPROM | |
833 | default 0 | |
834 | ||
835 | config SYS_I2C_EEPROM_ADDR_LEN | |
836 | int "Length in bytes of the EEPROM memory array address" | |
837 | depends on CMD_EEPROM || ID_EEPROM | |
838 | default 1 | |
839 | range 1 2 | |
840 | help | |
841 | Note: This is NOT the chip address length! | |
842 | ||
843 | config SYS_EEPROM_SIZE | |
844 | depends on CMD_EEPROM | |
845 | int "Size in bytes of the EEPROM device" | |
846 | default 256 | |
847 | ||
848 | config SYS_EEPROM_PAGE_WRITE_BITS | |
849 | int "Number of bits used to address bytes in a single page" | |
03de305e | 850 | depends on CMD_EEPROM || ENV_IS_IN_EEPROM |
88cd7d0e TR |
851 | default 8 |
852 | help | |
853 | The EEPROM page size is 2^SYS_EEPROM_PAGE_WRITE_BITS. | |
854 | A 64 byte page, for example would require six bits. | |
855 | ||
856 | config SYS_EEPROM_PAGE_WRITE_DELAY_MS | |
857 | int "Number of milliseconds to delay between page writes" | |
858 | depends on CMD_EEPROM || CMD_I2C | |
859 | default 0 | |
860 | ||
ba71be54 SG |
861 | config LOOPW |
862 | bool "loopw" | |
863 | help | |
864 | Infinite write loop on address range | |
865 | ||
bea79d7d AP |
866 | config CMD_MD5SUM |
867 | bool "md5sum" | |
bea79d7d | 868 | select MD5 |
6ec3f920 | 869 | select HASH |
bea79d7d AP |
870 | help |
871 | Compute MD5 checksum. | |
872 | ||
221a949e | 873 | config MD5SUM_VERIFY |
bea79d7d | 874 | bool "md5sum -v" |
bea79d7d AP |
875 | depends on CMD_MD5SUM |
876 | help | |
877 | Add -v option to verify data against an MD5 checksum. | |
878 | ||
ba71be54 SG |
879 | config CMD_MEMINFO |
880 | bool "meminfo" | |
221a949e | 881 | help |
ba71be54 | 882 | Display memory information. |
221a949e | 883 | |
ba71be54 SG |
884 | config CMD_MEMORY |
885 | bool "md, mm, nm, mw, cp, cmp, base, loop" | |
886 | default y | |
72a8cf8d | 887 | help |
ba71be54 SG |
888 | Memory commands. |
889 | md - memory display | |
890 | mm - memory modify (auto-incrementing address) | |
891 | nm - memory modify (constant address) | |
892 | mw - memory write (fill) | |
893 | cp - memory copy | |
894 | cmp - memory compare | |
895 | base - print or set address offset | |
896 | loop - initialize loop on address range | |
72a8cf8d | 897 | |
550a9e79 | 898 | config CMD_MEM_SEARCH |
bdded201 SG |
899 | bool "ms - Memory search" |
900 | help | |
901 | Memory-search command | |
902 | ||
903 | This allows searching through a region of memory looking for hex | |
904 | data (byte, 16-bit word, 32-bit long, also 64-bit on machines that | |
905 | support it). It is also possible to search for a string. The | |
906 | command accepts a memory range and a list of values to search for. | |
907 | The values need to appear in memory in the same order they are given | |
908 | in the command. At most 10 matches can be returned at a time, but | |
909 | pressing return will show the next 10 matches. Environment variables | |
910 | are set for use with scripting (memmatches, memaddr, mempos). | |
911 | ||
72732318 | 912 | config CMD_MX_CYCLIC |
78f28773 AF |
913 | bool "Enable cyclic md/mw commands" |
914 | depends on CMD_MEMORY | |
915 | help | |
608a88c2 AM |
916 | Add the "mdc" and "mwc" memory commands. These are cyclic |
917 | "md/mw" commands. | |
918 | Examples: | |
78f28773 AF |
919 | |
920 | => mdc.b 10 4 500 | |
921 | This command will print 4 bytes (10,11,12,13) each 500 ms. | |
922 | ||
923 | => mwc.l 100 12345678 10 | |
924 | This command will write 12345678 to address 100 all 10 ms. | |
925 | ||
803e1a3d JJH |
926 | config CMD_RANDOM |
927 | bool "random" | |
928 | default y | |
929 | depends on CMD_MEMORY && (LIB_RAND || LIB_HW_RAND) | |
930 | help | |
931 | random - fill memory with random data | |
932 | ||
72a8cf8d SG |
933 | config CMD_MEMTEST |
934 | bool "memtest" | |
935 | help | |
936 | Simple RAM read/write test. | |
937 | ||
e89f8aae MS |
938 | if CMD_MEMTEST |
939 | ||
940 | config SYS_ALT_MEMTEST | |
941 | bool "Alternative test" | |
942 | help | |
943 | Use a more complete alternative memory test. | |
944 | ||
9989fb18 RS |
945 | if SYS_ALT_MEMTEST |
946 | ||
947 | config SYS_ALT_MEMTEST_BITFLIP | |
948 | bool "Bitflip test" | |
949 | default y | |
950 | help | |
951 | The alternative memory test includes bitflip test since 2020.07. | |
952 | The bitflip test significantly increases the overall test time. | |
953 | Bitflip test can optionally be disabled here. | |
954 | ||
955 | endif | |
956 | ||
702de89c ARS |
957 | config SYS_MEMTEST_START |
958 | hex "default start address for mtest" | |
ff27af12 | 959 | default 0x0 |
702de89c ARS |
960 | help |
961 | This is the default start address for mtest for simple read/write | |
962 | test. If no arguments are given to mtest, default address is used | |
963 | as start address. | |
964 | ||
965 | config SYS_MEMTEST_END | |
966 | hex "default end address for mtest" | |
967 | default 0x1000 | |
968 | help | |
969 | This is the default end address for mtest for simple read/write | |
970 | test. If no arguments are given to mtest, default address is used | |
971 | as end address. | |
972 | ||
e89f8aae MS |
973 | endif |
974 | ||
ba71be54 SG |
975 | config CMD_SHA1SUM |
976 | bool "sha1sum" | |
977 | select SHA1 | |
72a8cf8d | 978 | help |
ba71be54 SG |
979 | Compute SHA1 checksum. |
980 | ||
981 | config SHA1SUM_VERIFY | |
982 | bool "sha1sum -v" | |
983 | depends on CMD_SHA1SUM | |
984 | help | |
985 | Add -v option to verify data against a SHA1 checksum. | |
72a8cf8d | 986 | |
00805d7a SG |
987 | config CMD_STRINGS |
988 | bool "strings - display strings in memory" | |
989 | help | |
990 | This works similarly to the Unix 'strings' command except that it | |
991 | works with a memory range. String of printable characters found | |
992 | within the range are displayed. The minimum number of characters | |
993 | for a sequence to be considered a string can be provided. | |
994 | ||
ee7c0e71 SG |
995 | endmenu |
996 | ||
997 | menu "Compression commands" | |
998 | ||
999 | config CMD_LZMADEC | |
1000 | bool "lzmadec" | |
99e46dfc | 1001 | default y if CMD_BOOTI |
ee7c0e71 SG |
1002 | select LZMA |
1003 | help | |
1004 | Support decompressing an LZMA (Lempel-Ziv-Markov chain algorithm) | |
1005 | image from memory. | |
1006 | ||
a1732232 YA |
1007 | config CMD_UNLZ4 |
1008 | bool "unlz4" | |
1009 | default y if CMD_BOOTI | |
1010 | select LZ4 | |
1011 | help | |
1012 | Support decompressing an LZ4 image from memory region. | |
1013 | ||
e9d33e73 MY |
1014 | config CMD_UNZIP |
1015 | bool "unzip" | |
99e46dfc | 1016 | default y if CMD_BOOTI |
56c311bd | 1017 | select GZIP |
e9d33e73 MY |
1018 | help |
1019 | Uncompress a zip-compressed memory region. | |
1020 | ||
1021 | config CMD_ZIP | |
1022 | bool "zip" | |
eff5a547 | 1023 | select GZIP_COMPRESSED |
e9d33e73 MY |
1024 | help |
1025 | Compress a memory region with zlib deflate method. | |
1026 | ||
72a8cf8d SG |
1027 | endmenu |
1028 | ||
1029 | menu "Device access commands" | |
1030 | ||
f16a48fe AEK |
1031 | config CMD_ARMFFA |
1032 | bool "Arm FF-A test command" | |
1033 | depends on ARM_FFA_TRANSPORT | |
1034 | help | |
1035 | Provides a test command for the FF-A support | |
1036 | supported options: | |
1037 | - Listing the partition(s) info | |
1038 | - Sending a data pattern to the specified partition | |
1039 | - Displaying the arm_ffa device info | |
1040 | ||
0c19b4d1 | 1041 | config CMD_ARMFLASH |
0c19b4d1 | 1042 | bool "armflash" |
03de305e | 1043 | depends on FLASH_CFI_DRIVER |
0c19b4d1 SG |
1044 | help |
1045 | ARM Ltd reference designs flash partition access | |
1046 | ||
051ebe32 NA |
1047 | config CMD_ADC |
1048 | bool "adc - Access Analog to Digital Converters info and data" | |
1049 | select ADC | |
6e741cfa | 1050 | depends on DM_REGULATOR |
051ebe32 NA |
1051 | help |
1052 | Shows ADC device info and permit printing one-shot analog converted | |
1053 | data from a named Analog to Digital Converter. | |
1054 | ||
db7b7a05 ER |
1055 | config CMD_BCB |
1056 | bool "bcb" | |
db7b7a05 ER |
1057 | depends on PARTITIONS |
1058 | help | |
1059 | Read/modify/write the fields of Bootloader Control Block, usually | |
1060 | stored on the flash "misc" partition with its structure defined in: | |
1061 | https://android.googlesource.com/platform/bootable/recovery/+/master/ | |
1062 | bootloader_message/include/bootloader_message/bootloader_message.h | |
1063 | ||
1064 | Some real-life use-cases include (but are not limited to): | |
1065 | - Determine the "boot reason" (and act accordingly): | |
1066 | https://source.android.com/devices/bootloader/boot-reason | |
1067 | - Get/pass a list of commands from/to recovery: | |
1068 | https://android.googlesource.com/platform/bootable/recovery | |
1069 | - Inspect/dump the contents of the BCB fields | |
1070 | ||
49c752c9 JJH |
1071 | config CMD_BIND |
1072 | bool "bind/unbind - Bind or unbind a device to/from a driver" | |
1073 | depends on DM | |
249a75d8 | 1074 | imply CMD_DM |
49c752c9 JJH |
1075 | help |
1076 | Bind or unbind a device to/from a driver from the command line. | |
1077 | This is useful in situations where a device may be handled by several | |
1078 | drivers. For example, this can be used to bind a UDC to the usb ether | |
1079 | gadget driver from the command line. | |
1080 | ||
d315628e SG |
1081 | config CMD_CLK |
1082 | bool "clk - Show clock frequencies" | |
1083 | help | |
1084 | (deprecated) | |
1085 | Shows clock frequences by calling a sock_clk_dump() hook function. | |
1086 | This is depreated in favour of using the CLK uclass and accessing | |
1087 | clock values from associated drivers. However currently no command | |
1088 | exists for this. | |
1089 | ||
0c19b4d1 SG |
1090 | config CMD_DEMO |
1091 | bool "demo - Demonstration commands for driver model" | |
1092 | depends on DM | |
1093 | help | |
1094 | Provides a 'demo' command which can be used to play around with | |
1095 | driver model. To use this properly you will need to enable one or | |
1096 | both of the demo devices (DM_DEMO_SHAPE and DM_DEMO_SIMPLE). | |
1097 | Otherwise you will always get an empty list of devices. The demo | |
1098 | devices are defined in the sandbox device tree, so the easiest | |
1099 | option is to use sandbox and pass the -d point to sandbox's | |
1100 | u-boot.dtb file. | |
1101 | ||
1102 | config CMD_DFU | |
1103 | bool "dfu" | |
0f44d335 | 1104 | select DFU |
0c19b4d1 SG |
1105 | help |
1106 | Enables the command "dfu" which is used to have U-Boot create a DFU | |
00fd59dd SG |
1107 | class device via USB. This command requires that the "dfu_alt_info" |
1108 | environment variable be set and define the alt settings to expose to | |
1109 | the host. | |
0c19b4d1 | 1110 | |
72a8cf8d SG |
1111 | config CMD_DM |
1112 | bool "dm - Access to driver model information" | |
1113 | depends on DM | |
72a8cf8d SG |
1114 | help |
1115 | Provides access to driver model data structures and information, | |
1116 | such as a list of devices, list of uclasses and the state of each | |
1117 | device (e.g. activated). This is not required for operation, but | |
1118 | can be useful to see the state of driver model for debugging or | |
1119 | interest. | |
1120 | ||
312a10f1 AK |
1121 | config CMD_FASTBOOT |
1122 | bool "fastboot - Android fastboot support" | |
1123 | depends on FASTBOOT | |
1124 | help | |
1125 | This enables the command "fastboot" which enables the Android | |
1126 | fastboot mode for the platform. Fastboot is a protocol for | |
1127 | downloading images, flashing and device control used on | |
f73a7df9 AK |
1128 | Android devices. Fastboot requires either the network stack |
1129 | enabled or support for acting as a USB device. | |
312a10f1 | 1130 | |
586a1bf5 | 1131 | See doc/android/fastboot.rst for more information. |
312a10f1 | 1132 | |
0c19b4d1 SG |
1133 | config CMD_FLASH |
1134 | bool "flinfo, erase, protect" | |
1135 | default y | |
cda3f81b | 1136 | depends on FLASH_CFI_DRIVER || MTD_NOR_FLASH |
0c19b4d1 SG |
1137 | help |
1138 | NOR flash support. | |
1139 | flinfo - print FLASH memory information | |
1140 | erase - FLASH memory | |
1141 | protect - enable or disable FLASH write protection | |
1142 | ||
1143 | config CMD_FPGA | |
1144 | bool "fpga" | |
a4fa8114 | 1145 | depends on FPGA |
0c19b4d1 SG |
1146 | default y |
1147 | help | |
1148 | FPGA support. | |
1149 | ||
1150 | config CMD_FPGA_LOADBP | |
1151 | bool "fpga loadbp - load partial bitstream (Xilinx only)" | |
1152 | depends on CMD_FPGA | |
1153 | help | |
1154 | Supports loading an FPGA device from a bitstream buffer containing | |
1155 | a partial bitstream. | |
1156 | ||
1157 | config CMD_FPGA_LOADFS | |
1158 | bool "fpga loadfs - load bitstream from FAT filesystem (Xilinx only)" | |
1159 | depends on CMD_FPGA | |
1160 | help | |
1161 | Supports loading an FPGA device from a FAT filesystem. | |
1162 | ||
1163 | config CMD_FPGA_LOADMK | |
1164 | bool "fpga loadmk - load bitstream from image" | |
1165 | depends on CMD_FPGA | |
1166 | help | |
1167 | Supports loading an FPGA device from a image generated by mkimage. | |
1168 | ||
1169 | config CMD_FPGA_LOADP | |
1170 | bool "fpga loadp - load partial bitstream" | |
1171 | depends on CMD_FPGA | |
1172 | help | |
1173 | Supports loading an FPGA device from a bitstream buffer containing | |
1174 | a partial bitstream. | |
1175 | ||
cedd48e2 | 1176 | config CMD_FPGA_LOAD_SECURE |
fb2b8856 | 1177 | bool "fpga loads - loads secure bitstreams" |
cedd48e2 | 1178 | depends on CMD_FPGA |
fb2b8856 | 1179 | select FPGA_LOAD_SECURE |
cedd48e2 SDPP |
1180 | help |
1181 | Enables the fpga loads command which is used to load secure | |
1182 | (authenticated or encrypted or both) bitstreams on to FPGA. | |
1183 | ||
0c19b4d1 SG |
1184 | config CMD_FPGAD |
1185 | bool "fpgad - dump FPGA registers" | |
03de305e | 1186 | depends on GDSYS_LEGACY_DRIVERS |
0c19b4d1 SG |
1187 | help |
1188 | (legacy, needs conversion to driver model) | |
1189 | Provides a way to dump FPGA registers by calling the board-specific | |
1190 | fpga_get_reg() function. This functions similarly to the 'md' | |
1191 | command. | |
1192 | ||
1193 | config CMD_FUSE | |
1194 | bool "fuse - support for the fuse subssystem" | |
1195 | help | |
1196 | (deprecated - needs conversion to driver model) | |
1197 | This allows reading, sensing, programming or overriding fuses | |
1198 | which control the behaviour of the device. The command uses the | |
1199 | fuse_...() API. | |
1200 | ||
1201 | config CMD_GPIO | |
1202 | bool "gpio" | |
1203 | help | |
1204 | GPIO support. | |
1205 | ||
dd2b8c11 DR |
1206 | config CMD_GPIO_READ |
1207 | bool "gpio read - save GPIO value to variable" | |
1208 | depends on CMD_GPIO | |
1209 | help | |
1210 | Enables the 'gpio read' command that saves the value | |
1211 | of a GPIO pin to a variable. | |
1212 | ||
9e9a530a PP |
1213 | config CMD_PWM |
1214 | bool "pwm" | |
1215 | depends on DM_PWM | |
1216 | help | |
1217 | Control PWM channels, this allows invert/config/enable/disable PWM channels. | |
1218 | ||
0c19b4d1 SG |
1219 | config CMD_GPT |
1220 | bool "GPT (GUID Partition Table) command" | |
0c19b4d1 | 1221 | select EFI_PARTITION |
5ed063d1 | 1222 | select PARTITION_UUIDS |
47738acc | 1223 | imply RANDOM_UUID |
0c19b4d1 SG |
1224 | help |
1225 | Enable the 'gpt' command to ready and write GPT style partition | |
1226 | tables. | |
1227 | ||
1228 | config CMD_GPT_RENAME | |
1229 | bool "GPT partition renaming commands" | |
1230 | depends on CMD_GPT | |
1231 | help | |
1232 | Enables the 'gpt' command to interchange names on two GPT | |
1233 | partitions via the 'gpt swap' command or to rename single | |
1234 | partitions via the 'rename' command. | |
72a8cf8d | 1235 | |
75eb9976 SG |
1236 | config CMD_IDE |
1237 | bool "ide - Support for IDE drivers" | |
fc843a02 | 1238 | select IDE |
75eb9976 SG |
1239 | help |
1240 | Provides an 'ide' command which allows accessing the IDE drive, | |
1107b062 | 1241 | resetting the IDE interface, printing the partition table and |
75eb9976 SG |
1242 | geting device info. It also enables the 'diskboot' command which |
1243 | permits booting from an IDE drive. | |
1244 | ||
594e8d1c SG |
1245 | config CMD_IO |
1246 | bool "io - Support for performing I/O accesses" | |
1247 | help | |
1248 | Provides an 'iod' command to display I/O space and an 'iow' command | |
1249 | to write values to the I/O space. This can be useful for manually | |
1250 | checking the state of devices during boot when debugging device | |
1251 | drivers, etc. | |
1252 | ||
7d0f5c13 SG |
1253 | config CMD_IOTRACE |
1254 | bool "iotrace - Support for tracing I/O activity" | |
1255 | help | |
1256 | Provides an 'iotrace' command which supports recording I/O reads and | |
1257 | writes in a trace buffer in memory . It also maintains a checksum | |
1258 | of the trace records (even if space is exhausted) so that the | |
1259 | sequence of I/O accesses can be verified. | |
1260 | ||
1261 | When debugging drivers it is useful to see what I/O accesses were | |
1262 | done and in what order. | |
1263 | ||
1264 | Even if the individual accesses are of little interest it can be | |
1265 | useful to verify that the access pattern is consistent each time | |
1266 | an operation is performed. In this case a checksum can be used to | |
1267 | characterise the operation of a driver. The checksum can be compared | |
1268 | across different runs of the operation to verify that the driver is | |
1269 | working properly. | |
1270 | ||
1271 | In particular, when performing major refactoring of the driver, where | |
1272 | the access pattern should not change, the checksum provides assurance | |
1273 | that the refactoring work has not broken the driver. | |
1274 | ||
1275 | This works by sneaking into the io.h heder for an architecture and | |
1276 | redirecting I/O accesses through iotrace's tracing mechanism. | |
1277 | ||
1278 | For now no commands are provided to examine the trace buffer. The | |
1279 | format is fairly simple, so 'md' is a reasonable substitute. | |
1280 | ||
1281 | Note: The checksum feature is only useful for I/O regions where the | |
1282 | contents do not change outside of software control. Where this is not | |
1283 | suitable you can fall back to manually comparing the addresses. It | |
1284 | might be useful to enhance tracing to only checksum the accesses and | |
1285 | not the data read/written. | |
1286 | ||
0c19b4d1 SG |
1287 | config CMD_I2C |
1288 | bool "i2c" | |
1289 | help | |
1290 | I2C support. | |
1291 | ||
d05266f7 EH |
1292 | config CMD_W1 |
1293 | depends on W1 | |
1294 | default y if W1 | |
1295 | bool "w1 - Support for Dallas 1-Wire protocol" | |
1296 | help | |
1297 | Dallas 1-wire protocol support | |
1298 | ||
72a8cf8d SG |
1299 | config CMD_LOADB |
1300 | bool "loadb" | |
1301 | default y | |
1302 | help | |
1303 | Load a binary file over serial line. | |
1304 | ||
bfef72e4 RMS |
1305 | config CMD_LOADM |
1306 | bool "loadm" | |
1307 | help | |
1308 | Load a binary over memory mapped. | |
1309 | ||
72a8cf8d | 1310 | config CMD_LOADS |
2c8d04dd | 1311 | bool "loads - Load a file over serial in S-Record format" |
72a8cf8d SG |
1312 | default y |
1313 | help | |
1314 | Load an S-Record file over serial line | |
1315 | ||
2c8d04dd TR |
1316 | config LOADS_ECHO |
1317 | bool "Echo all characters received during a loads back to console" | |
1318 | depends on CMD_LOADS | |
1319 | help | |
1320 | If enabled, all characters received during a serial download (using | |
1321 | the "loads" command) are echoed back. This might be needed by some | |
1322 | terminal emulations (like "cu"), but may as well just take time on | |
1323 | others. This sets the initial value of the "loads_echo" environment | |
1324 | variable to 1. | |
1325 | ||
1326 | config CMD_SAVES | |
1327 | bool "saves - Save a file over serial in S-Record format" | |
aadc1a60 | 1328 | depends on CMD_LOADS |
2c8d04dd TR |
1329 | help |
1330 | Provides a way to save a binary file using the Motorola S-Record | |
1331 | format over the serial line. | |
1332 | ||
1333 | config SYS_LOADS_BAUD_CHANGE | |
1334 | bool "Enable a temporary baudrate change during loads/saves command" | |
1335 | depends on CMD_LOADS || CMD_SAVES | |
1336 | ||
1b3e6820 T |
1337 | config CMD_LOADXY_TIMEOUT |
1338 | int "loadxy_timeout" | |
1339 | range 0 2000 | |
1340 | default 90 | |
1341 | help | |
1342 | Initial timeout for loadx and loady commands. Zero means infinity. | |
1343 | ||
e3697908 NF |
1344 | config CMD_LSBLK |
1345 | depends on BLK | |
1346 | bool "lsblk - list block drivers and devices" | |
1347 | help | |
1348 | Print list of available block device drivers, and for each, the list | |
1349 | of known block devices. | |
1350 | ||
750c543c MS |
1351 | config CMD_MBR |
1352 | bool "MBR (Master Boot Record) command" | |
1353 | select DOS_PARTITION | |
750c543c MS |
1354 | help |
1355 | Enable the 'mbr' command to ready and write MBR (Master Boot Record) | |
1356 | style partition tables. | |
1357 | ||
3bc0db11 BM |
1358 | config CMD_MISC |
1359 | bool "misc" | |
1360 | depends on MISC | |
1361 | help | |
1362 | Enable the command "misc" for accessing miscellaneous devices with | |
1363 | a MISC uclass driver. The command provides listing all MISC devices | |
1364 | as well as read and write functionalities via their drivers. | |
1365 | ||
ab8243e4 DN |
1366 | config CMD_MMC |
1367 | bool "mmc" | |
ec611871 | 1368 | depends on MMC |
ab8243e4 DN |
1369 | help |
1370 | MMC memory mapped support. | |
1371 | ||
453d2138 HS |
1372 | if CMD_MMC |
1373 | ||
1374 | config CMD_BKOPS_ENABLE | |
1375 | bool "mmc bkops enable" | |
1376 | depends on CMD_MMC | |
453d2138 HS |
1377 | help |
1378 | Enable command for setting manual background operations handshake | |
1379 | on a eMMC device. The feature is optionally available on eMMC devices | |
1380 | conforming to standard >= 4.41. | |
1381 | ||
b5f40393 MV |
1382 | config CMD_MMC_REG |
1383 | bool "Enable support for reading card registers in the mmc command" | |
1384 | depends on CMD_MMC | |
1385 | help | |
1386 | Enable the commands for reading card registers. This is useful | |
1387 | mostly for debugging or extracting details from the card. | |
1388 | ||
5a7b11e6 AK |
1389 | config CMD_MMC_RPMB |
1390 | bool "Enable support for RPMB in the mmc command" | |
453d2138 | 1391 | depends on SUPPORT_EMMC_RPMB |
5a7b11e6 AK |
1392 | help |
1393 | Enable the commands for reading, writing and programming the | |
1394 | key for the Replay Protection Memory Block partition in eMMC. | |
1395 | ||
c232d14d AK |
1396 | config CMD_MMC_SWRITE |
1397 | bool "mmc swrite" | |
453d2138 | 1398 | depends on MMC_WRITE |
c232d14d AK |
1399 | select IMAGE_SPARSE |
1400 | help | |
1401 | Enable support for the "mmc swrite" command to write Android sparse | |
1402 | images to eMMC. | |
1403 | ||
39aa94a5 MV |
1404 | config MMC_SPEED_MODE_SET |
1405 | bool "set speed mode using mmc command" | |
1406 | help | |
1407 | Enable setting speed mode using mmc rescan and mmc dev commands. | |
1408 | The speed mode is provided as the last argument in these commands | |
1409 | and is indicated using the index from enum bus_mode in | |
1410 | include/mmc.h. A speed mode can be set only if it has already | |
1411 | been enabled in the device tree. | |
1412 | ||
453d2138 HS |
1413 | endif |
1414 | ||
4a4830cf JC |
1415 | config CMD_CLONE |
1416 | bool "clone" | |
1417 | depends on BLK | |
1418 | help | |
1419 | Enable storage cloning over block devices, useful for | |
1420 | initial flashing by external block device without network | |
1421 | or usb support. | |
1422 | ||
bcc6c574 RG |
1423 | config CMD_OPTEE_RPMB |
1424 | bool "Enable read/write support on RPMB via OPTEE" | |
dfac18e9 IO |
1425 | depends on (SUPPORT_EMMC_RPMB && OPTEE) || SANDBOX_TEE |
1426 | default y if SANDBOX_TEE | |
1427 | select OPTEE_TA_AVB if SANDBOX_TEE | |
bcc6c574 RG |
1428 | help |
1429 | Enable the commands for reading, writing persistent named values | |
1430 | in the Replay Protection Memory Block partition in eMMC by | |
1431 | using Persistent Objects in OPTEE | |
1432 | ||
5db66b3a MR |
1433 | config CMD_MTD |
1434 | bool "mtd" | |
ff102c54 | 1435 | depends on MTD |
5db66b3a MR |
1436 | select MTD_PARTITIONS |
1437 | help | |
1438 | MTD commands support. | |
1439 | ||
248fc160 AK |
1440 | config CMD_MTD_OTP |
1441 | bool "mtd otp" | |
1442 | depends on CMD_MTD | |
1443 | select HEXDUMP | |
1444 | help | |
1445 | MTD commands for OTP access. | |
1446 | ||
05115abe PY |
1447 | config CMD_MUX |
1448 | bool "mux" | |
1449 | depends on MULTIPLEXER | |
1450 | help | |
1451 | List, select, and deselect mux controllers on the fly. | |
1452 | ||
72a8cf8d SG |
1453 | config CMD_NAND |
1454 | bool "nand" | |
522c282f | 1455 | default y if NAND_SUNXI |
ff102c54 | 1456 | depends on MTD_RAW_NAND |
72a8cf8d SG |
1457 | help |
1458 | NAND support. | |
1459 | ||
e915d201 BB |
1460 | if CMD_NAND |
1461 | config CMD_NAND_TRIMFFS | |
1462 | bool "nand write.trimffs" | |
d482a8df | 1463 | default y if ARCH_SUNXI |
e915d201 BB |
1464 | help |
1465 | Allows one to skip empty pages when flashing something on a NAND. | |
1466 | ||
1467 | config CMD_NAND_LOCK_UNLOCK | |
1468 | bool "nand lock/unlock" | |
1469 | help | |
1470 | NAND locking support. | |
1471 | ||
1472 | config CMD_NAND_TORTURE | |
1473 | bool "nand torture" | |
1474 | help | |
1475 | NAND torture support. | |
1476 | ||
1477 | endif # CMD_NAND | |
1478 | ||
0adc38be ZZ |
1479 | config CMD_NVME |
1480 | bool "nvme" | |
1481 | depends on NVME | |
1482 | default y if NVME | |
1483 | help | |
1484 | NVM Express device support | |
1485 | ||
978f0854 SG |
1486 | config CMD_ONENAND |
1487 | bool "onenand - access to onenand device" | |
ff102c54 | 1488 | depends on MTD |
978f0854 SG |
1489 | help |
1490 | OneNAND is a brand of NAND ('Not AND' gate) flash which provides | |
1491 | various useful features. This command allows reading, writing, | |
1492 | and erasing blocks. It allso provides a way to show and change | |
1493 | bad blocks, and test the device. | |
1494 | ||
dd4bf244 TR |
1495 | config USE_ONENAND_BOARD_INIT |
1496 | bool "Call onenand_board_init() in the onenand command" | |
1497 | depends on CMD_ONENAND | |
1498 | ||
3bf65cb5 MS |
1499 | config CMD_OSD |
1500 | bool "osd" | |
650883a5 | 1501 | depends on OSD |
3bf65cb5 MS |
1502 | help |
1503 | Enable the 'osd' command which allows to query information from and | |
1504 | write text data to a on-screen display (OSD) device; a virtual device | |
1505 | associated with a display capable of displaying a text overlay on the | |
1506 | display it's associated with.. | |
1507 | ||
b331cd62 PD |
1508 | config CMD_PART |
1509 | bool "part" | |
64efbd12 | 1510 | depends on PARTITIONS |
5ed063d1 | 1511 | select PARTITION_UUIDS |
b331cd62 PD |
1512 | help |
1513 | Read and display information about the partition table on | |
1514 | various media. | |
1515 | ||
6500ec7a SG |
1516 | config CMD_PCI |
1517 | bool "pci - Access PCI devices" | |
1518 | help | |
1519 | Provide access to PCI (Peripheral Interconnect Bus), a type of bus | |
1520 | used on some devices to allow the CPU to communicate with its | |
1521 | peripherals. Sub-commands allow bus enumeration, displaying and | |
1522 | changing configuration space and a few other features. | |
1523 | ||
59b1c9be SC |
1524 | config CMD_PCI_MPS |
1525 | bool "pci_mps - Configure PCI device MPS" | |
1526 | depends on PCI | |
1527 | help | |
1528 | Enables PCI Express Maximum Packet Size (MPS) tuning. This | |
1529 | command configures the PCI Express MPS of each endpoint to the | |
1530 | largest value supported by all devices below the root complex. | |
1531 | The Maximum Read Request Size will not be altered. This method is | |
1532 | the same algorithm as used by Linux pci=pcie_bus_safe. | |
1533 | ||
d5a83139 PC |
1534 | config CMD_PINMUX |
1535 | bool "pinmux - show pins muxing" | |
a70abcff | 1536 | depends on PINCTRL |
d5a83139 PC |
1537 | default y if PINCTRL |
1538 | help | |
1539 | Parse all available pin-controllers and show pins muxing. This | |
1540 | is useful for debug purpoer to check the pin muxing and to know if | |
1541 | a pin is configured as a GPIO or as an alternate function. | |
1542 | ||
577c40ae AF |
1543 | config CMD_POWEROFF |
1544 | bool "poweroff" | |
1545 | help | |
1546 | Poweroff/Shutdown the system | |
1547 | ||
b75dfd2d SG |
1548 | config CMD_READ |
1549 | bool "read - Read binary data from a partition" | |
1550 | help | |
1551 | Provides low-level access to the data in a partition. | |
1552 | ||
0c19b4d1 SG |
1553 | config CMD_REMOTEPROC |
1554 | bool "remoteproc" | |
1555 | depends on REMOTEPROC | |
1556 | help | |
1557 | Support for Remote Processor control | |
1558 | ||
1559 | config CMD_SATA | |
1560 | bool "sata - Access SATA subsystem" | |
1561 | select SATA | |
1562 | help | |
1563 | SATA (Serial Advanced Technology Attachment) is a serial bus | |
1564 | standard for connecting to hard drives and other storage devices. | |
1565 | This command provides information about attached devices and allows | |
1566 | reading, writing and other operations. | |
1567 | ||
1568 | SATA replaces PATA (originally just ATA), which stands for Parallel AT | |
1569 | Attachment, where AT refers to an IBM AT (Advanced Technology) | |
1570 | computer released in 1984. | |
1571 | ||
0c3fecd0 HS |
1572 | config CMD_SCSI |
1573 | bool "scsi - Access to SCSI devices" | |
fa3f0cbe HS |
1574 | depends on SCSI |
1575 | default y | |
0c3fecd0 HS |
1576 | help |
1577 | This provides a 'scsi' command which provides access to SCSI (Small | |
1578 | Computer System Interface) devices. The command provides a way to | |
1579 | scan the bus, reset the bus, read and write data and get information | |
1580 | about devices. | |
1581 | ||
efce2442 SG |
1582 | config CMD_SDRAM |
1583 | bool "sdram - Print SDRAM configuration information" | |
1584 | help | |
1585 | Provides information about attached SDRAM. This assumed that the | |
1586 | SDRAM has an EEPROM with information that can be read using the | |
1587 | I2C bus. This is only available on some boards. | |
1588 | ||
72a8cf8d SG |
1589 | config CMD_SF |
1590 | bool "sf" | |
a4298dda | 1591 | depends on DM_SPI_FLASH || SPI_FLASH |
c2af7fb1 | 1592 | default y if DM_SPI_FLASH |
72a8cf8d SG |
1593 | help |
1594 | SPI Flash support | |
1595 | ||
719d36ee SG |
1596 | config CMD_SF_TEST |
1597 | bool "sf test - Allow testing of SPI flash" | |
a4298dda | 1598 | depends on CMD_SF |
719d36ee SG |
1599 | help |
1600 | Provides a way to test that SPI flash is working correctly. The | |
1601 | test is destructive, in that an area of SPI flash must be provided | |
1602 | for the test to use. Performance information is also provided, | |
1603 | measuring the performance of reading, writing and erasing in | |
1604 | Mbps (Million Bits Per Second). This value should approximately | |
1605 | equal the SPI bus speed for a single-bit-wide SPI bus, assuming | |
1606 | everything is working properly. | |
1607 | ||
72a8cf8d | 1608 | config CMD_SPI |
c95e632d | 1609 | bool "sspi - Command to access spi device" |
a4298dda | 1610 | depends on SPI |
72a8cf8d SG |
1611 | help |
1612 | SPI utility command. | |
1613 | ||
c95e632d PD |
1614 | config DEFAULT_SPI_BUS |
1615 | int "default spi bus used by sspi command" | |
1616 | depends on CMD_SPI | |
1617 | default 0 | |
1618 | ||
1619 | config DEFAULT_SPI_MODE | |
1620 | hex "default spi mode used by sspi command (see include/spi.h)" | |
1621 | depends on CMD_SPI | |
a077ac13 | 1622 | default 0x0 |
c95e632d | 1623 | |
7f673bb8 RM |
1624 | config CMD_TEMPERATURE |
1625 | bool "temperature - display the temperature from thermal sensors" | |
1626 | depends on DM_THERMAL | |
1627 | help | |
1628 | Provides a way to list thermal sensors and to get their readings. | |
1629 | ||
5605aa8a SG |
1630 | config CMD_TSI148 |
1631 | bool "tsi148 - Command to access tsi148 device" | |
03de305e | 1632 | depends on DM_PCI_COMPAT |
5605aa8a SG |
1633 | help |
1634 | This provides various sub-commands to initialise and configure the | |
1635 | Turndra tsi148 device. See the command help for full details. | |
1636 | ||
a539c8bd | 1637 | config CMD_UFS |
ff039a87 | 1638 | bool "ufs - Universal Flash Storage commands" |
a539c8bd FA |
1639 | depends on UFS |
1640 | help | |
1641 | "This provides commands to initialise and configure universal flash | |
1642 | subsystem devices" | |
1643 | ||
2a242e3e SG |
1644 | config CMD_UNIVERSE |
1645 | bool "universe - Command to set up the Turndra Universe controller" | |
03de305e | 1646 | depends on DM_PCI_COMPAT |
2a242e3e SG |
1647 | help |
1648 | This allows setting up the VMEbus provided by this controller. | |
1649 | See the command help for full details. | |
1650 | ||
72a8cf8d SG |
1651 | config CMD_USB |
1652 | bool "usb" | |
e8d3eaad | 1653 | depends on USB_HOST |
72a8cf8d SG |
1654 | help |
1655 | USB support. | |
1656 | ||
2f005695 SA |
1657 | config CMD_USB_SDP |
1658 | bool "sdp" | |
1659 | select USB_FUNCTION_SDP | |
1660 | help | |
1661 | Enables the command "sdp" which is used to have U-Boot emulating the | |
1662 | Serial Download Protocol (SDP) via USB. | |
6e7bdde4 | 1663 | |
aacf214d JJ |
1664 | config CMD_RKMTD |
1665 | bool "rkmtd" | |
1666 | select RKMTD | |
1667 | help | |
1668 | Enable the command "rkmtd" to create a virtual block device to transfer | |
1669 | Rockchip boot block data to and from NAND with block orientated tools | |
1670 | like "ums" and "rockusb". | |
1671 | ||
453c95e0 EC |
1672 | config CMD_ROCKUSB |
1673 | bool "rockusb" | |
1674 | depends on USB_FUNCTION_ROCKUSB | |
1675 | help | |
6e7bdde4 | 1676 | Rockusb protocol is widely used by Rockchip SoC based devices. It can |
453c95e0 EC |
1677 | read/write info, image to/from devices. This enable rockusb command |
1678 | support to communication with rockusb device. for more detail about | |
1679 | this command, please read doc/README.rockusb. | |
2f005695 | 1680 | |
ab8243e4 DN |
1681 | config CMD_USB_MASS_STORAGE |
1682 | bool "UMS usb mass storage" | |
c74758cc | 1683 | depends on BLK && USB_GADGET_DOWNLOAD |
e4d4604a | 1684 | select USB_FUNCTION_MASS_STORAGE |
ab8243e4 | 1685 | help |
6b8d9c92 PD |
1686 | Enables the command "ums" and the USB mass storage support to the |
1687 | export a block device: U-Boot, the USB device, acts as a simple | |
1688 | external hard drive plugged on the host USB port. | |
ab8243e4 | 1689 | |
a57adacf SR |
1690 | config CMD_UMS_ABORT_KEYED |
1691 | bool "UMS abort with any key" | |
1692 | depends on CMD_USB_MASS_STORAGE | |
1693 | help | |
1694 | Allow interruption of usb mass storage run with any key pressed. | |
1695 | ||
722bc5b5 AL |
1696 | config CMD_PVBLOCK |
1697 | bool "Xen para-virtualized block device" | |
1698 | depends on XEN | |
1699 | select PVBLOCK | |
1700 | help | |
1701 | Xen para-virtualized block device support | |
1702 | ||
78e12901 TT |
1703 | config CMD_VIRTIO |
1704 | bool "virtio" | |
1705 | depends on VIRTIO | |
1706 | default y if VIRTIO | |
1707 | help | |
1708 | VirtIO block device support | |
1709 | ||
82a00be3 MW |
1710 | config CMD_WDT |
1711 | bool "wdt" | |
1712 | depends on WDT | |
1713 | help | |
1714 | This provides commands to control the watchdog timer devices. | |
1715 | ||
8311ac5f RV |
1716 | config CMD_WRITE |
1717 | bool "write - Write binary data to a partition" | |
1718 | help | |
1719 | Provides low-level write access to a partition. | |
1720 | ||
37c4a5f6 MS |
1721 | config CMD_AXI |
1722 | bool "axi" | |
1723 | depends on AXI | |
1724 | help | |
1725 | Enable the command "axi" for accessing AXI (Advanced eXtensible | |
1726 | Interface) busses, a on-chip interconnect specification for managing | |
1727 | functional blocks in SoC designs, which is also often used in designs | |
1728 | involving FPGAs (e.g. communication with IP cores in Xilinx FPGAs). | |
72a8cf8d SG |
1729 | endmenu |
1730 | ||
1731 | ||
1732 | menu "Shell scripting commands" | |
1733 | ||
690a1d69 RK |
1734 | config CMD_CAT |
1735 | bool "cat" | |
1736 | help | |
1737 | Print file to standard output | |
1738 | ||
72a8cf8d SG |
1739 | config CMD_ECHO |
1740 | bool "echo" | |
1741 | default y | |
1742 | help | |
1743 | Echo args to console | |
1744 | ||
1745 | config CMD_ITEST | |
1746 | bool "itest" | |
1747 | default y | |
1748 | help | |
1749 | Return true/false on integer compare. | |
1750 | ||
1751 | config CMD_SOURCE | |
1752 | bool "source" | |
1753 | default y | |
1754 | help | |
1755 | Run script from memory | |
1756 | ||
1757 | config CMD_SETEXPR | |
1758 | bool "setexpr" | |
1759 | default y | |
1760 | help | |
1761 | Evaluate boolean and math expressions and store the result in an env | |
1762 | variable. | |
1763 | Also supports loading the value at a memory location into a variable. | |
1764 | If CONFIG_REGEX is enabled, setexpr also supports a gsub function. | |
1765 | ||
f4f8d8bb RG |
1766 | config CMD_SETEXPR_FMT |
1767 | bool "setexpr_fmt" | |
f4f8d8bb RG |
1768 | depends on CMD_SETEXPR |
1769 | help | |
1770 | Evaluate format string expression and store result in an environment | |
1771 | variable. | |
1772 | ||
c3b27a82 RK |
1773 | config CMD_XXD |
1774 | bool "xxd" | |
1775 | help | |
1776 | Print file as hexdump to standard output | |
1777 | ||
72a8cf8d SG |
1778 | endmenu |
1779 | ||
17030c7c RT |
1780 | menu "Android support commands" |
1781 | ||
1782 | config CMD_AB_SELECT | |
1783 | bool "ab_select" | |
17030c7c RT |
1784 | depends on ANDROID_AB |
1785 | help | |
1786 | On Android devices with more than one boot slot (multiple copies of | |
1787 | the kernel and system images) this provides a command to select which | |
1788 | slot should be used to boot from and register the boot attempt. This | |
1789 | is used by the new A/B update model where one slot is updated in the | |
1790 | background while running from the other slot. | |
1791 | ||
1792 | endmenu | |
1793 | ||
3b3ea2c5 MS |
1794 | if NET |
1795 | ||
d7a45eaf JH |
1796 | menuconfig CMD_NET |
1797 | bool "Network commands" | |
1798 | default y | |
1799 | ||
1800 | if CMD_NET | |
1801 | ||
1802 | config CMD_BOOTP | |
1803 | bool "bootp" | |
72a8cf8d SG |
1804 | default y |
1805 | help | |
72a8cf8d | 1806 | bootp - boot image via network using BOOTP/TFTP protocol |
d7a45eaf | 1807 | |
e88b2563 JH |
1808 | config CMD_DHCP |
1809 | bool "dhcp" | |
1810 | depends on CMD_BOOTP | |
1811 | help | |
1812 | Boot image via network using DHCP/TFTP protocol | |
1813 | ||
7d018892 SE |
1814 | config CMD_DHCP6 |
1815 | bool "dhcp6" | |
1816 | depends on IPV6 | |
1817 | help | |
1818 | Boot image via network using DHCPv6/TFTP protocol using IPv6. | |
1819 | ||
1820 | Will perform 4-message exchange with DHCPv6 server, requesting | |
1821 | the minimum required options to TFTP boot. Complies with RFC 8415. | |
1822 | ||
84e000c9 HS |
1823 | if CMD_DHCP6 |
1824 | ||
1825 | config DHCP6_PXE_CLIENTARCH | |
1826 | hex | |
1827 | default 0x16 if ARM64 | |
1828 | default 0x15 if ARM | |
1829 | default 0xFF | |
1830 | ||
1831 | config DHCP6_PXE_DHCP_OPTION | |
1832 | bool "Request & store 'pxe_configfile' from DHCP6 server" | |
1833 | ||
1834 | config DHCP6_ENTERPRISE_ID | |
1835 | int "Enterprise ID to send in DHCPv6 Vendor Class Option" | |
1836 | default 0 | |
1837 | ||
1838 | endif | |
1839 | ||
a542e430 TR |
1840 | config BOOTP_MAY_FAIL |
1841 | bool "Allow for the BOOTP/DHCP server to not be found" | |
1842 | depends on CMD_BOOTP | |
1843 | help | |
1844 | If the DHCP server is not found after the configured retry count, the | |
1845 | call will fail instead of starting over. This can be used to fail | |
1846 | over to Link-local IP address configuration if the DHCP server is not | |
1847 | available. | |
1848 | ||
92fa44d5 | 1849 | config BOOTP_BOOTPATH |
8df69d90 | 1850 | bool "Request & store 'rootpath' from BOOTP/DHCP server" |
3dfbc53b | 1851 | default y |
92fa44d5 | 1852 | depends on CMD_BOOTP |
8df69d90 JH |
1853 | help |
1854 | Even though the config is called BOOTP_BOOTPATH, it stores the | |
1855 | path in the variable 'rootpath'. | |
92fa44d5 | 1856 | |
a542e430 TR |
1857 | config BOOTP_VENDOREX |
1858 | bool "Support vendor extensions from BOOTP/DHCP server" | |
1859 | depends on CMD_BOOTP | |
1860 | ||
1861 | config BOOTP_BOOTFILESIZE | |
1862 | bool "Request & store 'bootfilesize' from BOOTP/DHCP server" | |
1863 | depends on CMD_BOOTP | |
1864 | ||
92fa44d5 | 1865 | config BOOTP_DNS |
8df69d90 | 1866 | bool "Request & store 'dnsip' from BOOTP/DHCP server" |
3dfbc53b | 1867 | default y |
92fa44d5 | 1868 | depends on CMD_BOOTP |
8df69d90 JH |
1869 | help |
1870 | The primary DNS server is stored as 'dnsip'. If two servers are | |
1871 | returned, you must set BOOTP_DNS2 to store that second server IP | |
1872 | also. | |
92fa44d5 | 1873 | |
80449c03 JH |
1874 | config BOOTP_DNS2 |
1875 | bool "Store 'dnsip2' from BOOTP/DHCP server" | |
1876 | depends on BOOTP_DNS | |
1877 | help | |
1878 | If a DHCP client requests the DNS server IP from a DHCP server, | |
1879 | it is possible that more than one DNS serverip is offered to the | |
1880 | client. If CONFIG_BOOTP_DNS2 is enabled, the secondary DNS | |
1881 | server IP will be stored in the additional environment | |
1882 | variable "dnsip2". The first DNS serverip is always | |
1883 | stored in the variable "dnsip", when BOOTP_DNS is defined. | |
1884 | ||
92fa44d5 | 1885 | config BOOTP_GATEWAY |
8df69d90 | 1886 | bool "Request & store 'gatewayip' from BOOTP/DHCP server" |
3dfbc53b | 1887 | default y |
92fa44d5 JH |
1888 | depends on CMD_BOOTP |
1889 | ||
1890 | config BOOTP_HOSTNAME | |
8df69d90 | 1891 | bool "Request & store 'hostname' from BOOTP/DHCP server" |
3dfbc53b | 1892 | default y |
92fa44d5 | 1893 | depends on CMD_BOOTP |
8df69d90 JH |
1894 | help |
1895 | The name may or may not be qualified with the local domain name. | |
92fa44d5 | 1896 | |
bdce340c AG |
1897 | config BOOTP_PREFER_SERVERIP |
1898 | bool "serverip variable takes precedent over DHCP server IP." | |
1899 | depends on CMD_BOOTP | |
1900 | help | |
1901 | By default a BOOTP/DHCP reply will overwrite the 'serverip' variable. | |
1902 | ||
1903 | With this option enabled, the 'serverip' variable in the environment | |
1904 | takes precedence over DHCP server IP and will only be set by the DHCP | |
1905 | server if not already set in the environment. | |
1906 | ||
92fa44d5 | 1907 | config BOOTP_SUBNETMASK |
8df69d90 | 1908 | bool "Request & store 'netmask' from BOOTP/DHCP server" |
3dfbc53b | 1909 | default y |
92fa44d5 JH |
1910 | depends on CMD_BOOTP |
1911 | ||
a542e430 TR |
1912 | config BOOTP_NISDOMAIN |
1913 | bool "Request & store 'nisdomain' from BOOTP/DHCP server" | |
1914 | depends on CMD_BOOTP | |
1915 | ||
9b23c73d CP |
1916 | config BOOTP_NTPSERVER |
1917 | bool "Request & store 'ntpserverip' from BOOTP/DHCP server" | |
1918 | depends on CMD_BOOTP | |
1919 | ||
a542e430 TR |
1920 | config BOOTP_TIMEOFFSET |
1921 | bool "Request & store 'timeoffset' from BOOTP/DHCP server" | |
1922 | depends on CMD_BOOTP && CMD_SNTP | |
1923 | ||
3eaac630 RF |
1924 | config CMD_PCAP |
1925 | bool "pcap capture" | |
1926 | help | |
1927 | Selecting this will allow capturing all Ethernet packets and store | |
1928 | them in physical memory in a PCAP formated file, | |
1929 | later to be analyzed by PCAP reader application (IE. WireShark). | |
1930 | ||
92fa44d5 | 1931 | config BOOTP_PXE |
2b9f486b | 1932 | bool "Send PXE client arch to BOOTP/DHCP server" |
3dfbc53b | 1933 | default y |
2b9f486b JH |
1934 | depends on CMD_BOOTP && CMD_PXE |
1935 | help | |
1936 | Supported for ARM, ARM64, and x86 for now. | |
92fa44d5 JH |
1937 | |
1938 | config BOOTP_PXE_CLIENTARCH | |
1939 | hex | |
2b9f486b | 1940 | depends on BOOTP_PXE |
92fa44d5 JH |
1941 | default 0x16 if ARM64 |
1942 | default 0x15 if ARM | |
a077ac13 | 1943 | default 0x0 if X86 |
92fa44d5 | 1944 | |
91953956 SE |
1945 | config BOOTP_PXE_DHCP_OPTION |
1946 | bool "Request & store 'pxe_configfile' from BOOTP/DHCP server" | |
1947 | depends on BOOTP_PXE | |
1948 | ||
92fa44d5 JH |
1949 | config BOOTP_VCI_STRING |
1950 | string | |
1951 | depends on CMD_BOOTP | |
4bbd6b1d | 1952 | default "U-Boot.armv7" if CPU_V7A || CPU_V7M || CPU_V7R |
92fa44d5 JH |
1953 | default "U-Boot.armv8" if ARM64 |
1954 | default "U-Boot.arm" if ARM | |
1955 | default "U-Boot" | |
1956 | ||
d7a45eaf JH |
1957 | config CMD_TFTPBOOT |
1958 | bool "tftpboot" | |
1959 | default y | |
1960 | help | |
651031ef | 1961 | tftpboot - load file via network using TFTP protocol |
72a8cf8d SG |
1962 | |
1963 | config CMD_TFTPPUT | |
1964 | bool "tftp put" | |
d7a45eaf | 1965 | depends on CMD_TFTPBOOT |
72a8cf8d SG |
1966 | help |
1967 | TFTP put command, for uploading files to a server | |
1968 | ||
1969 | config CMD_TFTPSRV | |
1970 | bool "tftpsrv" | |
d7a45eaf | 1971 | depends on CMD_TFTPBOOT |
72a8cf8d SG |
1972 | help |
1973 | Act as a TFTP server and boot the first received file | |
1974 | ||
92fa44d5 JH |
1975 | config NET_TFTP_VARS |
1976 | bool "Control TFTP timeout and count through environment" | |
1977 | depends on CMD_TFTPBOOT | |
1978 | default y | |
1979 | help | |
1980 | If set, allows controlling the TFTP timeout through the | |
1981 | environment variable tftptimeout, and the TFTP maximum | |
1982 | timeout count through the variable tftptimeoutcountmax. | |
1983 | If unset, timeout and maximum are hard-defined as 1 second | |
1984 | and 10 timouts per TFTP transfer. | |
1985 | ||
72a8cf8d SG |
1986 | config CMD_RARP |
1987 | bool "rarpboot" | |
1988 | help | |
1989 | Boot image via network using RARP/TFTP protocol | |
1990 | ||
72a8cf8d SG |
1991 | config CMD_NFS |
1992 | bool "nfs" | |
72a8cf8d SG |
1993 | help |
1994 | Boot image via network using NFS protocol. | |
1995 | ||
eeda762a TR |
1996 | config NFS_TIMEOUT |
1997 | int "Timeout in milliseconds for NFS mounts" | |
1998 | depends on CMD_NFS | |
1999 | default 2000 | |
2000 | help | |
2001 | Timeout in milliseconds used in NFS protocol. If you encounter | |
2002 | "ERROR: Cannot umount" in nfs command, try longer timeout such as | |
2003 | 10000. | |
2004 | ||
bf904ea4 TR |
2005 | config SYS_DISABLE_AUTOLOAD |
2006 | bool "Disable automatically loading files over the network" | |
2007 | depends on CMD_BOOTP || CMD_DHCP || CMD_NFS || CMD_RARP | |
2008 | help | |
2009 | Typically, commands such as "dhcp" will attempt to automatically | |
2010 | load a file from the network, once the initial network configuration | |
2011 | is complete. Enable this option to disable this behavior and instead | |
2012 | require files to be loaded over the network by subsequent commands. | |
2013 | ||
cfbae482 YCLP |
2014 | config CMD_WGET |
2015 | bool "wget" | |
20422d69 | 2016 | select PROT_TCP |
4f64730f | 2017 | default y if SANDBOX |
cfbae482 YCLP |
2018 | help |
2019 | wget is a simple command to download kernel, or other files, | |
2020 | from a http server over TCP. | |
2021 | ||
ab8243e4 DN |
2022 | config CMD_MII |
2023 | bool "mii" | |
7d9701db RF |
2024 | imply CMD_MDIO |
2025 | help | |
2026 | If set, allows 802.3(clause 22) MII Management functions interface access | |
2027 | The management interface specified in Clause 22 provides | |
2028 | a simple, two signal, serial interface to connect a | |
2029 | Station Management entity and a managed PHY for providing access | |
2030 | to management parameters and services. | |
2031 | The interface is referred to as the MII management interface. | |
2032 | ||
cc386f16 TR |
2033 | config MII_INIT |
2034 | bool "Call mii_init() in the mii command" | |
2035 | depends on CMD_MII && (MPC8XX_FEC || FSLDMAFE || MCFFEC) | |
2036 | ||
7d9701db RF |
2037 | config CMD_MDIO |
2038 | bool "mdio" | |
2039 | depends on PHYLIB | |
2040 | help | |
2041 | If set, allows Enable 802.3(clause 45) MDIO interface registers access | |
2042 | The MDIO interface is orthogonal to the MII interface and extends | |
2043 | it by adding access to more registers through indirect addressing. | |
ab8243e4 | 2044 | |
72a8cf8d SG |
2045 | config CMD_PING |
2046 | bool "ping" | |
2047 | help | |
2048 | Send ICMP ECHO_REQUEST to network host | |
2049 | ||
eeb0a2c6 VM |
2050 | config CMD_PING6 |
2051 | bool "ping6" | |
2052 | depends on IPV6 | |
2053 | default y if (CMD_PING && IPV6) | |
2054 | help | |
2055 | Send ICMPv6 ECHO_REQUEST to network host | |
2056 | ||
72a8cf8d SG |
2057 | config CMD_CDP |
2058 | bool "cdp" | |
2059 | help | |
2060 | Perform CDP network configuration | |
2061 | ||
2062 | config CMD_SNTP | |
2063 | bool "sntp" | |
912ece4c | 2064 | select PROT_UDP |
72a8cf8d SG |
2065 | help |
2066 | Synchronize RTC via network | |
2067 | ||
2068 | config CMD_DNS | |
2069 | bool "dns" | |
2070 | help | |
2071 | Lookup the IP of a hostname | |
2072 | ||
2073 | config CMD_LINK_LOCAL | |
2074 | bool "linklocal" | |
6f0dc0ca | 2075 | select LIB_RAND |
72a8cf8d SG |
2076 | help |
2077 | Acquire a network IP address using the link-local protocol | |
2078 | ||
4b290d4a SMJ |
2079 | config CMD_NCSI |
2080 | bool "ncsi" | |
2081 | depends on PHY_NCSI | |
2082 | help | |
2083 | Manually configure the attached NIC via NC-SI. | |
2084 | Normally this happens automatically before other network | |
2085 | operations. | |
2086 | ||
6de98b60 EM |
2087 | config IPV6_ROUTER_DISCOVERY |
2088 | bool "Do IPv6 router discovery" | |
2089 | depends on IPV6 | |
2090 | help | |
2091 | Will automatically perform router solicitation on first IPv6 | |
2092 | network operation | |
92fa44d5 JH |
2093 | endif |
2094 | ||
ef072200 SG |
2095 | config CMD_ETHSW |
2096 | bool "ethsw" | |
2097 | help | |
2098 | Allow control of L2 Ethernet switch commands. These are supported | |
2099 | by the vsc9953 Ethernet driver at present. Sub-commands allow | |
2100 | operations such as enabling / disabling a port and | |
2101 | viewing/maintaining the filtering database (FDB) | |
2102 | ||
92fa44d5 JH |
2103 | config CMD_PXE |
2104 | bool "pxe" | |
be43a35b | 2105 | select PXE_UTILS |
1582e438 | 2106 | imply CMD_TFTPBOOT |
92fa44d5 JH |
2107 | help |
2108 | Boot image via network using PXE protocol | |
3b3ea2c5 | 2109 | |
d8970dae LF |
2110 | config CMD_WOL |
2111 | bool "wol" | |
2112 | help | |
2113 | Wait for wake-on-lan Magic Packet | |
2114 | ||
d7a45eaf | 2115 | endif |
72a8cf8d SG |
2116 | |
2117 | menu "Misc commands" | |
2118 | ||
a554ee7e SG |
2119 | config CMD_2048 |
2120 | bool "Play 2048" | |
2121 | help | |
2122 | This is a simple sliding block puzzle game designed by Italian web | |
2123 | developer Gabriele Cirulli. The game's objective is to slide numbered | |
2124 | tiles on a grid to combine them to create a tile with the number | |
2125 | 2048. | |
2126 | ||
2127 | This needs ANSI support on your terminal to work. It is not fully | |
2128 | functional on a video device. | |
2129 | ||
0f710258 SG |
2130 | config CMD_BMP |
2131 | bool "Enable 'bmp' command" | |
b86986c7 | 2132 | depends on VIDEO |
373991d6 | 2133 | select BMP |
0f710258 | 2134 | help |
60a9aebd | 2135 | This provides a way to obtain information about a BMP-format image |
0f710258 SG |
2136 | and to display it. BMP (which presumably stands for BitMaP) is a |
2137 | file format defined by Microsoft which supports images of various | |
2138 | depths, formats and compression methods. Headers on the file | |
2139 | determine the formats used. This command can be used by first loading | |
2140 | the image into RAM, then using this command to look at it or display | |
2141 | it. | |
2142 | ||
b11ed7d6 AK |
2143 | config CMD_BOOTCOUNT |
2144 | bool "bootcount" | |
2145 | depends on BOOTCOUNT_LIMIT | |
2146 | help | |
2147 | Enable the bootcount command, which allows interrogation and | |
2148 | reset of the bootcounter. | |
2149 | ||
4893e34b SG |
2150 | config CMD_BSP |
2151 | bool "Enable board-specific commands" | |
2152 | help | |
2153 | (deprecated: instead, please define a Kconfig option for each command) | |
2154 | ||
2155 | Some boards have board-specific commands which are only enabled | |
2156 | during developemnt and need to be turned off for production. This | |
2157 | option provides a way to control this. The commands that are enabled | |
2158 | vary depending on the board. | |
2159 | ||
e40cf34a EN |
2160 | config CMD_BLOCK_CACHE |
2161 | bool "blkcache - control and stats for block cache" | |
2162 | depends on BLOCK_CACHE | |
2163 | default y if BLOCK_CACHE | |
2164 | help | |
2165 | Enable the blkcache command, which can be used to control the | |
2166 | operation of the cache functions. | |
2167 | This is most useful when fine-tuning the operation of the cache | |
2168 | during development, but also allows the cache to be disabled when | |
2169 | it might hurt performance (e.g. when using the ums command). | |
2170 | ||
bb56da11 TW |
2171 | config CMD_BLKMAP |
2172 | bool "blkmap - Composable virtual block devices" | |
2173 | depends on BLKMAP | |
2174 | default y if BLKMAP | |
2175 | help | |
2176 | Create virtual block devices that are backed by various sources, | |
2177 | e.g. RAM, or parts of an existing block device. Though much more | |
2178 | rudimentary, it borrows a lot of ideas from Linux's device mapper | |
2179 | subsystem. | |
2180 | ||
2181 | Example use-cases: | |
2182 | - Treat a region of RAM as a block device, i.e. a RAM disk. This let's | |
608a88c2 AM |
2183 | you extract files from filesystem images stored in RAM (perhaps as a |
2184 | result of a TFTP transfer). | |
bb56da11 | 2185 | - Create a virtual partition on an existing device. This let's you |
608a88c2 AM |
2186 | access filesystems that aren't stored at an exact partition |
2187 | boundary. A common example is a filesystem image embedded in an FIT | |
2188 | image. | |
bb56da11 | 2189 | |
325141a6 PR |
2190 | config CMD_BUTTON |
2191 | bool "button" | |
2192 | depends on BUTTON | |
2193 | default y if BUTTON | |
2194 | help | |
2195 | Enable the 'button' command which allows to get the status of | |
2196 | buttons supported by the board. The buttonss can be listed with | |
2197 | 'button list' and state can be known with 'button <label>'. | |
2198 | Any button drivers can be controlled with this command, e.g. | |
2199 | button_gpio. | |
2200 | ||
ab8243e4 DN |
2201 | config CMD_CACHE |
2202 | bool "icache or dcache" | |
2203 | help | |
2204 | Enable the "icache" and "dcache" commands | |
2205 | ||
29cfc096 HS |
2206 | config CMD_CONITRACE |
2207 | bool "conitrace - trace console input codes" | |
2208 | help | |
2209 | Enable the 'conitrace' command which displays the codes received | |
2210 | from the console input as hexadecimal numbers. | |
2211 | ||
4e92e60d AG |
2212 | config CMD_CLS |
2213 | bool "Enable clear screen command 'cls'" | |
2fdc4c0c | 2214 | default y if LCD || VIDEO |
4e92e60d AG |
2215 | help |
2216 | Enable the 'cls' command which clears the screen contents | |
2217 | on video frame buffer. | |
2218 | ||
59df7e7e AT |
2219 | config CMD_EFIDEBUG |
2220 | bool "efidebug - display/configure UEFI environment" | |
2221 | depends on EFI_LOADER | |
64b5ba4d | 2222 | select EFI_DEVICE_PATH_TO_TEXT |
59df7e7e AT |
2223 | help |
2224 | Enable the 'efidebug' command which provides a subset of UEFI | |
2225 | shell utility with simplified functionality. It will be useful | |
2226 | particularly for managing boot parameters as well as examining | |
2227 | various EFI status for debugging. | |
2228 | ||
87d79142 MK |
2229 | config CMD_EFICONFIG |
2230 | bool "eficonfig - provide menu-driven uefi variables maintenance interface" | |
8925f0ee | 2231 | default y if !HAS_BOARD_SIZE_LIMIT |
279b03d9 | 2232 | depends on EFI_BOOTMGR |
75d494df | 2233 | select MENU |
87d79142 MK |
2234 | help |
2235 | Enable the 'eficonfig' command which provides the menu-driven UEFI | |
2236 | variable maintenance interface. | |
2237 | ||
dab8788a HS |
2238 | config CMD_EXCEPTION |
2239 | bool "exception - raise exception" | |
3a5ec035 | 2240 | depends on ARM || RISCV || SANDBOX || X86 |
dab8788a HS |
2241 | help |
2242 | Enable the 'exception' command which allows to raise an exception. | |
2243 | ||
ffe2052d SG |
2244 | config CMD_LED |
2245 | bool "led" | |
2ab6e74d | 2246 | depends on LED |
ffe2052d SG |
2247 | default y if LED |
2248 | help | |
2249 | Enable the 'led' command which allows for control of LEDs supported | |
2250 | by the board. The LEDs can be listed with 'led list' and controlled | |
2251 | with led on/off/togle/blink. Any LED drivers can be controlled with | |
2252 | this command, e.g. led_gpio. | |
2253 | ||
e158c948 SG |
2254 | config CMD_INI |
2255 | bool "ini" | |
2256 | help | |
2257 | Enable the 'ini' command which allows a .ini file to be parsed and | |
2258 | placed into environment variables. Please check the source code for | |
2259 | this as there is no documentation. | |
2260 | ||
c9032ce1 CP |
2261 | config CMD_DATE |
2262 | bool "date" | |
2263 | default y if DM_RTC | |
05429b6c | 2264 | select LIB_DATE |
c9032ce1 CP |
2265 | help |
2266 | Enable the 'date' command for getting/setting the time/date in RTC | |
2267 | devices. | |
2268 | ||
803a8598 RV |
2269 | config CMD_RTC |
2270 | bool "rtc" | |
2271 | depends on DM_RTC | |
2272 | help | |
2273 | Enable the 'rtc' command for low-level access to RTC devices. | |
2274 | ||
72a8cf8d SG |
2275 | config CMD_TIME |
2276 | bool "time" | |
2277 | help | |
2278 | Run commands and summarize execution time. | |
2279 | ||
d91a9d7f SG |
2280 | config CMD_GETTIME |
2281 | bool "gettime - read elapsed time" | |
2282 | help | |
2283 | Enable the 'gettime' command which reads the elapsed time since | |
2284 | U-Boot started running. This shows the time in seconds and | |
2285 | milliseconds. See also the 'bootstage' command which provides more | |
2286 | flexibility for boot timing. | |
2287 | ||
dc0d17c2 SDR |
2288 | config CMD_PAUSE |
2289 | bool "pause command" | |
2290 | help | |
2291 | Delay execution waiting for any user input. | |
2292 | Useful to allow the user to read a failure log. | |
2293 | ||
4f24ac08 HS |
2294 | config CMD_RNG |
2295 | bool "rng command" | |
2296 | depends on DM_RNG | |
de70619d | 2297 | default y if SANDBOX |
4f24ac08 HS |
2298 | select HEXDUMP |
2299 | help | |
2300 | Print bytes from the hardware random number generator. | |
2301 | ||
fe3dde3e CM |
2302 | config CMD_KASLRSEED |
2303 | bool "kaslrseed" | |
2304 | depends on DM_RNG | |
2305 | help | |
2306 | Set the kaslr-seed in the chosen node with entropy provided by a | |
2307 | hardware random number generator. | |
2308 | ||
16060854 | 2309 | config CMD_SLEEP |
72a8cf8d SG |
2310 | bool "sleep" |
2311 | default y | |
2312 | help | |
2313 | Delay execution for some time | |
2314 | ||
480245cf ARS |
2315 | config CMD_MP |
2316 | bool "support for multiprocessor commands" | |
2317 | depends on MP | |
2318 | default y | |
0fd2290c | 2319 | help |
480245cf ARS |
2320 | This enables commands to bringup different processors |
2321 | in multiprocessor cases. | |
0fd2290c | 2322 | |
72a8cf8d SG |
2323 | config CMD_TIMER |
2324 | bool "timer" | |
2325 | help | |
2326 | Access the system timer. | |
2327 | ||
72a8cf8d SG |
2328 | config CMD_SOUND |
2329 | bool "sound" | |
2330 | depends on SOUND | |
2331 | help | |
2332 | This provides basic access to the U-Boot's sound support. The main | |
2333 | feature is to play a beep. | |
2334 | ||
2335 | sound init - set up sound system | |
2336 | sound play - play a sound | |
2337 | ||
993c912d PC |
2338 | config CMD_SYSBOOT |
2339 | bool "sysboot" | |
be43a35b | 2340 | select PXE_UTILS |
993c912d PC |
2341 | help |
2342 | Boot image via local extlinux.conf file | |
2343 | ||
18686590 | 2344 | config CMD_QFW |
dd6f3abb | 2345 | bool "qfw" |
fcf5c041 | 2346 | select QFW |
bfaa048d TR |
2347 | default y if TARGET_QEMU_ARM_32BIT || TARGET_QEMU_ARM_64BIT || \ |
2348 | TARGET_QEMU_X86 || TARGET_QEMU_X86_64 | |
dd6f3abb TR |
2349 | help |
2350 | This provides access to the QEMU firmware interface. The main | |
2351 | feature is to allow easy loading of files passed to qemu-system | |
2352 | via -kernel / -initrd | |
fa61ef6b | 2353 | |
9744d1a5 FD |
2354 | config CMD_PSTORE |
2355 | bool "pstore" | |
2356 | help | |
2357 | This provides access to Linux PStore with Rammoops backend. The main | |
2358 | feature is to allow to display or save PStore records. | |
2359 | ||
2360 | See doc/pstore.rst for more information. | |
2361 | ||
2362 | if CMD_PSTORE | |
2363 | ||
2364 | config CMD_PSTORE_MEM_ADDR | |
2365 | hex "Memory Address" | |
2366 | depends on CMD_PSTORE | |
2367 | help | |
2368 | Base addr used for PStore ramoops memory, should be identical to | |
2369 | ramoops.mem_address parameter used by kernel | |
2370 | ||
2371 | config CMD_PSTORE_MEM_SIZE | |
2372 | hex "Memory size" | |
2373 | depends on CMD_PSTORE | |
2374 | default "0x10000" | |
2375 | help | |
2376 | Size of PStore ramoops memory, should be identical to ramoops.mem_size | |
2377 | parameter used by kernel, a power of 2 and larger than the sum of the | |
2378 | record sizes | |
2379 | ||
2380 | config CMD_PSTORE_RECORD_SIZE | |
2381 | hex "Dump record size" | |
2382 | depends on CMD_PSTORE | |
2383 | default "0x1000" | |
2384 | help | |
2385 | Size of each dump done on oops/panic, should be identical to | |
2386 | ramoops.record_size parameter used by kernel and a power of 2 | |
2387 | Must be non-zero | |
2388 | ||
2389 | config CMD_PSTORE_CONSOLE_SIZE | |
2390 | hex "Kernel console log size" | |
2391 | depends on CMD_PSTORE | |
2392 | default "0x1000" | |
2393 | help | |
2394 | Size of kernel console log, should be identical to | |
2395 | ramoops.console_size parameter used by kernel and a power of 2 | |
2396 | Must be non-zero | |
2397 | ||
2398 | config CMD_PSTORE_FTRACE_SIZE | |
2399 | hex "FTrace log size" | |
2400 | depends on CMD_PSTORE | |
2401 | default "0x1000" | |
2402 | help | |
2403 | Size of ftrace log, should be identical to ramoops.ftrace_size | |
2404 | parameter used by kernel and a power of 2 | |
2405 | ||
2406 | config CMD_PSTORE_PMSG_SIZE | |
2407 | hex "User space message log size" | |
2408 | depends on CMD_PSTORE | |
2409 | default "0x1000" | |
2410 | help | |
2411 | Size of user space message log, should be identical to | |
2412 | ramoops.pmsg_size parameter used by kernel and a power of 2 | |
2413 | ||
2414 | config CMD_PSTORE_ECC_SIZE | |
2415 | int "ECC size" | |
2416 | depends on CMD_PSTORE | |
2417 | default "0" | |
2418 | help | |
2419 | if non-zero, the option enables ECC support and specifies ECC buffer | |
2420 | size in bytes (1 is a special value, means 16 bytes ECC), should be | |
2421 | identical to ramoops.ramoops_ecc parameter used by kernel | |
2422 | ||
2423 | endif | |
2424 | ||
fa61ef6b KP |
2425 | source "cmd/mvebu/Kconfig" |
2426 | ||
3cef3b31 SG |
2427 | config CMD_TERMINAL |
2428 | bool "terminal - provides a way to attach a serial terminal" | |
2429 | help | |
2430 | Provides a 'cu'-like serial terminal command. This can be used to | |
2431 | access other serial ports from the system console. The terminal | |
2432 | is very simple with no special processing of characters. As with | |
2433 | cu, you can press ~. (tilde followed by period) to exit. | |
2434 | ||
1aa4e8d0 SG |
2435 | config CMD_UUID |
2436 | bool "uuid, guid - generation of unique IDs" | |
a451bc27 | 2437 | select LIB_UUID |
1aa4e8d0 SG |
2438 | help |
2439 | This enables two commands: | |
2440 | ||
2441 | uuid - generate random Universally Unique Identifier | |
2442 | guid - generate Globally Unique Identifier based on random UUID | |
2443 | ||
2444 | The two commands are very similar except for the endianness of the | |
2445 | output. | |
2446 | ||
f029f90e SG |
2447 | config CMD_VIDCONSOLE |
2448 | bool "lcdputs and setcurs" | |
b86986c7 | 2449 | depends on VIDEO |
f029f90e SG |
2450 | default y |
2451 | help | |
2452 | Enabling this will provide 'setcurs' and 'lcdputs' commands which | |
2453 | support cursor positioning and drawing strings on the video | |
2454 | console (framebuffer). | |
2455 | ||
2456 | The name 'lcdputs' is a bit of a misnomer, but so named because the | |
2457 | video device is often an LCD. | |
2458 | ||
e7ee1fd5 DS |
2459 | config CMD_SELECT_FONT |
2460 | bool "select font size" | |
2461 | depends on VIDEO | |
d83f4e62 | 2462 | default y if CONSOLE_TRUETYPE |
e7ee1fd5 DS |
2463 | help |
2464 | Enabling this will provide 'font' command. | |
2465 | Allows font selection at runtime. | |
2466 | ||
72a8cf8d SG |
2467 | endmenu |
2468 | ||
5cd9661d LV |
2469 | source "cmd/ti/Kconfig" |
2470 | ||
72a8cf8d SG |
2471 | config CMD_BOOTSTAGE |
2472 | bool "Enable the 'bootstage' command" | |
2473 | depends on BOOTSTAGE | |
2474 | help | |
2475 | Add a 'bootstage' command which supports printing a report | |
2476 | and un/stashing of bootstage data. | |
2477 | ||
2478 | menu "Power commands" | |
2479 | config CMD_PMIC | |
2480 | bool "Enable Driver Model PMIC command" | |
2481 | depends on DM_PMIC | |
2482 | help | |
2483 | This is the pmic command, based on a driver model pmic's API. | |
2484 | Command features are unchanged: | |
2485 | - list - list pmic devices | |
2486 | - pmic dev <id> - show or [set] operating pmic device (NEW) | |
2487 | - pmic dump - dump registers | |
2488 | - pmic read address - read byte of register at address | |
2489 | - pmic write address - write byte to register at address | |
2490 | The only one change for this command is 'dev' subcommand. | |
2491 | ||
2492 | config CMD_REGULATOR | |
2493 | bool "Enable Driver Model REGULATOR command" | |
2494 | depends on DM_REGULATOR | |
2495 | help | |
2496 | This command is based on driver model regulator's API. | |
2497 | User interface features: | |
2498 | - list - list regulator devices | |
2499 | - regulator dev <id> - show or [set] operating regulator device | |
2500 | - regulator info - print constraints info | |
2501 | - regulator status - print operating status | |
2502 | - regulator value <val] <-f> - print/[set] voltage value [uV] | |
2503 | - regulator current <val> - print/[set] current value [uA] | |
2504 | - regulator mode <id> - print/[set] operating mode id | |
2505 | - regulator enable - enable the regulator output | |
2506 | - regulator disable - disable the regulator output | |
2507 | ||
2508 | The '-f' (force) option can be used for set the value which exceeds | |
2509 | the limits, which are found in device-tree and are kept in regulator's | |
caa4daa2 | 2510 | uclass plat structure. |
72a8cf8d SG |
2511 | |
2512 | endmenu | |
2513 | ||
2514 | menu "Security commands" | |
b1a873df SG |
2515 | config CMD_AES |
2516 | bool "Enable the 'aes' command" | |
2517 | select AES | |
2518 | help | |
2519 | This provides a means to encrypt and decrypt data using the AES | |
2520 | (Advanced Encryption Standard). This algorithm uses a symetric key | |
2521 | and is widely used as a streaming cipher. Different key lengths are | |
2522 | supported by the algorithm but this command only supports 128 bits | |
2523 | at present. | |
2524 | ||
c04b9b34 SG |
2525 | config CMD_BLOB |
2526 | bool "Enable the 'blob' command" | |
2532429b AS |
2527 | depends on !MX6ULL && !MX6SLL && !MX6SL |
2528 | select IMX_HAB if ARCH_MX6 || ARCH_MX7 || ARCH_MX7ULP || ARCH_IMX8M | |
c04b9b34 SG |
2529 | help |
2530 | This is used with the Freescale secure boot mechanism. | |
2531 | ||
2532 | Freescale's SEC block has built-in Blob Protocol which provides | |
2533 | a method for protecting user-defined data across system power | |
2534 | cycles. SEC block protects data in a data structure called a Blob, | |
2535 | which provides both confidentiality and integrity protection. | |
2536 | ||
2537 | Encapsulating data as a blob | |
2538 | Each time that the Blob Protocol is used to protect data, a | |
2539 | different randomly generated key is used to encrypt the data. | |
2540 | This random key is itself encrypted using a key which is derived | |
2541 | from SoC's non-volatile secret key and a 16 bit Key identifier. | |
2542 | The resulting encrypted key along with encrypted data is called a | |
2543 | blob. The non-volatile secure key is available for use only during | |
2544 | secure boot. | |
2545 | ||
2546 | During decapsulation, the reverse process is performed to get back | |
2547 | the original data. | |
2548 | ||
2549 | Sub-commands: | |
6e7bdde4 | 2550 | blob enc - encapsulating data as a cryptgraphic blob |
c04b9b34 SG |
2551 | blob dec - decapsulating cryptgraphic blob to get the data |
2552 | ||
2553 | Syntax: | |
2554 | ||
2555 | blob enc src dst len km | |
2556 | ||
2557 | Encapsulate and create blob of data $len bytes long | |
2558 | at address $src and store the result at address $dst. | |
2559 | $km is the 16 byte key modifier is also required for | |
2560 | generation/use as key for cryptographic operation. Key | |
2561 | modifier should be 16 byte long. | |
2562 | ||
2563 | blob dec src dst len km | |
2564 | ||
2565 | Decapsulate the blob of data at address $src and | |
2566 | store result of $len byte at addr $dst. | |
2567 | $km is the 16 byte key modifier is also required for | |
2568 | generation/use as key for cryptographic operation. Key | |
2569 | modifier should be 16 byte long. | |
2570 | ||
551c3934 SG |
2571 | config CMD_HASH |
2572 | bool "Support 'hash' command" | |
d70f919e | 2573 | select HASH |
551c3934 SG |
2574 | help |
2575 | This provides a way to hash data in memory using various supported | |
2576 | algorithms (such as SHA1, MD5, CRC32). The computed digest can be | |
2577 | saved to memory or to an environment variable. It is also possible | |
2578 | to verify a hash against data in memory. | |
2579 | ||
666028fc MP |
2580 | config CMD_HVC |
2581 | bool "Support the 'hvc' command" | |
2582 | depends on ARM_SMCCC | |
2583 | help | |
2584 | Allows issuing Hypervisor Calls (HVCs). Mostly useful for | |
2585 | development and testing. | |
2586 | ||
2587 | config CMD_SMC | |
2588 | bool "Support the 'smc' command" | |
2589 | depends on ARM_SMCCC | |
2590 | help | |
2591 | Allows issuing Secure Monitor Calls (SMCs). Mostly useful for | |
2592 | development and testing. | |
2593 | ||
221a949e DT |
2594 | config HASH_VERIFY |
2595 | bool "hash -v" | |
2596 | depends on CMD_HASH | |
2597 | help | |
2598 | Add -v option to verify data against a hash. | |
2599 | ||
26839e5d JRO |
2600 | config CMD_SCP03 |
2601 | bool "scp03 - SCP03 enable and rotate/provision operations" | |
2602 | depends on SCP03 | |
2603 | help | |
2604 | This command provides access to a Trusted Application | |
2605 | running in a TEE to request Secure Channel Protocol 03 | |
2606 | (SCP03) enablement and/or rotation of its SCP03 keys. | |
2607 | ||
9f9ce3c3 MR |
2608 | config CMD_TPM_V1 |
2609 | bool | |
2610 | ||
2611 | config CMD_TPM_V2 | |
2612 | bool | |
2613 | ||
72a8cf8d SG |
2614 | config CMD_TPM |
2615 | bool "Enable the 'tpm' command" | |
9f9ce3c3 MR |
2616 | depends on TPM_V1 || TPM_V2 |
2617 | select CMD_TPM_V1 if TPM_V1 | |
2618 | select CMD_TPM_V2 if TPM_V2 | |
72a8cf8d SG |
2619 | help |
2620 | This provides a means to talk to a TPM from the command line. A wide | |
2621 | range of commands if provided - see 'tpm help' for details. The | |
2622 | command requires a suitable TPM on your board and the correct driver | |
2623 | must be enabled. | |
2624 | ||
9f9ce3c3 MR |
2625 | if CMD_TPM |
2626 | ||
72a8cf8d SG |
2627 | config CMD_TPM_TEST |
2628 | bool "Enable the 'tpm test' command" | |
9f9ce3c3 | 2629 | depends on TPM_V1 |
72a8cf8d | 2630 | help |
9f9ce3c3 MR |
2631 | This provides a a series of tests to confirm that the TPMv1.x is |
2632 | working correctly. The tests cover initialisation, non-volatile RAM, | |
2633 | extend, global lock and checking that timing is within expectations. | |
2634 | The tests pass correctly on Infineon TPMs but may need to be adjusted | |
72a8cf8d SG |
2635 | for other devices. |
2636 | ||
9f9ce3c3 MR |
2637 | endif |
2638 | ||
72a8cf8d | 2639 | endmenu |
bfeba017 MF |
2640 | |
2641 | menu "Firmware commands" | |
2642 | config CMD_CROS_EC | |
2643 | bool "Enable crosec command" | |
2644 | depends on CROS_EC | |
2645 | default y | |
2646 | help | |
2647 | Enable command-line access to the Chrome OS EC (Embedded | |
2648 | Controller). This provides the 'crosec' command which has | |
2649 | a number of sub-commands for performing EC tasks such as | |
2650 | updating its flash, accessing a small saved context area | |
2651 | and talking to the I2C bus behind the EC (if there is one). | |
8055f90b AT |
2652 | |
2653 | config CMD_SCMI | |
2654 | bool "Enable scmi command" | |
2655 | depends on SCMI_FIRMWARE | |
8055f90b AT |
2656 | help |
2657 | This command provides user interfaces to several SCMI (System | |
2658 | Control and Management Interface) protocols available on Arm | |
2659 | platforms to manage system resources. | |
bfeba017 | 2660 | endmenu |
72a8cf8d | 2661 | |
ab8243e4 | 2662 | menu "Filesystem commands" |
9d845509 MB |
2663 | config CMD_BTRFS |
2664 | bool "Enable the 'btrsubvol' command" | |
2665 | select FS_BTRFS | |
2666 | help | |
2667 | This enables the 'btrsubvol' command to list subvolumes | |
2668 | of a BTRFS filesystem. There are no special commands for | |
2669 | listing BTRFS directories or loading BTRFS files - this | |
2670 | can be done by the generic 'fs' commands (see CMD_FS_GENERIC) | |
2671 | when BTRFS is enabled (see FS_BTRFS). | |
2672 | ||
d66a10fc SG |
2673 | config CMD_CBFS |
2674 | bool "Enable the 'cbfs' command" | |
deb95999 | 2675 | depends on FS_CBFS |
d66a10fc SG |
2676 | help |
2677 | Define this to enable support for reading from a Coreboot | |
2678 | filesystem. This is a ROM-based filesystem used for accessing files | |
2679 | on systems that use coreboot as the first boot-loader and then load | |
2680 | U-Boot to actually boot the Operating System. Available commands are | |
2681 | cbfsinit, cbfsinfo, cbfsls and cbfsload. | |
2682 | ||
97072747 SG |
2683 | config CMD_CRAMFS |
2684 | bool "Enable the 'cramfs' command" | |
80e44cfe | 2685 | depends on FS_CRAMFS |
97072747 SG |
2686 | help |
2687 | This provides commands for dealing with CRAMFS (Compressed ROM | |
2688 | filesystem). CRAMFS is useful when space is tight since files are | |
2689 | compressed. Two commands are provided: | |
2690 | ||
2691 | cramfsls - lists files in a cramfs image | |
2692 | cramfsload - loads a file from a cramfs image | |
2693 | ||
739941e1 HJ |
2694 | config CMD_EROFS |
2695 | bool "EROFS command support" | |
2696 | select FS_EROFS | |
2697 | help | |
2698 | Support for the EROFS fs | |
2699 | ||
ab8243e4 DN |
2700 | config CMD_EXT2 |
2701 | bool "ext2 command support" | |
3d22bae5 | 2702 | select FS_EXT4 |
ab8243e4 DN |
2703 | help |
2704 | Enables EXT2 FS command | |
2705 | ||
2706 | config CMD_EXT4 | |
2707 | bool "ext4 command support" | |
3d22bae5 | 2708 | select FS_EXT4 |
ab8243e4 DN |
2709 | help |
2710 | Enables EXT4 FS command | |
2711 | ||
2712 | config CMD_EXT4_WRITE | |
2713 | depends on CMD_EXT4 | |
2714 | bool "ext4 write command support" | |
3d22bae5 | 2715 | select EXT4_WRITE |
ab8243e4 DN |
2716 | help |
2717 | Enables EXT4 FS write command | |
2718 | ||
2719 | config CMD_FAT | |
2720 | bool "FAT command support" | |
eedfb89e | 2721 | select FS_FAT |
ab8243e4 DN |
2722 | help |
2723 | Support for the FAT fs | |
2724 | ||
bba604b6 JMC |
2725 | config CMD_SQUASHFS |
2726 | bool "SquashFS command support" | |
2727 | select FS_SQUASHFS | |
2728 | help | |
2729 | Enables SquashFS filesystem commands (e.g. load, ls). | |
2730 | ||
ab8243e4 DN |
2731 | config CMD_FS_GENERIC |
2732 | bool "filesystem commands" | |
2733 | help | |
2734 | Enables filesystem commands (e.g. load, ls) that work for multiple | |
2735 | fs types. | |
0269dfae | 2736 | |
efbe99ce JM |
2737 | config CMD_FS_UUID |
2738 | bool "fsuuid command" | |
2739 | help | |
2740 | Enables fsuuid command for filesystem UUID. | |
2741 | ||
b8682a7f SG |
2742 | config CMD_JFFS2 |
2743 | bool "jffs2 command" | |
59e12a4a | 2744 | select FS_JFFS2 |
b8682a7f SG |
2745 | help |
2746 | Enables commands to support the JFFS2 (Journalling Flash File System | |
2747 | version 2) filesystem. This enables fsload, ls and fsinfo which | |
2748 | provide the ability to load files, list directories and obtain | |
2749 | filesystem information. | |
2750 | ||
968c6210 TR |
2751 | config JFFS2_DEV |
2752 | string "Default device for JFFS2" | |
2753 | depends on CMD_JFFS2 | |
2754 | default "nor0" | |
2755 | help | |
2756 | The default device to use with the jffs2 command. | |
2757 | ||
2758 | config JFFS2_PART_OFFSET | |
2759 | hex "Default offset within flash to locate the JFFS2 image" | |
2760 | depends on CMD_JFFS2 | |
2761 | default 0x0 | |
2762 | help | |
2763 | The default offset within flash to locate the JFFS2 image. | |
2764 | ||
2765 | config JFFS2_PART_SIZE | |
2766 | hex "Default size of JFFS2 partition" | |
2767 | depends on CMD_JFFS2 | |
2768 | default 0xFFFFFFFF | |
2769 | help | |
2770 | The default size of the JFFS2 partition | |
2771 | ||
0269dfae | 2772 | config CMD_MTDPARTS |
0269dfae | 2773 | bool "MTD partition support" |
ff102c54 | 2774 | depends on MTD |
246c94f1 | 2775 | select MTD_PARTITIONS |
0269dfae | 2776 | help |
938db6fe MR |
2777 | MTD partitioning tool support. |
2778 | It is strongly encouraged to avoid using this command | |
2779 | anymore along with 'sf', 'nand', 'onenand'. One can still | |
2780 | declare the partitions in the mtdparts environment variable | |
2781 | but better use the MTD stack and the 'mtd' command instead. | |
0269dfae | 2782 | |
cb70e6cb SG |
2783 | config CMD_MTDPARTS_SPREAD |
2784 | bool "Padd partition size to take account of bad blocks" | |
2785 | depends on CMD_MTDPARTS | |
2786 | help | |
2787 | This enables the 'spread' sub-command of the mtdparts command. | |
2788 | This command will modify the existing mtdparts variable by increasing | |
2789 | the size of the partitions such that 1) each partition's net size is | |
2790 | at least as large as the size specified in the mtdparts variable and | |
2791 | 2) each partition starts on a good block. | |
2792 | ||
672c5705 AD |
2793 | config CMD_MTDPARTS_SHOW_NET_SIZES |
2794 | bool "Show net size (w/o bad blocks) of partitions" | |
2795 | depends on CMD_MTDPARTS | |
2796 | help | |
2797 | Adds two columns to the printed partition table showing the | |
2798 | effective usable size of a partition, if bad blocks are taken | |
2799 | into account. | |
2800 | ||
587f4457 MR |
2801 | config MTDIDS_DEFAULT |
2802 | string "Default MTD IDs" | |
ff102c54 | 2803 | depends on MTD || SPI_FLASH |
6762c8dd | 2804 | depends on !SYS_MTDPARTS_RUNTIME |
587f4457 MR |
2805 | help |
2806 | Defines a default MTD IDs list for use with MTD partitions in the | |
2807 | Linux MTD command line partitions format. | |
2808 | ||
2809 | config MTDPARTS_DEFAULT | |
2810 | string "Default MTD partition scheme" | |
ff102c54 | 2811 | depends on MTD || SPI_FLASH |
6762c8dd | 2812 | depends on !SYS_MTDPARTS_RUNTIME |
587f4457 MR |
2813 | help |
2814 | Defines a default MTD partitioning scheme in the Linux MTD command | |
2815 | line partitions format | |
2816 | ||
7a764318 SG |
2817 | config CMD_YAFFS2 |
2818 | bool "yaffs2 - Access of YAFFS2 filesystem" | |
2819 | depends on YAFFS2 | |
2820 | default y | |
2821 | help | |
2822 | This provides commands for accessing a YAFFS2 filesystem. Yet | |
2823 | Another Flash Filesystem 2 is a filesystem designed specifically | |
2824 | for NAND flash. It incorporates bad-block management and ensures | |
2825 | that device writes are sequential regardless of filesystem | |
2826 | activity. | |
2827 | ||
54feea17 SG |
2828 | config CMD_ZFS |
2829 | bool "zfs - Access of ZFS filesystem" | |
2830 | help | |
2831 | This provides commands to accessing a ZFS filesystem, commonly used | |
2832 | on Solaris systems. Two sub-commands are provided: | |
2833 | ||
2834 | zfsls - list files in a directory | |
2835 | zfsload - load a file | |
2836 | ||
2837 | See doc/README.zfs for more details. | |
2838 | ||
ab8243e4 DN |
2839 | endmenu |
2840 | ||
ac20a1b2 SG |
2841 | menu "Debug commands" |
2842 | ||
71cebf0b SG |
2843 | config CMD_CBSYSINFO |
2844 | bool "cbsysinfo" | |
2845 | depends on X86 | |
2846 | default y if SYS_COREBOOT | |
2847 | help | |
2848 | This provides information about the coreboot sysinfo table stored in | |
2849 | memory by coreboot before jumping to U-Boot. It can be useful for | |
2850 | debugging the beaaviour of coreboot or U-Boot. | |
2851 | ||
1f865ee0 SR |
2852 | config CMD_CYCLIC |
2853 | bool "cyclic - Show information about cyclic functions" | |
2854 | depends on CYCLIC | |
2855 | default y | |
2856 | help | |
2857 | This enables the 'cyclic' command which provides information about | |
2858 | cyclic execution functions. This infrastructure allows registering | |
2859 | functions to be executed cyclically, e.g. every 100ms. These commands | |
2860 | are supported: | |
2861 | ||
2862 | cyclic list - list cyclic functions | |
2863 | cyclic cyclic demo <cycletime_ms> <delay_us> - register cyclic | |
2864 | demo function | |
2865 | ||
2866 | See doc/develop/cyclic.rst for more details. | |
2867 | ||
3bd25cb5 SG |
2868 | config CMD_DIAG |
2869 | bool "diag - Board diagnostics" | |
2870 | help | |
2871 | This command provides access to board diagnostic tests. These are | |
2872 | called Power-on Self Tests (POST). The command allows listing of | |
2873 | available tests and running either all the tests, or specific tests | |
2874 | identified by name. | |
2875 | ||
c81b460c SG |
2876 | config CMD_EVENT |
2877 | bool "event - Show information about events" | |
448e2b63 | 2878 | depends on EVENT |
c81b460c SG |
2879 | default y if EVENT_DEBUG |
2880 | help | |
2881 | This enables the 'event' command which provides information about | |
2882 | events and event-handler routines. This can help to device event | |
2883 | hadling. | |
2884 | ||
1b330894 SG |
2885 | config CMD_IRQ |
2886 | bool "irq - Show information about interrupts" | |
c5a7e5b3 | 2887 | depends on !ARM && !MIPS && !RISCV && !SH |
1b330894 SG |
2888 | help |
2889 | This enables two commands: | |
2890 | ||
2891 | interrupts - enable or disable interrupts | |
2892 | irqinfo - print device-specific interrupt information | |
6bac227a SG |
2893 | |
2894 | config CMD_KGDB | |
2895 | bool "kgdb - Allow debugging of U-Boot with gdb" | |
b9205506 | 2896 | depends on PPC |
6bac227a SG |
2897 | help |
2898 | This enables a 'kgdb' command which allows gdb to connect to U-Boot | |
2899 | over a serial link for debugging purposes. This allows | |
2900 | single-stepping, inspecting variables, etc. This is supported only | |
2901 | on PowerPC at present. | |
2902 | ||
d5f61f27 SG |
2903 | config CMD_LOG |
2904 | bool "log - Generation, control and access to logging" | |
83a1f933 | 2905 | select LOG |
3e40976a | 2906 | select GETOPT |
d5f61f27 SG |
2907 | help |
2908 | This provides access to logging features. It allows the output of | |
2909 | log data to be controlled to a limited extent (setting up the default | |
ef11ed82 SG |
2910 | maximum log level for emitting of records). It also provides access |
2911 | to a command used for testing the log system. | |
d5f61f27 | 2912 | |
ce058ae5 SG |
2913 | config CMD_TRACE |
2914 | bool "trace - Support tracing of function calls and timing" | |
89050244 SG |
2915 | depends on TRACE |
2916 | default y | |
ce058ae5 SG |
2917 | help |
2918 | Enables a command to control using of function tracing within | |
2919 | U-Boot. This allows recording of call traces including timing | |
2920 | information. The command can write data to memory for exporting | |
6d9a851e VS |
2921 | for analysis (e.g. using bootchart). See doc/develop/trace.rst |
2922 | for full details. | |
ce058ae5 | 2923 | |
60b2f9e7 IO |
2924 | config CMD_AVB |
2925 | bool "avb - Android Verified Boot 2.0 operations" | |
b0aa74a2 | 2926 | depends on AVB_VERIFY |
60b2f9e7 IO |
2927 | help |
2928 | Enables a "avb" command to perform verification of partitions using | |
2929 | Android Verified Boot 2.0 functionality. It includes such subcommands: | |
2930 | avb init - initialize avb2 subsystem | |
2931 | avb read_rb - read rollback index | |
2932 | avb write_rb - write rollback index | |
2933 | avb is_unlocked - check device lock state | |
2934 | avb get_uuid - read and print uuid of a partition | |
2935 | avb read_part - read data from partition | |
2936 | avb read_part_hex - read data from partition and output to stdout | |
2937 | avb write_part - write data to partition | |
2938 | avb verify - run full verification chain | |
4e9bce12 JP |
2939 | |
2940 | config CMD_STACKPROTECTOR_TEST | |
2941 | bool "Test command for stack protector" | |
2942 | depends on STACKPROTECTOR | |
2943 | help | |
2944 | Enable stackprot_test command | |
2945 | The stackprot_test command will force a stack overrun to test | |
2946 | the stack smashing detection mechanisms. | |
2947 | ||
ac20a1b2 SG |
2948 | endmenu |
2949 | ||
8f2fe0c8 HS |
2950 | config CMD_UBI |
2951 | tristate "Enable UBI - Unsorted block images commands" | |
8f2fe0c8 HS |
2952 | select MTD_UBI |
2953 | help | |
2954 | UBI is a software layer above MTD layer which admits use of LVM-like | |
2955 | logical volumes on top of MTD devices, hides some complexities of | |
2956 | flash chips like wear and bad blocks and provides some other useful | |
2957 | capabilities. Please, consult the MTD web site for more details | |
2958 | (www.linux-mtd.infradead.org). Activate this option if you want | |
2959 | to use U-Boot UBI commands. | |
c58fb2cd MR |
2960 | It is also strongly encouraged to also enable CONFIG_MTD to get full |
2961 | partition support. | |
8f2fe0c8 | 2962 | |
83f7078b PR |
2963 | config CMD_UBI_RENAME |
2964 | bool "Enable rename" | |
2965 | depends on CMD_UBI | |
83f7078b | 2966 | help |
608a88c2 | 2967 | Enable a "ubi" command to rename ubi volume: |
83f7078b PR |
2968 | ubi rename <oldname> <newname> |
2969 | ||
173aafbf BB |
2970 | config CMD_UBIFS |
2971 | tristate "Enable UBIFS - Unsorted block images filesystem commands" | |
2bc734b1 | 2972 | depends on CMD_UBI |
5ed063d1 | 2973 | default y if CMD_UBI |
24fc9531 | 2974 | select LZO |
b257c4e9 | 2975 | select GZIP |
173aafbf BB |
2976 | help |
2977 | UBIFS is a file system for flash devices which works on top of UBI. | |
2978 | ||
311106a1 AR |
2979 | config CMD_MESON |
2980 | bool "Amlogic Meson commands" | |
2981 | depends on ARCH_MESON | |
2982 | default y | |
2983 | help | |
2984 | Enable useful commands for the Meson Soc family developed by Amlogic Inc. | |
88d9b261 SG |
2985 | |
2986 | endif |