u-boot/board/trab
Becky Bruce b57ca3e128 Change bd/gd memsize/ram_size to be phys_size_t.
Currently, both are defined as an unsigned long, but
should be phys_size_t. This should result in no real change,
since phys_size_t is currently an unsigned long for all the
default configs.  Also add print_lnum to cmd_bdinfo to deal
with the potentially wider memsize.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-06-12 00:54:53 +02:00
..
auto_update.c [new uImage] Fix style issue spotted by Wolfgang Denk <wd@denx.org> 2008-03-19 10:00:06 +01:00
cmd_trab.c board/[j-z]*: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 10:48:22 -05:00
config.mk Add support for a saving build objects in a separate directory. 2006-09-01 19:49:50 +02:00
flash.c Fix some bugs in TRAB board flash driver. 2006-07-19 14:13:02 +02:00
lowlevel_init.S Big white-space cleanup. 2008-05-21 00:14:08 +02:00
Makefile Add functions to list of exported functions 2007-08-06 00:45:40 +02:00
memory.c Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
Pt1000_temp_data.h * Patch by Martin Krause, 11 Sep 2003: 2003-09-11 23:06:34 +00:00
README.kbd Initial revision 2002-11-03 00:24:07 +00:00
rs485.c * Patch by Martin Krause, 09 Oct 2003: 2003-10-09 13:16:55 +00:00
rs485.h Move TRAB burn-in tests to TRAB board directory 2003-09-12 15:35:15 +00:00
trab.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
trab_fkt.c board/[j-z]*: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 10:48:22 -05:00
tsc2000.c Fix TRAB channel switching delay for trab_fkt.bin standalone applikation 2006-06-16 16:14:28 +02:00
tsc2000.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
u-boot.lds Fix linker scripts: add NOLOAD atribute to .bss/.sbss sections 2008-01-12 20:31:39 +01:00
vfd.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00

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.