VxWorks


General Info


Licensing Issues

We currently have a developer's license (single-seat) for a Solaris host and PowerPC target (BSPs 2604 and 2304). Note that the MVME2306 board uses a modified 2304 BSP.

The installation CDROM is TDK-12221-ZC-03

Contact People:
Daniel Velex-Rivera (Sales) at (781) 388-2300
Christa Keller (Installation/License Keys) at (510) 749-2455
Dave Seltz (Tech. Questions) at (978) 453-4100


HP-UX/68k

Tornado 1.0.1 and VxWorks 5.3.1 is also installed on the HP workstation (beowolf) under /usr/wind and we have target licenses (boot ROMs and board support packages) for the MVME162FX, MVME162LX, and MVME167 boards.

Startup scripts for VxWorks reside in /home/sanzgiri/vxscript and sample code for VxWorks resides in /home/sanzgiri/vxtools, /home/sanzgiri/vxtools2 and /home/sanzgiri/vxworks

VxTools

VxTools is a library of useful vxworks functions for the MVME 162 and 167 boards written at Fermilab. Here's the manual in PDF format and the code in tar-gzipped form


Solaris/PowerPC

Installation

  1. Insert CDROM in drive, go to the appropriate directory in /cdrom and type "setup"

  2. Provide Name, Company and Installation key. The key is of the form
    xxxxx-xxxxx-xxxxx-xxxxx-xxxxx where x is upper/lower case alphabet or number. It activates the products that were ordered.

  3. Choose from the product list, review permissions (do not install as root, use a generic user e.g. phobos) and install everything in /usr/wind.

    Note that the current installation was done using two installation keys. The first key installed 100-6899-30 Tornado: SPARC Solaris/PowerPC Object and
    100-6984-30 Motorola MVME2604 BSP

    The second key installed
    100-8111-30 Motorola MVME2304 BSP
    100-8587-30 Tornado: All/PowerPC Cumulative Patch 1

  4. To install license, using a temporary license key: this is of the format
    xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xx where x is a number.

    Run "setup -L" from CDROM. Choose "Have license key"and add it to list. Keep license info in the /usr/wind tree.

  5. A permanent license key requires a hostname/IP address. Do this via email, once everything is installed. Run "setup -L" again and choose "send mail to WRS for key". This will generate a host-id based on the hostname/IP address and mail it to WRS. The key should arrive in the mail shortly or contact Christa Keller at (510) 749-2455. This has to be done everytime the IP address changes.

    For reference, this is the license info

    License Type: Node-locked (single-user)
    Host Name: phobosx
    Host Code: xxx/xxxx xxxx xxxx xxxx xxxx
    Feature Name: tgtsvr
    Feature ID: 10
    # of Licenses: 1
    Start date: Wed Apr 8 00:00:00 1998
    No expiration date.
    Key: xxxx xxxx xxxx xxxx xxxx xxxx xxxx x

  6. To run Tornado, start the tornado registry daemon: wtxregd. This is done in the file tornado.start as shown below

    /usr/wind/host/sun4-solaris2/bin/wtxregd -V > /tmp/wtxregd.log &

  7. To set up the environment, source the file tornado.setup which contains:

    setenv WIND_BASE /usr/wind
    setenv WIND_HOST_TYPE sun4-solaris2
    setenv WIND_REGISTRY phobos-srv
    setenv WIND_LMHOST phobos-srv
    setenv PATH $WIND_BASE/host/sun4-solaris2/bin:$PATH
    setenv GCC_EXEC_PREFIX \ $WIND_BASE/host/sun4-solaris2/lib/gcc-lib/
    setenv MANPATH \ /usr/wind/host/man:/usr/wind/target/man:$MANPATH

  8. Run "launch" now!

  9. If launch complains about missing libraries, create links to libXm.so.3 and libXmu.so.4 in /usr/lib

    cd /usr/lib
    ln -s /usr/dt/lib/libXm.so.3 libXm.so.3
    ln -s /usr/openwin/lib/libXmu.so.4 libXmu.so.4

  10. Generic kernel configuration includes (from WindCFG)

    ANSI_ALL
    DEBUG
    LOADER
    NET_SYM_TBL
    PING
    RPC
    SHELL
    SHOW_ROUTINES
    STARTUP_SCRIPT
    STAT_SYM_TBL
    SYM_TBL
    SYM_TBL_SYNC
    TCP_DEBUG
    TELNET
    UNLOADER

  11. Startup scripts are now put in ~phobos/vxscript. The files are of the form startup. and set up the prompt, etc.


Ashutosh Sanzgiri