Kconfig 64 KB

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