Specifications

run var [...]
- run the commands in the environment variable(s) 'var'
=>
You can use U-Boot environment variables to store commands and even sequences of commands. To execute
such a command, you use the run command:
=> setenv test echo This is a test\;printenv ipaddr\;echo Done.
=> printenv test
test=echo This is a test;printenv ipaddr;echo Done.
=> run test
This is a test
ipaddr=192.168.20.33
Done.
=>
You can call run with several variables as arguments, in which case these commands will be executed in
sequence:
=> setenv test2 echo This is another Test\;printenv hostname\;echo Done.
=> printenv test test2
test=echo This is a test;printenv ipaddr;echo Done.
test2=echo This is another Test;printenv hostname;echo Done.
=> run test test2
This is a test
ipaddr=192.168.20.33
Done.
This is another Test
hostname=m28
Done.
=>
If a U-Boot variable contains several commands (separated by semicolon), and one of these commands
fails when you "run" this variable, the remaining commands will be executed anyway.
If you execute several variables with one call to run, any failing command will cause "run" to terminate, i.
e. the remaining variables are not executed.
5.9.6.5. bootd - boot default, i.e., run 'bootcmd'
=> help bootd
bootd - boot default, i.e., run 'bootcmd'
Usage:
bootd
=>
The bootd (short: boot) executes the default boot command, i. e. what happens when you don't interrupt
the initial countdown. This is a synonym for the run bootcmd command.
5.9.7. Flattened Device Tree support
U-Boot is capable of quite comprehensive handling of the flattened device tree blob, implemented by the fdt
family of commands:
=> help fdt
fdt - flattened device tree utility commands
Usage:
5.9.7. Flattened Device Tree support 66