Kconfig 79 KB

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