All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] Success: My E55 (9000/856) runs bash-2.04 via PDC
@ 2001-04-13 23:16 Christoph Plattner
  2001-04-15 22:12 ` [parisc-linux] One further step ... success: " Christoph Plattner
  2001-04-15 22:18 ` Christoph Plattner
  0 siblings, 2 replies; 3+ messages in thread
From: Christoph Plattner @ 2001-04-13 23:16 UTC (permalink / raw)
  To: parisc-linux

Hello PA-RISC community.

Again and again I want to have my E55 running Linux, but the problem
is the serial lines (8-port MDP) is a proprietary interface. So I needed
a solution. 

I had the idea to use the PDC console, months ago.
Today hacked a driver (template was serial.c) for a polling PDC device 
driver. I called it pdc_drv.c, the device is "ttyQ0", with MAJOR 30,
MINOR 0
and I use a polling period of 30ms (enough for a serial console i/f).

Because I have not further implemented the internel console i/f for my
driver, I used the hack with the link of
	/dev/console --> /dev/ttyQ0
And my machine boots up via NFS !

Perhaps we can make a "driver" out of this "hack" !

In my driver I also use the hack, I have done for the serial.c, that
with `^\' I can reboot ( machine_restart() ) the computer to work
remote on it !

With friendly regards

	Christoph P.



-- 
-------------------------------------------------------------------------
private:	christoph.plattner@dot.at
company:	christoph.plattner@alcatel.at

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

* [parisc-linux] One further step ... success: My E55 (9000/856) runs bash-2.04 via PDC
  2001-04-13 23:16 [parisc-linux] Success: My E55 (9000/856) runs bash-2.04 via PDC Christoph Plattner
@ 2001-04-15 22:12 ` Christoph Plattner
  2001-04-15 22:18 ` Christoph Plattner
  1 sibling, 0 replies; 3+ messages in thread
From: Christoph Plattner @ 2001-04-15 22:12 UTC (permalink / raw)
  To: parisc-linux

Christoph Plattner wrote:
> 
> Hello PA-RISC community.
> 
> Again and again I want to have my E55 running Linux, but the problem
> is the serial lines (8-port MDP) is a proprietary interface. So I needed
> a solution.
> 
> I had the idea to use the PDC console, months ago.
> Today hacked a driver (template was serial.c) for a polling PDC device
> driver. I called it pdc_drv.c, the device is "ttyQ0", with MAJOR 30,
> MINOR 0
> and I use a polling period of 30ms (enough for a serial console i/f).
> 
> Because I have not further implemented the internel console i/f for my
> driver, I used the hack with the link of
>         /dev/console --> /dev/ttyQ0
> And my machine boots up via NFS !
> 
> Perhaps we can make a "driver" out of this "hack" !
> 
> In my driver I also use the hack, I have done for the serial.c, that
> with `^\' I can reboot ( machine_restart() ) the computer to work
> remote on it !
> 
> With friendly regards
> 
>         Christoph P.
> 
> --
> -------------------------------------------------------------------------
> private:        christoph.plattner@dot.at
> company:        christoph.plattner@alcatel.at
> 
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/cgi-bin/mailman/listinfo/parisc-linux

-- 
-------------------------------------------------------------------------
private:	christoph.plattner@dot.at
company:	christoph.plattner@alcatel.at

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

* [parisc-linux] One further step ... success: My E55 (9000/856) runs bash-2.04 via PDC
  2001-04-13 23:16 [parisc-linux] Success: My E55 (9000/856) runs bash-2.04 via PDC Christoph Plattner
  2001-04-15 22:12 ` [parisc-linux] One further step ... success: " Christoph Plattner
@ 2001-04-15 22:18 ` Christoph Plattner
  1 sibling, 0 replies; 3+ messages in thread
From: Christoph Plattner @ 2001-04-15 22:18 UTC (permalink / raw)
  To: parisc-linux

One further step !

I saw in pdc_cons.c (under arch/parisc/kernel/) that the device
'ttyB'... is
defined for the PDC console. So I changed the driver and added the
driver
as "device" in pdc_cons.c, in the console structure.

So no the thing is accessed in the correct way. The /dev/console is
original
(major=5, minor=1) and not a link to anywhere, and the kernel command
line
has the string "console=ttyB0". (/dev/ttyB0 is major=30, minor=0) !

With friendly regards

	Christoph

PS: I wrote these last mails, because there are some E45/E55 users out
there,
and they are not happy not being able to boot linux. Now there is a way
to use
it via NFS ROOT with the following restrictions:

	- Only port ttyB0 is usable (polling driver, only port 0 console of
MDP)
	- No SCSI support (only NFS ROOT !)
	- nO support of the parallel port.

-------------------------------------------------------------

Christoph Plattner wrote:
> 
> Hello PA-RISC community.
> 
> Again and again I want to have my E55 running Linux, but the problem
> is the serial lines (8-port MDP) is a proprietary interface. So I needed
> a solution.
> 
> I had the idea to use the PDC console, months ago.
> Today hacked a driver (template was serial.c) for a polling PDC device
> driver. I called it pdc_drv.c, the device is "ttyQ0", with MAJOR 30,
> MINOR 0
> and I use a polling period of 30ms (enough for a serial console i/f).
> 
> Because I have not further implemented the internel console i/f for my
> driver, I used the hack with the link of
>         /dev/console --> /dev/ttyQ0
> And my machine boots up via NFS !
> 
> Perhaps we can make a "driver" out of this "hack" !
> 
> In my driver I also use the hack, I have done for the serial.c, that
> with `^\' I can reboot ( machine_restart() ) the computer to work
> remote on it !
> 
> With friendly regards
> 
>         Christoph P.
> 
> --
> -------------------------------------------------------------------------
> private:        christoph.plattner@dot.at
> company:        christoph.plattner@alcatel.at
> 
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/cgi-bin/mailman/listinfo/parisc-linux

-- 
-------------------------------------------------------------------------
private:	christoph.plattner@dot.at
company:	christoph.plattner@alcatel.at

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

end of thread, other threads:[~2001-04-15 22:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-13 23:16 [parisc-linux] Success: My E55 (9000/856) runs bash-2.04 via PDC Christoph Plattner
2001-04-15 22:12 ` [parisc-linux] One further step ... success: " Christoph Plattner
2001-04-15 22:18 ` Christoph Plattner

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.