* 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-16 17:23 8xx SMC1 problem Björn Östby
@ 2006-03-16 20:10 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2006-03-16 20:10 UTC (permalink / raw)
To: Björn Östby; +Cc: linuxppc-embedded
In message <004B1D7A5257174C9044A1B7BD0E60ED0178CC68@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 of u-boot (which have the
> console on SMC1) with the argument "console=none".
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=null) in a couple of configurations
and had no problems using SMC1 as standard serial port. Try *not*
undefining CONFIG_SERIAL_CONSOLE.
And please keep your line length < 72 characters or so.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
A committee is a life form with six or more legs and no brain.
-- Lazarus Long, "Time Enough For Love"
^ 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
* Re: 8xx SMC1 problem
2006-03-17 6:55 Björn Östby
@ 2006-03-17 15:25 ` Antonio Di Bacco
0 siblings, 0 replies; 4+ messages in thread
From: Antonio Di Bacco @ 2006-03-17 15:25 UTC (permalink / raw)
To: linuxppc-embedded
I tried directly with console=3D/dev/null and then I was able to use the se=
rial=20
port from an application.
Bye,
Antonio.
On Friday 17 March 2006 07:55, Bj=F6rn =D6stby wrote:
> >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
> >> 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".
> Problem solved!
>
> >And please keep your line length < 72 characters or so.
>
> I'll see to that.
>
>
> Regards,
> Bj=F6rn =F6stby
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
^ 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).