Kconfig 63 KB

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