Kconfig 64 KB

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