Taskit ARM9 CPU-module with Linux Stamp9261-series Stamp9261 (64F/64R) 542310 Data Sheet

Product codes
542310
Page of 65
Linux Guide
taskit GmbH
setenv - set environment variables
setenv name value
setenv name
Sets the environment variable name to the value value. If the variable already exists, its 
current value is overwritten; if it does not yet exist, it is created. If no value is given, the 
variable is erased (if it exists).
For example: Setting and deleting a new variable
U-Boot> printenv test
## Error: "test" not defined
U-Boot> setenv test Hello
U-Boot> printenv test
test=Hello
U-Boot> setenv test
U-Boot> printenv test
## Error: "test" not defined
run - run commands in an environment variable
run name
The run command runs the environment variable name as if it were a command. This 
makes it possible to store commands in environment variables and create simple boot 
scripts.
For example:
U-Boot> printenv ramcmd
ramcmd=setenv bootargs $(basicargs) initrd=0x$(fileaddr),0x$(filesize)
$(mtdparts);bootm $(kerneladdr)
U-Boot> run ramcmd
## Booting image at 10030000 ...
Image Name: plinux
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 739208 Bytes = 721.9 kB
Load Address: 21000000
Entry Point: 21000000
Verifying Checksum ... OK
OK
Starting kernel ...
11.6.5.  Additional commands
reset - Perform RESET of the CPU
reset
Resets the CPU
coninfo - print console devices and information
Page 63 of 65
Version 1.26
 (2008-04-30)