public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Serial console for Linux at SCC1?
@ 2003-08-13 11:48 Steven Scholz
  2003-08-13 14:43 ` [U-Boot-Users] " Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Steven Scholz @ 2003-08-13 11:48 UTC (permalink / raw)
  To: u-boot

Hi there,

on my MPC8xx board I use SMC1 as serial console for U-Boot and Linux.

I start linux using these bootargs

setenv bootargs root=/dev/mtdblock0 rw console=ttyS0

Linux tells me
...
CPM UART driver version 0.04
ttyS0 on SMC1 at 0x0280, BRG1
ttyS1 on SMC2 at 0x0380, BRG2
ttyS2 on SCC1 at 0x0000, BRG3
...

Everything is fine.
BUT:
Now I just wanted to set bootargs to "root=/dev/mtdblock0 rw console=ttyS2"
in order to get a Linux console at a different Port.
But it's not working, i.e. I can't see any messages at ttyS2.

Could it be that since I configured U-Boot to use SMC for console, it's not going work
with SCC anyway?

Thanks,

Steven

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] Re: Serial console for Linux at SCC1?
  2003-08-13 11:48 [U-Boot-Users] Serial console for Linux at SCC1? Steven Scholz
@ 2003-08-13 14:43 ` Wolfgang Denk
  2003-08-13 14:56   ` Steven Scholz
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2003-08-13 14:43 UTC (permalink / raw)
  To: u-boot

Dear Steven,

in message <3F3A257A.3070306@imc-berlin.de> you wrote:
> 
> Now I just wanted to set bootargs to "root=/dev/mtdblock0 rw console=ttyS2"
> in order to get a Linux console at a different Port.
> But it's not working, i.e. I can't see any messages at ttyS2.

Maybe you just used a wrong baudrate?

> Could it be that since I configured U-Boot to use SMC for console, it's not going work
> with SCC anyway?

The Linux driver init code is completely independend  from  what  any
bootloader might be doing.

Maybe you should pass a baudrate with the  boot  argument,  something
like "... console=ttyS2,9600 ..." ?

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
There comes to all races an ultimate crisis which  you  have  yet  to
face  ....  One  day  our  minds became so powerful we dared think of
ourselves as gods.
	-- Sargon, "Return to Tomorrow", stardate 4768.3

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] Re: Serial console for Linux at SCC1?
  2003-08-13 14:43 ` [U-Boot-Users] " Wolfgang Denk
@ 2003-08-13 14:56   ` Steven Scholz
  2003-08-13 15:16     ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Steven Scholz @ 2003-08-13 14:56 UTC (permalink / raw)
  To: u-boot

Dear Wolfgang,

> in message <3F3A257A.3070306@imc-berlin.de> you wrote:
> 
>>Now I just wanted to set bootargs to "root=/dev/mtdblock0 rw console=ttyS2"
>>in order to get a Linux console at a different Port.
>>But it's not working, i.e. I can't see any messages at ttyS2.
> 
> 
> Maybe you just used a wrong baudrate?
> 
> 
>>Could it be that since I configured U-Boot to use SMC for console, it's not going work
>>with SCC anyway?
> 
> 
> The Linux driver init code is completely independend  from  what  any
> bootloader might be doing.
> 
> Maybe you should pass a baudrate with the  boot  argument,  something
> like "... console=ttyS2,9600 ..." ?

I tried console=ttyS2,9600 and others.
But even with a scope I can't see signals coming out ... :-(
So I know it's probably a linux question, but please:

Do you know of any (MPC8xx) boards that use SCC1 as serial console under
linuxppc_2_4_devel from your CVS?

BTW U-Boot is working with SCC1 as console!

Steven

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] Re: Serial console for Linux at SCC1?
  2003-08-13 14:56   ` Steven Scholz
@ 2003-08-13 15:16     ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2003-08-13 15:16 UTC (permalink / raw)
  To: u-boot

In message <3F3A518D.8010000@imc-berlin.de> you wrote:
> 
> Do you know of any (MPC8xx) boards that use SCC1 as serial console under
> linuxppc_2_4_devel from your CVS?

No. We never tested such a configuration yet.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Put your Nose to the Grindstone!
                 -- Amalgamated Plastic Surgeons and Toolmakers, Ltd.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-08-13 15:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-13 11:48 [U-Boot-Users] Serial console for Linux at SCC1? Steven Scholz
2003-08-13 14:43 ` [U-Boot-Users] " Wolfgang Denk
2003-08-13 14:56   ` Steven Scholz
2003-08-13 15:16     ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox