The "env" command is the recommended environment management command, its "set" subcommand is the equivalent replacement for legacy "setenv" command. Update the documentation to use the contemporary "env set" command instead of legacy "setenv" command. Note that the "setenv" command is unlikely to be removed from U-Boot in the near future due to it being integral part of the command line ABI. Implemented using: $ sed -i 's@\<setenv\>@env set@g' $(git grep -li '\<setenv\>' doc/) README Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
55 lines
1.7 KiB
Plaintext
55 lines
1.7 KiB
Plaintext
The support for multiple serial interfaces as implemented is mainly
|
|
intended to allow for modem dial-in / dial-out while still being able
|
|
to use a serial console on a (different) serial port.
|
|
|
|
MPC8XX Specific
|
|
===============
|
|
At the moment, the ports must be split on a SMC and a SCC port on a
|
|
8xx processor; other configurations are not (yet) supported.
|
|
|
|
Support for hardware handshake has not been implemented yet (but is
|
|
in the works).
|
|
|
|
*) The default console depends on the keys pressed:
|
|
- SMC if keys not pressed (modem not enabled)
|
|
- SCC if keys pressed (modem enabled)
|
|
|
|
*) The console can be switched to SCC by any of the following commands:
|
|
|
|
env set stdout serial_scc
|
|
env set stdin serial_scc
|
|
env set stderr serial_scc
|
|
|
|
*) The console can be switched to SMC by any of the following commands:
|
|
|
|
env set stdout serial_smc
|
|
env set stdin serial_smc
|
|
env set stderr serial_smc
|
|
|
|
*) If a file descriptor is set to "serial" then the current serial device
|
|
will be used which, in turn, can be switched by above commands.
|
|
|
|
*) The baudrate is the same for all serial devices. But it can be switched
|
|
just after switching the console:
|
|
|
|
env set sout serial_scc; env set baudrate 38400
|
|
|
|
After that press 'enter' at the SCC console. Note that baudrates <38400
|
|
are not allowed on LWMON with watchdog enabled (see CFG_SYS_BAUDRATE_TABLE in
|
|
include/configs/lwmon.h).
|
|
|
|
|
|
PPC4XX Specific
|
|
===============
|
|
*) The default console is UART0
|
|
|
|
*) The console can be switched to UART1 by any of the following commands:
|
|
env set stdout serial1
|
|
env set stderr serial1
|
|
env set stdin serial1
|
|
|
|
*) The console can be switched to UART0 by any of the following commands:
|
|
env set stdout serial0
|
|
env set stderr serial0
|
|
env set stdin serial0
|