Kconfig 60 KB

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