Kconfig 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565
  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 SYS_PROMPT
  23. string "Shell prompt"
  24. default "=> "
  25. help
  26. This string is displayed in the command line to the left of the
  27. cursor.
  28. menu "Autoboot options"
  29. config AUTOBOOT
  30. bool "Autoboot"
  31. default y
  32. help
  33. This enables the autoboot. See doc/README.autoboot for detail.
  34. config AUTOBOOT_KEYED
  35. bool "Stop autobooting via specific input key / string"
  36. default n
  37. help
  38. This option enables stopping (aborting) of the automatic
  39. boot feature only by issuing a specific input key or
  40. string. If not enabled, any input key will abort the
  41. U-Boot automatic booting process and bring the device
  42. to the U-Boot prompt for user input.
  43. config AUTOBOOT_PROMPT
  44. string "Autoboot stop prompt"
  45. depends on AUTOBOOT_KEYED
  46. default "Autoboot in %d seconds\\n"
  47. help
  48. This string is displayed before the boot delay selected by
  49. CONFIG_BOOTDELAY starts. If it is not defined there is no
  50. output indicating that autoboot is in progress.
  51. Note that this define is used as the (only) argument to a
  52. printf() call, so it may contain '%' format specifications,
  53. provided that it also includes, sepearated by commas exactly
  54. like in a printf statement, the required arguments. It is
  55. the responsibility of the user to select only such arguments
  56. that are valid in the given context.
  57. config AUTOBOOT_ENCRYPTION
  58. bool "Enable encryption in autoboot stopping"
  59. depends on AUTOBOOT_KEYED
  60. default n
  61. config AUTOBOOT_DELAY_STR
  62. string "Delay autobooting via specific input key / string"
  63. depends on AUTOBOOT_KEYED && !AUTOBOOT_ENCRYPTION
  64. help
  65. This option delays the automatic boot feature by issuing
  66. a specific input key or string. If CONFIG_AUTOBOOT_DELAY_STR
  67. or the environment variable "bootdelaykey" is specified
  68. and this string is received from console input before
  69. autoboot starts booting, U-Boot gives a command prompt. The
  70. U-Boot prompt will time out if CONFIG_BOOT_RETRY_TIME is
  71. used, otherwise it never times out.
  72. config AUTOBOOT_STOP_STR
  73. string "Stop autobooting via specific input key / string"
  74. depends on AUTOBOOT_KEYED && !AUTOBOOT_ENCRYPTION
  75. help
  76. This option enables stopping (aborting) of the automatic
  77. boot feature only by issuing a specific input key or
  78. string. If CONFIG_AUTOBOOT_STOP_STR or the environment
  79. variable "bootstopkey" is specified and this string is
  80. received from console input before autoboot starts booting,
  81. U-Boot gives a command prompt. The U-Boot prompt never
  82. times out, even if CONFIG_BOOT_RETRY_TIME is used.
  83. config AUTOBOOT_KEYED_CTRLC
  84. bool "Enable Ctrl-C autoboot interruption"
  85. depends on AUTOBOOT_KEYED && !AUTOBOOT_ENCRYPTION
  86. default n
  87. help
  88. This option allows for the boot sequence to be interrupted
  89. by ctrl-c, in addition to the "bootdelaykey" and "bootstopkey".
  90. Setting this variable provides an escape sequence from the
  91. limited "password" strings.
  92. config AUTOBOOT_STOP_STR_SHA256
  93. string "Stop autobooting via SHA256 encrypted password"
  94. depends on AUTOBOOT_KEYED && AUTOBOOT_ENCRYPTION
  95. help
  96. This option adds the feature to only stop the autobooting,
  97. and therefore boot into the U-Boot prompt, when the input
  98. string / password matches a values that is encypted via
  99. a SHA256 hash and saved in the environment.
  100. endmenu
  101. source "cmd/fastboot/Kconfig"
  102. config BUILD_BIN2C
  103. bool
  104. comment "Commands"
  105. menu "Info commands"
  106. config CMD_BDI
  107. bool "bdinfo"
  108. default y
  109. help
  110. Print board info
  111. config CMD_CONFIG
  112. bool "config"
  113. select BUILD_BIN2C
  114. default SANDBOX
  115. help
  116. Print ".config" contents.
  117. If this option is enabled, the ".config" file contents are embedded
  118. in the U-Boot image and can be printed on the console by the "config"
  119. command. This provides information of which options are enabled on
  120. the running U-Boot.
  121. config CMD_CONSOLE
  122. bool "coninfo"
  123. default y
  124. help
  125. Print console devices and information.
  126. config CMD_CPU
  127. bool "cpu"
  128. help
  129. Print information about available CPUs. This normally shows the
  130. number of CPUs, type (e.g. manufacturer, architecture, product or
  131. internal name) and clock frequency. Other information may be
  132. available depending on the CPU driver.
  133. config CMD_LICENSE
  134. bool "license"
  135. select BUILD_BIN2C
  136. help
  137. Print GPL license text
  138. config CMD_REGINFO
  139. bool "reginfo"
  140. depends on PPC
  141. help
  142. Register dump
  143. endmenu
  144. menu "Boot commands"
  145. config CMD_BOOTD
  146. bool "bootd"
  147. default y
  148. help
  149. Run the command stored in the environment "bootcmd", i.e.
  150. "bootd" does the same thing as "run bootcmd".
  151. config CMD_BOOTM
  152. bool "bootm"
  153. default y
  154. help
  155. Boot an application image from the memory.
  156. config CMD_BOOTZ
  157. bool "bootz"
  158. help
  159. Boot the Linux zImage
  160. config CMD_BOOTI
  161. bool "booti"
  162. depends on ARM64
  163. default y
  164. help
  165. Boot an AArch64 Linux Kernel image from memory.
  166. config CMD_BOOTEFI
  167. bool "bootefi"
  168. depends on EFI_LOADER
  169. default y
  170. help
  171. Boot an EFI image from memory.
  172. config CMD_BOOTEFI_HELLO_COMPILE
  173. bool "Compile a standard EFI hello world binary for testing"
  174. depends on CMD_BOOTEFI && (ARM || X86)
  175. default y
  176. help
  177. This compiles a standard EFI hello world application with U-Boot so
  178. that it can be used with the test/py testing framework. This is useful
  179. for testing that EFI is working at a basic level, and for bringing
  180. up EFI support on a new architecture.
  181. No additional space will be required in the resulting U-Boot binary
  182. when this option is enabled.
  183. config CMD_BOOTEFI_HELLO
  184. bool "Allow booting a standard EFI hello world for testing"
  185. depends on CMD_BOOTEFI_HELLO_COMPILE
  186. help
  187. This adds a standard EFI hello world application to U-Boot so that
  188. it can be used with the 'bootefi hello' command. This is useful
  189. for testing that EFI is working at a basic level, and for bringing
  190. up EFI support on a new architecture.
  191. source lib/efi_selftest/Kconfig
  192. config CMD_BOOTMENU
  193. bool "bootmenu"
  194. select MENU
  195. help
  196. Add an ANSI terminal boot menu command.
  197. config CMD_ELF
  198. bool "bootelf, bootvx"
  199. default y
  200. help
  201. Boot an ELF/vxWorks image from the memory.
  202. config CMD_FDT
  203. bool "Flattened Device Tree utility commands"
  204. default y
  205. depends on OF_LIBFDT
  206. help
  207. Do FDT related setup before booting into the Operating System.
  208. config CMD_GO
  209. bool "go"
  210. default y
  211. help
  212. Start an application at a given address.
  213. config CMD_RUN
  214. bool "run"
  215. default y
  216. help
  217. Run the command in the given environment variable.
  218. config CMD_IMI
  219. bool "iminfo"
  220. default y
  221. help
  222. Print header information for application image.
  223. config CMD_IMLS
  224. bool "imls"
  225. help
  226. List all images found in flash
  227. config CMD_XIMG
  228. bool "imxtract"
  229. default y
  230. help
  231. Extract a part of a multi-image.
  232. config CMD_POWEROFF
  233. bool "poweroff"
  234. help
  235. Poweroff/Shutdown the system
  236. config CMD_SPL
  237. bool "spl export - Export boot information for Falcon boot"
  238. depends on SPL
  239. help
  240. Falcon mode allows booting directly from SPL into an Operating
  241. System such as Linux, thus skipping U-Boot proper. See
  242. doc/README.falcon for full information about how to use this
  243. command.
  244. config CMD_SPL_NAND_OFS
  245. hex "Offset of OS command line args for Falcon-mode NAND boot"
  246. depends on CMD_SPL
  247. default 0
  248. help
  249. This provides the offset of the command line arguments for Linux
  250. when booting from NAND in Falcon mode. See doc/README.falcon
  251. for full information about how to use this option (and also see
  252. board/gateworks/gw_ventana/README for an example).
  253. config CMD_SPL_WRITE_SIZE
  254. hex "Size of argument area"
  255. depends on CMD_SPL
  256. default 0x2000
  257. help
  258. This provides the size of the command-line argument area in NAND
  259. flash used by Falcon-mode boot. See the documentation until CMD_SPL
  260. for detail.
  261. config CMD_THOR_DOWNLOAD
  262. bool "thor - TIZEN 'thor' download"
  263. help
  264. Implements the 'thor' download protocol. This is a way of
  265. downloading a software update over USB from an attached host.
  266. There is no documentation about this within the U-Boot source code
  267. but you should be able to find something on the interwebs.
  268. config CMD_ZBOOT
  269. bool "zboot - x86 boot command"
  270. help
  271. With x86 machines it is common to boot a bzImage file which
  272. contains both a kernel and a setup.bin file. The latter includes
  273. configuration information from the dark ages which x86 boards still
  274. need to pick things out of.
  275. Consider using FIT in preference to this since it supports directly
  276. booting both 32- and 64-bit kernels, as well as secure boot.
  277. Documentation is available in doc/uImage.FIT/x86-fit-boot.txt
  278. endmenu
  279. menu "Environment commands"
  280. config CMD_ASKENV
  281. bool "ask for env variable"
  282. help
  283. Ask for environment variable
  284. config CMD_EXPORTENV
  285. bool "env export"
  286. default y
  287. help
  288. Export environments.
  289. config CMD_IMPORTENV
  290. bool "env import"
  291. default y
  292. help
  293. Import environments.
  294. config CMD_EDITENV
  295. bool "editenv"
  296. default y
  297. help
  298. Edit environment variable.
  299. config CMD_GREPENV
  300. bool "search env"
  301. help
  302. Allow for searching environment variables
  303. config CMD_SAVEENV
  304. bool "saveenv"
  305. default y
  306. help
  307. Save all environment variables into the compiled-in persistent
  308. storage.
  309. config CMD_ENV_EXISTS
  310. bool "env exists"
  311. default y
  312. help
  313. Check if a variable is defined in the environment for use in
  314. shell scripting.
  315. config CMD_ENV_CALLBACK
  316. bool "env callbacks - print callbacks and their associated variables"
  317. help
  318. Some environment variable have callbacks defined by
  319. U_BOOT_ENV_CALLBACK. These are called when the variable changes.
  320. For example changing "baudrate" adjust the serial baud rate. This
  321. command lists the currently defined callbacks.
  322. config CMD_ENV_FLAGS
  323. bool "env flags -print variables that have non-default flags"
  324. help
  325. Some environment variables have special flags that control their
  326. behaviour. For example, serial# can only be written once and cannot
  327. be deleted. This command shows the variables that have special
  328. flags.
  329. endmenu
  330. menu "Memory commands"
  331. config CMD_CRC32
  332. bool "crc32"
  333. select HASH
  334. default n if ARCH_SUNXI
  335. default y
  336. help
  337. Compute CRC32.
  338. config CRC32_VERIFY
  339. bool "crc32 -v"
  340. depends on CMD_CRC32
  341. help
  342. Add -v option to verify data against a crc32 checksum.
  343. config CMD_EEPROM
  344. bool "eeprom - EEPROM subsystem"
  345. help
  346. (deprecated, needs conversion to driver model)
  347. Provides commands to read and write EEPROM (Electrically Erasable
  348. Programmable Read Only Memory) chips that are connected over an
  349. I2C bus.
  350. config CMD_EEPROM_LAYOUT
  351. bool "Enable layout-aware eeprom commands"
  352. depends on CMD_EEPROM
  353. help
  354. (deprecated, needs conversion to driver model)
  355. When enabled, additional eeprom sub-commands become available.
  356. eeprom print - prints the contents of the eeprom in a human-readable
  357. way (eeprom layout fields, and data formatted to be fit for human
  358. consumption).
  359. eeprom update - allows user to update eeprom fields by specifying
  360. the field name, and providing the new data in a human readable format
  361. (same format as displayed by the eeprom print command).
  362. Both commands can either auto detect the layout, or be told which
  363. layout to use.
  364. Feature API:
  365. __weak int parse_layout_version(char *str)
  366. - override to provide your own layout name parsing
  367. __weak void __eeprom_layout_assign(struct eeprom_layout *layout,
  368. int layout_version);
  369. - override to setup the layout metadata based on the version
  370. __weak int eeprom_layout_detect(unsigned char *data)
  371. - override to provide your own algorithm for detecting layout
  372. version
  373. eeprom_field.c
  374. - contains various printing and updating functions for common
  375. types of eeprom fields. Can be used for defining
  376. custom layouts.
  377. config EEPROM_LAYOUT_HELP_STRING
  378. string "Tells user what layout names are supported"
  379. depends on CMD_EEPROM_LAYOUT
  380. default "<not defined>"
  381. help
  382. Help printed with the LAYOUT VERSIONS part of the 'eeprom'
  383. command's help.
  384. config LOOPW
  385. bool "loopw"
  386. help
  387. Infinite write loop on address range
  388. config CMD_MD5SUM
  389. bool "md5sum"
  390. default n
  391. select MD5
  392. help
  393. Compute MD5 checksum.
  394. config MD5SUM_VERIFY
  395. bool "md5sum -v"
  396. default n
  397. depends on CMD_MD5SUM
  398. help
  399. Add -v option to verify data against an MD5 checksum.
  400. config CMD_MEMINFO
  401. bool "meminfo"
  402. help
  403. Display memory information.
  404. config CMD_MEMORY
  405. bool "md, mm, nm, mw, cp, cmp, base, loop"
  406. default y
  407. help
  408. Memory commands.
  409. md - memory display
  410. mm - memory modify (auto-incrementing address)
  411. nm - memory modify (constant address)
  412. mw - memory write (fill)
  413. cp - memory copy
  414. cmp - memory compare
  415. base - print or set address offset
  416. loop - initialize loop on address range
  417. config CMD_MEMTEST
  418. bool "memtest"
  419. help
  420. Simple RAM read/write test.
  421. config CMD_MX_CYCLIC
  422. bool "mdc, mwc"
  423. help
  424. mdc - memory display cyclic
  425. mwc - memory write cyclic
  426. config CMD_SHA1SUM
  427. bool "sha1sum"
  428. select SHA1
  429. help
  430. Compute SHA1 checksum.
  431. config SHA1SUM_VERIFY
  432. bool "sha1sum -v"
  433. depends on CMD_SHA1SUM
  434. help
  435. Add -v option to verify data against a SHA1 checksum.
  436. config CMD_STRINGS
  437. bool "strings - display strings in memory"
  438. help
  439. This works similarly to the Unix 'strings' command except that it
  440. works with a memory range. String of printable characters found
  441. within the range are displayed. The minimum number of characters
  442. for a sequence to be considered a string can be provided.
  443. endmenu
  444. menu "Compression commands"
  445. config CMD_LZMADEC
  446. bool "lzmadec"
  447. default y if CMD_BOOTI
  448. select LZMA
  449. help
  450. Support decompressing an LZMA (Lempel-Ziv-Markov chain algorithm)
  451. image from memory.
  452. config CMD_UNZIP
  453. bool "unzip"
  454. default n if ARCH_SUNXI
  455. default y if CMD_BOOTI
  456. help
  457. Uncompress a zip-compressed memory region.
  458. config CMD_ZIP
  459. bool "zip"
  460. help
  461. Compress a memory region with zlib deflate method.
  462. endmenu
  463. menu "Device access commands"
  464. config CMD_ARMFLASH
  465. #depends on FLASH_CFI_DRIVER
  466. bool "armflash"
  467. help
  468. ARM Ltd reference designs flash partition access
  469. config CMD_CLK
  470. bool "clk - Show clock frequencies"
  471. help
  472. (deprecated)
  473. Shows clock frequences by calling a sock_clk_dump() hook function.
  474. This is depreated in favour of using the CLK uclass and accessing
  475. clock values from associated drivers. However currently no command
  476. exists for this.
  477. config CMD_DEMO
  478. bool "demo - Demonstration commands for driver model"
  479. depends on DM
  480. help
  481. Provides a 'demo' command which can be used to play around with
  482. driver model. To use this properly you will need to enable one or
  483. both of the demo devices (DM_DEMO_SHAPE and DM_DEMO_SIMPLE).
  484. Otherwise you will always get an empty list of devices. The demo
  485. devices are defined in the sandbox device tree, so the easiest
  486. option is to use sandbox and pass the -d point to sandbox's
  487. u-boot.dtb file.
  488. config CMD_DFU
  489. bool "dfu"
  490. select USB_FUNCTION_DFU
  491. help
  492. Enables the command "dfu" which is used to have U-Boot create a DFU
  493. class device via USB. This command requires that the "dfu_alt_info"
  494. environment variable be set and define the alt settings to expose to
  495. the host.
  496. config CMD_DM
  497. bool "dm - Access to driver model information"
  498. depends on DM
  499. default y
  500. help
  501. Provides access to driver model data structures and information,
  502. such as a list of devices, list of uclasses and the state of each
  503. device (e.g. activated). This is not required for operation, but
  504. can be useful to see the state of driver model for debugging or
  505. interest.
  506. config CMD_FDC
  507. bool "fdcboot - Boot from floppy device"
  508. help
  509. The 'fdtboot' command allows booting an image from a floppy disk.
  510. config CMD_FLASH
  511. bool "flinfo, erase, protect"
  512. default y
  513. help
  514. NOR flash support.
  515. flinfo - print FLASH memory information
  516. erase - FLASH memory
  517. protect - enable or disable FLASH write protection
  518. config CMD_FPGA
  519. bool "fpga"
  520. default y
  521. help
  522. FPGA support.
  523. config CMD_FPGA_LOADBP
  524. bool "fpga loadbp - load partial bitstream (Xilinx only)"
  525. depends on CMD_FPGA
  526. help
  527. Supports loading an FPGA device from a bitstream buffer containing
  528. a partial bitstream.
  529. config CMD_FPGA_LOADFS
  530. bool "fpga loadfs - load bitstream from FAT filesystem (Xilinx only)"
  531. depends on CMD_FPGA
  532. help
  533. Supports loading an FPGA device from a FAT filesystem.
  534. config CMD_FPGA_LOADMK
  535. bool "fpga loadmk - load bitstream from image"
  536. depends on CMD_FPGA
  537. help
  538. Supports loading an FPGA device from a image generated by mkimage.
  539. config CMD_FPGA_LOADP
  540. bool "fpga loadp - load partial bitstream"
  541. depends on CMD_FPGA
  542. help
  543. Supports loading an FPGA device from a bitstream buffer containing
  544. a partial bitstream.
  545. config CMD_FPGAD
  546. bool "fpgad - dump FPGA registers"
  547. help
  548. (legacy, needs conversion to driver model)
  549. Provides a way to dump FPGA registers by calling the board-specific
  550. fpga_get_reg() function. This functions similarly to the 'md'
  551. command.
  552. config CMD_FUSE
  553. bool "fuse - support for the fuse subssystem"
  554. help
  555. (deprecated - needs conversion to driver model)
  556. This allows reading, sensing, programming or overriding fuses
  557. which control the behaviour of the device. The command uses the
  558. fuse_...() API.
  559. config CMD_GPIO
  560. bool "gpio"
  561. help
  562. GPIO support.
  563. config CMD_GPT
  564. bool "GPT (GUID Partition Table) command"
  565. select PARTITION_UUIDS
  566. select EFI_PARTITION
  567. imply RANDOM_UUID
  568. help
  569. Enable the 'gpt' command to ready and write GPT style partition
  570. tables.
  571. config RANDOM_UUID
  572. bool "GPT Random UUID generation"
  573. help
  574. Enable the generation of partitions with random UUIDs if none
  575. are provided.
  576. config CMD_GPT_RENAME
  577. bool "GPT partition renaming commands"
  578. depends on CMD_GPT
  579. help
  580. Enables the 'gpt' command to interchange names on two GPT
  581. partitions via the 'gpt swap' command or to rename single
  582. partitions via the 'rename' command.
  583. config CMD_IDE
  584. bool "ide - Support for IDE drivers"
  585. select IDE
  586. help
  587. Provides an 'ide' command which allows accessing the IDE drive,
  588. reseting the IDE interface, printing the partition table and
  589. geting device info. It also enables the 'diskboot' command which
  590. permits booting from an IDE drive.
  591. config CMD_IO
  592. bool "io - Support for performing I/O accesses"
  593. help
  594. Provides an 'iod' command to display I/O space and an 'iow' command
  595. to write values to the I/O space. This can be useful for manually
  596. checking the state of devices during boot when debugging device
  597. drivers, etc.
  598. config CMD_IOTRACE
  599. bool "iotrace - Support for tracing I/O activity"
  600. help
  601. Provides an 'iotrace' command which supports recording I/O reads and
  602. writes in a trace buffer in memory . It also maintains a checksum
  603. of the trace records (even if space is exhausted) so that the
  604. sequence of I/O accesses can be verified.
  605. When debugging drivers it is useful to see what I/O accesses were
  606. done and in what order.
  607. Even if the individual accesses are of little interest it can be
  608. useful to verify that the access pattern is consistent each time
  609. an operation is performed. In this case a checksum can be used to
  610. characterise the operation of a driver. The checksum can be compared
  611. across different runs of the operation to verify that the driver is
  612. working properly.
  613. In particular, when performing major refactoring of the driver, where
  614. the access pattern should not change, the checksum provides assurance
  615. that the refactoring work has not broken the driver.
  616. This works by sneaking into the io.h heder for an architecture and
  617. redirecting I/O accesses through iotrace's tracing mechanism.
  618. For now no commands are provided to examine the trace buffer. The
  619. format is fairly simple, so 'md' is a reasonable substitute.
  620. Note: The checksum feature is only useful for I/O regions where the
  621. contents do not change outside of software control. Where this is not
  622. suitable you can fall back to manually comparing the addresses. It
  623. might be useful to enhance tracing to only checksum the accesses and
  624. not the data read/written.
  625. config CMD_I2C
  626. bool "i2c"
  627. help
  628. I2C support.
  629. config CMD_LOADB
  630. bool "loadb"
  631. default n if ARCH_SUNXI
  632. default y
  633. help
  634. Load a binary file over serial line.
  635. config CMD_LOADS
  636. bool "loads"
  637. default n if ARCH_SUNXI
  638. default y
  639. help
  640. Load an S-Record file over serial line
  641. config CMD_MMC
  642. bool "mmc"
  643. help
  644. MMC memory mapped support.
  645. config CMD_NAND
  646. bool "nand"
  647. default y if NAND_SUNXI
  648. help
  649. NAND support.
  650. if CMD_NAND
  651. config CMD_NAND_TRIMFFS
  652. bool "nand write.trimffs"
  653. default y if ARCH_SUNXI
  654. help
  655. Allows one to skip empty pages when flashing something on a NAND.
  656. config CMD_NAND_LOCK_UNLOCK
  657. bool "nand lock/unlock"
  658. help
  659. NAND locking support.
  660. config CMD_NAND_TORTURE
  661. bool "nand torture"
  662. help
  663. NAND torture support.
  664. endif # CMD_NAND
  665. config CMD_NVME
  666. bool "nvme"
  667. depends on NVME
  668. default y if NVME
  669. help
  670. NVM Express device support
  671. config CMD_MMC_SPI
  672. bool "mmc_spi - Set up MMC SPI device"
  673. help
  674. Provides a way to set up an MMC (Multimedia Card) SPI (Serial
  675. Peripheral Interface) device. The device provides a means of
  676. accessing an MMC device via SPI using a single data line, limited
  677. to 20MHz. It is useful since it reduces the amount of protocol code
  678. required.
  679. config CMD_ONENAND
  680. bool "onenand - access to onenand device"
  681. help
  682. OneNAND is a brand of NAND ('Not AND' gate) flash which provides
  683. various useful features. This command allows reading, writing,
  684. and erasing blocks. It allso provides a way to show and change
  685. bad blocks, and test the device.
  686. config CMD_PART
  687. bool "part"
  688. select PARTITION_UUIDS
  689. help
  690. Read and display information about the partition table on
  691. various media.
  692. config CMD_PCI
  693. bool "pci - Access PCI devices"
  694. help
  695. Provide access to PCI (Peripheral Interconnect Bus), a type of bus
  696. used on some devices to allow the CPU to communicate with its
  697. peripherals. Sub-commands allow bus enumeration, displaying and
  698. changing configuration space and a few other features.
  699. config CMD_PCMCIA
  700. bool "pinit - Set up PCMCIA device"
  701. help
  702. Provides a means to initialise a PCMCIA (Personal Computer Memory
  703. Card International Association) device. This is an old standard from
  704. about 1990. These devices are typically removable memory or network
  705. cards using a standard 68-pin connector.
  706. config CMD_READ
  707. bool "read - Read binary data from a partition"
  708. help
  709. Provides low-level access to the data in a partition.
  710. config CMD_REMOTEPROC
  711. bool "remoteproc"
  712. depends on REMOTEPROC
  713. help
  714. Support for Remote Processor control
  715. config CMD_SATA
  716. bool "sata - Access SATA subsystem"
  717. select SATA
  718. help
  719. SATA (Serial Advanced Technology Attachment) is a serial bus
  720. standard for connecting to hard drives and other storage devices.
  721. This command provides information about attached devices and allows
  722. reading, writing and other operations.
  723. SATA replaces PATA (originally just ATA), which stands for Parallel AT
  724. Attachment, where AT refers to an IBM AT (Advanced Technology)
  725. computer released in 1984.
  726. config CMD_SAVES
  727. bool "saves - Save a file over serial in S-Record format"
  728. help
  729. Provides a way to save a binary file using the Motorola S-Record
  730. format over the serial line.
  731. config CMD_SDRAM
  732. bool "sdram - Print SDRAM configuration information"
  733. help
  734. Provides information about attached SDRAM. This assumed that the
  735. SDRAM has an EEPROM with information that can be read using the
  736. I2C bus. This is only available on some boards.
  737. config CMD_SF
  738. bool "sf"
  739. help
  740. SPI Flash support
  741. config CMD_SF_TEST
  742. bool "sf test - Allow testing of SPI flash"
  743. help
  744. Provides a way to test that SPI flash is working correctly. The
  745. test is destructive, in that an area of SPI flash must be provided
  746. for the test to use. Performance information is also provided,
  747. measuring the performance of reading, writing and erasing in
  748. Mbps (Million Bits Per Second). This value should approximately
  749. equal the SPI bus speed for a single-bit-wide SPI bus, assuming
  750. everything is working properly.
  751. config CMD_SPI
  752. bool "sspi"
  753. help
  754. SPI utility command.
  755. config CMD_TSI148
  756. bool "tsi148 - Command to access tsi148 device"
  757. help
  758. This provides various sub-commands to initialise and configure the
  759. Turndra tsi148 device. See the command help for full details.
  760. config CMD_UNIVERSE
  761. bool "universe - Command to set up the Turndra Universe controller"
  762. help
  763. This allows setting up the VMEbus provided by this controller.
  764. See the command help for full details.
  765. config CMD_USB
  766. bool "usb"
  767. help
  768. USB support.
  769. config CMD_USB_SDP
  770. bool "sdp"
  771. select USB_FUNCTION_SDP
  772. help
  773. Enables the command "sdp" which is used to have U-Boot emulating the
  774. Serial Download Protocol (SDP) via USB.
  775. config CMD_ROCKUSB
  776. bool "rockusb"
  777. depends on USB_FUNCTION_ROCKUSB
  778. help
  779. Rockusb protocol is widely used by Rockchip SoC based devices. It can
  780. read/write info, image to/from devices. This enable rockusb command
  781. support to communication with rockusb device. for more detail about
  782. this command, please read doc/README.rockusb.
  783. config CMD_USB_MASS_STORAGE
  784. bool "UMS usb mass storage"
  785. help
  786. USB mass storage support
  787. endmenu
  788. menu "Shell scripting commands"
  789. config CMD_ECHO
  790. bool "echo"
  791. default y
  792. help
  793. Echo args to console
  794. config CMD_ITEST
  795. bool "itest"
  796. default y
  797. help
  798. Return true/false on integer compare.
  799. config CMD_SOURCE
  800. bool "source"
  801. default y
  802. help
  803. Run script from memory
  804. config CMD_SETEXPR
  805. bool "setexpr"
  806. default y
  807. help
  808. Evaluate boolean and math expressions and store the result in an env
  809. variable.
  810. Also supports loading the value at a memory location into a variable.
  811. If CONFIG_REGEX is enabled, setexpr also supports a gsub function.
  812. endmenu
  813. menu "Network commands"
  814. config CMD_NET
  815. bool "bootp, tftpboot"
  816. select NET
  817. default y
  818. help
  819. Network commands.
  820. bootp - boot image via network using BOOTP/TFTP protocol
  821. tftpboot - boot image via network using TFTP protocol
  822. config CMD_TFTPPUT
  823. bool "tftp put"
  824. help
  825. TFTP put command, for uploading files to a server
  826. config CMD_TFTPSRV
  827. bool "tftpsrv"
  828. help
  829. Act as a TFTP server and boot the first received file
  830. config CMD_RARP
  831. bool "rarpboot"
  832. help
  833. Boot image via network using RARP/TFTP protocol
  834. config CMD_DHCP
  835. bool "dhcp"
  836. help
  837. Boot image via network using DHCP/TFTP protocol
  838. config CMD_PXE
  839. bool "pxe"
  840. select MENU
  841. help
  842. Boot image via network using PXE protocol
  843. config CMD_NFS
  844. bool "nfs"
  845. default y
  846. help
  847. Boot image via network using NFS protocol.
  848. config CMD_MII
  849. bool "mii"
  850. help
  851. Enable MII utility commands.
  852. config CMD_PING
  853. bool "ping"
  854. help
  855. Send ICMP ECHO_REQUEST to network host
  856. config CMD_CDP
  857. bool "cdp"
  858. help
  859. Perform CDP network configuration
  860. config CMD_SNTP
  861. bool "sntp"
  862. help
  863. Synchronize RTC via network
  864. config CMD_DNS
  865. bool "dns"
  866. help
  867. Lookup the IP of a hostname
  868. config CMD_LINK_LOCAL
  869. bool "linklocal"
  870. help
  871. Acquire a network IP address using the link-local protocol
  872. config CMD_ETHSW
  873. bool "ethsw"
  874. help
  875. Allow control of L2 Ethernet switch commands. These are supported
  876. by the vsc9953 Ethernet driver at present. Sub-commands allow
  877. operations such as enabling / disabling a port and
  878. viewing/maintaining the filtering database (FDB)
  879. endmenu
  880. menu "Misc commands"
  881. config CMD_BMP
  882. bool "Enable 'bmp' command"
  883. depends on LCD || DM_VIDEO || VIDEO
  884. help
  885. This provides a way to obtain information about a BMP-format iamge
  886. and to display it. BMP (which presumably stands for BitMaP) is a
  887. file format defined by Microsoft which supports images of various
  888. depths, formats and compression methods. Headers on the file
  889. determine the formats used. This command can be used by first loading
  890. the image into RAM, then using this command to look at it or display
  891. it.
  892. config CMD_BSP
  893. bool "Enable board-specific commands"
  894. help
  895. (deprecated: instead, please define a Kconfig option for each command)
  896. Some boards have board-specific commands which are only enabled
  897. during developemnt and need to be turned off for production. This
  898. option provides a way to control this. The commands that are enabled
  899. vary depending on the board.
  900. config CMD_BKOPS_ENABLE
  901. bool "mmc bkops enable"
  902. depends on CMD_MMC
  903. default n
  904. help
  905. Enable command for setting manual background operations handshake
  906. on a eMMC device. The feature is optionally available on eMMC devices
  907. conforming to standard >= 4.41.
  908. config CMD_BLOCK_CACHE
  909. bool "blkcache - control and stats for block cache"
  910. depends on BLOCK_CACHE
  911. default y if BLOCK_CACHE
  912. help
  913. Enable the blkcache command, which can be used to control the
  914. operation of the cache functions.
  915. This is most useful when fine-tuning the operation of the cache
  916. during development, but also allows the cache to be disabled when
  917. it might hurt performance (e.g. when using the ums command).
  918. config CMD_CACHE
  919. bool "icache or dcache"
  920. help
  921. Enable the "icache" and "dcache" commands
  922. config CMD_DISPLAY
  923. bool "Enable the 'display' command, for character displays"
  924. help
  925. (this needs porting to driver model)
  926. This enables the 'display' command which allows a string to be
  927. displayed on a simple board-specific display. Implement
  928. display_putc() to use it.
  929. config CMD_LED
  930. bool "led"
  931. default y if LED
  932. help
  933. Enable the 'led' command which allows for control of LEDs supported
  934. by the board. The LEDs can be listed with 'led list' and controlled
  935. with led on/off/togle/blink. Any LED drivers can be controlled with
  936. this command, e.g. led_gpio.
  937. config CMD_DATE
  938. bool "date"
  939. default y if DM_RTC
  940. help
  941. Enable the 'date' command for getting/setting the time/date in RTC
  942. devices.
  943. config CMD_TIME
  944. bool "time"
  945. help
  946. Run commands and summarize execution time.
  947. config CMD_GETTIME
  948. bool "gettime - read elapsed time"
  949. help
  950. Enable the 'gettime' command which reads the elapsed time since
  951. U-Boot started running. This shows the time in seconds and
  952. milliseconds. See also the 'bootstage' command which provides more
  953. flexibility for boot timing.
  954. # TODO: rename to CMD_SLEEP
  955. config CMD_MISC
  956. bool "sleep"
  957. default n if ARCH_SUNXI
  958. default y
  959. help
  960. Delay execution for some time
  961. config CMD_TIMER
  962. bool "timer"
  963. help
  964. Access the system timer.
  965. config CMD_SOUND
  966. bool "sound"
  967. depends on SOUND
  968. help
  969. This provides basic access to the U-Boot's sound support. The main
  970. feature is to play a beep.
  971. sound init - set up sound system
  972. sound play - play a sound
  973. config CMD_QFW
  974. bool "qfw"
  975. select QFW
  976. help
  977. This provides access to the QEMU firmware interface. The main
  978. feature is to allow easy loading of files passed to qemu-system
  979. via -kernel / -initrd
  980. source "cmd/mvebu/Kconfig"
  981. config CMD_TERMINAL
  982. bool "terminal - provides a way to attach a serial terminal"
  983. help
  984. Provides a 'cu'-like serial terminal command. This can be used to
  985. access other serial ports from the system console. The terminal
  986. is very simple with no special processing of characters. As with
  987. cu, you can press ~. (tilde followed by period) to exit.
  988. config CMD_UUID
  989. bool "uuid, guid - generation of unique IDs"
  990. help
  991. This enables two commands:
  992. uuid - generate random Universally Unique Identifier
  993. guid - generate Globally Unique Identifier based on random UUID
  994. The two commands are very similar except for the endianness of the
  995. output.
  996. endmenu
  997. source "cmd/ti/Kconfig"
  998. config CMD_BOOTSTAGE
  999. bool "Enable the 'bootstage' command"
  1000. depends on BOOTSTAGE
  1001. help
  1002. Add a 'bootstage' command which supports printing a report
  1003. and un/stashing of bootstage data.
  1004. menu "Power commands"
  1005. config CMD_PMIC
  1006. bool "Enable Driver Model PMIC command"
  1007. depends on DM_PMIC
  1008. help
  1009. This is the pmic command, based on a driver model pmic's API.
  1010. Command features are unchanged:
  1011. - list - list pmic devices
  1012. - pmic dev <id> - show or [set] operating pmic device (NEW)
  1013. - pmic dump - dump registers
  1014. - pmic read address - read byte of register at address
  1015. - pmic write address - write byte to register at address
  1016. The only one change for this command is 'dev' subcommand.
  1017. config CMD_REGULATOR
  1018. bool "Enable Driver Model REGULATOR command"
  1019. depends on DM_REGULATOR
  1020. help
  1021. This command is based on driver model regulator's API.
  1022. User interface features:
  1023. - list - list regulator devices
  1024. - regulator dev <id> - show or [set] operating regulator device
  1025. - regulator info - print constraints info
  1026. - regulator status - print operating status
  1027. - regulator value <val] <-f> - print/[set] voltage value [uV]
  1028. - regulator current <val> - print/[set] current value [uA]
  1029. - regulator mode <id> - print/[set] operating mode id
  1030. - regulator enable - enable the regulator output
  1031. - regulator disable - disable the regulator output
  1032. The '-f' (force) option can be used for set the value which exceeds
  1033. the limits, which are found in device-tree and are kept in regulator's
  1034. uclass platdata structure.
  1035. endmenu
  1036. menu "Security commands"
  1037. config CMD_AES
  1038. bool "Enable the 'aes' command"
  1039. select AES
  1040. help
  1041. This provides a means to encrypt and decrypt data using the AES
  1042. (Advanced Encryption Standard). This algorithm uses a symetric key
  1043. and is widely used as a streaming cipher. Different key lengths are
  1044. supported by the algorithm but this command only supports 128 bits
  1045. at present.
  1046. config CMD_BLOB
  1047. bool "Enable the 'blob' command"
  1048. help
  1049. This is used with the Freescale secure boot mechanism.
  1050. Freescale's SEC block has built-in Blob Protocol which provides
  1051. a method for protecting user-defined data across system power
  1052. cycles. SEC block protects data in a data structure called a Blob,
  1053. which provides both confidentiality and integrity protection.
  1054. Encapsulating data as a blob
  1055. Each time that the Blob Protocol is used to protect data, a
  1056. different randomly generated key is used to encrypt the data.
  1057. This random key is itself encrypted using a key which is derived
  1058. from SoC's non-volatile secret key and a 16 bit Key identifier.
  1059. The resulting encrypted key along with encrypted data is called a
  1060. blob. The non-volatile secure key is available for use only during
  1061. secure boot.
  1062. During decapsulation, the reverse process is performed to get back
  1063. the original data.
  1064. Sub-commands:
  1065. blob enc - encapsulating data as a cryptgraphic blob
  1066. blob dec - decapsulating cryptgraphic blob to get the data
  1067. Syntax:
  1068. blob enc src dst len km
  1069. Encapsulate and create blob of data $len bytes long
  1070. at address $src and store the result at address $dst.
  1071. $km is the 16 byte key modifier is also required for
  1072. generation/use as key for cryptographic operation. Key
  1073. modifier should be 16 byte long.
  1074. blob dec src dst len km
  1075. Decapsulate the blob of data at address $src and
  1076. store result of $len byte at addr $dst.
  1077. $km is the 16 byte key modifier is also required for
  1078. generation/use as key for cryptographic operation. Key
  1079. modifier should be 16 byte long.
  1080. config CMD_HASH
  1081. bool "Support 'hash' command"
  1082. select HASH
  1083. help
  1084. This provides a way to hash data in memory using various supported
  1085. algorithms (such as SHA1, MD5, CRC32). The computed digest can be
  1086. saved to memory or to an environment variable. It is also possible
  1087. to verify a hash against data in memory.
  1088. config HASH_VERIFY
  1089. bool "hash -v"
  1090. depends on CMD_HASH
  1091. help
  1092. Add -v option to verify data against a hash.
  1093. config CMD_TPM
  1094. bool "Enable the 'tpm' command"
  1095. depends on TPM
  1096. help
  1097. This provides a means to talk to a TPM from the command line. A wide
  1098. range of commands if provided - see 'tpm help' for details. The
  1099. command requires a suitable TPM on your board and the correct driver
  1100. must be enabled.
  1101. config CMD_TPM_TEST
  1102. bool "Enable the 'tpm test' command"
  1103. depends on CMD_TPM
  1104. help
  1105. This provides a a series of tests to confirm that the TPM is working
  1106. correctly. The tests cover initialisation, non-volatile RAM, extend,
  1107. global lock and checking that timing is within expectations. The
  1108. tests pass correctly on Infineon TPMs but may need to be adjusted
  1109. for other devices.
  1110. endmenu
  1111. menu "Firmware commands"
  1112. config CMD_CROS_EC
  1113. bool "Enable crosec command"
  1114. depends on CROS_EC
  1115. default y
  1116. help
  1117. Enable command-line access to the Chrome OS EC (Embedded
  1118. Controller). This provides the 'crosec' command which has
  1119. a number of sub-commands for performing EC tasks such as
  1120. updating its flash, accessing a small saved context area
  1121. and talking to the I2C bus behind the EC (if there is one).
  1122. endmenu
  1123. menu "Filesystem commands"
  1124. config CMD_BTRFS
  1125. bool "Enable the 'btrsubvol' command"
  1126. select FS_BTRFS
  1127. help
  1128. This enables the 'btrsubvol' command to list subvolumes
  1129. of a BTRFS filesystem. There are no special commands for
  1130. listing BTRFS directories or loading BTRFS files - this
  1131. can be done by the generic 'fs' commands (see CMD_FS_GENERIC)
  1132. when BTRFS is enabled (see FS_BTRFS).
  1133. config CMD_CBFS
  1134. bool "Enable the 'cbfs' command"
  1135. depends on FS_CBFS
  1136. help
  1137. Define this to enable support for reading from a Coreboot
  1138. filesystem. This is a ROM-based filesystem used for accessing files
  1139. on systems that use coreboot as the first boot-loader and then load
  1140. U-Boot to actually boot the Operating System. Available commands are
  1141. cbfsinit, cbfsinfo, cbfsls and cbfsload.
  1142. config CMD_CRAMFS
  1143. bool "Enable the 'cramfs' command"
  1144. depends on FS_CRAMFS
  1145. help
  1146. This provides commands for dealing with CRAMFS (Compressed ROM
  1147. filesystem). CRAMFS is useful when space is tight since files are
  1148. compressed. Two commands are provided:
  1149. cramfsls - lists files in a cramfs image
  1150. cramfsload - loads a file from a cramfs image
  1151. config CMD_EXT2
  1152. bool "ext2 command support"
  1153. select FS_EXT4
  1154. help
  1155. Enables EXT2 FS command
  1156. config CMD_EXT4
  1157. bool "ext4 command support"
  1158. select FS_EXT4
  1159. help
  1160. Enables EXT4 FS command
  1161. config CMD_EXT4_WRITE
  1162. depends on CMD_EXT4
  1163. bool "ext4 write command support"
  1164. select EXT4_WRITE
  1165. help
  1166. Enables EXT4 FS write command
  1167. config CMD_FAT
  1168. bool "FAT command support"
  1169. select FS_FAT
  1170. help
  1171. Support for the FAT fs
  1172. config CMD_FS_GENERIC
  1173. bool "filesystem commands"
  1174. help
  1175. Enables filesystem commands (e.g. load, ls) that work for multiple
  1176. fs types.
  1177. config CMD_FS_UUID
  1178. bool "fsuuid command"
  1179. help
  1180. Enables fsuuid command for filesystem UUID.
  1181. config CMD_JFFS2
  1182. bool "jffs2 command"
  1183. select FS_JFFS2
  1184. help
  1185. Enables commands to support the JFFS2 (Journalling Flash File System
  1186. version 2) filesystem. This enables fsload, ls and fsinfo which
  1187. provide the ability to load files, list directories and obtain
  1188. filesystem information.
  1189. config CMD_MTDPARTS
  1190. bool "MTD partition support"
  1191. help
  1192. MTD partition support
  1193. config MTDIDS_DEFAULT
  1194. string "Default MTD IDs"
  1195. depends on CMD_MTDPARTS || CMD_NAND || CMD_FLASH
  1196. help
  1197. Defines a default MTD IDs list for use with MTD partitions in the
  1198. Linux MTD command line partitions format.
  1199. config MTDPARTS_DEFAULT
  1200. string "Default MTD partition scheme"
  1201. depends on CMD_MTDPARTS || CMD_NAND || CMD_FLASH
  1202. help
  1203. Defines a default MTD partitioning scheme in the Linux MTD command
  1204. line partitions format
  1205. config CMD_MTDPARTS_SPREAD
  1206. bool "Padd partition size to take account of bad blocks"
  1207. depends on CMD_MTDPARTS
  1208. help
  1209. This enables the 'spread' sub-command of the mtdparts command.
  1210. This command will modify the existing mtdparts variable by increasing
  1211. the size of the partitions such that 1) each partition's net size is
  1212. at least as large as the size specified in the mtdparts variable and
  1213. 2) each partition starts on a good block.
  1214. config CMD_REISER
  1215. bool "reiser - Access to reiserfs filesystems"
  1216. help
  1217. This provides two commands which operate on a resierfs filesystem,
  1218. commonly used some years ago:
  1219. reiserls - list files
  1220. reiserload - load a file
  1221. config CMD_SCSI
  1222. bool "scsi - Access to SCSI devices"
  1223. default y if SCSI
  1224. help
  1225. This provides a 'scsi' command which provides access to SCSI (Small
  1226. Computer System Interface) devices. The command provides a way to
  1227. scan the bus, reset the bus, read and write data and get information
  1228. about devices.
  1229. config CMD_YAFFS2
  1230. bool "yaffs2 - Access of YAFFS2 filesystem"
  1231. depends on YAFFS2
  1232. default y
  1233. help
  1234. This provides commands for accessing a YAFFS2 filesystem. Yet
  1235. Another Flash Filesystem 2 is a filesystem designed specifically
  1236. for NAND flash. It incorporates bad-block management and ensures
  1237. that device writes are sequential regardless of filesystem
  1238. activity.
  1239. config CMD_ZFS
  1240. bool "zfs - Access of ZFS filesystem"
  1241. help
  1242. This provides commands to accessing a ZFS filesystem, commonly used
  1243. on Solaris systems. Two sub-commands are provided:
  1244. zfsls - list files in a directory
  1245. zfsload - load a file
  1246. See doc/README.zfs for more details.
  1247. endmenu
  1248. menu "Debug commands"
  1249. config CMD_BEDBUG
  1250. bool "bedbug"
  1251. help
  1252. The bedbug (emBEDded deBUGger) command provides debugging features
  1253. for some PowerPC processors. For details please see the
  1254. docuemntation in doc/README.beddbug
  1255. config CMD_DIAG
  1256. bool "diag - Board diagnostics"
  1257. help
  1258. This command provides access to board diagnostic tests. These are
  1259. called Power-on Self Tests (POST). The command allows listing of
  1260. available tests and running either all the tests, or specific tests
  1261. identified by name.
  1262. config CMD_IRQ
  1263. bool "irq - Show information about interrupts"
  1264. depends on !ARM && !MIPS && !SH
  1265. help
  1266. This enables two commands:
  1267. interrupts - enable or disable interrupts
  1268. irqinfo - print device-specific interrupt information
  1269. config CMD_KGDB
  1270. bool "kgdb - Allow debugging of U-Boot with gdb"
  1271. help
  1272. This enables a 'kgdb' command which allows gdb to connect to U-Boot
  1273. over a serial link for debugging purposes. This allows
  1274. single-stepping, inspecting variables, etc. This is supported only
  1275. on PowerPC at present.
  1276. config CMD_LOG
  1277. bool "log - Generation, control and access to logging"
  1278. help
  1279. This provides access to logging features. It allows the output of
  1280. log data to be controlled to a limited extent (setting up the default
  1281. maximum log level for emitting of records). It also provides access
  1282. to a command used for testing the log system.
  1283. config CMD_TRACE
  1284. bool "trace - Support tracing of function calls and timing"
  1285. help
  1286. Enables a command to control using of function tracing within
  1287. U-Boot. This allows recording of call traces including timing
  1288. information. The command can write data to memory for exporting
  1289. for analsys (e.g. using bootchart). See doc/README.trace for full
  1290. details.
  1291. endmenu
  1292. config CMD_UBI
  1293. tristate "Enable UBI - Unsorted block images commands"
  1294. select CRC32
  1295. select MTD_UBI
  1296. select CMD_MTDPARTS
  1297. default y if NAND_SUNXI
  1298. help
  1299. UBI is a software layer above MTD layer which admits use of LVM-like
  1300. logical volumes on top of MTD devices, hides some complexities of
  1301. flash chips like wear and bad blocks and provides some other useful
  1302. capabilities. Please, consult the MTD web site for more details
  1303. (www.linux-mtd.infradead.org). Activate this option if you want
  1304. to use U-Boot UBI commands.
  1305. config CMD_UBIFS
  1306. tristate "Enable UBIFS - Unsorted block images filesystem commands"
  1307. depends on CMD_UBI
  1308. select CRC32
  1309. select LZO
  1310. default y if CMD_UBI
  1311. help
  1312. UBIFS is a file system for flash devices which works on top of UBI.
  1313. endmenu