Subject: mvme 147S-1
To: None <port-mvme68k@netbsd.org>
From: Henning Kiel <kiel@physik.uni-dortmund.de>
List: port-mvme68k
Date: 01/24/2002 12:29:41
Hello,

I have a MVME 147S-1 board and successfully installed NetBSD 1.5.2.
I have now some questions:

1st) I have several additional boards and don't know what they are for and
     how to use them (if usefull):
MVME 226-1 (Memory board? the 147S-1 has only 4MB!)
MVME 204-2
MVME 319
MVME 130 DOF (Processor board?, what's this good for?)

I already serached www.mot.com and google, but no information there.
I really would like to see the Memory board working (if it is one). I have
read that the 224 is a mem board, but access to it slows the overall
performance down!? Is that fixed with 1.5.2?


2nd) I would like to access the VME bus. I have an ADC card I must access,
     but I don't know how. GCC is installed and works. Does anybody have a
simple sample program on how to access the bus? I have the complete docs
of that ADC card (and someone already wrote a program to read it out using
a PCI-VME interface).
During boot I see that the VME address space is mapped into memory, is
that right?
(
vmepcc0 at pcc0 offset 0x2000: Type 1 VMEchip, scon jumper enabled
vmepcc0: Map#0: 0x00400000 -> A24:400000-ffffff (D32-D8,SUPER,DATA)
vmepcc0: Map#1: 0x01000000 -> A32:01000000-efffffff (D32-D8,SUPER,DATA)
vmepcc0: Map#2: 0xf0000000 -> A24:000000-ffffff (D16-D8,SUPER,DATA)
vmepcc0: Map#3: 0xf1000000 -> A32:f1000000-ff7fffff (D16-D8,SUPER,DATA)
vmepcc0: Map#4: 0xffff0000 -> A16:0000-ffff (D16-D8,SUPER,DATA)
vme0 at vmepcc0
)
 Do I have to use ioctl() or mmap() or the like commands?
I tried to directly write to that mem, but that caused a segfault:

(int)*(0xf0000000) = 0x5555;

Any help is appreciated :-)

Yours,

Dipl.-Phys. Henning Kiel
Lehrstuhl fuer Experimentelle Physik IV
Universitaet Dortmund
Germany

God is real,
unless declared integer.