All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] Qn on Linux/PA-RISC future Console driver
@ 1999-04-07  3:06 Kumar
  0 siblings, 0 replies; 5+ messages in thread
From: Kumar @ 1999-04-07  3:06 UTC (permalink / raw)
  To: parisc-linux; +Cc: kumar


Hi,
	Has anyone done some work on Linux/PA-RISC Console driver.
	Are we planning to use PDC for console or is it possible
	to directly access Console device. 

					-kumar

	

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

* Re: [parisc-linux] Qn on Linux/PA-RISC future Console driver
@ 1999-04-07 18:05 Jason Eckhardt
  1999-04-07 19:47 ` Grant Grundler
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jason Eckhardt @ 1999-04-07 18:05 UTC (permalink / raw)
  To: kumar, parisc-linux


>
> Hi,
> 	Has anyone done some work on Linux/PA-RISC Console driver.
> 	Are we planning to use PDC for console or is it possible
> 	to directly access Console device. 
>

  I believe HP-UX uses the STI ROM interface rather than going
  through the IODC interface (i.e. like the bootstrap), although an HP person
  can tell us positively.
  It doesn't seem we could get very good performance through IODC console calls
  due to the setup involved when calling it from an virtually addressed OS 
  (switching to real mode, etc). Also, I believe that IODC is not re-entrant.
  I don't know if the STI ROM has the same restrictions.
  
  It would be nice to have direct access to the console device (although it
  is more work), but as of
  yet we have no console device-specific documentation (or even the STI ROM
  i/f for that matter).

  Jason.

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

* Re: [parisc-linux] Qn on Linux/PA-RISC future Console driver
  1999-04-07 18:05 [parisc-linux] Qn on Linux/PA-RISC future Console driver Jason Eckhardt
@ 1999-04-07 19:47 ` Grant Grundler
  1999-04-07 20:18 ` Don Dyer
  1999-04-07 21:43 ` Bill Katz
  2 siblings, 0 replies; 5+ messages in thread
From: Grant Grundler @ 1999-04-07 19:47 UTC (permalink / raw)
  To: parisc-linux

>
> Hi,
> 	Has anyone done some work on Linux/PA-RISC Console driver.
> 	Are we planning to use PDC for console or is it possible
> 	to directly access Console device. 

The GSC and PCI RS-232 consoles are managed by asio0 (tty) driver.
Not clear on HP-PB (SIO driver environment - not WSIO) or graphics consoles.

grant

Grant Grundler
Enterprise Systems Technology Lab
+1.408.447.7253

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

* Re: [parisc-linux] Qn on Linux/PA-RISC future Console driver
  1999-04-07 18:05 [parisc-linux] Qn on Linux/PA-RISC future Console driver Jason Eckhardt
  1999-04-07 19:47 ` Grant Grundler
@ 1999-04-07 20:18 ` Don Dyer
  1999-04-07 21:43 ` Bill Katz
  2 siblings, 0 replies; 5+ messages in thread
From: Don Dyer @ 1999-04-07 20:18 UTC (permalink / raw)
  To: Jason Eckhardt; +Cc: kumar, parisc-linux



Jason Eckhardt wrote:
> 
> >
> > Hi,
> >       Has anyone done some work on Linux/PA-RISC Console driver.
> >       Are we planning to use PDC for console or is it possible
> >       to directly access Console device.
> >
> 
>   I believe HP-UX uses the STI ROM interface rather than going
>   through the IODC interface (i.e. like the bootstrap), although an HP person
>   can tell us positively.

  IODC uses STI to access the graphics device.  This removes graphics
device dependencies in IODC and allows any graphics device (including
unknown or new devices) to be used as the text only boot device.

Don Dyer
Workstation Systems Lab
+1 970/898-4277

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

* Re: [parisc-linux] Qn on Linux/PA-RISC future Console driver
  1999-04-07 18:05 [parisc-linux] Qn on Linux/PA-RISC future Console driver Jason Eckhardt
  1999-04-07 19:47 ` Grant Grundler
  1999-04-07 20:18 ` Don Dyer
@ 1999-04-07 21:43 ` Bill Katz
  2 siblings, 0 replies; 5+ messages in thread
From: Bill Katz @ 1999-04-07 21:43 UTC (permalink / raw)
  To: parisc-linux

> 
> >
> > Hi,
> > 	Has anyone done some work on Linux/PA-RISC Console driver.
> > 	Are we planning to use PDC for console or is it possible
> > 	to directly access Console device. 
> >
> 
>   I believe HP-UX uses the STI ROM interface rather than going
>   through the IODC interface (i.e. like the bootstrap), although an HP person
>   can tell us positively.

That is correct.  The HPUX kernel uses the STI interface which involves
loading a set of routines out of the ROM into memory. (The STI ROM
is not execute in place.  In fact on older SGC based systems, it
is a byte wide ROM attached to a 32 bit bus...  In some later systems
[e.g. 712] the "STI ROM" is an image that is compiled into the main
bootrom).  The kernel uses the standard PS2 or HIL driver for the
console.  (In HP-UX land this is called the ITE or Internal Terminal
Emulator.)


>   It doesn't seem we could get very good performance through IODC console calls
>   due to the setup involved when calling it from an virtually addressed OS 
>   (switching to real mode, etc). Also, I believe that IODC is not re-entrant.
>   I don't know if the STI ROM has the same restrictions.

You just need the ability to allocate code space in the kernel, unpack the
ROM, and then jump to the routines.  When I ported this to another OS 
the challenge was getting the page permissions set to allow execution of
a malloc'd region.  The code is relocatable, and can be run in the 
virtually addressed kernel.

>   
>   It would be nice to have direct access to the console device (although it
>   is more work), but as of
>   yet we have no console device-specific documentation (or even the STI ROM
>   i/f for that matter).

You don't want to have to have code to talk to all the possible devices
(and potential new devices) compiled into the kernel.  That's the beauty 
of STI.  Plop a newly released graphics card in a system, and the card
carries its STI ROM so that the kernel doesn't necessarily need
to be upgraded.  Of course the X server has to know about any new
device.

As for STI documentation, The only docs that exist are ancient, and
about 4 revs of hardware out of date.  The engineer that maintains
this told me he intended to bring the docs up to date for the Linux
project, and then feed them through the  appropriate channels for
release.

	-Bill

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

end of thread, other threads:[~1999-04-07 21:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-07 18:05 [parisc-linux] Qn on Linux/PA-RISC future Console driver Jason Eckhardt
1999-04-07 19:47 ` Grant Grundler
1999-04-07 20:18 ` Don Dyer
1999-04-07 21:43 ` Bill Katz
  -- strict thread matches above, loose matches on Subject: below --
1999-04-07  3:06 Kumar

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.