README.serial_multi 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. MPC8XX Specific
  5. ===============
  6. At the moment, the ports must be split on a SMC and a SCC port on a
  7. 8xx processor; other configurations are not (yet) supported.
  8. Support for hardware handshake has not been implemented yet (but is
  9. in the works).
  10. *) The default console depends on the keys pressed:
  11. - SMC if keys not pressed (modem not enabled)
  12. - SCC if keys pressed (modem enabled)
  13. *) The console can be switched to SCC by any of the following commands:
  14. setenv stdout serial_scc
  15. setenv stdin serial_scc
  16. setenv stderr serial_scc
  17. *) The console can be switched to SMC by any of the following commands:
  18. setenv stdout serial_smc
  19. setenv stdin serial_smc
  20. setenv stderr serial_smc
  21. *) If a file descriptor is set to "serial" then the current serial device
  22. will be used which, in turn, can be switched by above commands.
  23. *) The baudrate is the same for all serial devices. But it can be switched
  24. just after switching the console:
  25. setenv sout serial_scc; setenv baudrate 38400
  26. After that press 'enter' at the SCC console. Note that baudrates <38400
  27. are not allowed on LWMON with watchdog enabled (see CONFIG_SYS_BAUDRATE_TABLE in
  28. include/configs/lwmon.h).
  29. PPC4XX Specific
  30. ===============
  31. *) The default console is UART0
  32. *) The console can be switched to UART1 by any of the following commands:
  33. setenv stdout serial1
  34. setenv stderr serial1
  35. setenv stdin serial1
  36. *) The console can be switched to UART0 by any of the following commands:
  37. setenv stdout serial0
  38. setenv stderr serial0
  39. setenv stdin serial0