MVME2100

Till Straumann strauman at SLAC.Stanford.EDU
Tue Feb 25 20:20:04 UTC 2003


Joel Sherrill wrote:
> 
> Eric Norum wrote:
> 
>>Sorry to post yet another of these requests.  The hardware I've got to
>>work with keeps changing.
>>
>>Has anyone had success running RTEMS on a Motorola MVME2100 Power PC
>>card?  I don't see any mention of '2100' in the libbsp/powerpc files.
> 
> 

Hmmm - AFAIK, the MVME2100 board features an integrated MPC8240
chipset (60x core). This is different from e.g. the MVME2300
(note that I didn't have the time for a thorough analysis and
I might be wrong with some of the issues):

  - PCI hostbridge probably not Raven compatible.
  - memory controller not Falcon compatible (this should be pretty
    transparent as RTEMS + bootloader assume the firmware sets this
    up).
  - UART is not on the ISA bus (there seems to be no ISA bus at all)
  - same for RTC/NVRAM
  - Irq routing probably not compatible (because there is probably
    no ISA PIC).
  - the essential PCI devices (ethernet + VME bridge) should work
    although the ethernet chip driver IRQ routing problem (PR#361)
    needs to be looked at.
  - CAVEAT: I don't know what 60x core the boards really have. Only
    CPUs >= 604 support TBL replacement in hardware. On lower end
    CPUs you are stuck with 4 BATs (you need 1 for the memory, one
    for the on-board register space, 1 for PCI which leaves you only
    with one more for extra PCI or VME space. I also like to
    write-protect my application's text/rodata segment [corrupting
    those leaves you clueless with a dead, hard-to debug system] -
    you can't do this with BATs)

All of these should not be really hard to address. When preparing
'powerpc/shared' for the SVGM BSP I had to solve pretty much the
same issues. What I did was separating more generic stuff from
device/board specific bits into separate files who can be
'overridden' by a particular BSP (e.g. PCI config space access was
separated from hostbridge detection).

My guess is that it won't work out of the box for MVME2100 but
a skilled person can do the port in a week.

Note that the 'powerpc/shared/bootloader' probably also needs to be ported.

HTH

-- Till.

PS: for a few extra bucks you get a nice VGMD board from Synergy
and a pretty well supported BSP from me :-). The VGMD has a G3 or
G4 CPU giving you more horsepower. It has two PMC slots.

Otherwise, I find the MVME23xx pretty nice.


> Is this one of the first generation MVME PowerPC cards or something 
> recent?  If recent, then turn on all the debugging output options in the
> BSP and try it.  It may only be a matter of adding to the list of 
> constants for the board types.
> 
> There was a 1st generation MVME PowerPC board which is not really
> compatable
> with any of the more recent cards.  If it is that one, there is more
> work
> involved.  I think it is CHRP versus PREP or some such.  Someone will
> hopefully
> know more than I do. :)
> 
> 
>>--
>>Eric Norum                                 norume at aps.anl.gov
>>Advanced Photon Source                     Phone: (630) 252-2793
>>Argonne National Laboratory
> 
> 






More information about the users mailing list