Kconfig 66 KB

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