Jorge Acereda | 15 Dec 13:24 2004
Picon

NetBSD/ofppc on Pegasos asking for boot partition

Hi,

I have NetBSD/ofppc on the Pegasos board at the point where it asks
for a boot partition. It even mounted my ext Gentoo partition :-)

I'll try a NFS mount tonight and will post the results.

Greetings,
  Jorge Acereda

Jochen Kunz | 15 Dec 16:26 2004
Picon

Re: NetBSD/ofppc on Pegasos asking for boot partition

On Wed, Dec 15, 2004 at 01:24:16PM +0100, Jorge Acereda wrote:

> I have NetBSD/ofppc on the Pegasos board at the point where it asks
> for a boot partition. It even mounted my ext Gentoo partition :-)
Are you using the generic OFW drivers or do you have a real PCI
attachment?

If you have a PCI attachment, how did you implement the interrupt
routing?

Is the Pegasos somthing special or is it PReP or CHRP or?
Does the Pegasos have an OpenPIC?

Reason for this questions: I modified the FirePower platform code of
port-ofppc to support the IBM RS/6000 B50 and 43P-150. They are very
similar machines, CHRP with OpenPIC. I think it would be easy to extend
this to a generic support for CHRP machines.

I also have a Motorola PowerStack II. Unfortunately this machine crashes
very early in the boot process. Maybe OFW incompatibilities.

In addition I have a IBM RS/6000 43P-140. This is a PReP machine with
OpenPIC and OFW. It should be easy to support this machine given the
existing PowerStack II and FirePower code. Again, it should be possible
to extend this to support generic PReP machines.

Unfortunately I am not able to boot the 43P-140. Looks like it needs a
very special boot file format.

> I'll try a NFS mount tonight and will post the results.
(Continue reading)

Matt Thomas | 15 Dec 18:33 2004

Re: NetBSD/ofppc on Pegasos asking for boot partition


On Dec 15, 2004, at 7:26 AM, Jochen Kunz wrote:

> On Wed, Dec 15, 2004 at 01:24:16PM +0100, Jorge Acereda wrote:
>
>> I have NetBSD/ofppc on the Pegasos board at the point where it asks
>> for a boot partition. It even mounted my ext Gentoo partition :-)
> Are you using the generic OFW drivers or do you have a real PCI
> attachment?
>
> If you have a PCI attachment, how did you implement the interrupt
> routing?
>
> Is the Pegasos somthing special or is it PReP or CHRP or?
> Does the Pegasos have an OpenPIC?

It uses a Marvell 64360 System Controller.  So the answer is
none of the above.

Jorge Acereda | 15 Dec 17:13 2004
Picon

Re: NetBSD/ofppc on Pegasos asking for boot partition

On Wed, 15 Dec 2004 16:26:22 +0100, Jochen Kunz
<jkunz <at> unixag-kl.fh-kl.de> wrote:
> On Wed, Dec 15, 2004 at 01:24:16PM +0100, Jorge Acereda wrote:
> 
> > I have NetBSD/ofppc on the Pegasos board at the point where it asks
> > for a boot partition. It even mounted my ext Gentoo partition :-)
> Are you using the generic OFW drivers or do you have a real PCI
> attachment?

Generic OFW drivers. Haven't worked on PCI yet.

> Is the Pegasos somthing special or is it PReP or CHRP or?

It is supossed to be CHRP-compliant.

> Does the Pegasos have an OpenPIC?

Nope.

> > I'll try a NFS mount tonight and will post the results.
> I am already at single user with NFS root useing the generic OFW
> drivers. This worked out of the box.

Not in my case. The SmartFirmware has problems with unclaimed memory
(OF_avail reported _all_ the memory). I also had to adjust
openfirmware() to what it was in 1.6.2.

Greetings,
  Jorge Acereda

(Continue reading)

Jorge Acereda | 16 Dec 14:18 2004
Picon

Re: NetBSD/ofppc on Pegasos asking for boot partition

