Kconfig 52 KB

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