Masahiro Yamada | ed36323 | 2014-09-16 16:32:58 +0900 | [diff] [blame] | 1 | menu "Command line interface" |
Masahiro Yamada | ed36323 | 2014-09-16 16:32:58 +0900 | [diff] [blame] | 2 | |
Masahiro Yamada | 6c77509 | 2014-11-13 19:29:07 +0900 | [diff] [blame] | 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 | |
| 12 | If disabled, you get the old, much simpler behaviour with a somewhat |
| 13 | smaller memory footprint. |
| 14 | |
| 15 | config SYS_HUSH_PARSER |
| 16 | bool |
| 17 | help |
| 18 | Backward compatibility. |
| 19 | |
Masahiro Yamada | 60296a8 | 2014-11-13 19:29:08 +0900 | [diff] [blame] | 20 | comment "Commands" |
| 21 | |
| 22 | menu "Info commands" |
| 23 | |
| 24 | config CMD_BDI |
| 25 | bool "bdinfo" |
| 26 | help |
| 27 | Print board info |
| 28 | |
| 29 | config CMD_CONSOLE |
| 30 | bool "coninfo" |
| 31 | help |
| 32 | Print console devices and information. |
| 33 | |
| 34 | config CMD_LICENSE |
| 35 | bool "license" |
| 36 | help |
| 37 | Print GPL license text |
| 38 | |
| 39 | endmenu |
| 40 | |
| 41 | menu "Boot commands" |
| 42 | |
| 43 | config CMD_BOOTD |
| 44 | bool "bootd" |
| 45 | help |
| 46 | Run the command stored in the environment "bootcmd", i.e. |
| 47 | "bootd" does the same thing as "run bootcmd". |
| 48 | |
Masahiro Yamada | dba1697 | 2014-09-16 16:33:00 +0900 | [diff] [blame] | 49 | config CMD_BOOTM |
Masahiro Yamada | 60296a8 | 2014-11-13 19:29:08 +0900 | [diff] [blame] | 50 | bool "bootm" |
Masahiro Yamada | dba1697 | 2014-09-16 16:33:00 +0900 | [diff] [blame] | 51 | default y |
| 52 | help |
| 53 | Boot an application image from the memory. |
| 54 | |
Masahiro Yamada | 60296a8 | 2014-11-13 19:29:08 +0900 | [diff] [blame] | 55 | config CMD_GO |
| 56 | bool "go" |
Masahiro Yamada | ca05ee9 | 2014-09-16 16:33:01 +0900 | [diff] [blame] | 57 | default y |
| 58 | help |
Masahiro Yamada | 60296a8 | 2014-11-13 19:29:08 +0900 | [diff] [blame] | 59 | Start an application at a given address. |
| 60 | |
| 61 | config CMD_RUN |
| 62 | bool "run" |
| 63 | help |
| 64 | Run the command in the given environment variable. |
| 65 | |
| 66 | config CMD_IMI |
| 67 | bool "iminfo" |
| 68 | help |
| 69 | Print header information for application image. |
| 70 | |
| 71 | config CMD_IMLS |
| 72 | bool "imls" |
| 73 | help |
| 74 | List all images found in flash |
| 75 | |
| 76 | config CMD_XIMG |
| 77 | bool "imxtract" |
| 78 | help |
| 79 | Extract a part of a multi-image. |
| 80 | |
| 81 | endmenu |
| 82 | |
| 83 | menu "Environment commands" |
Masahiro Yamada | ca05ee9 | 2014-09-16 16:33:01 +0900 | [diff] [blame] | 84 | |
Masahiro Yamada | cccee18 | 2014-09-16 16:33:02 +0900 | [diff] [blame] | 85 | config CMD_EXPORTENV |
Masahiro Yamada | 60296a8 | 2014-11-13 19:29:08 +0900 | [diff] [blame] | 86 | bool "env export" |
Masahiro Yamada | cccee18 | 2014-09-16 16:33:02 +0900 | [diff] [blame] | 87 | default y |
| 88 | help |
| 89 | Export environments. |
| 90 | |
Masahiro Yamada | 1d5c201 | 2014-09-16 16:33:04 +0900 | [diff] [blame] | 91 | config CMD_IMPORTENV |
Masahiro Yamada | 60296a8 | 2014-11-13 19:29:08 +0900 | [diff] [blame] | 92 | bool "env import" |
Masahiro Yamada | 1d5c201 | 2014-09-16 16:33:04 +0900 | [diff] [blame] | 93 | default y |
| 94 | help |
| 95 | Import environments. |
| 96 | |
Masahiro Yamada | 60296a8 | 2014-11-13 19:29:08 +0900 | [diff] [blame] | 97 | config CMD_EDITENV |
| 98 | bool "editenv" |
| 99 | help |
| 100 | Edit environment variable. |
| 101 | |
| 102 | config CMD_SAVEENV |
| 103 | bool "saveenv" |
| 104 | help |
| 105 | Run the command in the given environment variable. |
| 106 | |
| 107 | endmenu |
| 108 | |
| 109 | menu "Memory commands" |
| 110 | |
| 111 | config CMD_MEMORY |
| 112 | bool "md, mm, nm, mw, cp, cmp, base, loop" |
| 113 | help |
| 114 | Memeory commands. |
| 115 | md - memory display |
| 116 | mm - memory modify (auto-incrementing address) |
| 117 | nm - memory modify (constant address) |
| 118 | mw - memory write (fill) |
| 119 | cp - memory copy |
| 120 | cmp - memory compare |
| 121 | base - print or set address offset |
| 122 | loop - initinite loop on address range |
| 123 | |
| 124 | config CMD_CRC32 |
| 125 | bool "crc32" |
Masahiro Yamada | 726ac8e | 2014-09-16 16:33:03 +0900 | [diff] [blame] | 126 | default y |
| 127 | help |
Masahiro Yamada | 60296a8 | 2014-11-13 19:29:08 +0900 | [diff] [blame] | 128 | Compute CRC32. |
| 129 | |
| 130 | config LOOPW |
| 131 | bool "loopw" |
| 132 | help |
| 133 | Infinite write loop on address range |
| 134 | |
| 135 | config CMD_MEMTEST |
Nikolaos Pasaloukos | 41ffb45 | 2015-03-05 13:15:20 +0000 | [diff] [blame] | 136 | bool "memtest" |
Masahiro Yamada | 60296a8 | 2014-11-13 19:29:08 +0900 | [diff] [blame] | 137 | help |
| 138 | Simple RAM read/write test. |
| 139 | |
| 140 | config CMD_MX_CYCLIC |
| 141 | bool "mdc, mwc" |
| 142 | help |
| 143 | mdc - memory display cyclic |
| 144 | mwc - memory write cyclic |
| 145 | |
| 146 | config CMD_MEMINFO |
| 147 | bool "meminfo" |
| 148 | help |
| 149 | Display memory information. |
| 150 | |
| 151 | endmenu |
| 152 | |
| 153 | menu "Device access commands" |
| 154 | |
Simon Glass | f058f15 | 2015-02-05 21:41:38 -0700 | [diff] [blame] | 155 | config CMD_DM |
| 156 | bool "dm - Access to driver model information" |
| 157 | depends on DM |
| 158 | default y |
| 159 | help |
| 160 | Provides access to driver model data structures and information, |
| 161 | such as a list of devices, list of uclasses and the state of each |
| 162 | device (e.g. activated). This is not required for operation, but |
| 163 | can be useful to see the state of driver model for debugging or |
| 164 | interest. |
| 165 | |
| 166 | config CMD_DEMO |
| 167 | bool "demo - Demonstration commands for driver model" |
| 168 | depends on DM |
| 169 | help |
| 170 | Provides a 'demo' command which can be used to play around with |
| 171 | driver model. To use this properly you will need to enable one or |
| 172 | both of the demo devices (DM_DEMO_SHAPE and DM_DEMO_SIMPLE). |
| 173 | Otherwise you will always get an empty list of devices. The demo |
| 174 | devices are defined in the sandbox device tree, so the easiest |
| 175 | option is to use sandbox and pass the -d point to sandbox's |
| 176 | u-boot.dtb file. |
| 177 | |
Masahiro Yamada | 60296a8 | 2014-11-13 19:29:08 +0900 | [diff] [blame] | 178 | config CMD_LOADB |
| 179 | bool "loadb" |
| 180 | help |
| 181 | Load a binary file over serial line. |
| 182 | |
| 183 | config CMD_LOADS |
| 184 | bool "loads" |
| 185 | help |
| 186 | Load an S-Record file over serial line |
| 187 | |
| 188 | config CMD_FLASH |
| 189 | bool "flinfo, erase, protect" |
| 190 | help |
| 191 | NOR flash support. |
| 192 | flinfo - print FLASH memory information |
| 193 | erase - FLASH memory |
| 194 | protect - enable or disable FLASH write protection |
| 195 | |
| 196 | config CMD_NAND |
| 197 | bool "nand" |
| 198 | help |
| 199 | NAND support. |
| 200 | |
| 201 | config CMD_SPI |
| 202 | bool "sspi" |
| 203 | help |
| 204 | SPI utility command. |
| 205 | |
| 206 | config CMD_I2C |
| 207 | bool "i2c" |
| 208 | help |
| 209 | I2C support. |
| 210 | |
| 211 | config CMD_USB |
| 212 | bool "usb" |
| 213 | help |
| 214 | USB support. |
| 215 | |
| 216 | config CMD_FPGA |
| 217 | bool "fpga" |
| 218 | help |
| 219 | FPGA support. |
| 220 | |
| 221 | endmenu |
| 222 | |
| 223 | |
| 224 | menu "Shell scripting commands" |
| 225 | |
| 226 | config CMD_ECHO |
| 227 | bool "echo" |
| 228 | help |
| 229 | Echo args to console |
| 230 | |
| 231 | config CMD_ITEST |
| 232 | bool "itest" |
| 233 | help |
| 234 | Return true/false on integer compare. |
| 235 | |
| 236 | config CMD_SOURCE |
| 237 | bool "source" |
| 238 | help |
| 239 | Run script from memory |
| 240 | |
| 241 | endmenu |
| 242 | |
| 243 | menu "Network commands" |
| 244 | |
| 245 | config CMD_NET |
| 246 | bool "bootp, tftpboot" |
| 247 | help |
| 248 | Network commands. |
| 249 | bootp - boot image via network using BOOTP/TFTP protocol |
| 250 | tftpboot - boot image via network using TFTP protocol |
| 251 | |
| 252 | config CMD_TFTPPUT |
| 253 | bool "tftp put" |
| 254 | help |
| 255 | TFTP put command, for uploading files to a server |
| 256 | |
| 257 | config CMD_TFTPSRV |
| 258 | bool "tftpsrv" |
| 259 | help |
| 260 | Act as a TFTP server and boot the first received file |
| 261 | |
| 262 | config CMD_RARP |
| 263 | bool "rarpboot" |
| 264 | help |
| 265 | Boot image via network using RARP/TFTP protocol |
| 266 | |
| 267 | config CMD_DHCP |
| 268 | bool "dhcp" |
| 269 | help |
| 270 | Boot image via network using DHCP/TFTP protocol |
| 271 | |
| 272 | config CMD_NFS |
| 273 | bool "nfs" |
| 274 | help |
| 275 | Boot image via network using NFS protocol. |
| 276 | |
| 277 | config CMD_PING |
| 278 | bool "ping" |
| 279 | help |
| 280 | Send ICMP ECHO_REQUEST to network host |
| 281 | |
| 282 | config CMD_CDP |
| 283 | bool "cdp" |
| 284 | help |
| 285 | Perform CDP network configuration |
| 286 | |
| 287 | config CMD_SNTP |
| 288 | bool "sntp" |
| 289 | help |
| 290 | Synchronize RTC via network |
| 291 | |
| 292 | config CMD_DNS |
| 293 | bool "dns" |
| 294 | help |
| 295 | Lookup the IP of a hostname |
| 296 | |
| 297 | config CMD_DNS |
| 298 | bool "dns" |
| 299 | help |
| 300 | Lookup the IP of a hostname |
| 301 | |
| 302 | config CMD_LINK_LOCAL |
| 303 | bool "linklocal" |
| 304 | help |
| 305 | Acquire a network IP address using the link-local protocol |
| 306 | |
| 307 | endmenu |
| 308 | |
| 309 | menu "Misc commands" |
| 310 | |
| 311 | config CMD_TIME |
| 312 | bool "time" |
| 313 | help |
| 314 | Run commands and summarize execution time. |
| 315 | |
| 316 | # TODO: rename to CMD_SLEEP |
| 317 | config CMD_MISC |
| 318 | bool "sleep" |
| 319 | help |
| 320 | Delay execution for some time |
| 321 | |
| 322 | config CMD_TIMER |
| 323 | bool "timer" |
| 324 | help |
| 325 | Access the system timer. |
| 326 | |
| 327 | config CMD_SETGETDCR |
| 328 | bool "getdcr, setdcr, getidcr, setidcr" |
| 329 | depends on 4xx |
| 330 | help |
| 331 | getdcr - Get an AMCC PPC 4xx DCR's value |
| 332 | setdcr - Set an AMCC PPC 4xx DCR's value |
| 333 | getidcr - Get a register value via indirect DCR addressing |
| 334 | setidcr - Set a register value via indirect DCR addressing |
| 335 | |
| 336 | endmenu |
Masahiro Yamada | 726ac8e | 2014-09-16 16:33:03 +0900 | [diff] [blame] | 337 | |
Masahiro Yamada | ed36323 | 2014-09-16 16:32:58 +0900 | [diff] [blame] | 338 | endmenu |