diff options
author | Wolfgang Denk <wd@fifi.denx.de> | 2006-06-16 17:04:45 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@fifi.denx.de> | 2006-06-16 17:04:45 +0200 |
commit | c12cffc543df621c162ba26e012c7f4ab0af496e (patch) | |
tree | a95bf59985f73d892802ad1df0f6227fa68275c3 /doc/README.serial_multi | |
parent | 30a43cc2aeb84dfd96a411fb2da2ff4ab10dcd5a (diff) |
Add support for CONFIG_SERIAL_MULTI on MPC5xxx
Patch by Martin Krause, 8 Jun 2006
This patch supports two serial consoles on boards with
a MPC5xxx CPU. The console can be switched at runtime
by setting stdin, stdout and stderr to the desired serial
interface (serial0 or serial1). The PSCs to be used as
console port are definded by CONFIG_PSC_CONSOLE
and CONFIG_PSC_CONSOLE2.
See README.serial_multi for details.
Diffstat (limited to 'doc/README.serial_multi')
-rw-r--r-- | doc/README.serial_multi | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/README.serial_multi b/doc/README.serial_multi index a8d48fc4d99..40f78159f59 100644 --- a/doc/README.serial_multi +++ b/doc/README.serial_multi @@ -52,3 +52,29 @@ PPC4XX Specific setenv stdout serial0 setenv stderr serial0 setenv stdin serial0 + +MPC5xxx Specific +================ + +Up to two PSCs can be used as console. + +Support for hardware handshake has not been implemented yet. + +*) The first (default) console port is defined by: + #define CONFIG_PSC_CONSOLE <PSC number> + +*) The second (alternative) console port is defined by: + #define CONFIG_PSC_CONSOLE2 <PSC number> + +*) Commands to switch to the second console: + setenv stdout serial1 + setenv stderr serial1 + setenv stdin serial1 + +*) Commands to switch to the first console: + setenv stdout serial0 + setenv stderr serial0 + setenv stdin serial0 + +*) If a file descriptor is set to "serial" then the + current serial device will be used. |