SCC1 as serial console

Ladislav Klenovi? lk99336 at pobox.sk
Tue May 23 01:10:59 EST 2006


>-----P?vodn? spr?va-----
>Od: Laurent Pinchart [mailto:laurent.pinchart at tbox.biz]
>Odoslan?: 22. m?ja 2006 14:12
>Komu: linuxppc-embedded at ozlabs.org
>Predmet: Re: SCC1 as serial console
>
>
>Hi Ladislav,
>
>> can anybody help me to setup the SCC1 port as serial console on MPC860 with
>> kernel 2.6.15.4? I would like to use it as system console during the
>> booting proccess. I can not get any output on serial console during booting
>> proccess, I use uboot.
>
>Does SCC1 work correctly in U-Boot ? If not, you should fix that first. I'll
>assume it does.

Yes, it works fine for kernel 2.4.22.

>There are many issues which could lead to a silent serial console. The serial
>port could be misconfigured, or the kernel could crash for another reason
>before the serial port is initialized.

I did a little experiment, I turn off the root file system so my kernel(system,..) restart 
after 180 seconds. When there was something wrong the there wasn't  system restart.
But, ofcourse I CAN NOT be sure that this selince is due an another error or I just can 
not see the output.

>Have you been able to get a serial console on another serial port (SMC) ? Are
>the clock frequencies computed by U-Boot and passed to the Linux kernel
>correct ?

Please can you explain how to get thi serial to SMC?

>
>Do you have a hardware debugger (BDI2000) that you can connect to the
>processor to see if Linux crashes before initializing the serial port ? If
>not, you will probably have to take a try at led-debugging (make some leds
>blink at various point in the Linux kernel to try to find out what happens),
>but that's really no fun.
>
No I don't have any :(

Ladislav Klenovic_______________________________________________
>Linuxppc-embedded mailing list
>Linuxppc-embedded at ozlabs.org
>https://ozlabs.org/mailman/listinfo/linuxppc-embedded






More information about the Linuxppc-embedded mailing list