Kconfig 62 KB

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