Kconfig 54 KB

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