linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* SCC2 as console on 8260
@ 2001-02-01  1:52 Konstantin Sabodash
  2001-02-02 16:22 ` Dan Malek
  0 siblings, 1 reply; 3+ messages in thread
From: Konstantin Sabodash @ 2001-02-01  1:52 UTC (permalink / raw)
  To: linuxppc-embedded


I have custom 8260 board.
My bootloader  console works on SCC2(hardware configured).
I modified arch/ppc/mbxboot/m8260_tty.c  and I can see this on my SCC2.


loaded at:     00410000 0041B29C
relocated to:  00400000 0040B29C
board data at: 00400190 004001BC
relocated to:  00200100 0020012C
zimage at:     00416000 00486818
avail ram:     00487000 04000000
Linux/PPC load:
Uncompressing Linux...done.
Now booting the kernel

Next:
I set  in "arch/ppc/8260_io/uart.c"
#define CONFIG_SERIAL_CONSOLE_PORT 2
Is it enough to to make SCC2 main console?
You help is greatly appreciated.


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

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

* Re: SCC2 as console on 8260
  2001-02-01  1:52 SCC2 as console on 8260 Konstantin Sabodash
@ 2001-02-02 16:22 ` Dan Malek
  2001-02-06  5:28   ` Murray Jensen
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Malek @ 2001-02-02 16:22 UTC (permalink / raw)
  To: Konstantin Sabodash; +Cc: linuxppc-embedded


Konstantin Sabodash wrote:

> I set  in "arch/ppc/8260_io/uart.c"
> #define CONFIG_SERIAL_CONSOLE_PORT 2
> Is it enough to to make SCC2 main console?

No. The current 8260 uart.c driver is in pretty bad shape.  I started
making some changes to support exactly what you are asking for, but
didn't yet finish.

	-- Dan

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

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

* Re: SCC2 as console on 8260
  2001-02-02 16:22 ` Dan Malek
@ 2001-02-06  5:28   ` Murray Jensen
  0 siblings, 0 replies; 3+ messages in thread
From: Murray Jensen @ 2001-02-06  5:28 UTC (permalink / raw)
  To: Dan Malek; +Cc: Konstantin Sabodash, linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1204 bytes --]

On Fri, 02 Feb 2001 11:22:55 -0500, Dan Malek <dan@mvista.com> writes:
>Konstantin Sabodash wrote:
>> I set  in "arch/ppc/8260_io/uart.c"
>> #define CONFIG_SERIAL_CONSOLE_PORT 2
>> Is it enough to to make SCC2 main console?
>
>No. The current 8260 uart.c driver is in pretty bad shape.  I started
>making some changes to support exactly what you are asking for, but
>didn't yet finish.
>
>	-- Dan

Maybe this will help. Here are the changes I had to make to the 8260 uart.c
driver for our custom board (Hymod). As well as console working properly on
the SCC port (I use SCC1, but should work on SCC2), I have added support for
KGDB on any serial port (I use KGDB on SCC2). Everything appears to be
running well. The code is still a mess (I tried to keep the changes to a
minimum), but it works for SCC now (at least for me :-). Cheers!
								Murray...

PS: I figured I'd post the diffs here because they were only 8K compressed.
    Is this too big for this list?
--
Murray Jensen, CSIRO Manufacturing Sci & Tech,         Phone: +61 3 9662 7763
Locked Bag No. 9, Preston, Vic, 3072, Australia.         Fax: +61 3 9662 7853
Internet: Murray.Jensen@cmst.csiro.au  (old address was mjj@mlb.dmt.csiro.au)


[-- Attachment #2: linuxppc-8260-uart-diffs.gz --]
[-- Type: application/x-gzip , Size: 7996 bytes --]

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

end of thread, other threads:[~2001-02-06  5:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-01  1:52 SCC2 as console on 8260 Konstantin Sabodash
2001-02-02 16:22 ` Dan Malek
2001-02-06  5:28   ` Murray Jensen

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).