On Wed, 15 Dec 2004 13:24:16 +0100, Jorge Acereda <jacereda <at> gmail.com> wrote:
> Hi,
> 
> I have NetBSD/ofppc on the Pegasos board at the point where it asks
> for a boot partition. It even mounted my ext Gentoo partition :-)
> 
> I'll try a NFS mount tonight and will post the results.

No luck. Most of the time, I get packets from ofnet full of crap (the
whole packet is full of 0xaa). Only from time to time I get the IP
assigned by DHCP, but never got to mount root.

It is really strange. Before fixing ofw_machdep.c to not report the
lower memory used for traps as available, I was able to connect via
IPKDB most of the time (the traps were overwritten by pmap with his
tables) . But now I can't, I get always those 0xaa packets.

See you,
   Jorge Acereda

Matt Sealey | 16 Dec 14:26 2004
Picon

RE: NetBSD/ofppc on Pegasos asking for boot partition


A few small clarifications for Pegasos (someone asked some
questions yesterday).

The Pegasos uses a Marvell Discovery II northbridge. It's not
OpenPIC, it's just like an ordinary i8529-style interrupt
controller as found on any ordinary PC.

As it stands however, the OpenFirmware and hardware is all
CHRP-compliant so you can treat it as that besides.

--

-- 
Matt Sealey <matt <at> genesi.co.uk>
Manager, Genesi, Developer Relations

Jorge Acereda | 16 Dec 16:46 2004
Picon

Re: NetBSD/ofppc on Pegasos asking for boot partition

On Thu, 16 Dec 2004 13:26:37 -0000, Matt Sealey <matt <at> genesi.co.uk> wrote:
> 
> A few small clarifications for Pegasos (someone asked some
> questions yesterday).
> 
> The Pegasos uses a Marvell Discovery II northbridge. It's not
> OpenPIC, it's just like an ordinary i8529-style interrupt
> controller as found on any ordinary PC.
> 
> As it stands however, the OpenFirmware and hardware is all
> CHRP-compliant so you can treat it as that besides.

Is it? From the OpenFirmware standard:

"Memory that cannot be allocated for general purpose use, for example
physical memory on PowerPC systems used for interrupt vectors and
implementation specific areas, shall not appear in the "available"
property of the memory node. A Client Program that needs to use such
memory for its architected purpose must not claim that area prior to
use."

Go to the OF console and list the memory properties. It reports memory
from 0x0 upwards as available. Is that fixed in newer firmware
versions?

As for the SmartFirmware sources, is there any way to get those? I
don't mind signing NDAs if that is required.

Greetings,
  Jorge Acereda
(Continue reading)

Matt Sealey | 16 Dec 16:56 2004
Picon

RE: NetBSD/ofppc on Pegasos asking for boot partition


You already mailed us about the source code. I don't think it's
a matter for this public mailing list. We are discussing it :)

As for the deviation from the standard, why don't you collate
these and mail them to me off-list and I'll forward them to the
engineers and poke them until they are fixed.

It's all well and good to find bugs but if nobody knows about
them but you.. :)

--

-- 
Matt Sealey <matt <at> genesi.co.uk>
Genesi, Manager, Developer Relations

> -----Original Message-----
> From: Jorge Acereda [mailto:jacereda <at> gmail.com]
> Sent: 16 December 2004 15:47
> To: Matt Sealey
> Cc: port-ofppc <at> netbsd.org; port-powerpc <at> netbsd.org
> Subject: Re: NetBSD/ofppc on Pegasos asking for boot partition
> 
> 
> On Thu, 16 Dec 2004 13:26:37 -0000, Matt Sealey <matt <at> genesi.co.uk> wrote:
> > 
> > A few small clarifications for Pegasos (someone asked some
> > questions yesterday).
> > 
> > The Pegasos uses a Marvell Discovery II northbridge. It's not
> > OpenPIC, it's just like an ordinary i8529-style interrupt
(Continue reading)


Gmane