Kconfig 61 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183
  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 CMD_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_SHA1SUM
  626. bool "sha1sum"
  627. select SHA1
  628. help
  629. Compute SHA1 checksum.
  630. config SHA1SUM_VERIFY
  631. bool "sha1sum -v"
  632. depends on CMD_SHA1SUM
  633. help
  634. Add -v option to verify data against a SHA1 checksum.
  635. config CMD_STRINGS
  636. bool "strings - display strings in memory"
  637. help
  638. This works similarly to the Unix 'strings' command except that it
  639. works with a memory range. String of printable characters found
  640. within the range are displayed. The minimum number of characters
  641. for a sequence to be considered a string can be provided.
  642. endmenu
  643. menu "Compression commands"
  644. config CMD_LZMADEC
  645. bool "lzmadec"
  646. default y if CMD_BOOTI
  647. select LZMA
  648. help
  649. Support decompressing an LZMA (Lempel-Ziv-Markov chain algorithm)
  650. image from memory.
  651. config CMD_UNZIP
  652. bool "unzip"
  653. default y if CMD_BOOTI
  654. help
  655. Uncompress a zip-compressed memory region.
  656. config CMD_ZIP
  657. bool "zip"
  658. help
  659. Compress a memory region with zlib deflate method.
  660. endmenu
  661. menu "Device access commands"
  662. config CMD_ARMFLASH
  663. #depends on FLASH_CFI_DRIVER
  664. bool "armflash"
  665. help
  666. ARM Ltd reference designs flash partition access
  667. config CMD_ADC
  668. bool "adc - Access Analog to Digital Converters info and data"
  669. select ADC
  670. select DM_REGULATOR
  671. help
  672. Shows ADC device info and permit printing one-shot analog converted
  673. data from a named Analog to Digital Converter.
  674. config CMD_BCB
  675. bool "bcb"
  676. depends on MMC
  677. depends on PARTITIONS
  678. help
  679. Read/modify/write the fields of Bootloader Control Block, usually
  680. stored on the flash "misc" partition with its structure defined in:
  681. https://android.googlesource.com/platform/bootable/recovery/+/master/
  682. bootloader_message/include/bootloader_message/bootloader_message.h
  683. Some real-life use-cases include (but are not limited to):
  684. - Determine the "boot reason" (and act accordingly):
  685. https://source.android.com/devices/bootloader/boot-reason
  686. - Get/pass a list of commands from/to recovery:
  687. https://android.googlesource.com/platform/bootable/recovery
  688. - Inspect/dump the contents of the BCB fields
  689. config CMD_BIND
  690. bool "bind/unbind - Bind or unbind a device to/from a driver"
  691. depends on DM
  692. help
  693. Bind or unbind a device to/from a driver from the command line.
  694. This is useful in situations where a device may be handled by several
  695. drivers. For example, this can be used to bind a UDC to the usb ether
  696. gadget driver from the command line.
  697. config CMD_CLK
  698. bool "clk - Show clock frequencies"
  699. help
  700. (deprecated)
  701. Shows clock frequences by calling a sock_clk_dump() hook function.
  702. This is depreated in favour of using the CLK uclass and accessing
  703. clock values from associated drivers. However currently no command
  704. exists for this.
  705. config CMD_DEMO
  706. bool "demo - Demonstration commands for driver model"
  707. depends on DM
  708. help
  709. Provides a 'demo' command which can be used to play around with
  710. driver model. To use this properly you will need to enable one or
  711. both of the demo devices (DM_DEMO_SHAPE and DM_DEMO_SIMPLE).
  712. Otherwise you will always get an empty list of devices. The demo
  713. devices are defined in the sandbox device tree, so the easiest
  714. option is to use sandbox and pass the -d point to sandbox's
  715. u-boot.dtb file.
  716. config CMD_DFU
  717. bool "dfu"
  718. select DFU
  719. help
  720. Enables the command "dfu" which is used to have U-Boot create a DFU
  721. class device via USB. This command requires that the "dfu_alt_info"
  722. environment variable be set and define the alt settings to expose to
  723. the host.
  724. config CMD_DM
  725. bool "dm - Access to driver model information"
  726. depends on DM
  727. help
  728. Provides access to driver model data structures and information,
  729. such as a list of devices, list of uclasses and the state of each
  730. device (e.g. activated). This is not required for operation, but
  731. can be useful to see the state of driver model for debugging or
  732. interest.
  733. config CMD_FASTBOOT
  734. bool "fastboot - Android fastboot support"
  735. depends on FASTBOOT
  736. help
  737. This enables the command "fastboot" which enables the Android
  738. fastboot mode for the platform. Fastboot is a protocol for
  739. downloading images, flashing and device control used on
  740. Android devices. Fastboot requires either the network stack
  741. enabled or support for acting as a USB device.
  742. See doc/android/fastboot.rst for more information.
  743. config CMD_FLASH
  744. bool "flinfo, erase, protect"
  745. default y
  746. depends on MTD || FLASH_CFI_DRIVER || MTD_NOR_FLASH
  747. help
  748. NOR flash support.
  749. flinfo - print FLASH memory information
  750. erase - FLASH memory
  751. protect - enable or disable FLASH write protection
  752. config CMD_FPGA
  753. bool "fpga"
  754. depends on FPGA
  755. default y
  756. help
  757. FPGA support.
  758. config CMD_FPGA_LOADBP
  759. bool "fpga loadbp - load partial bitstream (Xilinx only)"
  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_LOADFS
  765. bool "fpga loadfs - load bitstream from FAT filesystem (Xilinx only)"
  766. depends on CMD_FPGA
  767. help
  768. Supports loading an FPGA device from a FAT filesystem.
  769. config CMD_FPGA_LOADMK
  770. bool "fpga loadmk - load bitstream from image"
  771. depends on CMD_FPGA
  772. help
  773. Supports loading an FPGA device from a image generated by mkimage.
  774. config CMD_FPGA_LOADP
  775. bool "fpga loadp - load partial bitstream"
  776. depends on CMD_FPGA
  777. help
  778. Supports loading an FPGA device from a bitstream buffer containing
  779. a partial bitstream.
  780. config CMD_FPGA_LOAD_SECURE
  781. bool "fpga loads - loads secure bitstreams (Xilinx only)"
  782. depends on CMD_FPGA
  783. help
  784. Enables the fpga loads command which is used to load secure
  785. (authenticated or encrypted or both) bitstreams on to FPGA.
  786. config CMD_FPGAD
  787. bool "fpgad - dump FPGA registers"
  788. help
  789. (legacy, needs conversion to driver model)
  790. Provides a way to dump FPGA registers by calling the board-specific
  791. fpga_get_reg() function. This functions similarly to the 'md'
  792. command.
  793. config CMD_FUSE
  794. bool "fuse - support for the fuse subssystem"
  795. help
  796. (deprecated - needs conversion to driver model)
  797. This allows reading, sensing, programming or overriding fuses
  798. which control the behaviour of the device. The command uses the
  799. fuse_...() API.
  800. config CMD_GPIO
  801. bool "gpio"
  802. help
  803. GPIO support.
  804. config CMD_GPT
  805. bool "GPT (GUID Partition Table) command"
  806. select EFI_PARTITION
  807. select HAVE_BLOCK_DEVICE
  808. select PARTITION_UUIDS
  809. imply RANDOM_UUID
  810. help
  811. Enable the 'gpt' command to ready and write GPT style partition
  812. tables.
  813. config RANDOM_UUID
  814. bool "GPT Random UUID generation"
  815. select LIB_UUID
  816. help
  817. Enable the generation of partitions with random UUIDs if none
  818. are provided.
  819. config CMD_GPT_RENAME
  820. bool "GPT partition renaming commands"
  821. depends on CMD_GPT
  822. help
  823. Enables the 'gpt' command to interchange names on two GPT
  824. partitions via the 'gpt swap' command or to rename single
  825. partitions via the 'rename' command.
  826. config CMD_IDE
  827. bool "ide - Support for IDE drivers"
  828. select IDE
  829. help
  830. Provides an 'ide' command which allows accessing the IDE drive,
  831. reseting the IDE interface, printing the partition table and
  832. geting device info. It also enables the 'diskboot' command which
  833. permits booting from an IDE drive.
  834. config CMD_IO
  835. bool "io - Support for performing I/O accesses"
  836. help
  837. Provides an 'iod' command to display I/O space and an 'iow' command
  838. to write values to the I/O space. This can be useful for manually
  839. checking the state of devices during boot when debugging device
  840. drivers, etc.
  841. config CMD_IOTRACE
  842. bool "iotrace - Support for tracing I/O activity"
  843. help
  844. Provides an 'iotrace' command which supports recording I/O reads and
  845. writes in a trace buffer in memory . It also maintains a checksum
  846. of the trace records (even if space is exhausted) so that the
  847. sequence of I/O accesses can be verified.
  848. When debugging drivers it is useful to see what I/O accesses were
  849. done and in what order.
  850. Even if the individual accesses are of little interest it can be
  851. useful to verify that the access pattern is consistent each time
  852. an operation is performed. In this case a checksum can be used to
  853. characterise the operation of a driver. The checksum can be compared
  854. across different runs of the operation to verify that the driver is
  855. working properly.
  856. In particular, when performing major refactoring of the driver, where
  857. the access pattern should not change, the checksum provides assurance
  858. that the refactoring work has not broken the driver.
  859. This works by sneaking into the io.h heder for an architecture and
  860. redirecting I/O accesses through iotrace's tracing mechanism.
  861. For now no commands are provided to examine the trace buffer. The
  862. format is fairly simple, so 'md' is a reasonable substitute.
  863. Note: The checksum feature is only useful for I/O regions where the
  864. contents do not change outside of software control. Where this is not
  865. suitable you can fall back to manually comparing the addresses. It
  866. might be useful to enhance tracing to only checksum the accesses and
  867. not the data read/written.
  868. config CMD_I2C
  869. bool "i2c"
  870. help
  871. I2C support.
  872. config CMD_W1
  873. depends on W1
  874. default y if W1
  875. bool "w1 - Support for Dallas 1-Wire protocol"
  876. help
  877. Dallas 1-wire protocol support
  878. config CMD_LOADB
  879. bool "loadb"
  880. default y
  881. help
  882. Load a binary file over serial line.
  883. config CMD_LOADS
  884. bool "loads"
  885. default y
  886. help
  887. Load an S-Record file over serial line
  888. config CMD_MMC
  889. bool "mmc"
  890. help
  891. MMC memory mapped support.
  892. config CMD_MMC_RPMB
  893. bool "Enable support for RPMB in the mmc command"
  894. depends on CMD_MMC
  895. help
  896. Enable the commands for reading, writing and programming the
  897. key for the Replay Protection Memory Block partition in eMMC.
  898. config CMD_MMC_SWRITE
  899. bool "mmc swrite"
  900. depends on CMD_MMC && MMC_WRITE
  901. select IMAGE_SPARSE
  902. help
  903. Enable support for the "mmc swrite" command to write Android sparse
  904. images to eMMC.
  905. config CMD_MTD
  906. bool "mtd"
  907. depends on MTD
  908. select MTD_PARTITIONS
  909. help
  910. MTD commands support.
  911. config CMD_NAND
  912. bool "nand"
  913. default y if NAND_SUNXI
  914. depends on MTD_RAW_NAND
  915. help
  916. NAND support.
  917. if CMD_NAND
  918. config CMD_NAND_TRIMFFS
  919. bool "nand write.trimffs"
  920. default y if ARCH_SUNXI
  921. help
  922. Allows one to skip empty pages when flashing something on a NAND.
  923. config CMD_NAND_LOCK_UNLOCK
  924. bool "nand lock/unlock"
  925. help
  926. NAND locking support.
  927. config CMD_NAND_TORTURE
  928. bool "nand torture"
  929. help
  930. NAND torture support.
  931. endif # CMD_NAND
  932. config CMD_NVME
  933. bool "nvme"
  934. depends on NVME
  935. default y if NVME
  936. help
  937. NVM Express device support
  938. config CMD_ONENAND
  939. bool "onenand - access to onenand device"
  940. depends on MTD
  941. help
  942. OneNAND is a brand of NAND ('Not AND' gate) flash which provides
  943. various useful features. This command allows reading, writing,
  944. and erasing blocks. It allso provides a way to show and change
  945. bad blocks, and test the device.
  946. config CMD_OSD
  947. bool "osd"
  948. help
  949. Enable the 'osd' command which allows to query information from and
  950. write text data to a on-screen display (OSD) device; a virtual device
  951. associated with a display capable of displaying a text overlay on the
  952. display it's associated with..
  953. config CMD_PART
  954. bool "part"
  955. select HAVE_BLOCK_DEVICE
  956. select PARTITION_UUIDS
  957. help
  958. Read and display information about the partition table on
  959. various media.
  960. config CMD_PCI
  961. bool "pci - Access PCI devices"
  962. help
  963. Provide access to PCI (Peripheral Interconnect Bus), a type of bus
  964. used on some devices to allow the CPU to communicate with its
  965. peripherals. Sub-commands allow bus enumeration, displaying and
  966. changing configuration space and a few other features.
  967. config CMD_PINMUX
  968. bool "pinmux - show pins muxing"
  969. default y if PINCTRL
  970. help
  971. Parse all available pin-controllers and show pins muxing. This
  972. is useful for debug purpoer to check the pin muxing and to know if
  973. a pin is configured as a GPIO or as an alternate function.
  974. config CMD_POWEROFF
  975. bool "poweroff"
  976. help
  977. Poweroff/Shutdown the system
  978. config CMD_READ
  979. bool "read - Read binary data from a partition"
  980. help
  981. Provides low-level access to the data in a partition.
  982. config CMD_REMOTEPROC
  983. bool "remoteproc"
  984. depends on REMOTEPROC
  985. help
  986. Support for Remote Processor control
  987. config CMD_SATA
  988. bool "sata - Access SATA subsystem"
  989. select SATA
  990. help
  991. SATA (Serial Advanced Technology Attachment) is a serial bus
  992. standard for connecting to hard drives and other storage devices.
  993. This command provides information about attached devices and allows
  994. reading, writing and other operations.
  995. SATA replaces PATA (originally just ATA), which stands for Parallel AT
  996. Attachment, where AT refers to an IBM AT (Advanced Technology)
  997. computer released in 1984.
  998. config CMD_SAVES
  999. bool "saves - Save a file over serial in S-Record format"
  1000. help
  1001. Provides a way to save a binary file using the Motorola S-Record
  1002. format over the serial line.
  1003. config CMD_SCSI
  1004. bool "scsi - Access to SCSI devices"
  1005. default y if SCSI
  1006. help
  1007. This provides a 'scsi' command which provides access to SCSI (Small
  1008. Computer System Interface) devices. The command provides a way to
  1009. scan the bus, reset the bus, read and write data and get information
  1010. about devices.
  1011. config CMD_SDRAM
  1012. bool "sdram - Print SDRAM configuration information"
  1013. help
  1014. Provides information about attached SDRAM. This assumed that the
  1015. SDRAM has an EEPROM with information that can be read using the
  1016. I2C bus. This is only available on some boards.
  1017. config CMD_SF
  1018. bool "sf"
  1019. depends on DM_SPI_FLASH || SPI_FLASH
  1020. default y if DM_SPI_FLASH
  1021. help
  1022. SPI Flash support
  1023. config CMD_SF_TEST
  1024. bool "sf test - Allow testing of SPI flash"
  1025. depends on CMD_SF
  1026. help
  1027. Provides a way to test that SPI flash is working correctly. The
  1028. test is destructive, in that an area of SPI flash must be provided
  1029. for the test to use. Performance information is also provided,
  1030. measuring the performance of reading, writing and erasing in
  1031. Mbps (Million Bits Per Second). This value should approximately
  1032. equal the SPI bus speed for a single-bit-wide SPI bus, assuming
  1033. everything is working properly.
  1034. config CMD_SPI
  1035. bool "sspi - Command to access spi device"
  1036. depends on SPI
  1037. help
  1038. SPI utility command.
  1039. config DEFAULT_SPI_BUS
  1040. int "default spi bus used by sspi command"
  1041. depends on CMD_SPI
  1042. default 0
  1043. config DEFAULT_SPI_MODE
  1044. hex "default spi mode used by sspi command (see include/spi.h)"
  1045. depends on CMD_SPI
  1046. default 0
  1047. config CMD_TSI148
  1048. bool "tsi148 - Command to access tsi148 device"
  1049. help
  1050. This provides various sub-commands to initialise and configure the
  1051. Turndra tsi148 device. See the command help for full details.
  1052. config CMD_UFS
  1053. bool "Enable UFS - Universal Flash Subsystem commands"
  1054. depends on UFS
  1055. help
  1056. "This provides commands to initialise and configure universal flash
  1057. subsystem devices"
  1058. config CMD_UNIVERSE
  1059. bool "universe - Command to set up the Turndra Universe controller"
  1060. help
  1061. This allows setting up the VMEbus provided by this controller.
  1062. See the command help for full details.
  1063. config CMD_USB
  1064. bool "usb"
  1065. select HAVE_BLOCK_DEVICE
  1066. help
  1067. USB support.
  1068. config CMD_USB_SDP
  1069. bool "sdp"
  1070. select USB_FUNCTION_SDP
  1071. help
  1072. Enables the command "sdp" which is used to have U-Boot emulating the
  1073. Serial Download Protocol (SDP) via USB.
  1074. config CMD_ROCKUSB
  1075. bool "rockusb"
  1076. depends on USB_FUNCTION_ROCKUSB
  1077. help
  1078. Rockusb protocol is widely used by Rockchip SoC based devices. It can
  1079. read/write info, image to/from devices. This enable rockusb command
  1080. support to communication with rockusb device. for more detail about
  1081. this command, please read doc/README.rockusb.
  1082. config CMD_USB_MASS_STORAGE
  1083. bool "UMS usb mass storage"
  1084. select USB_FUNCTION_MASS_STORAGE
  1085. help
  1086. USB mass storage support
  1087. config CMD_VIRTIO
  1088. bool "virtio"
  1089. depends on VIRTIO
  1090. default y if VIRTIO
  1091. help
  1092. VirtIO block device support
  1093. config CMD_WDT
  1094. bool "wdt"
  1095. depends on WDT
  1096. help
  1097. This provides commands to control the watchdog timer devices.
  1098. config CMD_AXI
  1099. bool "axi"
  1100. depends on AXI
  1101. help
  1102. Enable the command "axi" for accessing AXI (Advanced eXtensible
  1103. Interface) busses, a on-chip interconnect specification for managing
  1104. functional blocks in SoC designs, which is also often used in designs
  1105. involving FPGAs (e.g. communication with IP cores in Xilinx FPGAs).
  1106. endmenu
  1107. menu "Shell scripting commands"
  1108. config CMD_ECHO
  1109. bool "echo"
  1110. default y
  1111. help
  1112. Echo args to console
  1113. config CMD_ITEST
  1114. bool "itest"
  1115. default y
  1116. help
  1117. Return true/false on integer compare.
  1118. config CMD_SOURCE
  1119. bool "source"
  1120. default y
  1121. help
  1122. Run script from memory
  1123. config CMD_SETEXPR
  1124. bool "setexpr"
  1125. default y
  1126. help
  1127. Evaluate boolean and math expressions and store the result in an env
  1128. variable.
  1129. Also supports loading the value at a memory location into a variable.
  1130. If CONFIG_REGEX is enabled, setexpr also supports a gsub function.
  1131. endmenu
  1132. menu "Android support commands"
  1133. config CMD_AB_SELECT
  1134. bool "ab_select"
  1135. default n
  1136. depends on ANDROID_AB
  1137. help
  1138. On Android devices with more than one boot slot (multiple copies of
  1139. the kernel and system images) this provides a command to select which
  1140. slot should be used to boot from and register the boot attempt. This
  1141. is used by the new A/B update model where one slot is updated in the
  1142. background while running from the other slot.
  1143. endmenu
  1144. if NET
  1145. menuconfig CMD_NET
  1146. bool "Network commands"
  1147. default y
  1148. imply NETDEVICES
  1149. if CMD_NET
  1150. config CMD_BOOTP
  1151. bool "bootp"
  1152. default y
  1153. help
  1154. bootp - boot image via network using BOOTP/TFTP protocol
  1155. config CMD_DHCP
  1156. bool "dhcp"
  1157. depends on CMD_BOOTP
  1158. help
  1159. Boot image via network using DHCP/TFTP protocol
  1160. config BOOTP_BOOTPATH
  1161. bool "Request & store 'rootpath' from BOOTP/DHCP server"
  1162. default y
  1163. depends on CMD_BOOTP
  1164. help
  1165. Even though the config is called BOOTP_BOOTPATH, it stores the
  1166. path in the variable 'rootpath'.
  1167. config BOOTP_DNS
  1168. bool "Request & store 'dnsip' from BOOTP/DHCP server"
  1169. default y
  1170. depends on CMD_BOOTP
  1171. help
  1172. The primary DNS server is stored as 'dnsip'. If two servers are
  1173. returned, you must set BOOTP_DNS2 to store that second server IP
  1174. also.
  1175. config BOOTP_DNS2
  1176. bool "Store 'dnsip2' from BOOTP/DHCP server"
  1177. depends on BOOTP_DNS
  1178. help
  1179. If a DHCP client requests the DNS server IP from a DHCP server,
  1180. it is possible that more than one DNS serverip is offered to the
  1181. client. If CONFIG_BOOTP_DNS2 is enabled, the secondary DNS
  1182. server IP will be stored in the additional environment
  1183. variable "dnsip2". The first DNS serverip is always
  1184. stored in the variable "dnsip", when BOOTP_DNS is defined.
  1185. config BOOTP_GATEWAY
  1186. bool "Request & store 'gatewayip' from BOOTP/DHCP server"
  1187. default y
  1188. depends on CMD_BOOTP
  1189. config BOOTP_HOSTNAME
  1190. bool "Request & store 'hostname' from BOOTP/DHCP server"
  1191. default y
  1192. depends on CMD_BOOTP
  1193. help
  1194. The name may or may not be qualified with the local domain name.
  1195. config BOOTP_PREFER_SERVERIP
  1196. bool "serverip variable takes precedent over DHCP server IP."
  1197. depends on CMD_BOOTP
  1198. help
  1199. By default a BOOTP/DHCP reply will overwrite the 'serverip' variable.
  1200. With this option enabled, the 'serverip' variable in the environment
  1201. takes precedence over DHCP server IP and will only be set by the DHCP
  1202. server if not already set in the environment.
  1203. config BOOTP_SUBNETMASK
  1204. bool "Request & store 'netmask' from BOOTP/DHCP server"
  1205. default y
  1206. depends on CMD_BOOTP
  1207. config BOOTP_NTPSERVER
  1208. bool "Request & store 'ntpserverip' from BOOTP/DHCP server"
  1209. depends on CMD_BOOTP
  1210. config CMD_PCAP
  1211. bool "pcap capture"
  1212. help
  1213. Selecting this will allow capturing all Ethernet packets and store
  1214. them in physical memory in a PCAP formated file,
  1215. later to be analyzed by PCAP reader application (IE. WireShark).
  1216. config BOOTP_PXE
  1217. bool "Send PXE client arch to BOOTP/DHCP server"
  1218. default y
  1219. depends on CMD_BOOTP && CMD_PXE
  1220. help
  1221. Supported for ARM, ARM64, and x86 for now.
  1222. config BOOTP_PXE_CLIENTARCH
  1223. hex
  1224. depends on BOOTP_PXE
  1225. default 0x16 if ARM64
  1226. default 0x15 if ARM
  1227. default 0 if X86
  1228. config BOOTP_VCI_STRING
  1229. string
  1230. depends on CMD_BOOTP
  1231. default "U-Boot.armv7" if CPU_V7A || CPU_V7M || CPU_V7R
  1232. default "U-Boot.armv8" if ARM64
  1233. default "U-Boot.arm" if ARM
  1234. default "U-Boot"
  1235. config CMD_TFTPBOOT
  1236. bool "tftpboot"
  1237. default y
  1238. help
  1239. tftpboot - boot image via network using TFTP protocol
  1240. config CMD_TFTPPUT
  1241. bool "tftp put"
  1242. depends on CMD_TFTPBOOT
  1243. help
  1244. TFTP put command, for uploading files to a server
  1245. config CMD_TFTPSRV
  1246. bool "tftpsrv"
  1247. depends on CMD_TFTPBOOT
  1248. help
  1249. Act as a TFTP server and boot the first received file
  1250. config NET_TFTP_VARS
  1251. bool "Control TFTP timeout and count through environment"
  1252. depends on CMD_TFTPBOOT
  1253. default y
  1254. help
  1255. If set, allows controlling the TFTP timeout through the
  1256. environment variable tftptimeout, and the TFTP maximum
  1257. timeout count through the variable tftptimeoutcountmax.
  1258. If unset, timeout and maximum are hard-defined as 1 second
  1259. and 10 timouts per TFTP transfer.
  1260. config CMD_RARP
  1261. bool "rarpboot"
  1262. help
  1263. Boot image via network using RARP/TFTP protocol
  1264. config CMD_NFS
  1265. bool "nfs"
  1266. default y
  1267. help
  1268. Boot image via network using NFS protocol.
  1269. config CMD_MII
  1270. bool "mii"
  1271. imply CMD_MDIO
  1272. help
  1273. If set, allows 802.3(clause 22) MII Management functions interface access
  1274. The management interface specified in Clause 22 provides
  1275. a simple, two signal, serial interface to connect a
  1276. Station Management entity and a managed PHY for providing access
  1277. to management parameters and services.
  1278. The interface is referred to as the MII management interface.
  1279. config CMD_MDIO
  1280. bool "mdio"
  1281. depends on PHYLIB
  1282. help
  1283. If set, allows Enable 802.3(clause 45) MDIO interface registers access
  1284. The MDIO interface is orthogonal to the MII interface and extends
  1285. it by adding access to more registers through indirect addressing.
  1286. config CMD_PING
  1287. bool "ping"
  1288. help
  1289. Send ICMP ECHO_REQUEST to network host
  1290. config CMD_CDP
  1291. bool "cdp"
  1292. help
  1293. Perform CDP network configuration
  1294. config CMD_SNTP
  1295. bool "sntp"
  1296. help
  1297. Synchronize RTC via network
  1298. config CMD_DNS
  1299. bool "dns"
  1300. help
  1301. Lookup the IP of a hostname
  1302. config CMD_LINK_LOCAL
  1303. bool "linklocal"
  1304. select LIB_RAND
  1305. help
  1306. Acquire a network IP address using the link-local protocol
  1307. endif
  1308. config CMD_ETHSW
  1309. bool "ethsw"
  1310. help
  1311. Allow control of L2 Ethernet switch commands. These are supported
  1312. by the vsc9953 Ethernet driver at present. Sub-commands allow
  1313. operations such as enabling / disabling a port and
  1314. viewing/maintaining the filtering database (FDB)
  1315. config CMD_PXE
  1316. bool "pxe"
  1317. select MENU
  1318. help
  1319. Boot image via network using PXE protocol
  1320. config CMD_WOL
  1321. bool "wol"
  1322. help
  1323. Wait for wake-on-lan Magic Packet
  1324. endif
  1325. menu "Misc commands"
  1326. config CMD_BMP
  1327. bool "Enable 'bmp' command"
  1328. depends on LCD || DM_VIDEO || VIDEO
  1329. help
  1330. This provides a way to obtain information about a BMP-format image
  1331. and to display it. BMP (which presumably stands for BitMaP) is a
  1332. file format defined by Microsoft which supports images of various
  1333. depths, formats and compression methods. Headers on the file
  1334. determine the formats used. This command can be used by first loading
  1335. the image into RAM, then using this command to look at it or display
  1336. it.
  1337. config CMD_BOOTCOUNT
  1338. bool "bootcount"
  1339. depends on BOOTCOUNT_LIMIT
  1340. help
  1341. Enable the bootcount command, which allows interrogation and
  1342. reset of the bootcounter.
  1343. config CMD_BSP
  1344. bool "Enable board-specific commands"
  1345. help
  1346. (deprecated: instead, please define a Kconfig option for each command)
  1347. Some boards have board-specific commands which are only enabled
  1348. during developemnt and need to be turned off for production. This
  1349. option provides a way to control this. The commands that are enabled
  1350. vary depending on the board.
  1351. config CMD_BKOPS_ENABLE
  1352. bool "mmc bkops enable"
  1353. depends on CMD_MMC
  1354. default n
  1355. help
  1356. Enable command for setting manual background operations handshake
  1357. on a eMMC device. The feature is optionally available on eMMC devices
  1358. conforming to standard >= 4.41.
  1359. config CMD_BLOCK_CACHE
  1360. bool "blkcache - control and stats for block cache"
  1361. depends on BLOCK_CACHE
  1362. default y if BLOCK_CACHE
  1363. help
  1364. Enable the blkcache command, which can be used to control the
  1365. operation of the cache functions.
  1366. This is most useful when fine-tuning the operation of the cache
  1367. during development, but also allows the cache to be disabled when
  1368. it might hurt performance (e.g. when using the ums command).
  1369. config CMD_CACHE
  1370. bool "icache or dcache"
  1371. help
  1372. Enable the "icache" and "dcache" commands
  1373. config CMD_CONITRACE
  1374. bool "conitrace - trace console input codes"
  1375. help
  1376. Enable the 'conitrace' command which displays the codes received
  1377. from the console input as hexadecimal numbers.
  1378. config CMD_CLS
  1379. bool "Enable clear screen command 'cls'"
  1380. depends on CFB_CONSOLE || DM_VIDEO || LCD || VIDEO
  1381. default y if LCD
  1382. help
  1383. Enable the 'cls' command which clears the screen contents
  1384. on video frame buffer.
  1385. config CMD_EFIDEBUG
  1386. bool "efidebug - display/configure UEFI environment"
  1387. depends on EFI_LOADER
  1388. select EFI_DEVICE_PATH_TO_TEXT
  1389. default n
  1390. help
  1391. Enable the 'efidebug' command which provides a subset of UEFI
  1392. shell utility with simplified functionality. It will be useful
  1393. particularly for managing boot parameters as well as examining
  1394. various EFI status for debugging.
  1395. config CMD_EXCEPTION
  1396. bool "exception - raise exception"
  1397. depends on ARM || RISCV || X86
  1398. help
  1399. Enable the 'exception' command which allows to raise an exception.
  1400. config CMD_LED
  1401. bool "led"
  1402. depends on LED
  1403. default y if LED
  1404. help
  1405. Enable the 'led' command which allows for control of LEDs supported
  1406. by the board. The LEDs can be listed with 'led list' and controlled
  1407. with led on/off/togle/blink. Any LED drivers can be controlled with
  1408. this command, e.g. led_gpio.
  1409. config CMD_DATE
  1410. bool "date"
  1411. default y if DM_RTC
  1412. select LIB_DATE
  1413. help
  1414. Enable the 'date' command for getting/setting the time/date in RTC
  1415. devices.
  1416. config CMD_TIME
  1417. bool "time"
  1418. help
  1419. Run commands and summarize execution time.
  1420. config CMD_GETTIME
  1421. bool "gettime - read elapsed time"
  1422. help
  1423. Enable the 'gettime' command which reads the elapsed time since
  1424. U-Boot started running. This shows the time in seconds and
  1425. milliseconds. See also the 'bootstage' command which provides more
  1426. flexibility for boot timing.
  1427. config CMD_RNG
  1428. bool "rng command"
  1429. depends on DM_RNG
  1430. select HEXDUMP
  1431. help
  1432. Print bytes from the hardware random number generator.
  1433. # TODO: rename to CMD_SLEEP
  1434. config CMD_MISC
  1435. bool "sleep"
  1436. default y
  1437. help
  1438. Delay execution for some time
  1439. config MP
  1440. bool "support for multiprocessor"
  1441. help
  1442. This provides an option to brinup
  1443. different processors in multiprocessor
  1444. cases.
  1445. config CMD_TIMER
  1446. bool "timer"
  1447. help
  1448. Access the system timer.
  1449. config CMD_SOUND
  1450. bool "sound"
  1451. depends on SOUND
  1452. help
  1453. This provides basic access to the U-Boot's sound support. The main
  1454. feature is to play a beep.
  1455. sound init - set up sound system
  1456. sound play - play a sound
  1457. config CMD_SYSBOOT
  1458. bool "sysboot"
  1459. select MENU
  1460. help
  1461. Boot image via local extlinux.conf file
  1462. config CMD_QFW
  1463. bool "qfw"
  1464. select QFW
  1465. help
  1466. This provides access to the QEMU firmware interface. The main
  1467. feature is to allow easy loading of files passed to qemu-system
  1468. via -kernel / -initrd
  1469. source "cmd/mvebu/Kconfig"
  1470. config CMD_TERMINAL
  1471. bool "terminal - provides a way to attach a serial terminal"
  1472. help
  1473. Provides a 'cu'-like serial terminal command. This can be used to
  1474. access other serial ports from the system console. The terminal
  1475. is very simple with no special processing of characters. As with
  1476. cu, you can press ~. (tilde followed by period) to exit.
  1477. config CMD_UUID
  1478. bool "uuid, guid - generation of unique IDs"
  1479. select LIB_UUID
  1480. help
  1481. This enables two commands:
  1482. uuid - generate random Universally Unique Identifier
  1483. guid - generate Globally Unique Identifier based on random UUID
  1484. The two commands are very similar except for the endianness of the
  1485. output.
  1486. endmenu
  1487. source "cmd/ti/Kconfig"
  1488. config CMD_BOOTSTAGE
  1489. bool "Enable the 'bootstage' command"
  1490. depends on BOOTSTAGE
  1491. help
  1492. Add a 'bootstage' command which supports printing a report
  1493. and un/stashing of bootstage data.
  1494. menu "Power commands"
  1495. config CMD_PMIC
  1496. bool "Enable Driver Model PMIC command"
  1497. depends on DM_PMIC
  1498. help
  1499. This is the pmic command, based on a driver model pmic's API.
  1500. Command features are unchanged:
  1501. - list - list pmic devices
  1502. - pmic dev <id> - show or [set] operating pmic device (NEW)
  1503. - pmic dump - dump registers
  1504. - pmic read address - read byte of register at address
  1505. - pmic write address - write byte to register at address
  1506. The only one change for this command is 'dev' subcommand.
  1507. config CMD_REGULATOR
  1508. bool "Enable Driver Model REGULATOR command"
  1509. depends on DM_REGULATOR
  1510. help
  1511. This command is based on driver model regulator's API.
  1512. User interface features:
  1513. - list - list regulator devices
  1514. - regulator dev <id> - show or [set] operating regulator device
  1515. - regulator info - print constraints info
  1516. - regulator status - print operating status
  1517. - regulator value <val] <-f> - print/[set] voltage value [uV]
  1518. - regulator current <val> - print/[set] current value [uA]
  1519. - regulator mode <id> - print/[set] operating mode id
  1520. - regulator enable - enable the regulator output
  1521. - regulator disable - disable the regulator output
  1522. The '-f' (force) option can be used for set the value which exceeds
  1523. the limits, which are found in device-tree and are kept in regulator's
  1524. uclass platdata structure.
  1525. endmenu
  1526. menu "Security commands"
  1527. config CMD_AES
  1528. bool "Enable the 'aes' command"
  1529. select AES
  1530. help
  1531. This provides a means to encrypt and decrypt data using the AES
  1532. (Advanced Encryption Standard). This algorithm uses a symetric key
  1533. and is widely used as a streaming cipher. Different key lengths are
  1534. supported by the algorithm but this command only supports 128 bits
  1535. at present.
  1536. config CMD_BLOB
  1537. bool "Enable the 'blob' command"
  1538. help
  1539. This is used with the Freescale secure boot mechanism.
  1540. Freescale's SEC block has built-in Blob Protocol which provides
  1541. a method for protecting user-defined data across system power
  1542. cycles. SEC block protects data in a data structure called a Blob,
  1543. which provides both confidentiality and integrity protection.
  1544. Encapsulating data as a blob
  1545. Each time that the Blob Protocol is used to protect data, a
  1546. different randomly generated key is used to encrypt the data.
  1547. This random key is itself encrypted using a key which is derived
  1548. from SoC's non-volatile secret key and a 16 bit Key identifier.
  1549. The resulting encrypted key along with encrypted data is called a
  1550. blob. The non-volatile secure key is available for use only during
  1551. secure boot.
  1552. During decapsulation, the reverse process is performed to get back
  1553. the original data.
  1554. Sub-commands:
  1555. blob enc - encapsulating data as a cryptgraphic blob
  1556. blob dec - decapsulating cryptgraphic blob to get the data
  1557. Syntax:
  1558. blob enc src dst len km
  1559. Encapsulate and create blob of data $len bytes long
  1560. at address $src and store the result at address $dst.
  1561. $km is the 16 byte key modifier is also required for
  1562. generation/use as key for cryptographic operation. Key
  1563. modifier should be 16 byte long.
  1564. blob dec src dst len km
  1565. Decapsulate the blob of data at address $src and
  1566. store result of $len byte at addr $dst.
  1567. $km is the 16 byte key modifier is also required for
  1568. generation/use as key for cryptographic operation. Key
  1569. modifier should be 16 byte long.
  1570. config CMD_HASH
  1571. bool "Support 'hash' command"
  1572. select HASH
  1573. help
  1574. This provides a way to hash data in memory using various supported
  1575. algorithms (such as SHA1, MD5, CRC32). The computed digest can be
  1576. saved to memory or to an environment variable. It is also possible
  1577. to verify a hash against data in memory.
  1578. config CMD_HVC
  1579. bool "Support the 'hvc' command"
  1580. depends on ARM_SMCCC
  1581. help
  1582. Allows issuing Hypervisor Calls (HVCs). Mostly useful for
  1583. development and testing.
  1584. config CMD_SMC
  1585. bool "Support the 'smc' command"
  1586. depends on ARM_SMCCC
  1587. help
  1588. Allows issuing Secure Monitor Calls (SMCs). Mostly useful for
  1589. development and testing.
  1590. config HASH_VERIFY
  1591. bool "hash -v"
  1592. depends on CMD_HASH
  1593. help
  1594. Add -v option to verify data against a hash.
  1595. config CMD_TPM_V1
  1596. bool
  1597. config CMD_TPM_V2
  1598. bool
  1599. select CMD_LOG
  1600. config CMD_TPM
  1601. bool "Enable the 'tpm' command"
  1602. depends on TPM_V1 || TPM_V2
  1603. select CMD_TPM_V1 if TPM_V1
  1604. select CMD_TPM_V2 if TPM_V2
  1605. help
  1606. This provides a means to talk to a TPM from the command line. A wide
  1607. range of commands if provided - see 'tpm help' for details. The
  1608. command requires a suitable TPM on your board and the correct driver
  1609. must be enabled.
  1610. if CMD_TPM
  1611. config CMD_TPM_TEST
  1612. bool "Enable the 'tpm test' command"
  1613. depends on TPM_V1
  1614. help
  1615. This provides a a series of tests to confirm that the TPMv1.x is
  1616. working correctly. The tests cover initialisation, non-volatile RAM,
  1617. extend, global lock and checking that timing is within expectations.
  1618. The tests pass correctly on Infineon TPMs but may need to be adjusted
  1619. for other devices.
  1620. endif
  1621. endmenu
  1622. menu "Firmware commands"
  1623. config CMD_CROS_EC
  1624. bool "Enable crosec command"
  1625. depends on CROS_EC
  1626. default y
  1627. help
  1628. Enable command-line access to the Chrome OS EC (Embedded
  1629. Controller). This provides the 'crosec' command which has
  1630. a number of sub-commands for performing EC tasks such as
  1631. updating its flash, accessing a small saved context area
  1632. and talking to the I2C bus behind the EC (if there is one).
  1633. endmenu
  1634. menu "Filesystem commands"
  1635. config CMD_BTRFS
  1636. bool "Enable the 'btrsubvol' command"
  1637. select FS_BTRFS
  1638. help
  1639. This enables the 'btrsubvol' command to list subvolumes
  1640. of a BTRFS filesystem. There are no special commands for
  1641. listing BTRFS directories or loading BTRFS files - this
  1642. can be done by the generic 'fs' commands (see CMD_FS_GENERIC)
  1643. when BTRFS is enabled (see FS_BTRFS).
  1644. config CMD_CBFS
  1645. bool "Enable the 'cbfs' command"
  1646. depends on FS_CBFS
  1647. help
  1648. Define this to enable support for reading from a Coreboot
  1649. filesystem. This is a ROM-based filesystem used for accessing files
  1650. on systems that use coreboot as the first boot-loader and then load
  1651. U-Boot to actually boot the Operating System. Available commands are
  1652. cbfsinit, cbfsinfo, cbfsls and cbfsload.
  1653. config CMD_CRAMFS
  1654. bool "Enable the 'cramfs' command"
  1655. depends on FS_CRAMFS
  1656. help
  1657. This provides commands for dealing with CRAMFS (Compressed ROM
  1658. filesystem). CRAMFS is useful when space is tight since files are
  1659. compressed. Two commands are provided:
  1660. cramfsls - lists files in a cramfs image
  1661. cramfsload - loads a file from a cramfs image
  1662. config CMD_EXT2
  1663. bool "ext2 command support"
  1664. select FS_EXT4
  1665. help
  1666. Enables EXT2 FS command
  1667. config CMD_EXT4
  1668. bool "ext4 command support"
  1669. select FS_EXT4
  1670. help
  1671. Enables EXT4 FS command
  1672. config CMD_EXT4_WRITE
  1673. depends on CMD_EXT4
  1674. bool "ext4 write command support"
  1675. select EXT4_WRITE
  1676. help
  1677. Enables EXT4 FS write command
  1678. config CMD_FAT
  1679. bool "FAT command support"
  1680. select FS_FAT
  1681. help
  1682. Support for the FAT fs
  1683. config CMD_FS_GENERIC
  1684. bool "filesystem commands"
  1685. help
  1686. Enables filesystem commands (e.g. load, ls) that work for multiple
  1687. fs types.
  1688. config CMD_FS_UUID
  1689. bool "fsuuid command"
  1690. help
  1691. Enables fsuuid command for filesystem UUID.
  1692. config CMD_JFFS2
  1693. bool "jffs2 command"
  1694. select FS_JFFS2
  1695. help
  1696. Enables commands to support the JFFS2 (Journalling Flash File System
  1697. version 2) filesystem. This enables fsload, ls and fsinfo which
  1698. provide the ability to load files, list directories and obtain
  1699. filesystem information.
  1700. config CMD_MTDPARTS
  1701. bool "MTD partition support"
  1702. depends on MTD
  1703. help
  1704. MTD partitioning tool support.
  1705. It is strongly encouraged to avoid using this command
  1706. anymore along with 'sf', 'nand', 'onenand'. One can still
  1707. declare the partitions in the mtdparts environment variable
  1708. but better use the MTD stack and the 'mtd' command instead.
  1709. config CMD_MTDPARTS_SPREAD
  1710. bool "Padd partition size to take account of bad blocks"
  1711. depends on CMD_MTDPARTS
  1712. help
  1713. This enables the 'spread' sub-command of the mtdparts command.
  1714. This command will modify the existing mtdparts variable by increasing
  1715. the size of the partitions such that 1) each partition's net size is
  1716. at least as large as the size specified in the mtdparts variable and
  1717. 2) each partition starts on a good block.
  1718. config CMD_MTDPARTS_SHOW_NET_SIZES
  1719. bool "Show net size (w/o bad blocks) of partitions"
  1720. depends on CMD_MTDPARTS
  1721. help
  1722. Adds two columns to the printed partition table showing the
  1723. effective usable size of a partition, if bad blocks are taken
  1724. into account.
  1725. config MTDIDS_DEFAULT
  1726. string "Default MTD IDs"
  1727. depends on MTD || SPI_FLASH
  1728. help
  1729. Defines a default MTD IDs list for use with MTD partitions in the
  1730. Linux MTD command line partitions format.
  1731. config MTDPARTS_DEFAULT
  1732. string "Default MTD partition scheme"
  1733. depends on MTD || SPI_FLASH
  1734. help
  1735. Defines a default MTD partitioning scheme in the Linux MTD command
  1736. line partitions format
  1737. config CMD_REISER
  1738. bool "reiser - Access to reiserfs filesystems"
  1739. help
  1740. This provides two commands which operate on a resierfs filesystem,
  1741. commonly used some years ago:
  1742. reiserls - list files
  1743. reiserload - load a file
  1744. config CMD_YAFFS2
  1745. bool "yaffs2 - Access of YAFFS2 filesystem"
  1746. depends on YAFFS2
  1747. default y
  1748. help
  1749. This provides commands for accessing a YAFFS2 filesystem. Yet
  1750. Another Flash Filesystem 2 is a filesystem designed specifically
  1751. for NAND flash. It incorporates bad-block management and ensures
  1752. that device writes are sequential regardless of filesystem
  1753. activity.
  1754. config CMD_ZFS
  1755. bool "zfs - Access of ZFS filesystem"
  1756. help
  1757. This provides commands to accessing a ZFS filesystem, commonly used
  1758. on Solaris systems. Two sub-commands are provided:
  1759. zfsls - list files in a directory
  1760. zfsload - load a file
  1761. See doc/README.zfs for more details.
  1762. endmenu
  1763. menu "Debug commands"
  1764. config CMD_BEDBUG
  1765. bool "bedbug"
  1766. help
  1767. The bedbug (emBEDded deBUGger) command provides debugging features
  1768. for some PowerPC processors. For details please see the
  1769. docuemntation in doc/README.beddbug
  1770. config CMD_DIAG
  1771. bool "diag - Board diagnostics"
  1772. help
  1773. This command provides access to board diagnostic tests. These are
  1774. called Power-on Self Tests (POST). The command allows listing of
  1775. available tests and running either all the tests, or specific tests
  1776. identified by name.
  1777. config CMD_IRQ
  1778. bool "irq - Show information about interrupts"
  1779. depends on !ARM && !MIPS && !SH
  1780. help
  1781. This enables two commands:
  1782. interrupts - enable or disable interrupts
  1783. irqinfo - print device-specific interrupt information
  1784. config CMD_KGDB
  1785. bool "kgdb - Allow debugging of U-Boot with gdb"
  1786. depends on PPC
  1787. help
  1788. This enables a 'kgdb' command which allows gdb to connect to U-Boot
  1789. over a serial link for debugging purposes. This allows
  1790. single-stepping, inspecting variables, etc. This is supported only
  1791. on PowerPC at present.
  1792. config CMD_LOG
  1793. bool "log - Generation, control and access to logging"
  1794. select LOG
  1795. help
  1796. This provides access to logging features. It allows the output of
  1797. log data to be controlled to a limited extent (setting up the default
  1798. maximum log level for emitting of records). It also provides access
  1799. to a command used for testing the log system.
  1800. config CMD_TRACE
  1801. bool "trace - Support tracing of function calls and timing"
  1802. help
  1803. Enables a command to control using of function tracing within
  1804. U-Boot. This allows recording of call traces including timing
  1805. information. The command can write data to memory for exporting
  1806. for analysis (e.g. using bootchart). See doc/README.trace for full
  1807. details.
  1808. config CMD_AVB
  1809. bool "avb - Android Verified Boot 2.0 operations"
  1810. depends on AVB_VERIFY
  1811. default n
  1812. help
  1813. Enables a "avb" command to perform verification of partitions using
  1814. Android Verified Boot 2.0 functionality. It includes such subcommands:
  1815. avb init - initialize avb2 subsystem
  1816. avb read_rb - read rollback index
  1817. avb write_rb - write rollback index
  1818. avb is_unlocked - check device lock state
  1819. avb get_uuid - read and print uuid of a partition
  1820. avb read_part - read data from partition
  1821. avb read_part_hex - read data from partition and output to stdout
  1822. avb write_part - write data to partition
  1823. avb verify - run full verification chain
  1824. endmenu
  1825. config CMD_UBI
  1826. tristate "Enable UBI - Unsorted block images commands"
  1827. select MTD_UBI
  1828. help
  1829. UBI is a software layer above MTD layer which admits use of LVM-like
  1830. logical volumes on top of MTD devices, hides some complexities of
  1831. flash chips like wear and bad blocks and provides some other useful
  1832. capabilities. Please, consult the MTD web site for more details
  1833. (www.linux-mtd.infradead.org). Activate this option if you want
  1834. to use U-Boot UBI commands.
  1835. It is also strongly encouraged to also enable CONFIG_MTD to get full
  1836. partition support.
  1837. config CMD_UBIFS
  1838. tristate "Enable UBIFS - Unsorted block images filesystem commands"
  1839. depends on CMD_UBI
  1840. default y if CMD_UBI
  1841. select LZO
  1842. help
  1843. UBIFS is a file system for flash devices which works on top of UBI.
  1844. endmenu