All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* question about open_pic and serial port
@ 2002-10-22 15:23 Yu Bo-BOYU1
  2002-10-22 16:33 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Yu Bo-BOYU1 @ 2002-10-22 15:23 UTC (permalink / raw
  To: linuxppc-embedded


Does the current version Mvista preview 2.1 fully support serial mode of 107
EPIC ?
If so, what is interrupt number for serial mode interrupt 0 of mpc107 ? I
reviewed
the old messages on this list and the open_pic.c and there are some threads
talking
about the first 16 interrupts are reserved for 8259 only. Does that mean
serial mode interrupt
0 match interrupt 16 on open_pic interrupt table ?

Plus, I changed the base address of boot/common/ns16550.c to drive the TI
752 uart.
It appears working before kernel starts. Then it hang. It seems that the
same file (ns16550.c)
is not used after kernel starts. Which serial device driver is used after
kernel starts ?

Starting at 0x800000...

loaded at:     00800000 0089E1BC
zimage at:     00805870 0089AC70
avail ram:     00400000 00800000

Linux/PPC load:
Uncompressing Linux...done.
Now booting the kernel





Thanks.

Bo Yu
Motorola, GTSS
1-817-245-6725


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

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

* Re: question about open_pic and serial port
  2002-10-22 15:23 question about open_pic and serial port Yu Bo-BOYU1
@ 2002-10-22 16:33 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2002-10-22 16:33 UTC (permalink / raw
  To: Yu Bo-BOYU1; +Cc: linuxppc-embedded


On Tue, Oct 22, 2002 at 10:23:20AM -0500, Yu Bo-BOYU1 wrote:

>
> Does the current version Mvista preview 2.1 fully support serial mode of 107
> EPIC ?
> If so, what is interrupt number for serial mode interrupt 0 of mpc107 ? I
> reviewed
> the old messages on this list and the open_pic.c and there are some threads
> talking
> about the first 16 interrupts are reserved for 8259 only. Does that mean
> serial mode interrupt
> 0 match interrupt 16 on open_pic interrupt table ?

The way that things are handled internally are still to offset by 16,
when describing the interrupts.  This is no longer true in the community
tree, but on both trees, all interrupts work, and yes, in the mvista
source, interrupt 16 in the table is OpenPIC interrupt 0.

> Plus, I changed the base address of boot/common/ns16550.c to drive the TI
> 752 uart.
> It appears working before kernel starts. Then it hang. It seems that the
> same file (ns16550.c)
> is not used after kernel starts. Which serial device driver is used after
> kernel starts ?

drivers/char/serial.c is used once the kernel starts.  Is this for some
custom hardware?  If you changed boot/common/ns16550.c directly, I
suspect you did something wrong, as it works with numerous base
addresses.

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

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

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

end of thread, other threads:[~2002-10-22 16:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-22 15:23 question about open_pic and serial port Yu Bo-BOYU1
2002-10-22 16:33 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.