[U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

Stephen Warren swarren at wwwdotorg.org
Fri Oct 26 00:43:53 CEST 2012


On 10/25/2012 03:59 PM, Allen Martin wrote:
> Add a new special environment variable "serial" that allows selection
> of serial device when CONFIG_SERIAL_MULTI is defined.  This replaces
> the existing calls to serial_assign() from cmd_nvedit.c and iomux.c
> that were not doing anything.

So I think this requires (for example) the following environment variables:

stdout=serial
serial=eserial0

Is it possible to allow the following instead:

stdout=eserial0

That way, one could presumably set:

stdout=eserial0,eserial3

and hence allow the use of multiple serial consoles?


More information about the U-Boot mailing list