Kconfig 49 KB

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