MPC8260 serial on SCC support

2002-10-23 Thread Wolfgang Denk

In message <006c01c27aac$fda185e0$db0a at dejanj> you wrote:
>
> > > Is there support for serial console on SCC for MPC8260 in latest kernel
> > > distributions included in the ELDK or kernel version on the
> ftp://ftp.denx.de?
> >
> > Yes, of course. See arch/ppc/8260_io/uart.c
>
> Serial is configured once I configured CONFIG_CPU86.

Keep in mind that this is a  board-specific  configuration  which  is
intended  for  the MicroSys CPU86 board only. If it actually works on
your hardware you are really, really lucky.

> After the 'starting xinetd' is completed sucessfuly, my serial output is 
> stuck.
> However I can telnet to my board.
> This means that there is some problem with the serial? (maybe 'getc' or
> something like this).

Usually it just means that your console is not where  you  configured
it. For example, on the CPU86 board you include this code:

...
#elif   defined(CONFIG_CPU86)
#define CONFIG_SERIAL_CONSOLE_PORT  2
#else
...

which maps to SCC2. Do you really have your console port on SCC2?


I think it is generally a BAD idea to copy some  board-specific  code
without  checking CAREFULLY what you're doing. You tried, and you got
what you deserved: a non-working system ;-)

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
Weekends were made for programming. - Karl Lehenbauer

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





MPC8260 serial on SCC support

2002-10-23 Thread Hollis Blanchard

Dejan Jovanovic wrote

>
>Now that I boot I get the following output.
>After the 'starting xinetd' is completed sucessfuly, my serial output is stuck.
>However I can telnet to my board.
>This means that there is some problem with the serial? (maybe 'getc' or
>something like this).
>
I suspect you have not enabled a getty on your serial port (see
/etc/inittab). Without that you will not see a login prompt there.

-Hollis


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





MPC8260 serial on SCC support

2002-10-22 Thread Wolfgang Denk

Dear Dejan,

in message <00c001c279ff$0f8b6450$db0a at dejanj> you wrote:
>
> Is there support for serial console on SCC for MPC8260 in latest kernel
> distributions included in the ELDK or kernel version on the ftp://ftp.denx.de?

Yes, of course. See arch/ppc/8260_io/uart.c

> I am using custom MPC8260 board that has serial on SCC. Also I am using ELDK
> with the kernel version linux-2.4.4-2002-08-09.
> I cannot find the SCC serial support.

Please look again.

> I also saw posts with the patches for serial on SCC for MPC8260 and downloaded
> the patch but could not patch the kernel sucesfully.
>
> Is there some other patch for this or how can I include support for this in my
> kernel?

You don't need any patches when using our kernel; it has been  tested
with  up  to  6  x  serial  ports  (2  x SMC, 4 x SCC, for example on
MicroSys CR826/PM826 boards).

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
To the systems programmer,  users  and  applications  serve  only  to
provide a test load.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





MPC8260 serial on SCC support

2002-10-22 Thread Dejan Jovanovic

Hi,

Is there support for serial console on SCC for MPC8260 in latest kernel
distributions included in the ELDK or kernel version on the ftp://ftp.denx.de?
I am using custom MPC8260 board that has serial on SCC. Also I am using ELDK
with the kernel version linux-2.4.4-2002-08-09.
I cannot find the SCC serial support.

I also saw posts with the patches for serial on SCC for MPC8260 and downloaded
the patch but could not patch the kernel sucesfully.

Is there some other patch for this or how can I include support for this in my
kernel?

Thanks in advance.

Dejan Jovanovic


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/