Skip to contentSkip to conversation

Success: My E55 (9000/856) runs bash-2.04 via PDC

parisc-linux Christoph Plattner 1 participant 3 messages Apr 14, 2001 – Apr 15, 2001

lore
Share & tools
lore
#0 lore raw

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.

Signature · 3 lines
-------------------------------------------------------------------------
private:	[email protected]
company:	[email protected]
#1 lore raw

[parisc-linux] One further step ... success: My E55 (9000/856) runs bash-2.04 via PDC

Quoted 37 lines · Christoph Plattner

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:        [email protected]
company:        [email protected]

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/cgi-bin/mailman/listinfo/parisc-linux

Signature · 3 lines
-------------------------------------------------------------------------
private:	[email protected]
company:	[email protected]
#2 lore raw

[parisc-linux] One further step ... success: My E55 (9000/856) runs bash-2.04 via PDC

In reply to Christoph Plattner

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.

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

Quoted 37 lines · Christoph Plattner

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:        [email protected]
company:        [email protected]

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/cgi-bin/mailman/listinfo/parisc-linux

Signature · 3 lines
-------------------------------------------------------------------------
private:	[email protected]
company:	[email protected]