Kconfig 47 KB

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