Kconfig 61 KB

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