Kconfig 63 KB

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