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