Kconfig 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. menu "Command line interface"
  2. depends on !SPL_BUILD
  3. config HUSH_PARSER
  4. bool "Use hush shell"
  5. select SYS_HUSH_PARSER
  6. help
  7. This option enables the "hush" shell (from Busybox) as command line
  8. interpreter, thus enabling powerful command line syntax like
  9. if...then...else...fi conditionals or `&&' and '||'
  10. constructs ("shell scripts").
  11. If disabled, you get the old, much simpler behaviour with a somewhat
  12. smaller memory footprint.
  13. config SYS_HUSH_PARSER
  14. bool
  15. help
  16. Backward compatibility.
  17. comment "Commands"
  18. menu "Info commands"
  19. config CMD_BDI
  20. bool "bdinfo"
  21. help
  22. Print board info
  23. config CMD_CONSOLE
  24. bool "coninfo"
  25. help
  26. Print console devices and information.
  27. config CMD_LICENSE
  28. bool "license"
  29. help
  30. Print GPL license text
  31. endmenu
  32. menu "Boot commands"
  33. config CMD_BOOTD
  34. bool "bootd"
  35. help
  36. Run the command stored in the environment "bootcmd", i.e.
  37. "bootd" does the same thing as "run bootcmd".
  38. config CMD_BOOTM
  39. bool "bootm"
  40. default y
  41. help
  42. Boot an application image from the memory.
  43. config CMD_GO
  44. bool "go"
  45. default y
  46. help
  47. Start an application at a given address.
  48. config CMD_RUN
  49. bool "run"
  50. help
  51. Run the command in the given environment variable.
  52. config CMD_IMI
  53. bool "iminfo"
  54. help
  55. Print header information for application image.
  56. config CMD_IMLS
  57. bool "imls"
  58. help
  59. List all images found in flash
  60. config CMD_XIMG
  61. bool "imxtract"
  62. help
  63. Extract a part of a multi-image.
  64. endmenu
  65. menu "Environment commands"
  66. config CMD_EXPORTENV
  67. bool "env export"
  68. default y
  69. help
  70. Export environments.
  71. config CMD_IMPORTENV
  72. bool "env import"
  73. default y
  74. help
  75. Import environments.
  76. config CMD_EDITENV
  77. bool "editenv"
  78. help
  79. Edit environment variable.
  80. config CMD_SAVEENV
  81. bool "saveenv"
  82. help
  83. Run the command in the given environment variable.
  84. endmenu
  85. menu "Memory commands"
  86. config CMD_MEMORY
  87. bool "md, mm, nm, mw, cp, cmp, base, loop"
  88. help
  89. Memeory commands.
  90. md - memory display
  91. mm - memory modify (auto-incrementing address)
  92. nm - memory modify (constant address)
  93. mw - memory write (fill)
  94. cp - memory copy
  95. cmp - memory compare
  96. base - print or set address offset
  97. loop - initinite loop on address range
  98. config CMD_CRC32
  99. bool "crc32"
  100. default y
  101. help
  102. Compute CRC32.
  103. config LOOPW
  104. bool "loopw"
  105. help
  106. Infinite write loop on address range
  107. config CMD_MEMTEST
  108. bool "crc32"
  109. help
  110. Simple RAM read/write test.
  111. config CMD_MX_CYCLIC
  112. bool "mdc, mwc"
  113. help
  114. mdc - memory display cyclic
  115. mwc - memory write cyclic
  116. config CMD_MEMINFO
  117. bool "meminfo"
  118. help
  119. Display memory information.
  120. endmenu
  121. menu "Device access commands"
  122. config CMD_LOADB
  123. bool "loadb"
  124. help
  125. Load a binary file over serial line.
  126. config CMD_LOADS
  127. bool "loads"
  128. help
  129. Load an S-Record file over serial line
  130. config CMD_FLASH
  131. bool "flinfo, erase, protect"
  132. help
  133. NOR flash support.
  134. flinfo - print FLASH memory information
  135. erase - FLASH memory
  136. protect - enable or disable FLASH write protection
  137. config CMD_NAND
  138. bool "nand"
  139. help
  140. NAND support.
  141. config CMD_SPI
  142. bool "sspi"
  143. help
  144. SPI utility command.
  145. config CMD_I2C
  146. bool "i2c"
  147. help
  148. I2C support.
  149. config CMD_USB
  150. bool "usb"
  151. help
  152. USB support.
  153. config CMD_FPGA
  154. bool "fpga"
  155. help
  156. FPGA support.
  157. endmenu
  158. menu "Shell scripting commands"
  159. config CMD_ECHO
  160. bool "echo"
  161. help
  162. Echo args to console
  163. config CMD_ITEST
  164. bool "itest"
  165. help
  166. Return true/false on integer compare.
  167. config CMD_SOURCE
  168. bool "source"
  169. help
  170. Run script from memory
  171. endmenu
  172. menu "Network commands"
  173. config CMD_NET
  174. bool "bootp, tftpboot"
  175. help
  176. Network commands.
  177. bootp - boot image via network using BOOTP/TFTP protocol
  178. tftpboot - boot image via network using TFTP protocol
  179. config CMD_TFTPPUT
  180. bool "tftp put"
  181. help
  182. TFTP put command, for uploading files to a server
  183. config CMD_TFTPSRV
  184. bool "tftpsrv"
  185. help
  186. Act as a TFTP server and boot the first received file
  187. config CMD_RARP
  188. bool "rarpboot"
  189. help
  190. Boot image via network using RARP/TFTP protocol
  191. config CMD_DHCP
  192. bool "dhcp"
  193. help
  194. Boot image via network using DHCP/TFTP protocol
  195. config CMD_NFS
  196. bool "nfs"
  197. help
  198. Boot image via network using NFS protocol.
  199. config CMD_PING
  200. bool "ping"
  201. help
  202. Send ICMP ECHO_REQUEST to network host
  203. config CMD_CDP
  204. bool "cdp"
  205. help
  206. Perform CDP network configuration
  207. config CMD_SNTP
  208. bool "sntp"
  209. help
  210. Synchronize RTC via network
  211. config CMD_DNS
  212. bool "dns"
  213. help
  214. Lookup the IP of a hostname
  215. config CMD_DNS
  216. bool "dns"
  217. help
  218. Lookup the IP of a hostname
  219. config CMD_LINK_LOCAL
  220. bool "linklocal"
  221. help
  222. Acquire a network IP address using the link-local protocol
  223. endmenu
  224. menu "Misc commands"
  225. config CMD_TIME
  226. bool "time"
  227. help
  228. Run commands and summarize execution time.
  229. # TODO: rename to CMD_SLEEP
  230. config CMD_MISC
  231. bool "sleep"
  232. help
  233. Delay execution for some time
  234. config CMD_TIMER
  235. bool "timer"
  236. help
  237. Access the system timer.
  238. config CMD_SETGETDCR
  239. bool "getdcr, setdcr, getidcr, setidcr"
  240. depends on 4xx
  241. help
  242. getdcr - Get an AMCC PPC 4xx DCR's value
  243. setdcr - Set an AMCC PPC 4xx DCR's value
  244. getidcr - Get a register value via indirect DCR addressing
  245. setidcr - Set a register value via indirect DCR addressing
  246. endmenu
  247. endmenu