Kconfig 67 KB

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