Richard Danter | 10 Jul 11:32 2005

Which port to use?

Hi All,

I would like to port NetBSD to a new board but it seems there are 
several different PowerPC ports and I am not sure which to start with.

The board contains a MPC7400 with a 107 memory controller using address 
map B (CHRP). The bootloader is U-Boot, which I have almost finished 
porting (it boots from Flash, just need to get the network working).

Any suggestions which of the PPC ports I should start with? Any other 
advice?

Thanks
Rich

Peter Seebach | 10 Jul 11:40 2005
Picon

Re: Which port to use?

In message <42D0EB10.7040501 <at> ntlworld.com>, Richard Danter writes:
>Hi All,
>
>I would like to port NetBSD to a new board but it seems there are 
>several different PowerPC ports and I am not sure which to start with.
>
>The board contains a MPC7400 with a 107 memory controller using address 
>map B (CHRP). The bootloader is U-Boot, which I have almost finished 
>porting (it boots from Flash, just need to get the network working).
>
>Any suggestions which of the PPC ports I should start with? Any other 
>advice?

Which board is it?  Got pointers to spec sheets?  It is theoretically possible
that someone else has already looked at it.

-s

Richard Danter | 10 Jul 11:59 2005

Re: Which port to use?

Peter Seebach wrote:
> In message <42D0EB10.7040501 <at> ntlworld.com>, Richard Danter writes:
> 
>>Hi All,
>>
>>I would like to port NetBSD to a new board but it seems there are 
>>several different PowerPC ports and I am not sure which to start with.
>>
>>The board contains a MPC7400 with a 107 memory controller using address 
>>map B (CHRP). The bootloader is U-Boot, which I have almost finished 
>>porting (it boots from Flash, just need to get the network working).
>>
>>Any suggestions which of the PPC ports I should start with? Any other 
>>advice?
> 
> 
> Which board is it?  Got pointers to spec sheets?  It is theoretically possible
> that someone else has already looked at it.

It is a custom board. All it has is the CPU, 107, 64MB RAM, 4MB Flash 
and a serial interface. There are a couple of PCI slots one of which has 
an Intel EEPro 10/100 network card.

Rich

KIYOHARA Takashi | 10 Jul 15:49 2005
Picon

Re: firewire PMC module

Hi,

From: Kate Feng <feng1 <at> bnl.gov>
Date: Thu, 07 Jul 2005 13:24:52 -0400

> Was it tested on the PCI bus ?  What devices did you use to
> test the  controller ?   Did  anyone  write the code that  follows
> the IIDC 1394-based  digital camera specification ?

see man fwctl(8).  # or fwcontrol(8)

     -R filename
             Receive DV stream and dump it to a file.  Use Ctrl-C to stop the
             receiving.  Some DV cameras seem not to send the stream if a bus
             manager exits.  If you cannot get the stream, try the following
             commands:

                   sysctl hw.ieee1394if.try_bmr=0
                   fwctl -r

             The resulting file contains raw DV data excluding isochronous
             header and CIP header.  It can be handled by libdv in the FreeBSD
             Ports Collection.

--
kiyohara

KIYOHARA Takashi | 11 Jul 19:08 2005
Picon

Re: firewire PMC module

Hi,

From: KIYOHARA Takashi <kiyohara <at> kk.iij4u.or.jp>
Date: Sun, 10 Jul 2005 22:49:50 +0900 (JST)

> From: Kate Feng <feng1 <at> bnl.gov>
> Date: Thu, 07 Jul 2005 13:24:52 -0400
> 
> > Was it tested on the PCI bus ?  What devices did you use to
> > test the  controller ?   Did  anyone  write the code that  follows
> > the IIDC 1394-based  digital camera specification ?
> 
> see man fwctl(8).  # or fwcontrol(8)

Sorry, IIDC 1394-based digital camera is not supported. ;-<

--
kiyohara

Allen Briggs | 12 Jul 06:07 2005
Picon

Re: Which port to use?

On Sun, Jul 10, 2005 at 10:32:00AM +0100, Richard Danter wrote:
> I would like to port NetBSD to a new board but it seems there are 
> several different PowerPC ports and I am not sure which to start with.

I'd probably start with sandpoint or evbppc (which is where sandpoint is
going as soon as I can get to it).

-allen

--

-- 
                  Use NetBSD!  http://www.NetBSD.org/

matthew green | 12 Jul 06:50 2005
Picon

re: Which port to use?


   On Sun, Jul 10, 2005 at 10:32:00AM +0100, Richard Danter wrote:
   > I would like to port NetBSD to a new board but it seems there are 
   > several different PowerPC ports and I am not sure which to start with.

   I'd probably start with sandpoint or evbppc (which is where sandpoint is
   going as soon as I can get to it).

not prep?  i thought it was good for chrp machines?

Allen Briggs | 12 Jul 07:04 2005
Picon

Re: Which port to use?

On Tue, Jul 12, 2005 at 02:50:17PM +1000, matthew green wrote:
>    > I would like to port NetBSD to a new board but it seems there are 
>    > several different PowerPC ports and I am not sure which to start with.
>    
>    I'd probably start with sandpoint or evbppc (which is where sandpoint is
>    going as soon as I can get to it).
> 
> not prep?  i thought it was good for chrp machines?

prep would probably work, too.  I've not used it, myself.  The sandpoint
has a pluggable CPU module, but generally has a 75x or 7xxx CPU with a
107 bridge, so it's a pretty close match to what Richard outlined.

--

-- 
                  Use NetBSD!  http://www.NetBSD.org/

Richard Danter | 12 Jul 09:51 2005

Re: Which port to use?

Allen Briggs wrote:
> On Tue, Jul 12, 2005 at 02:50:17PM +1000, matthew green wrote:
> 
>>   > I would like to port NetBSD to a new board but it seems there are 
>>   > several different PowerPC ports and I am not sure which to start with.
>>   
>>   I'd probably start with sandpoint or evbppc (which is where sandpoint is
>>   going as soon as I can get to it).
>>
>>not prep?  i thought it was good for chrp machines?
> 
> 
> prep would probably work, too.  I've not used it, myself.  The sandpoint
> has a pluggable CPU module, but generally has a 75x or 7xxx CPU with a
> 107 bridge, so it's a pretty close match to what Richard outlined.
> 

Should I be creating a whole new port, or aim just to make a variation 
on an existing port such as the evbppc?

Thanks
Rich

Jochen Kunz | 12 Jul 10:35 2005
Picon

Re: Which port to use?

On Tue, 12 Jul 2005 14:50:17 +1000
matthew green <mrg <at> eterna.com.au> wrote:

> not prep?  i thought it was good for chrp machines?
The memory maps of PReP and CHRP differ. The PReP memory map is
hardcoded into src/sys/arch/prep/include/bus.h. Richard wrote that his
system uses a CHRP map. So he can't use port-prep without breaking
support for all other PReP machines. Also: port-prep needs the Residual
Data that only (?) a PReP firmware supplies. 

port-evbppc seems to be the best home for Richards system.
--

-- 

tschüß,
       Jochen

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


Gmane