Kconfig 61 KB

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