From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from viemta06.chello.at (viemta06.chello.at [195.34.133.56]) by dsl2.external.hp.com (Postfix) with ESMTP id 1C961482A for ; Sun, 15 Apr 2001 16:18:49 -0600 (MDT) Received: from dot.at ([62.178.92.247]) by viemta06.chello.at (InterMail vK.4.03.02.00 201-232-124 license 6aea1bd1f01aef5a9a73363c16ebee43) with ESMTP id <20010415221847.ONIN27182.viemta06@dot.at> for ; Mon, 16 Apr 2001 00:18:47 +0200 Sender: chris@dsl2.external.hp.com Message-ID: <3ADA1E47.D3C12A7B@dot.at> Date: Mon, 16 Apr 2001 00:18:47 +0200 From: Christoph Plattner MIME-Version: 1.0 To: parisc-linux@lists.parisc-linux.org References: <3AD788DB.2A4A73E2@dot.at> Content-Type: text/plain; charset=us-ascii Subject: [parisc-linux] One further step ... success: My E55 (9000/856) runs bash-2.04 via PDC List-ID: 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