home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!hela.iti.org!cs.widener.edu!icf.hrb.com!els
- From: els@icf.hrb.com (Eric L. Schott)
- Newsgroups: comp.os.vxworks
- Subject: Re: VMEbus slot number (not strictly VxWorks)
- Message-ID: <1992Nov11.145052.19749@icf.hrb.com>
- Date: 11 Nov 92 14:50:52 EST
- References: <1992Nov10.163644.18883@alcatel.ch>
- Distribution: comp.os.vxworks
- Organization: HRB Systems, Inc.
- Lines: 41
-
- In article <1992Nov10.163644.18883@alcatel.ch>, ross@srxvb303.alcatel.ch (David Ross) writes:
- >
- > We're using VxWorks with Heurikon HK80/V960 VMEbus boards, and
- > we want to get rid of the boot parameters required for each
- > node. We can see a way to do this, by adding RARP code to
- > the boot ROM backplane driver (yes, quite a bit of work), but
- > the one boot parameter we can't see how to deal with is the
- > "processor number". This is required so that processor 0 can
- > export some of its local RAM to one of the VME address
- > spaces so that the other boards can use it for the backplane
- > comms, and also so that the other boards can access their
- > own structures in the shared memory (using processor number as
- > an index).
- >
- > So, is there any way a VMEbus board can determine which slot it
- > is in? I'm not too optimistic as the VMEbus specification doesn't
- > provide any "geographical address" signals, but I thought that
- > somebody may have dealt with this before.
-
- The slot 0 board must be system controller. Typically this is also
- processor 0. Some boards have a register which indicates if the
- CPU is the system controller.
-
- One board I have used has a parallel printer port which goes out the
- P2 connecter. We were able to uniquely identify cards by tying the
- pins either high or low.
-
- Yes, the entire concept of NVRAM boot parameters is a pain. This is
- especially true when cards need to be swapped. Even RARP has problems
- here in that the database on the host CPU needs changed when cards move.
- The best approach we have found is to use this printer port to uniquely
- identify each card. This id is broadcast on the network. A daemon
- running on the host the responds with an ethernet packet which has
- the entire boot string. Then cards can be swapped without changing
- any databases.
-
- --
-
- Eric L. Schott, HRB Systems, Inc. 814/238-4311 els@icf.hrb.com
- "As we acquire more knowledge, things do not become more comprehensible
- but more mysterious." Albert Schweitzer, "Paris Notes"
-