Joerg Anton | 7 Jan 2003 16:18
Picon
Favicon

1.6 Release on Powerstack II

Hello,

and a happy new year.

In the xmas break I have test the 1.6 release on the
Moto Powerstack II. I have get running a single user
shell and I can call some programms like gcc and .. .
The problem is, it is very slow. It need 15 minutes
from mounting root on nfs to the # from the shell.

Is it a problem in my nfs setup (other machines hp700,
hp300 works fine)?
Or is the problem that all accsess to hardware are
trough open firmware calls. At this point there is no
real hardware driver in the ofppc config.

bye joerg

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Weihnachts-Einkäufe ohne Stress! http://shopping.yahoo.de

Jochen Kunz | 7 Jan 2003 18:17
Picon

Re: 1.6 Release on Powerstack II

On 2003.01.07 16:18 Joerg Anton wrote:

> Is it a problem in my nfs setup 
No. 

> Or is the problem that all accsess to hardware are
> trough open firmware calls.
Yes. OFW dosn't provide interrupt handling, so all device drivers are
polled. Therefore the poor IO performance. 

> At this point there is no
> real hardware driver in the ofppc config.
There is support for the Firepower machines only. I use this code as
development bais for the PowerStack II machine dependent code. [1] Most
code can be reused but e.g. the PCI config is completely different on
Firepower and PowerStack II. I figured out that PCI config read / write
stuff today, now I have to implement it... Other nice things as
interrupt handling are still waiting for me. 
So there is somthing going on, but it will take some time to finish. 

[1] My old CS professor said in my 1. semester: "Good programmers write
good code. Very good programmers copy good code." At least I try to be a
very good programmer. ;-) 
--

-- 

tschüß,
         Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/

(Continue reading)

Joerg Anton | 9 Jan 2003 13:39
Picon
Favicon

Re: 1.6 Release on Powerstack II

hello,

> > Or is the problem that all accsess to hardware are
> > trough open firmware calls.
> Yes. OFW dosn't provide interrupt handling, so all
> device drivers are
> polled. Therefore the poor IO performance. 
> 
> > At this point there is no
> > real hardware driver in the ofppc config.
> There is support for the Firepower machines only. I
> use this code as
> development bais for the PowerStack II machine
> dependent code. [1] Most
> code can be reused but e.g. the PCI config is
> completely different on
> Firepower and PowerStack II. I figured out that PCI
> config read / write
> stuff today, now I have to implement it... Other
> nice things as
> interrupt handling are still waiting for me. 
> So there is somthing going on, but it will take some
> time to finish. 
>
Ok, there are many things to do.
First I think, we need the PCI controller, the PCI to
ISA bridge and interrupts working.
Is a documentation from the motherboard available ?
I have found some pdfs from the MTX motherboard. But
this seems to be newer hardware.
(Continue reading)

Jochen Kunz | 9 Jan 2003 14:32
Picon

Re: 1.6 Release on Powerstack II

On Thu, Jan 09, 2003 at 01:39:42PM +0100, Joerg Anton wrote:

> > I figured out that PCI config read / write
> > stuff today, now I have to implement it... 
[It is done now, heading for...]

> > Other nice things as
> > interrupt handling are still waiting for me. 
> > So there is somthing going on, but it will take some
> > time to finish. 
> Ok, there are many things to do.
Well it is not that much. Most things like OpenFirmware interface are 
already there and working (more or less ;-) ). Most time, say 90%,  
I am trying to understand what is going on, how the hardware and 
especially NetBSD kernel internas work.  The actual work is only 
10% of coding. Look at the firepower code. It is 1873 lines of code,
including lots of "generic" stuff like #define REGISTER 0xf.

> First I think, we need the PCI controller, the PCI to
> ISA bridge and interrupts working.
> Is a documentation from the motherboard available ?
The machine is based on the IBM27-82660 chipset. The user's manual is 
on IBMs web site somwhere as 82660_um.pdf. Maybe the Linux kernel source
can be an additional help, as the Penguin already runs on this machine. 
But I found the chipset user's manual more helpfull. 

> Is there a list of devices we must support?
If we have a working PCI attachment, all PCI devices will work automagicly.
--

-- 

(Continue reading)


Gmane