Kconfig 64 KB

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