2) The "preboot" variable is set according to current environment
settings and keys pressed. This is an example:
- TRAB # setenv magic_keys 78
- TRAB # setenv key_magic7 12
- TRAB # setenv key_cmd7 echo ## Taste '7' aktiv ##\;echo
- TRAB # setenv key_magic8 13
- TRAB # setenv key_cmd8 echo ## Taste '8' aktiv ##\;echo
+ TRAB # setenv magic_keys XY
+ TRAB # setenv key_magicX 12
+ TRAB # setenv key_cmdX echo ## Keys 1 + 2 pressed ##\;echo
+ TRAB # setenv key_magicY 13
+ TRAB # setenv key_cmdY echo ## Keys 1 + 3 pressed ##\;echo
- Here "magic_keys=78" means that the "key_magic7" and "key_magic8"
+ Here "magic_keys=XY" means that the "key_magicX" and "key_magicY"
variables will be checked for a match. Each variable "key_magic*"
defines a set of keys. In the our example, if keys 1 and 3 are
- pressed during reset, then "key_magic8" matches, so the "preboot"
- variable will be set to the contents of "key_cmd8":
+ pressed during reset, then "key_magicY" matches, so the "preboot"
+ variable will be set to the contents of "key_cmdY":
- preboot=echo ## Taste '8' aktiv ##;echo
+ preboot=echo ## Keys 1 + 3 pressed ##;echo
3) The TRAB board has optional modem support. When a certain key
combination is pressed on the keyboard at power-on, the firmware