Kconfig 65 KB

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