Wolfgang Denk 64134f0112 Fix linker scripts: add NOLOAD atribute to .bss/.sbss sections há 17 anos atrás
..
Makefile 8092fef4c2 Add functions to list of exported functions há 18 anos atrás
Pt1000_temp_data.h 4f7cb08ee7 * Patch by Martin Krause, 11 Sep 2003: há 22 anos atrás
README.kbd c609719b8d Initial revision há 23 anos atrás
auto_update.c a4d2636f2a Adapt board configuration and fix kernel crash on MCC200 board. há 18 anos atrás
cmd_trab.c d39b574158 board/[j-z]*: Remove lingering references to CFG_CMD_* symbols. há 18 anos atrás
config.mk f93286397e Add support for a saving build objects in a separate directory. há 19 anos atrás
flash.c 5a3dfef732 Fix some bugs in TRAB board flash driver. há 19 anos atrás
lowlevel_init.S 400558b561 Prepare for SoC rework of ARM code: há 20 anos atrás
memory.c a63c31cff5 Cleanup trab board for GCC-4.x há 19 anos atrás
rs485.c a0ff7f2eda * Patch by Martin Krause, 09 Oct 2003: há 22 anos atrás
rs485.h f5300ab241 Move TRAB burn-in tests to TRAB board directory há 22 anos atrás
trab.c a3d9181e00 Fix compiler warning for TRAB board. há 19 anos atrás
trab_fkt.c d39b574158 board/[j-z]*: Remove lingering references to CFG_CMD_* symbols. há 18 anos atrás
tsc2000.c cebd1fcec0 Fix TRAB channel switching delay for trab_fkt.bin standalone applikation há 19 anos atrás
tsc2000.h 42d1f0394b * Patches by Xianghua Xiao, 15 Oct 2003: há 22 anos atrás
u-boot.lds 64134f0112 Fix linker scripts: add NOLOAD atribute to .bss/.sbss sections há 17 anos atrás
vfd.c d053ce62cd Bugfix in VFD routine on TRAB board. há 19 anos atrás

README.kbd


The TRAB keyboard implementation is similar to that for LWMON and
R360MPI boards. The only difference concerns key naming. There are 4
keys on TRAB: 1, 2, 3, 4.

1) The "kbd" command provides information about the current state of
the keys. For example,

TRAB # kbd
Keys: 1 0 1 0

means that keys 1 and 3 are pressed. The keyboard status is also
stored in the "keybd" environment variable. In this example we get

keybd=1010

2) The "preboot" variable is set according to current environment
settings and keys pressed. This is an example:

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=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_magicY" matches, so the "preboot"
variable will be set to the contents of "key_cmdY":

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
performs the necessary initialization of the modem and allows for
dial-in. The key combination is specified in the
"include/configs/trab.h" file. For example:

#define CONFIG_MODEM_KEY_MAGIC "23"

means that modem will be initialized if and only if both keys 2, 3
are pressed. Note that the format of this string is similar to the
format of "key_magic*" environment variables described above.