linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 8xx SMC1 problem
@ 2006-03-16 17:23 Björn Östby
  2006-03-16 20:10 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Björn Östby @ 2006-03-16 17:23 UTC (permalink / raw)
  To: linuxppc-embedded

Hello everyone,
I have a question regarding the serial init of ttyS0 on a tqm8xx based =
board (823) in denx kernel 2.4.25.

First of, I have three serial ports (SMC1, SMC2 and SCC3) and they all =
work fine when the console is on SMC1. I have gadgets connected to SMC2 =
and SCC3 and now I need SMC1 for yet another device. So I have undefined =
CONFIG_SERIAL_CONSOLE in the kernel config and I jump out of u-boot =
(which have the console on SMC1) with the argument "console=3Dnone".
When logging in (via telnet) ttyS0 works no more (but S1 and S2 does). =
At random bootups, it is possible to open the port but it is no good for =
read or write.

Can anybody give me some advise on how to enable SMC1 but at the same =
time don't have a console on it?

Regards,
Bj=F6rn

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: 8xx SMC1 problem
@ 2006-03-17  6:55 Björn Östby
  2006-03-17 15:25 ` Antonio Di Bacco
  0 siblings, 1 reply; 4+ messages in thread
From: Björn Östby @ 2006-03-17  6:55 UTC (permalink / raw)
  To: wd; +Cc: linuxppc-embedded

>From: wd@denx.de [mailto:wd@denx.de]
>Sent: den 16 mars 2006 21:10
>To: Bj=F6rn =D6stby
>Cc: linuxppc-embedded@ozlabs.org
>Subject: Re: 8xx SMC1 problem
>
>In message <004Bxxxxx@ratatosk.combitechsystems.com> you wrote
>>
>> First of, I have three serial ports (SMC1, SMC2 and SCC3) and they =
all
>> work  fine when the console is on SMC1. I have gadgets connected to
>> SMC2 and SCC 3 and now I need SMC1 for yet another device. So I have
>> undefined CONFIG_SE RIAL_CONSOLE in the kernel config and I jump out=20
>> of u-boot (which have the console on SMC1) with the argument
>> "console=3Dnone".
>
>And did you make sure that no other process is accessing ttyS0 ?
>
>> When logging in (via telnet) ttyS0 works no more (but S1 and S2 =
does).
>> At r andom bootups, it is possible to open the port but it is no good
>> for read o r write.
>>
>> Can anybody give me some advise on how to enable SMC1 but at the same
>> time don't have a console on it?
>
>We did the same (passing console=3Dnull) in a couple of  configurations =
and
>had  no  problems  >using SMC1 as standard serial port. Try *not* =
undefining
>CONFIG_SERIAL_CONSOLE.
>

Ahh, "console=3Dnull" worked a lot better than "console=3Dnone".=20
Problem solved!

>
>And please keep your line length < 72 characters or so.
>

I'll see to that.


Regards,
Bj=F6rn =F6stby

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

end of thread, other threads:[~2006-03-17 15:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-16 17:23 8xx SMC1 problem Björn Östby
2006-03-16 20:10 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2006-03-17  6:55 Björn Östby
2006-03-17 15:25 ` Antonio Di Bacco

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).