Kconfig 64 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330
  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. default y if PINCTRL
  1008. help
  1009. Parse all available pin-controllers and show pins muxing. This
  1010. is useful for debug purpoer to check the pin muxing and to know if
  1011. a pin is configured as a GPIO or as an alternate function.
  1012. config CMD_POWEROFF
  1013. bool "poweroff"
  1014. help
  1015. Poweroff/Shutdown the system
  1016. config CMD_READ
  1017. bool "read - Read binary data from a partition"
  1018. help
  1019. Provides low-level access to the data in a partition.
  1020. config CMD_REMOTEPROC
  1021. bool "remoteproc"
  1022. depends on REMOTEPROC
  1023. help
  1024. Support for Remote Processor control
  1025. config CMD_SATA
  1026. bool "sata - Access SATA subsystem"
  1027. select SATA
  1028. help
  1029. SATA (Serial Advanced Technology Attachment) is a serial bus
  1030. standard for connecting to hard drives and other storage devices.
  1031. This command provides information about attached devices and allows
  1032. reading, writing and other operations.
  1033. SATA replaces PATA (originally just ATA), which stands for Parallel AT
  1034. Attachment, where AT refers to an IBM AT (Advanced Technology)
  1035. computer released in 1984.
  1036. config CMD_SAVES
  1037. bool "saves - Save a file over serial in S-Record format"
  1038. help
  1039. Provides a way to save a binary file using the Motorola S-Record
  1040. format over the serial line.
  1041. config CMD_SCSI
  1042. bool "scsi - Access to SCSI devices"
  1043. default y if SCSI
  1044. help
  1045. This provides a 'scsi' command which provides access to SCSI (Small
  1046. Computer System Interface) devices. The command provides a way to
  1047. scan the bus, reset the bus, read and write data and get information
  1048. about devices.
  1049. config CMD_SDRAM
  1050. bool "sdram - Print SDRAM configuration information"
  1051. help
  1052. Provides information about attached SDRAM. This assumed that the
  1053. SDRAM has an EEPROM with information that can be read using the
  1054. I2C bus. This is only available on some boards.
  1055. config CMD_SF
  1056. bool "sf"
  1057. depends on DM_SPI_FLASH || SPI_FLASH
  1058. default y if DM_SPI_FLASH
  1059. help
  1060. SPI Flash support
  1061. config CMD_SF_TEST
  1062. bool "sf test - Allow testing of SPI flash"
  1063. depends on CMD_SF
  1064. help
  1065. Provides a way to test that SPI flash is working correctly. The
  1066. test is destructive, in that an area of SPI flash must be provided
  1067. for the test to use. Performance information is also provided,
  1068. measuring the performance of reading, writing and erasing in
  1069. Mbps (Million Bits Per Second). This value should approximately
  1070. equal the SPI bus speed for a single-bit-wide SPI bus, assuming
  1071. everything is working properly.
  1072. config CMD_SPI
  1073. bool "sspi - Command to access spi device"
  1074. depends on SPI
  1075. help
  1076. SPI utility command.
  1077. config DEFAULT_SPI_BUS
  1078. int "default spi bus used by sspi command"
  1079. depends on CMD_SPI
  1080. default 0
  1081. config DEFAULT_SPI_MODE
  1082. hex "default spi mode used by sspi command (see include/spi.h)"
  1083. depends on CMD_SPI
  1084. default 0
  1085. config CMD_TSI148
  1086. bool "tsi148 - Command to access tsi148 device"
  1087. help
  1088. This provides various sub-commands to initialise and configure the
  1089. Turndra tsi148 device. See the command help for full details.
  1090. config CMD_UFS
  1091. bool "Enable UFS - Universal Flash Subsystem commands"
  1092. depends on UFS
  1093. help
  1094. "This provides commands to initialise and configure universal flash
  1095. subsystem devices"
  1096. config CMD_UNIVERSE
  1097. bool "universe - Command to set up the Turndra Universe controller"
  1098. help
  1099. This allows setting up the VMEbus provided by this controller.
  1100. See the command help for full details.
  1101. config CMD_USB
  1102. bool "usb"
  1103. select HAVE_BLOCK_DEVICE
  1104. help
  1105. USB support.
  1106. config CMD_USB_SDP
  1107. bool "sdp"
  1108. select USB_FUNCTION_SDP
  1109. help
  1110. Enables the command "sdp" which is used to have U-Boot emulating the
  1111. Serial Download Protocol (SDP) via USB.
  1112. config CMD_ROCKUSB
  1113. bool "rockusb"
  1114. depends on USB_FUNCTION_ROCKUSB
  1115. help
  1116. Rockusb protocol is widely used by Rockchip SoC based devices. It can
  1117. read/write info, image to/from devices. This enable rockusb command
  1118. support to communication with rockusb device. for more detail about
  1119. this command, please read doc/README.rockusb.
  1120. config CMD_USB_MASS_STORAGE
  1121. bool "UMS usb mass storage"
  1122. select USB_FUNCTION_MASS_STORAGE
  1123. help
  1124. USB mass storage support
  1125. config CMD_PVBLOCK
  1126. bool "Xen para-virtualized block device"
  1127. depends on XEN
  1128. select PVBLOCK
  1129. help
  1130. Xen para-virtualized block device support
  1131. config CMD_VIRTIO
  1132. bool "virtio"
  1133. depends on VIRTIO
  1134. default y if VIRTIO
  1135. help
  1136. VirtIO block device support
  1137. config CMD_WDT
  1138. bool "wdt"
  1139. depends on WDT
  1140. help
  1141. This provides commands to control the watchdog timer devices.
  1142. config CMD_AXI
  1143. bool "axi"
  1144. depends on AXI
  1145. help
  1146. Enable the command "axi" for accessing AXI (Advanced eXtensible
  1147. Interface) busses, a on-chip interconnect specification for managing
  1148. functional blocks in SoC designs, which is also often used in designs
  1149. involving FPGAs (e.g. communication with IP cores in Xilinx FPGAs).
  1150. endmenu
  1151. menu "Shell scripting commands"
  1152. config CMD_ECHO
  1153. bool "echo"
  1154. default y
  1155. help
  1156. Echo args to console
  1157. config CMD_ITEST
  1158. bool "itest"
  1159. default y
  1160. help
  1161. Return true/false on integer compare.
  1162. config CMD_SOURCE
  1163. bool "source"
  1164. default y
  1165. help
  1166. Run script from memory
  1167. config CMD_SETEXPR
  1168. bool "setexpr"
  1169. default y
  1170. help
  1171. Evaluate boolean and math expressions and store the result in an env
  1172. variable.
  1173. Also supports loading the value at a memory location into a variable.
  1174. If CONFIG_REGEX is enabled, setexpr also supports a gsub function.
  1175. endmenu
  1176. menu "Android support commands"
  1177. config CMD_AB_SELECT
  1178. bool "ab_select"
  1179. default n
  1180. depends on ANDROID_AB
  1181. help
  1182. On Android devices with more than one boot slot (multiple copies of
  1183. the kernel and system images) this provides a command to select which
  1184. slot should be used to boot from and register the boot attempt. This
  1185. is used by the new A/B update model where one slot is updated in the
  1186. background while running from the other slot.
  1187. endmenu
  1188. if NET
  1189. menuconfig CMD_NET
  1190. bool "Network commands"
  1191. default y
  1192. imply NETDEVICES
  1193. if CMD_NET
  1194. config CMD_BOOTP
  1195. bool "bootp"
  1196. default y
  1197. help
  1198. bootp - boot image via network using BOOTP/TFTP protocol
  1199. config CMD_DHCP
  1200. bool "dhcp"
  1201. depends on CMD_BOOTP
  1202. help
  1203. Boot image via network using DHCP/TFTP protocol
  1204. config BOOTP_BOOTPATH
  1205. bool "Request & store 'rootpath' from BOOTP/DHCP server"
  1206. default y
  1207. depends on CMD_BOOTP
  1208. help
  1209. Even though the config is called BOOTP_BOOTPATH, it stores the
  1210. path in the variable 'rootpath'.
  1211. config BOOTP_DNS
  1212. bool "Request & store 'dnsip' from BOOTP/DHCP server"
  1213. default y
  1214. depends on CMD_BOOTP
  1215. help
  1216. The primary DNS server is stored as 'dnsip'. If two servers are
  1217. returned, you must set BOOTP_DNS2 to store that second server IP
  1218. also.
  1219. config BOOTP_DNS2
  1220. bool "Store 'dnsip2' from BOOTP/DHCP server"
  1221. depends on BOOTP_DNS
  1222. help
  1223. If a DHCP client requests the DNS server IP from a DHCP server,
  1224. it is possible that more than one DNS serverip is offered to the
  1225. client. If CONFIG_BOOTP_DNS2 is enabled, the secondary DNS
  1226. server IP will be stored in the additional environment
  1227. variable "dnsip2". The first DNS serverip is always
  1228. stored in the variable "dnsip", when BOOTP_DNS is defined.
  1229. config BOOTP_GATEWAY
  1230. bool "Request & store 'gatewayip' from BOOTP/DHCP server"
  1231. default y
  1232. depends on CMD_BOOTP
  1233. config BOOTP_HOSTNAME
  1234. bool "Request & store 'hostname' from BOOTP/DHCP server"
  1235. default y
  1236. depends on CMD_BOOTP
  1237. help
  1238. The name may or may not be qualified with the local domain name.
  1239. config BOOTP_PREFER_SERVERIP
  1240. bool "serverip variable takes precedent over DHCP server IP."
  1241. depends on CMD_BOOTP
  1242. help
  1243. By default a BOOTP/DHCP reply will overwrite the 'serverip' variable.
  1244. With this option enabled, the 'serverip' variable in the environment
  1245. takes precedence over DHCP server IP and will only be set by the DHCP
  1246. server if not already set in the environment.
  1247. config BOOTP_SUBNETMASK
  1248. bool "Request & store 'netmask' from BOOTP/DHCP server"
  1249. default y
  1250. depends on CMD_BOOTP
  1251. config BOOTP_NTPSERVER
  1252. bool "Request & store 'ntpserverip' from BOOTP/DHCP server"
  1253. depends on CMD_BOOTP
  1254. config CMD_PCAP
  1255. bool "pcap capture"
  1256. help
  1257. Selecting this will allow capturing all Ethernet packets and store
  1258. them in physical memory in a PCAP formated file,
  1259. later to be analyzed by PCAP reader application (IE. WireShark).
  1260. config BOOTP_PXE
  1261. bool "Send PXE client arch to BOOTP/DHCP server"
  1262. default y
  1263. depends on CMD_BOOTP && CMD_PXE
  1264. help
  1265. Supported for ARM, ARM64, and x86 for now.
  1266. config BOOTP_PXE_CLIENTARCH
  1267. hex
  1268. depends on BOOTP_PXE
  1269. default 0x16 if ARM64
  1270. default 0x15 if ARM
  1271. default 0 if X86
  1272. config BOOTP_VCI_STRING
  1273. string
  1274. depends on CMD_BOOTP
  1275. default "U-Boot.armv7" if CPU_V7A || CPU_V7M || CPU_V7R
  1276. default "U-Boot.armv8" if ARM64
  1277. default "U-Boot.arm" if ARM
  1278. default "U-Boot"
  1279. config CMD_TFTPBOOT
  1280. bool "tftpboot"
  1281. default y
  1282. help
  1283. tftpboot - boot image via network using TFTP protocol
  1284. config CMD_TFTPPUT
  1285. bool "tftp put"
  1286. depends on CMD_TFTPBOOT
  1287. help
  1288. TFTP put command, for uploading files to a server
  1289. config CMD_TFTPSRV
  1290. bool "tftpsrv"
  1291. depends on CMD_TFTPBOOT
  1292. help
  1293. Act as a TFTP server and boot the first received file
  1294. config NET_TFTP_VARS
  1295. bool "Control TFTP timeout and count through environment"
  1296. depends on CMD_TFTPBOOT
  1297. default y
  1298. help
  1299. If set, allows controlling the TFTP timeout through the
  1300. environment variable tftptimeout, and the TFTP maximum
  1301. timeout count through the variable tftptimeoutcountmax.
  1302. If unset, timeout and maximum are hard-defined as 1 second
  1303. and 10 timouts per TFTP transfer.
  1304. config CMD_RARP
  1305. bool "rarpboot"
  1306. help
  1307. Boot image via network using RARP/TFTP protocol
  1308. config CMD_NFS
  1309. bool "nfs"
  1310. default y
  1311. help
  1312. Boot image via network using NFS protocol.
  1313. config CMD_MII
  1314. bool "mii"
  1315. imply CMD_MDIO
  1316. help
  1317. If set, allows 802.3(clause 22) MII Management functions interface access
  1318. The management interface specified in Clause 22 provides
  1319. a simple, two signal, serial interface to connect a
  1320. Station Management entity and a managed PHY for providing access
  1321. to management parameters and services.
  1322. The interface is referred to as the MII management interface.
  1323. config CMD_MDIO
  1324. bool "mdio"
  1325. depends on PHYLIB
  1326. help
  1327. If set, allows Enable 802.3(clause 45) MDIO interface registers access
  1328. The MDIO interface is orthogonal to the MII interface and extends
  1329. it by adding access to more registers through indirect addressing.
  1330. config CMD_PING
  1331. bool "ping"
  1332. help
  1333. Send ICMP ECHO_REQUEST to network host
  1334. config CMD_CDP
  1335. bool "cdp"
  1336. help
  1337. Perform CDP network configuration
  1338. config CMD_SNTP
  1339. bool "sntp"
  1340. select PROT_UDP
  1341. help
  1342. Synchronize RTC via network
  1343. config CMD_DNS
  1344. bool "dns"
  1345. help
  1346. Lookup the IP of a hostname
  1347. config CMD_LINK_LOCAL
  1348. bool "linklocal"
  1349. select LIB_RAND
  1350. help
  1351. Acquire a network IP address using the link-local protocol
  1352. endif
  1353. config CMD_ETHSW
  1354. bool "ethsw"
  1355. help
  1356. Allow control of L2 Ethernet switch commands. These are supported
  1357. by the vsc9953 Ethernet driver at present. Sub-commands allow
  1358. operations such as enabling / disabling a port and
  1359. viewing/maintaining the filtering database (FDB)
  1360. config CMD_PXE
  1361. bool "pxe"
  1362. select MENU
  1363. help
  1364. Boot image via network using PXE protocol
  1365. config CMD_WOL
  1366. bool "wol"
  1367. help
  1368. Wait for wake-on-lan Magic Packet
  1369. endif
  1370. menu "Misc commands"
  1371. config CMD_BMP
  1372. bool "Enable 'bmp' command"
  1373. depends on LCD || DM_VIDEO || VIDEO
  1374. help
  1375. This provides a way to obtain information about a BMP-format image
  1376. and to display it. BMP (which presumably stands for BitMaP) is a
  1377. file format defined by Microsoft which supports images of various
  1378. depths, formats and compression methods. Headers on the file
  1379. determine the formats used. This command can be used by first loading
  1380. the image into RAM, then using this command to look at it or display
  1381. it.
  1382. config CMD_BOOTCOUNT
  1383. bool "bootcount"
  1384. depends on BOOTCOUNT_LIMIT
  1385. help
  1386. Enable the bootcount command, which allows interrogation and
  1387. reset of the bootcounter.
  1388. config CMD_BSP
  1389. bool "Enable board-specific commands"
  1390. help
  1391. (deprecated: instead, please define a Kconfig option for each command)
  1392. Some boards have board-specific commands which are only enabled
  1393. during developemnt and need to be turned off for production. This
  1394. option provides a way to control this. The commands that are enabled
  1395. vary depending on the board.
  1396. config CMD_BLOCK_CACHE
  1397. bool "blkcache - control and stats for block cache"
  1398. depends on BLOCK_CACHE
  1399. default y if BLOCK_CACHE
  1400. help
  1401. Enable the blkcache command, which can be used to control the
  1402. operation of the cache functions.
  1403. This is most useful when fine-tuning the operation of the cache
  1404. during development, but also allows the cache to be disabled when
  1405. it might hurt performance (e.g. when using the ums command).
  1406. config CMD_BUTTON
  1407. bool "button"
  1408. depends on BUTTON
  1409. default y if BUTTON
  1410. help
  1411. Enable the 'button' command which allows to get the status of
  1412. buttons supported by the board. The buttonss can be listed with
  1413. 'button list' and state can be known with 'button <label>'.
  1414. Any button drivers can be controlled with this command, e.g.
  1415. button_gpio.
  1416. config CMD_CACHE
  1417. bool "icache or dcache"
  1418. help
  1419. Enable the "icache" and "dcache" commands
  1420. config CMD_CONITRACE
  1421. bool "conitrace - trace console input codes"
  1422. help
  1423. Enable the 'conitrace' command which displays the codes received
  1424. from the console input as hexadecimal numbers.
  1425. config CMD_CLS
  1426. bool "Enable clear screen command 'cls'"
  1427. depends on CFB_CONSOLE || DM_VIDEO || LCD || VIDEO
  1428. default y if LCD
  1429. help
  1430. Enable the 'cls' command which clears the screen contents
  1431. on video frame buffer.
  1432. config CMD_EFIDEBUG
  1433. bool "efidebug - display/configure UEFI environment"
  1434. depends on EFI_LOADER
  1435. select EFI_DEVICE_PATH_TO_TEXT
  1436. default n
  1437. help
  1438. Enable the 'efidebug' command which provides a subset of UEFI
  1439. shell utility with simplified functionality. It will be useful
  1440. particularly for managing boot parameters as well as examining
  1441. various EFI status for debugging.
  1442. config CMD_EXCEPTION
  1443. bool "exception - raise exception"
  1444. depends on ARM || RISCV || SANDBOX || X86
  1445. help
  1446. Enable the 'exception' command which allows to raise an exception.
  1447. config CMD_LED
  1448. bool "led"
  1449. depends on LED
  1450. default y if LED
  1451. help
  1452. Enable the 'led' command which allows for control of LEDs supported
  1453. by the board. The LEDs can be listed with 'led list' and controlled
  1454. with led on/off/togle/blink. Any LED drivers can be controlled with
  1455. this command, e.g. led_gpio.
  1456. config CMD_DATE
  1457. bool "date"
  1458. default y if DM_RTC
  1459. select LIB_DATE
  1460. help
  1461. Enable the 'date' command for getting/setting the time/date in RTC
  1462. devices.
  1463. config CMD_RTC
  1464. bool "rtc"
  1465. depends on DM_RTC
  1466. help
  1467. Enable the 'rtc' command for low-level access to RTC devices.
  1468. config CMD_TIME
  1469. bool "time"
  1470. help
  1471. Run commands and summarize execution time.
  1472. config CMD_GETTIME
  1473. bool "gettime - read elapsed time"
  1474. help
  1475. Enable the 'gettime' command which reads the elapsed time since
  1476. U-Boot started running. This shows the time in seconds and
  1477. milliseconds. See also the 'bootstage' command which provides more
  1478. flexibility for boot timing.
  1479. config CMD_RNG
  1480. bool "rng command"
  1481. depends on DM_RNG
  1482. select HEXDUMP
  1483. help
  1484. Print bytes from the hardware random number generator.
  1485. config CMD_SLEEP
  1486. bool "sleep"
  1487. default y
  1488. help
  1489. Delay execution for some time
  1490. config MP
  1491. bool "support for multiprocessor"
  1492. help
  1493. This provides an option to brinup
  1494. different processors in multiprocessor
  1495. cases.
  1496. config CMD_TIMER
  1497. bool "timer"
  1498. help
  1499. Access the system timer.
  1500. config CMD_SOUND
  1501. bool "sound"
  1502. depends on SOUND
  1503. help
  1504. This provides basic access to the U-Boot's sound support. The main
  1505. feature is to play a beep.
  1506. sound init - set up sound system
  1507. sound play - play a sound
  1508. config CMD_SYSBOOT
  1509. bool "sysboot"
  1510. select MENU
  1511. help
  1512. Boot image via local extlinux.conf file
  1513. config CMD_QFW
  1514. bool "qfw"
  1515. select QFW
  1516. help
  1517. This provides access to the QEMU firmware interface. The main
  1518. feature is to allow easy loading of files passed to qemu-system
  1519. via -kernel / -initrd
  1520. config CMD_PSTORE
  1521. bool "pstore"
  1522. help
  1523. This provides access to Linux PStore with Rammoops backend. The main
  1524. feature is to allow to display or save PStore records.
  1525. See doc/pstore.rst for more information.
  1526. if CMD_PSTORE
  1527. config CMD_PSTORE_MEM_ADDR
  1528. hex "Memory Address"
  1529. depends on CMD_PSTORE
  1530. help
  1531. Base addr used for PStore ramoops memory, should be identical to
  1532. ramoops.mem_address parameter used by kernel
  1533. config CMD_PSTORE_MEM_SIZE
  1534. hex "Memory size"
  1535. depends on CMD_PSTORE
  1536. default "0x10000"
  1537. help
  1538. Size of PStore ramoops memory, should be identical to ramoops.mem_size
  1539. parameter used by kernel, a power of 2 and larger than the sum of the
  1540. record sizes
  1541. config CMD_PSTORE_RECORD_SIZE
  1542. hex "Dump record size"
  1543. depends on CMD_PSTORE
  1544. default "0x1000"
  1545. help
  1546. Size of each dump done on oops/panic, should be identical to
  1547. ramoops.record_size parameter used by kernel and a power of 2
  1548. Must be non-zero
  1549. config CMD_PSTORE_CONSOLE_SIZE
  1550. hex "Kernel console log size"
  1551. depends on CMD_PSTORE
  1552. default "0x1000"
  1553. help
  1554. Size of kernel console log, should be identical to
  1555. ramoops.console_size parameter used by kernel and a power of 2
  1556. Must be non-zero
  1557. config CMD_PSTORE_FTRACE_SIZE
  1558. hex "FTrace log size"
  1559. depends on CMD_PSTORE
  1560. default "0x1000"
  1561. help
  1562. Size of ftrace log, should be identical to ramoops.ftrace_size
  1563. parameter used by kernel and a power of 2
  1564. config CMD_PSTORE_PMSG_SIZE
  1565. hex "User space message log size"
  1566. depends on CMD_PSTORE
  1567. default "0x1000"
  1568. help
  1569. Size of user space message log, should be identical to
  1570. ramoops.pmsg_size parameter used by kernel and a power of 2
  1571. config CMD_PSTORE_ECC_SIZE
  1572. int "ECC size"
  1573. depends on CMD_PSTORE
  1574. default "0"
  1575. help
  1576. if non-zero, the option enables ECC support and specifies ECC buffer
  1577. size in bytes (1 is a special value, means 16 bytes ECC), should be
  1578. identical to ramoops.ramoops_ecc parameter used by kernel
  1579. endif
  1580. source "cmd/mvebu/Kconfig"
  1581. config CMD_TERMINAL
  1582. bool "terminal - provides a way to attach a serial terminal"
  1583. help
  1584. Provides a 'cu'-like serial terminal command. This can be used to
  1585. access other serial ports from the system console. The terminal
  1586. is very simple with no special processing of characters. As with
  1587. cu, you can press ~. (tilde followed by period) to exit.
  1588. config CMD_UUID
  1589. bool "uuid, guid - generation of unique IDs"
  1590. select LIB_UUID
  1591. help
  1592. This enables two commands:
  1593. uuid - generate random Universally Unique Identifier
  1594. guid - generate Globally Unique Identifier based on random UUID
  1595. The two commands are very similar except for the endianness of the
  1596. output.
  1597. endmenu
  1598. source "cmd/ti/Kconfig"
  1599. config CMD_BOOTSTAGE
  1600. bool "Enable the 'bootstage' command"
  1601. depends on BOOTSTAGE
  1602. help
  1603. Add a 'bootstage' command which supports printing a report
  1604. and un/stashing of bootstage data.
  1605. menu "Power commands"
  1606. config CMD_PMIC
  1607. bool "Enable Driver Model PMIC command"
  1608. depends on DM_PMIC
  1609. help
  1610. This is the pmic command, based on a driver model pmic's API.
  1611. Command features are unchanged:
  1612. - list - list pmic devices
  1613. - pmic dev <id> - show or [set] operating pmic device (NEW)
  1614. - pmic dump - dump registers
  1615. - pmic read address - read byte of register at address
  1616. - pmic write address - write byte to register at address
  1617. The only one change for this command is 'dev' subcommand.
  1618. config CMD_REGULATOR
  1619. bool "Enable Driver Model REGULATOR command"
  1620. depends on DM_REGULATOR
  1621. help
  1622. This command is based on driver model regulator's API.
  1623. User interface features:
  1624. - list - list regulator devices
  1625. - regulator dev <id> - show or [set] operating regulator device
  1626. - regulator info - print constraints info
  1627. - regulator status - print operating status
  1628. - regulator value <val] <-f> - print/[set] voltage value [uV]
  1629. - regulator current <val> - print/[set] current value [uA]
  1630. - regulator mode <id> - print/[set] operating mode id
  1631. - regulator enable - enable the regulator output
  1632. - regulator disable - disable the regulator output
  1633. The '-f' (force) option can be used for set the value which exceeds
  1634. the limits, which are found in device-tree and are kept in regulator's
  1635. uclass plat structure.
  1636. endmenu
  1637. menu "Security commands"
  1638. config CMD_AES
  1639. bool "Enable the 'aes' command"
  1640. select AES
  1641. help
  1642. This provides a means to encrypt and decrypt data using the AES
  1643. (Advanced Encryption Standard). This algorithm uses a symetric key
  1644. and is widely used as a streaming cipher. Different key lengths are
  1645. supported by the algorithm but this command only supports 128 bits
  1646. at present.
  1647. config CMD_BLOB
  1648. bool "Enable the 'blob' command"
  1649. help
  1650. This is used with the Freescale secure boot mechanism.
  1651. Freescale's SEC block has built-in Blob Protocol which provides
  1652. a method for protecting user-defined data across system power
  1653. cycles. SEC block protects data in a data structure called a Blob,
  1654. which provides both confidentiality and integrity protection.
  1655. Encapsulating data as a blob
  1656. Each time that the Blob Protocol is used to protect data, a
  1657. different randomly generated key is used to encrypt the data.
  1658. This random key is itself encrypted using a key which is derived
  1659. from SoC's non-volatile secret key and a 16 bit Key identifier.
  1660. The resulting encrypted key along with encrypted data is called a
  1661. blob. The non-volatile secure key is available for use only during
  1662. secure boot.
  1663. During decapsulation, the reverse process is performed to get back
  1664. the original data.
  1665. Sub-commands:
  1666. blob enc - encapsulating data as a cryptgraphic blob
  1667. blob dec - decapsulating cryptgraphic blob to get the data
  1668. Syntax:
  1669. blob enc src dst len km
  1670. Encapsulate and create blob of data $len bytes long
  1671. at address $src and store the result at address $dst.
  1672. $km is the 16 byte key modifier is also required for
  1673. generation/use as key for cryptographic operation. Key
  1674. modifier should be 16 byte long.
  1675. blob dec src dst len km
  1676. Decapsulate the blob of data at address $src and
  1677. store result of $len byte at addr $dst.
  1678. $km is the 16 byte key modifier is also required for
  1679. generation/use as key for cryptographic operation. Key
  1680. modifier should be 16 byte long.
  1681. config CMD_HASH
  1682. bool "Support 'hash' command"
  1683. select HASH
  1684. help
  1685. This provides a way to hash data in memory using various supported
  1686. algorithms (such as SHA1, MD5, CRC32). The computed digest can be
  1687. saved to memory or to an environment variable. It is also possible
  1688. to verify a hash against data in memory.
  1689. config CMD_HVC
  1690. bool "Support the 'hvc' command"
  1691. depends on ARM_SMCCC
  1692. help
  1693. Allows issuing Hypervisor Calls (HVCs). Mostly useful for
  1694. development and testing.
  1695. config CMD_SMC
  1696. bool "Support the 'smc' command"
  1697. depends on ARM_SMCCC
  1698. help
  1699. Allows issuing Secure Monitor Calls (SMCs). Mostly useful for
  1700. development and testing.
  1701. config HASH_VERIFY
  1702. bool "hash -v"
  1703. depends on CMD_HASH
  1704. help
  1705. Add -v option to verify data against a hash.
  1706. config CMD_TPM_V1
  1707. bool
  1708. config CMD_TPM_V2
  1709. bool
  1710. select CMD_LOG
  1711. config CMD_TPM
  1712. bool "Enable the 'tpm' command"
  1713. depends on TPM_V1 || TPM_V2
  1714. select CMD_TPM_V1 if TPM_V1
  1715. select CMD_TPM_V2 if TPM_V2
  1716. help
  1717. This provides a means to talk to a TPM from the command line. A wide
  1718. range of commands if provided - see 'tpm help' for details. The
  1719. command requires a suitable TPM on your board and the correct driver
  1720. must be enabled.
  1721. if CMD_TPM
  1722. config CMD_TPM_TEST
  1723. bool "Enable the 'tpm test' command"
  1724. depends on TPM_V1
  1725. help
  1726. This provides a a series of tests to confirm that the TPMv1.x is
  1727. working correctly. The tests cover initialisation, non-volatile RAM,
  1728. extend, global lock and checking that timing is within expectations.
  1729. The tests pass correctly on Infineon TPMs but may need to be adjusted
  1730. for other devices.
  1731. endif
  1732. endmenu
  1733. menu "Firmware commands"
  1734. config CMD_CROS_EC
  1735. bool "Enable crosec command"
  1736. depends on CROS_EC
  1737. default y
  1738. help
  1739. Enable command-line access to the Chrome OS EC (Embedded
  1740. Controller). This provides the 'crosec' command which has
  1741. a number of sub-commands for performing EC tasks such as
  1742. updating its flash, accessing a small saved context area
  1743. and talking to the I2C bus behind the EC (if there is one).
  1744. endmenu
  1745. menu "Filesystem commands"
  1746. config CMD_BTRFS
  1747. bool "Enable the 'btrsubvol' command"
  1748. select FS_BTRFS
  1749. help
  1750. This enables the 'btrsubvol' command to list subvolumes
  1751. of a BTRFS filesystem. There are no special commands for
  1752. listing BTRFS directories or loading BTRFS files - this
  1753. can be done by the generic 'fs' commands (see CMD_FS_GENERIC)
  1754. when BTRFS is enabled (see FS_BTRFS).
  1755. config CMD_CBFS
  1756. bool "Enable the 'cbfs' command"
  1757. depends on FS_CBFS
  1758. help
  1759. Define this to enable support for reading from a Coreboot
  1760. filesystem. This is a ROM-based filesystem used for accessing files
  1761. on systems that use coreboot as the first boot-loader and then load
  1762. U-Boot to actually boot the Operating System. Available commands are
  1763. cbfsinit, cbfsinfo, cbfsls and cbfsload.
  1764. config CMD_CRAMFS
  1765. bool "Enable the 'cramfs' command"
  1766. depends on FS_CRAMFS
  1767. help
  1768. This provides commands for dealing with CRAMFS (Compressed ROM
  1769. filesystem). CRAMFS is useful when space is tight since files are
  1770. compressed. Two commands are provided:
  1771. cramfsls - lists files in a cramfs image
  1772. cramfsload - loads a file from a cramfs image
  1773. config CMD_EXT2
  1774. bool "ext2 command support"
  1775. select FS_EXT4
  1776. help
  1777. Enables EXT2 FS command
  1778. config CMD_EXT4
  1779. bool "ext4 command support"
  1780. select FS_EXT4
  1781. help
  1782. Enables EXT4 FS command
  1783. config CMD_EXT4_WRITE
  1784. depends on CMD_EXT4
  1785. bool "ext4 write command support"
  1786. select EXT4_WRITE
  1787. help
  1788. Enables EXT4 FS write command
  1789. config CMD_FAT
  1790. bool "FAT command support"
  1791. select FS_FAT
  1792. help
  1793. Support for the FAT fs
  1794. config CMD_SQUASHFS
  1795. bool "SquashFS command support"
  1796. select FS_SQUASHFS
  1797. help
  1798. Enables SquashFS filesystem commands (e.g. load, ls).
  1799. config CMD_FS_GENERIC
  1800. bool "filesystem commands"
  1801. help
  1802. Enables filesystem commands (e.g. load, ls) that work for multiple
  1803. fs types.
  1804. config CMD_FS_UUID
  1805. bool "fsuuid command"
  1806. help
  1807. Enables fsuuid command for filesystem UUID.
  1808. config CMD_JFFS2
  1809. bool "jffs2 command"
  1810. select FS_JFFS2
  1811. help
  1812. Enables commands to support the JFFS2 (Journalling Flash File System
  1813. version 2) filesystem. This enables fsload, ls and fsinfo which
  1814. provide the ability to load files, list directories and obtain
  1815. filesystem information.
  1816. config CMD_MTDPARTS
  1817. bool "MTD partition support"
  1818. depends on MTD
  1819. help
  1820. MTD partitioning tool support.
  1821. It is strongly encouraged to avoid using this command
  1822. anymore along with 'sf', 'nand', 'onenand'. One can still
  1823. declare the partitions in the mtdparts environment variable
  1824. but better use the MTD stack and the 'mtd' command instead.
  1825. config CMD_MTDPARTS_SPREAD
  1826. bool "Padd partition size to take account of bad blocks"
  1827. depends on CMD_MTDPARTS
  1828. help
  1829. This enables the 'spread' sub-command of the mtdparts command.
  1830. This command will modify the existing mtdparts variable by increasing
  1831. the size of the partitions such that 1) each partition's net size is
  1832. at least as large as the size specified in the mtdparts variable and
  1833. 2) each partition starts on a good block.
  1834. config CMD_MTDPARTS_SHOW_NET_SIZES
  1835. bool "Show net size (w/o bad blocks) of partitions"
  1836. depends on CMD_MTDPARTS
  1837. help
  1838. Adds two columns to the printed partition table showing the
  1839. effective usable size of a partition, if bad blocks are taken
  1840. into account.
  1841. config MTDIDS_DEFAULT
  1842. string "Default MTD IDs"
  1843. depends on MTD || SPI_FLASH
  1844. help
  1845. Defines a default MTD IDs list for use with MTD partitions in the
  1846. Linux MTD command line partitions format.
  1847. config MTDPARTS_DEFAULT
  1848. string "Default MTD partition scheme"
  1849. depends on MTD || SPI_FLASH
  1850. help
  1851. Defines a default MTD partitioning scheme in the Linux MTD command
  1852. line partitions format
  1853. config CMD_REISER
  1854. bool "reiser - Access to reiserfs filesystems"
  1855. help
  1856. This provides two commands which operate on a resierfs filesystem,
  1857. commonly used some years ago:
  1858. reiserls - list files
  1859. reiserload - load a file
  1860. config CMD_YAFFS2
  1861. bool "yaffs2 - Access of YAFFS2 filesystem"
  1862. depends on YAFFS2
  1863. default y
  1864. help
  1865. This provides commands for accessing a YAFFS2 filesystem. Yet
  1866. Another Flash Filesystem 2 is a filesystem designed specifically
  1867. for NAND flash. It incorporates bad-block management and ensures
  1868. that device writes are sequential regardless of filesystem
  1869. activity.
  1870. config CMD_ZFS
  1871. bool "zfs - Access of ZFS filesystem"
  1872. help
  1873. This provides commands to accessing a ZFS filesystem, commonly used
  1874. on Solaris systems. Two sub-commands are provided:
  1875. zfsls - list files in a directory
  1876. zfsload - load a file
  1877. See doc/README.zfs for more details.
  1878. endmenu
  1879. menu "Debug commands"
  1880. config CMD_BEDBUG
  1881. bool "bedbug"
  1882. help
  1883. The bedbug (emBEDded deBUGger) command provides debugging features
  1884. for some PowerPC processors. For details please see the
  1885. documentation in doc/README.bedbug.
  1886. config CMD_DIAG
  1887. bool "diag - Board diagnostics"
  1888. help
  1889. This command provides access to board diagnostic tests. These are
  1890. called Power-on Self Tests (POST). The command allows listing of
  1891. available tests and running either all the tests, or specific tests
  1892. identified by name.
  1893. config CMD_IRQ
  1894. bool "irq - Show information about interrupts"
  1895. depends on !ARM && !MIPS && !RISCV && !SH
  1896. help
  1897. This enables two commands:
  1898. interrupts - enable or disable interrupts
  1899. irqinfo - print device-specific interrupt information
  1900. config CMD_KGDB
  1901. bool "kgdb - Allow debugging of U-Boot with gdb"
  1902. depends on PPC
  1903. help
  1904. This enables a 'kgdb' command which allows gdb to connect to U-Boot
  1905. over a serial link for debugging purposes. This allows
  1906. single-stepping, inspecting variables, etc. This is supported only
  1907. on PowerPC at present.
  1908. config CMD_LOG
  1909. bool "log - Generation, control and access to logging"
  1910. select LOG
  1911. select GETOPT
  1912. help
  1913. This provides access to logging features. It allows the output of
  1914. log data to be controlled to a limited extent (setting up the default
  1915. maximum log level for emitting of records). It also provides access
  1916. to a command used for testing the log system.
  1917. config CMD_TRACE
  1918. bool "trace - Support tracing of function calls and timing"
  1919. help
  1920. Enables a command to control using of function tracing within
  1921. U-Boot. This allows recording of call traces including timing
  1922. information. The command can write data to memory for exporting
  1923. for analysis (e.g. using bootchart). See doc/README.trace for full
  1924. details.
  1925. config CMD_AVB
  1926. bool "avb - Android Verified Boot 2.0 operations"
  1927. depends on AVB_VERIFY
  1928. default n
  1929. help
  1930. Enables a "avb" command to perform verification of partitions using
  1931. Android Verified Boot 2.0 functionality. It includes such subcommands:
  1932. avb init - initialize avb2 subsystem
  1933. avb read_rb - read rollback index
  1934. avb write_rb - write rollback index
  1935. avb is_unlocked - check device lock state
  1936. avb get_uuid - read and print uuid of a partition
  1937. avb read_part - read data from partition
  1938. avb read_part_hex - read data from partition and output to stdout
  1939. avb write_part - write data to partition
  1940. avb verify - run full verification chain
  1941. endmenu
  1942. config CMD_UBI
  1943. tristate "Enable UBI - Unsorted block images commands"
  1944. select MTD_UBI
  1945. help
  1946. UBI is a software layer above MTD layer which admits use of LVM-like
  1947. logical volumes on top of MTD devices, hides some complexities of
  1948. flash chips like wear and bad blocks and provides some other useful
  1949. capabilities. Please, consult the MTD web site for more details
  1950. (www.linux-mtd.infradead.org). Activate this option if you want
  1951. to use U-Boot UBI commands.
  1952. It is also strongly encouraged to also enable CONFIG_MTD to get full
  1953. partition support.
  1954. config CMD_UBI_RENAME
  1955. bool "Enable rename"
  1956. depends on CMD_UBI
  1957. default n
  1958. help
  1959. Enable a "ubi" command to rename ubi volume:
  1960. ubi rename <oldname> <newname>
  1961. config CMD_UBIFS
  1962. tristate "Enable UBIFS - Unsorted block images filesystem commands"
  1963. depends on CMD_UBI
  1964. default y if CMD_UBI
  1965. select LZO
  1966. help
  1967. UBIFS is a file system for flash devices which works on top of UBI.
  1968. endmenu