* MPC8260 serial on SCC support
@ 2002-10-22 19:13 Dejan Jovanovic
2002-10-22 19:35 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: Dejan Jovanovic @ 2002-10-22 19:13 UTC (permalink / raw)
To: linuxppc-embedded
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: MPC8260 serial on SCC support
2002-10-22 19:13 MPC8260 serial on SCC support Dejan Jovanovic
@ 2002-10-22 19:35 ` Wolfgang Denk
[not found] ` <006c01c27aac$fda185e0$db00000a@dejanj>
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2002-10-22 19:35 UTC (permalink / raw)
To: Dejan Jovanovic; +Cc: linuxppc-embedded
Dear Dejan,
in message <00c001c279ff$0f8b6450$db00000a@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@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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: MPC8260 serial on SCC support
[not found] ` <006c01c27aac$fda185e0$db00000a@dejanj>
@ 2002-10-23 16:21 ` Hollis Blanchard
2002-10-23 17:44 ` Wolfgang Denk
1 sibling, 0 replies; 4+ messages in thread
From: Hollis Blanchard @ 2002-10-23 16:21 UTC (permalink / raw)
To: Dejan Jovanovic; +Cc: linuxppc-embedded
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: MPC8260 serial on SCC support
[not found] ` <006c01c27aac$fda185e0$db00000a@dejanj>
2002-10-23 16:21 ` Hollis Blanchard
@ 2002-10-23 17:44 ` Wolfgang Denk
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2002-10-23 17:44 UTC (permalink / raw)
To: Dejan Jovanovic; +Cc: linuxppc-embedded
In message <006c01c27aac$fda185e0$db00000a@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@denx.de
Weekends were made for programming. - Karl Lehenbauer
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-10-23 17:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-22 19:13 MPC8260 serial on SCC support Dejan Jovanovic
2002-10-22 19:35 ` Wolfgang Denk
[not found] ` <006c01c27aac$fda185e0$db00000a@dejanj>
2002-10-23 16:21 ` Hollis Blanchard
2002-10-23 17:44 ` Wolfgang Denk
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).