Kconfig 63 KB

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