Kconfig 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989
  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. comment "Commands"
  103. menu "Info commands"
  104. config CMD_BDI
  105. bool "bdinfo"
  106. default y
  107. help
  108. Print board info
  109. config CMD_CONFIG
  110. bool "config"
  111. select BUILD_BIN2C
  112. default SANDBOX
  113. help
  114. Print ".config" contents.
  115. If this option is enabled, the ".config" file contents are embedded
  116. in the U-Boot image and can be printed on the console by the "config"
  117. command. This provides information of which options are enabled on
  118. the running U-Boot.
  119. config CMD_CONSOLE
  120. bool "coninfo"
  121. default y
  122. help
  123. Print console devices and information.
  124. config CMD_CPU
  125. bool "cpu"
  126. help
  127. Print information about available CPUs. This normally shows the
  128. number of CPUs, type (e.g. manufacturer, architecture, product or
  129. internal name) and clock frequency. Other information may be
  130. available depending on the CPU driver.
  131. config CMD_LICENSE
  132. bool "license"
  133. select BUILD_BIN2C
  134. help
  135. Print GPL license text
  136. endmenu
  137. menu "Boot commands"
  138. config CMD_BOOTD
  139. bool "bootd"
  140. default y
  141. help
  142. Run the command stored in the environment "bootcmd", i.e.
  143. "bootd" does the same thing as "run bootcmd".
  144. config CMD_BOOTM
  145. bool "bootm"
  146. default y
  147. help
  148. Boot an application image from the memory.
  149. config CMD_BOOTZ
  150. bool "bootz"
  151. help
  152. Boot the Linux zImage
  153. config CMD_BOOTI
  154. bool "booti"
  155. depends on ARM64
  156. default y
  157. help
  158. Boot an AArch64 Linux Kernel image from memory.
  159. config CMD_BOOTEFI
  160. bool "bootefi"
  161. depends on EFI_LOADER
  162. default y
  163. help
  164. Boot an EFI image from memory.
  165. config CMD_BOOTEFI_HELLO_COMPILE
  166. bool "Compile a standard EFI hello world binary for testing"
  167. depends on CMD_BOOTEFI && (ARM || X86)
  168. default y
  169. help
  170. This compiles a standard EFI hello world application with U-Boot so
  171. that it can be used with the test/py testing framework. This is useful
  172. for testing that EFI is working at a basic level, and for bringing
  173. up EFI support on a new architecture.
  174. No additional space will be required in the resulting U-Boot binary
  175. when this option is enabled.
  176. config CMD_BOOTEFI_HELLO
  177. bool "Allow booting a standard EFI hello world for testing"
  178. depends on CMD_BOOTEFI_HELLO_COMPILE
  179. help
  180. This adds a standard EFI hello world application to U-Boot so that
  181. it can be used with the 'bootefi hello' command. This is useful
  182. for testing that EFI is working at a basic level, and for bringing
  183. up EFI support on a new architecture.
  184. config CMD_BOOTMENU
  185. bool "bootmenu"
  186. select MENU
  187. help
  188. Add an ANSI terminal boot menu command.
  189. config CMD_ELF
  190. bool "bootelf, bootvx"
  191. default y
  192. help
  193. Boot an ELF/vxWorks image from the memory.
  194. config CMD_FDT
  195. bool "Flattened Device Tree utility commands"
  196. default y
  197. depends on OF_LIBFDT
  198. help
  199. Do FDT related setup before booting into the Operating System.
  200. config CMD_GO
  201. bool "go"
  202. default y
  203. help
  204. Start an application at a given address.
  205. config CMD_RUN
  206. bool "run"
  207. default y
  208. help
  209. Run the command in the given environment variable.
  210. config CMD_IMI
  211. bool "iminfo"
  212. default y
  213. help
  214. Print header information for application image.
  215. config CMD_IMLS
  216. bool "imls"
  217. default y
  218. help
  219. List all images found in flash
  220. config CMD_XIMG
  221. bool "imxtract"
  222. default y
  223. help
  224. Extract a part of a multi-image.
  225. config CMD_POWEROFF
  226. bool
  227. endmenu
  228. menu "Environment commands"
  229. config CMD_ASKENV
  230. bool "ask for env variable"
  231. help
  232. Ask for environment variable
  233. config CMD_EXPORTENV
  234. bool "env export"
  235. default y
  236. help
  237. Export environments.
  238. config CMD_IMPORTENV
  239. bool "env import"
  240. default y
  241. help
  242. Import environments.
  243. config CMD_EDITENV
  244. bool "editenv"
  245. default y
  246. help
  247. Edit environment variable.
  248. config CMD_GREPENV
  249. bool "search env"
  250. help
  251. Allow for searching environment variables
  252. config CMD_SAVEENV
  253. bool "saveenv"
  254. default y
  255. help
  256. Save all environment variables into the compiled-in persistent
  257. storage.
  258. config CMD_ENV_EXISTS
  259. bool "env exists"
  260. default y
  261. help
  262. Check if a variable is defined in the environment for use in
  263. shell scripting.
  264. endmenu
  265. menu "Memory commands"
  266. config CMD_MEMORY
  267. bool "md, mm, nm, mw, cp, cmp, base, loop"
  268. default y
  269. help
  270. Memory commands.
  271. md - memory display
  272. mm - memory modify (auto-incrementing address)
  273. nm - memory modify (constant address)
  274. mw - memory write (fill)
  275. cp - memory copy
  276. cmp - memory compare
  277. base - print or set address offset
  278. loop - initialize loop on address range
  279. config CMD_CRC32
  280. bool "crc32"
  281. default y
  282. help
  283. Compute CRC32.
  284. config CMD_MD5SUM
  285. bool "md5sum"
  286. default n
  287. select MD5
  288. help
  289. Compute MD5 checksum.
  290. config MD5SUM_VERFIY
  291. bool "md5sum -v"
  292. default n
  293. depends on CMD_MD5SUM
  294. help
  295. Add -v option to verify data against an MD5 checksum.
  296. config LOOPW
  297. bool "loopw"
  298. help
  299. Infinite write loop on address range
  300. config CMD_MEMTEST
  301. bool "memtest"
  302. help
  303. Simple RAM read/write test.
  304. config CMD_MX_CYCLIC
  305. bool "mdc, mwc"
  306. help
  307. mdc - memory display cyclic
  308. mwc - memory write cyclic
  309. config CMD_MEMINFO
  310. bool "meminfo"
  311. help
  312. Display memory information.
  313. config CMD_UNZIP
  314. bool "unzip"
  315. help
  316. Uncompress a zip-compressed memory region.
  317. config CMD_ZIP
  318. bool "zip"
  319. help
  320. Compress a memory region with zlib deflate method.
  321. endmenu
  322. menu "Device access commands"
  323. config CMD_CLK
  324. bool "clk - Show clock frequencies"
  325. help
  326. (deprecated)
  327. Shows clock frequences by calling a sock_clk_dump() hook function.
  328. This is depreated in favour of using the CLK uclass and accessing
  329. clock values from associated drivers. However currently no command
  330. exists for this.
  331. config CMD_DM
  332. bool "dm - Access to driver model information"
  333. depends on DM
  334. default y
  335. help
  336. Provides access to driver model data structures and information,
  337. such as a list of devices, list of uclasses and the state of each
  338. device (e.g. activated). This is not required for operation, but
  339. can be useful to see the state of driver model for debugging or
  340. interest.
  341. config CMD_DEMO
  342. bool "demo - Demonstration commands for driver model"
  343. depends on DM
  344. help
  345. Provides a 'demo' command which can be used to play around with
  346. driver model. To use this properly you will need to enable one or
  347. both of the demo devices (DM_DEMO_SHAPE and DM_DEMO_SIMPLE).
  348. Otherwise you will always get an empty list of devices. The demo
  349. devices are defined in the sandbox device tree, so the easiest
  350. option is to use sandbox and pass the -d point to sandbox's
  351. u-boot.dtb file.
  352. config CMD_LOADB
  353. bool "loadb"
  354. default y
  355. help
  356. Load a binary file over serial line.
  357. config CMD_LOADS
  358. bool "loads"
  359. default y
  360. help
  361. Load an S-Record file over serial line
  362. config CMD_FLASH
  363. bool "flinfo, erase, protect"
  364. default y
  365. help
  366. NOR flash support.
  367. flinfo - print FLASH memory information
  368. erase - FLASH memory
  369. protect - enable or disable FLASH write protection
  370. config CMD_GPT
  371. bool "GPT (GUID Partition Table) command"
  372. select PARTITION_UUIDS
  373. select EFI_PARTITION
  374. help
  375. Enable the 'gpt' command to ready and write GPT style partition
  376. tables.
  377. config CMD_ARMFLASH
  378. #depends on FLASH_CFI_DRIVER
  379. bool "armflash"
  380. help
  381. ARM Ltd reference designs flash partition access
  382. config CMD_MMC
  383. bool "mmc"
  384. help
  385. MMC memory mapped support.
  386. config CMD_NAND
  387. bool "nand"
  388. default y if NAND_SUNXI
  389. help
  390. NAND support.
  391. if CMD_NAND
  392. config CMD_NAND_TRIMFFS
  393. bool "nand write.trimffs"
  394. default y if ARCH_SUNXI
  395. help
  396. Allows one to skip empty pages when flashing something on a NAND.
  397. config CMD_NAND_LOCK_UNLOCK
  398. bool "nand lock/unlock"
  399. help
  400. NAND locking support.
  401. config CMD_NAND_TORTURE
  402. bool "nand torture"
  403. help
  404. NAND torture support.
  405. endif # CMD_NAND
  406. config CMD_PART
  407. bool "part"
  408. select PARTITION_UUIDS
  409. help
  410. Read and display information about the partition table on
  411. various media.
  412. config CMD_SF
  413. bool "sf"
  414. help
  415. SPI Flash support
  416. config CMD_SPI
  417. bool "sspi"
  418. help
  419. SPI utility command.
  420. config CMD_I2C
  421. bool "i2c"
  422. help
  423. I2C support.
  424. config CMD_USB
  425. bool "usb"
  426. help
  427. USB support.
  428. config CMD_DFU
  429. bool "dfu"
  430. select USB_FUNCTION_DFU
  431. help
  432. Enables the command "dfu" which is used to have U-Boot create a DFU
  433. class device via USB.
  434. config CMD_USB_MASS_STORAGE
  435. bool "UMS usb mass storage"
  436. help
  437. USB mass storage support
  438. config CMD_FPGA
  439. bool "fpga"
  440. default y
  441. help
  442. FPGA support.
  443. config CMD_REMOTEPROC
  444. bool "remoteproc"
  445. depends on REMOTEPROC
  446. help
  447. Support for Remote Processor control
  448. config CMD_GPIO
  449. bool "gpio"
  450. help
  451. GPIO support.
  452. endmenu
  453. menu "Shell scripting commands"
  454. config CMD_ECHO
  455. bool "echo"
  456. default y
  457. help
  458. Echo args to console
  459. config CMD_ITEST
  460. bool "itest"
  461. default y
  462. help
  463. Return true/false on integer compare.
  464. config CMD_SOURCE
  465. bool "source"
  466. default y
  467. help
  468. Run script from memory
  469. config CMD_SETEXPR
  470. bool "setexpr"
  471. default y
  472. help
  473. Evaluate boolean and math expressions and store the result in an env
  474. variable.
  475. Also supports loading the value at a memory location into a variable.
  476. If CONFIG_REGEX is enabled, setexpr also supports a gsub function.
  477. endmenu
  478. menu "Network commands"
  479. config CMD_NET
  480. bool "bootp, tftpboot"
  481. select NET
  482. default y
  483. help
  484. Network commands.
  485. bootp - boot image via network using BOOTP/TFTP protocol
  486. tftpboot - boot image via network using TFTP protocol
  487. config CMD_TFTPPUT
  488. bool "tftp put"
  489. help
  490. TFTP put command, for uploading files to a server
  491. config CMD_TFTPSRV
  492. bool "tftpsrv"
  493. help
  494. Act as a TFTP server and boot the first received file
  495. config CMD_RARP
  496. bool "rarpboot"
  497. help
  498. Boot image via network using RARP/TFTP protocol
  499. config CMD_DHCP
  500. bool "dhcp"
  501. help
  502. Boot image via network using DHCP/TFTP protocol
  503. config CMD_PXE
  504. bool "pxe"
  505. select MENU
  506. help
  507. Boot image via network using PXE protocol
  508. config CMD_NFS
  509. bool "nfs"
  510. default y
  511. help
  512. Boot image via network using NFS protocol.
  513. config CMD_MII
  514. bool "mii"
  515. help
  516. Enable MII utility commands.
  517. config CMD_PING
  518. bool "ping"
  519. help
  520. Send ICMP ECHO_REQUEST to network host
  521. config CMD_CDP
  522. bool "cdp"
  523. help
  524. Perform CDP network configuration
  525. config CMD_SNTP
  526. bool "sntp"
  527. help
  528. Synchronize RTC via network
  529. config CMD_DNS
  530. bool "dns"
  531. help
  532. Lookup the IP of a hostname
  533. config CMD_LINK_LOCAL
  534. bool "linklocal"
  535. help
  536. Acquire a network IP address using the link-local protocol
  537. endmenu
  538. menu "Misc commands"
  539. config CMD_BMP
  540. bool "Enable 'bmp' command"
  541. depends on LCD || DM_VIDEO || VIDEO
  542. help
  543. This provides a way to obtain information about a BMP-format iamge
  544. and to display it. BMP (which presumably stands for BitMaP) is a
  545. file format defined by Microsoft which supports images of various
  546. depths, formats and compression methods. Headers on the file
  547. determine the formats used. This command can be used by first loading
  548. the image into RAM, then using this command to look at it or display
  549. it.
  550. config CMD_BSP
  551. bool "Enable board-specific commands"
  552. help
  553. (deprecated: instead, please define a Kconfig option for each command)
  554. Some boards have board-specific commands which are only enabled
  555. during developemnt and need to be turned off for production. This
  556. option provides a way to control this. The commands that are enabled
  557. vary depending on the board.
  558. config CMD_BKOPS_ENABLE
  559. bool "mmc bkops enable"
  560. depends on CMD_MMC
  561. default n
  562. help
  563. Enable command for setting manual background operations handshake
  564. on a eMMC device. The feature is optionally available on eMMC devices
  565. conforming to standard >= 4.41.
  566. config CMD_BLOCK_CACHE
  567. bool "blkcache - control and stats for block cache"
  568. depends on BLOCK_CACHE
  569. default y if BLOCK_CACHE
  570. help
  571. Enable the blkcache command, which can be used to control the
  572. operation of the cache functions.
  573. This is most useful when fine-tuning the operation of the cache
  574. during development, but also allows the cache to be disabled when
  575. it might hurt performance (e.g. when using the ums command).
  576. config CMD_CACHE
  577. bool "icache or dcache"
  578. help
  579. Enable the "icache" and "dcache" commands
  580. config CMD_LED
  581. bool "led"
  582. default y if LED
  583. help
  584. Enable the 'led' command which allows for control of LEDs supported
  585. by the board. The LEDs can be listed with 'led list' and controlled
  586. with led on/off/togle/blink. Any LED drivers can be controlled with
  587. this command, e.g. led_gpio.
  588. config CMD_TIME
  589. bool "time"
  590. help
  591. Run commands and summarize execution time.
  592. # TODO: rename to CMD_SLEEP
  593. config CMD_MISC
  594. bool "sleep"
  595. default y
  596. help
  597. Delay execution for some time
  598. config CMD_TIMER
  599. bool "timer"
  600. help
  601. Access the system timer.
  602. config CMD_SETGETDCR
  603. bool "getdcr, setdcr, getidcr, setidcr"
  604. depends on 4xx
  605. default y
  606. help
  607. getdcr - Get an AMCC PPC 4xx DCR's value
  608. setdcr - Set an AMCC PPC 4xx DCR's value
  609. getidcr - Get a register value via indirect DCR addressing
  610. setidcr - Set a register value via indirect DCR addressing
  611. config CMD_SOUND
  612. bool "sound"
  613. depends on SOUND
  614. help
  615. This provides basic access to the U-Boot's sound support. The main
  616. feature is to play a beep.
  617. sound init - set up sound system
  618. sound play - play a sound
  619. config CMD_QFW
  620. bool "qfw"
  621. select QFW
  622. help
  623. This provides access to the QEMU firmware interface. The main
  624. feature is to allow easy loading of files passed to qemu-system
  625. via -kernel / -initrd
  626. source "cmd/mvebu/Kconfig"
  627. endmenu
  628. config CMD_BOOTSTAGE
  629. bool "Enable the 'bootstage' command"
  630. depends on BOOTSTAGE
  631. help
  632. Add a 'bootstage' command which supports printing a report
  633. and un/stashing of bootstage data.
  634. menu "Power commands"
  635. config CMD_PMIC
  636. bool "Enable Driver Model PMIC command"
  637. depends on DM_PMIC
  638. help
  639. This is the pmic command, based on a driver model pmic's API.
  640. Command features are unchanged:
  641. - list - list pmic devices
  642. - pmic dev <id> - show or [set] operating pmic device (NEW)
  643. - pmic dump - dump registers
  644. - pmic read address - read byte of register at address
  645. - pmic write address - write byte to register at address
  646. The only one change for this command is 'dev' subcommand.
  647. config CMD_REGULATOR
  648. bool "Enable Driver Model REGULATOR command"
  649. depends on DM_REGULATOR
  650. help
  651. This command is based on driver model regulator's API.
  652. User interface features:
  653. - list - list regulator devices
  654. - regulator dev <id> - show or [set] operating regulator device
  655. - regulator info - print constraints info
  656. - regulator status - print operating status
  657. - regulator value <val] <-f> - print/[set] voltage value [uV]
  658. - regulator current <val> - print/[set] current value [uA]
  659. - regulator mode <id> - print/[set] operating mode id
  660. - regulator enable - enable the regulator output
  661. - regulator disable - disable the regulator output
  662. The '-f' (force) option can be used for set the value which exceeds
  663. the limits, which are found in device-tree and are kept in regulator's
  664. uclass platdata structure.
  665. endmenu
  666. menu "Security commands"
  667. config CMD_AES
  668. bool "Enable the 'aes' command"
  669. select AES
  670. help
  671. This provides a means to encrypt and decrypt data using the AES
  672. (Advanced Encryption Standard). This algorithm uses a symetric key
  673. and is widely used as a streaming cipher. Different key lengths are
  674. supported by the algorithm but this command only supports 128 bits
  675. at present.
  676. config CMD_BLOB
  677. bool "Enable the 'blob' command"
  678. help
  679. This is used with the Freescale secure boot mechanism.
  680. Freescale's SEC block has built-in Blob Protocol which provides
  681. a method for protecting user-defined data across system power
  682. cycles. SEC block protects data in a data structure called a Blob,
  683. which provides both confidentiality and integrity protection.
  684. Encapsulating data as a blob
  685. Each time that the Blob Protocol is used to protect data, a
  686. different randomly generated key is used to encrypt the data.
  687. This random key is itself encrypted using a key which is derived
  688. from SoC's non-volatile secret key and a 16 bit Key identifier.
  689. The resulting encrypted key along with encrypted data is called a
  690. blob. The non-volatile secure key is available for use only during
  691. secure boot.
  692. During decapsulation, the reverse process is performed to get back
  693. the original data.
  694. Sub-commands:
  695. blob enc - encapsulating data as a cryptgraphic blob
  696. blob dec - decapsulating cryptgraphic blob to get the data
  697. Syntax:
  698. blob enc src dst len km
  699. Encapsulate and create blob of data $len bytes long
  700. at address $src and store the result at address $dst.
  701. $km is the 16 byte key modifier is also required for
  702. generation/use as key for cryptographic operation. Key
  703. modifier should be 16 byte long.
  704. blob dec src dst len km
  705. Decapsulate the blob of data at address $src and
  706. store result of $len byte at addr $dst.
  707. $km is the 16 byte key modifier is also required for
  708. generation/use as key for cryptographic operation. Key
  709. modifier should be 16 byte long.
  710. config CMD_TPM
  711. bool "Enable the 'tpm' command"
  712. depends on TPM
  713. help
  714. This provides a means to talk to a TPM from the command line. A wide
  715. range of commands if provided - see 'tpm help' for details. The
  716. command requires a suitable TPM on your board and the correct driver
  717. must be enabled.
  718. config CMD_TPM_TEST
  719. bool "Enable the 'tpm test' command"
  720. depends on CMD_TPM
  721. help
  722. This provides a a series of tests to confirm that the TPM is working
  723. correctly. The tests cover initialisation, non-volatile RAM, extend,
  724. global lock and checking that timing is within expectations. The
  725. tests pass correctly on Infineon TPMs but may need to be adjusted
  726. for other devices.
  727. endmenu
  728. menu "Firmware commands"
  729. config CMD_CROS_EC
  730. bool "Enable crosec command"
  731. depends on CROS_EC
  732. default y
  733. help
  734. Enable command-line access to the Chrome OS EC (Embedded
  735. Controller). This provides the 'crosec' command which has
  736. a number of sub-commands for performing EC tasks such as
  737. updating its flash, accessing a small saved context area
  738. and talking to the I2C bus behind the EC (if there is one).
  739. endmenu
  740. menu "Filesystem commands"
  741. config CMD_CBFS
  742. bool "Enable the 'cbfs' command"
  743. depends on FS_CBFS
  744. help
  745. Define this to enable support for reading from a Coreboot
  746. filesystem. This is a ROM-based filesystem used for accessing files
  747. on systems that use coreboot as the first boot-loader and then load
  748. U-Boot to actually boot the Operating System. Available commands are
  749. cbfsinit, cbfsinfo, cbfsls and cbfsload.
  750. config CMD_EXT2
  751. bool "ext2 command support"
  752. help
  753. Enables EXT2 FS command
  754. config CMD_EXT4
  755. bool "ext4 command support"
  756. help
  757. Enables EXT4 FS command
  758. config CMD_EXT4_WRITE
  759. depends on CMD_EXT4
  760. bool "ext4 write command support"
  761. help
  762. Enables EXT4 FS write command
  763. config CMD_FAT
  764. bool "FAT command support"
  765. help
  766. Support for the FAT fs
  767. config CMD_FS_GENERIC
  768. bool "filesystem commands"
  769. help
  770. Enables filesystem commands (e.g. load, ls) that work for multiple
  771. fs types.
  772. config CMD_FS_UUID
  773. bool "fsuuid command"
  774. help
  775. Enables fsuuid command for filesystem UUID.
  776. config CMD_MTDPARTS
  777. depends on ARCH_SUNXI
  778. bool "MTD partition support"
  779. help
  780. MTD partition support
  781. config MTDIDS_DEFAULT
  782. string "Default MTD IDs"
  783. depends on CMD_MTDPARTS
  784. help
  785. Defines a default MTD ID
  786. config MTDPARTS_DEFAULT
  787. string "Default MTD partition scheme"
  788. depends on CMD_MTDPARTS
  789. help
  790. Defines a default MTD partitioning scheme in the Linux MTD command
  791. line partitions format
  792. endmenu
  793. menu "Debug commands"
  794. config CMD_BEDBUG
  795. bool "bedbug"
  796. help
  797. The bedbug (emBEDded deBUGger) command provides debugging features
  798. for some PowerPC processors. For details please see the
  799. docuemntation in doc/README.beddbug
  800. endmenu
  801. config CMD_UBI
  802. tristate "Enable UBI - Unsorted block images commands"
  803. select CRC32
  804. select MTD_UBI
  805. default y if NAND_SUNXI
  806. help
  807. UBI is a software layer above MTD layer which admits use of LVM-like
  808. logical volumes on top of MTD devices, hides some complexities of
  809. flash chips like wear and bad blocks and provides some other useful
  810. capabilities. Please, consult the MTD web site for more details
  811. (www.linux-mtd.infradead.org). Activate this option if you want
  812. to use U-Boot UBI commands.
  813. config CMD_UBIFS
  814. tristate "Enable UBIFS - Unsorted block images filesystem commands"
  815. depends on CMD_UBI
  816. select CRC32
  817. select RBTREE if ARCH_SUNXI
  818. select LZO if ARCH_SUNXI
  819. default y if NAND_SUNXI
  820. help
  821. UBIFS is a file system for flash devices which works on top of UBI.
  822. endmenu