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

Tom Rini trini at ti.com
Fri Oct 26 00:36:05 CEST 2012


On Thu, Oct 25, 2012 at 02:59:50PM -0700, 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.
> 
> Signed-off-by: Allen Martin <amartin at nvidia.com>

Two things.  First, should I or should I not need to have
CONFIG_CONSOLE_MUX set?  If I set it, adding serial=eserial3 to my
default environment switches from eserial0 to eserial3 when we get to
that point in the boot, otherwise I do have to manually setenv serial
eserial3 for anything to happen.  And the second thing, I can't get any
output on the other UART, either way.  It goes away from eserial0 but
nothing ever shows up to eserial3 (the easiest one here to test).

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121025/d17afa93/attachment.pgp>


More information about the U-Boot mailing list