[U-Boot-Users] Choosing serial port for TQM860L

Wolfgang Denk wd at denx.de
Wed Dec 29 11:36:04 CET 2004

In message <3B4CA12D75E3144FBABEEF6CABFD4E1851124C at exchange2000.tera-chip.com> you wrote:
> When running the TQ monitor (MON8xx) on the TQM860L evaluation board,
> the serial console is X19 connector (the first to the edge of the
> board).

MON8xx supports both the SMC1 (X.18 = COM1) and SMC2  (X.19  =  COM2)
ports;  it  automatically selects the port on which you "register" by
pressing enter (and as you probably know it also auto-bauds).

> When running VxWorks on the same board, again the console is X19
> connector.  It is COM1 for the VxWorks.

I have no idea how you configured your port  of  VxWorks,  and  which
names you give to ports there.

> When we run Linux Das U-boot, the console is X18, the middle connector.
> According to the manual this is the way it should be and it is COM1
> again.

Correct. That's how it is configured: both U-Boot and Linux use  SMC1
for the console port, thus you communicate through X.18 or "COM1".

> Can you please clearify the confusion?  How can the monitor and vxworks
> be different from U-boot, regarding which connector is the default
> console?  How can we change the serial port console for U-boot bring up?

This is just a configuration issue. If you want the serial console on
the X.19 conenctor  (i.  e.  on  the  SMC2  port),  then  change  the
configuration  of  U-Boot  (#define  CONFIG_8xx_CONS_SMC2  instead of
CONFIG_8xx_CONS_SMC1)  and  adapt  the  configuration  of  the  Linux
kernel, too (enable CONFIG_CONS_SMC2).

> ------_=_NextPart_001_01C4ED8E.949970DF
> Content-Type: text/html;
> 	charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
> <html>

And please NEVER post HTML to this list!!

Best regards,

Wolfgang Denk

Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Those who will be able to conquer software will be able  to  conquer
the world."                 - Tadahiro Sekimoto, president, NEC Corp.

More information about the U-Boot mailing list