README.serial_multi 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. The support for multiple serial interfaces as implemented is mainly
  2. intended to allow for modem dial-in / dial-out while still being able
  3. to use a serial console on a (different) serial port.
  4. At the moment, the ports must be split on a SMC and a SCC port on a
  5. 8xx processor; other configurations are not (yet) supported.
  6. Support for hardware handshake has not been implemented yet (but is
  7. in the works).
  8. *) The default console depends on the keys pressed:
  9. - SMC if keys not pressed (modem not enabled)
  10. - SCC if keys pressed (modem enabled)
  11. *) The console can be switched to SCC by any of the following commands:
  12. setenv stdout serial_scc
  13. setenv stdin serial_scc
  14. setenv stderr serial_scc
  15. *) The console can be switched to SMC by any of the following commands:
  16. setenv stdout serial_smc
  17. setenv stdin serial_smc
  18. setenv stderr serial_smc
  19. *) If a file descriptor is set to "serial" then the current serial device
  20. will be used which, in turn, can be switched by above commands.
  21. *) The baudrate is the same for all serial devices. But it can be switched
  22. just after switching the console:
  23. setenv sout serial_scc; setenv baudrate 38400
  24. After that press 'enter' at the SCC console. Note that baudrates <38400
  25. are not allowed on LWMON with watchdog enabled (see CFG_BAUDRATE_TABLE in
  26. include/configs/lwmon.h).