blob: f82bc88a12b4f3bd9aa70373f07628aa3aeb0f17 [file] [log] [blame]
Masahiro Yamadaed363232014-09-16 16:32:58 +09001menu "Command line interface"
Masahiro Yamadaed363232014-09-16 16:32:58 +09002
Masahiro Yamada6c775092014-11-13 19:29:07 +09003config 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
15config SYS_HUSH_PARSER
16 bool
17 help
18 Backward compatibility.
19
Masahiro Yamada60296a82014-11-13 19:29:08 +090020comment "Commands"
21
22menu "Info commands"
23
24config CMD_BDI
25 bool "bdinfo"
26 help
27 Print board info
28
29config CMD_CONSOLE
30 bool "coninfo"
31 help
32 Print console devices and information.
33
34config CMD_LICENSE
35 bool "license"
36 help
37 Print GPL license text
38
39endmenu
40
41menu "Boot commands"
42
43config 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 Yamadadba16972014-09-16 16:33:00 +090049config CMD_BOOTM
Masahiro Yamada60296a82014-11-13 19:29:08 +090050 bool "bootm"
Masahiro Yamadadba16972014-09-16 16:33:00 +090051 default y
52 help
53 Boot an application image from the memory.
54
Masahiro Yamada60296a82014-11-13 19:29:08 +090055config CMD_GO
56 bool "go"
Masahiro Yamadaca05ee92014-09-16 16:33:01 +090057 default y
58 help
Masahiro Yamada60296a82014-11-13 19:29:08 +090059 Start an application at a given address.
60
61config CMD_RUN
62 bool "run"
63 help
64 Run the command in the given environment variable.
65
66config CMD_IMI
67 bool "iminfo"
68 help
69 Print header information for application image.
70
71config CMD_IMLS
72 bool "imls"
73 help
74 List all images found in flash
75
76config CMD_XIMG
77 bool "imxtract"
78 help
79 Extract a part of a multi-image.
80
81endmenu
82
83menu "Environment commands"
Masahiro Yamadaca05ee92014-09-16 16:33:01 +090084
Masahiro Yamadacccee182014-09-16 16:33:02 +090085config CMD_EXPORTENV
Masahiro Yamada60296a82014-11-13 19:29:08 +090086 bool "env export"
Masahiro Yamadacccee182014-09-16 16:33:02 +090087 default y
88 help
89 Export environments.
90
Masahiro Yamada1d5c2012014-09-16 16:33:04 +090091config CMD_IMPORTENV
Masahiro Yamada60296a82014-11-13 19:29:08 +090092 bool "env import"
Masahiro Yamada1d5c2012014-09-16 16:33:04 +090093 default y
94 help
95 Import environments.
96
Masahiro Yamada60296a82014-11-13 19:29:08 +090097config CMD_EDITENV
98 bool "editenv"
99 help
100 Edit environment variable.
101
102config CMD_SAVEENV
103 bool "saveenv"
104 help
105 Run the command in the given environment variable.
106
107endmenu
108
109menu "Memory commands"
110
111config 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
124config CMD_CRC32
125 bool "crc32"
Masahiro Yamada726ac8e2014-09-16 16:33:03 +0900126 default y
127 help
Masahiro Yamada60296a82014-11-13 19:29:08 +0900128 Compute CRC32.
129
130config LOOPW
131 bool "loopw"
132 help
133 Infinite write loop on address range
134
135config CMD_MEMTEST
136 bool "crc32"
137 help
138 Simple RAM read/write test.
139
140config CMD_MX_CYCLIC
141 bool "mdc, mwc"
142 help
143 mdc - memory display cyclic
144 mwc - memory write cyclic
145
146config CMD_MEMINFO
147 bool "meminfo"
148 help
149 Display memory information.
150
151endmenu
152
153menu "Device access commands"
154
Simon Glassf058f152015-02-05 21:41:38 -0700155config 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
166config 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 Yamada60296a82014-11-13 19:29:08 +0900178config CMD_LOADB
179 bool "loadb"
180 help
181 Load a binary file over serial line.
182
183config CMD_LOADS
184 bool "loads"
185 help
186 Load an S-Record file over serial line
187
188config 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
196config CMD_NAND
197 bool "nand"
198 help
199 NAND support.
200
201config CMD_SPI
202 bool "sspi"
203 help
204 SPI utility command.
205
206config CMD_I2C
207 bool "i2c"
208 help
209 I2C support.
210
211config CMD_USB
212 bool "usb"
213 help
214 USB support.
215
216config CMD_FPGA
217 bool "fpga"
218 help
219 FPGA support.
220
221endmenu
222
223
224menu "Shell scripting commands"
225
226config CMD_ECHO
227 bool "echo"
228 help
229 Echo args to console
230
231config CMD_ITEST
232 bool "itest"
233 help
234 Return true/false on integer compare.
235
236config CMD_SOURCE
237 bool "source"
238 help
239 Run script from memory
240
241endmenu
242
243menu "Network commands"
244
245config 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
252config CMD_TFTPPUT
253 bool "tftp put"
254 help
255 TFTP put command, for uploading files to a server
256
257config CMD_TFTPSRV
258 bool "tftpsrv"
259 help
260 Act as a TFTP server and boot the first received file
261
262config CMD_RARP
263 bool "rarpboot"
264 help
265 Boot image via network using RARP/TFTP protocol
266
267config CMD_DHCP
268 bool "dhcp"
269 help
270 Boot image via network using DHCP/TFTP protocol
271
272config CMD_NFS
273 bool "nfs"
274 help
275 Boot image via network using NFS protocol.
276
277config CMD_PING
278 bool "ping"
279 help
280 Send ICMP ECHO_REQUEST to network host
281
282config CMD_CDP
283 bool "cdp"
284 help
285 Perform CDP network configuration
286
287config CMD_SNTP
288 bool "sntp"
289 help
290 Synchronize RTC via network
291
292config CMD_DNS
293 bool "dns"
294 help
295 Lookup the IP of a hostname
296
297config CMD_DNS
298 bool "dns"
299 help
300 Lookup the IP of a hostname
301
302config CMD_LINK_LOCAL
303 bool "linklocal"
304 help
305 Acquire a network IP address using the link-local protocol
306
307endmenu
308
309menu "Misc commands"
310
311config CMD_TIME
312 bool "time"
313 help
314 Run commands and summarize execution time.
315
316# TODO: rename to CMD_SLEEP
317config CMD_MISC
318 bool "sleep"
319 help
320 Delay execution for some time
321
322config CMD_TIMER
323 bool "timer"
324 help
325 Access the system timer.
326
327config 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
336endmenu
Masahiro Yamada726ac8e2014-09-16 16:33:03 +0900337
Masahiro Yamadaed363232014-09-16 16:32:58 +0900338endmenu