Help: ICE_DRIVERS_SOL
SUN Solaris ICE-DSP Driver Installation Notes
Load the ICE software tree onto the system. The environment symbol ICEROOT
should be defined pointing to root of this tree.
** NOTE: The environment symbol XMAREA_ICE overrides ICEROOT for X-Midas users.
The driver source files are in the $ICEROOT/drv/sol directory.
To install the driver, follow these steps:
** NOTE: you must be in the /bin/csh to run this **
1. Edit the $ICEROOT/drv/sol/picdrv.conf file to set the card
configuration parameters. Follow the instructions in this file.
If the device does not show up in the /devices directory, reboot
the system with "boot -r" to reconfigure the /devices area. On
Solaris 8 you need to type "dev" at the boot promp to get to the
devices tree (cd to /devices does not work).
Add the contents of $ICEROOT/drv/sol/devlink.tab to /etc/devlink.tab
file. This causes Solaris to create a soft link, "/dev/icepic0", to
the character device in the /devices tree
2. cd to the $ICEROOT/drv/sol directory. If you are using Solaris 2.6,
you will need to edit the icepic script to set the correct compiler
flags. The default is for a Solaris 2.7 64-bit driver. Then type:
./icepic make
to make the driver.
3. To install the driver, type:
./icepic install
This drops the kernel module into the system area.
To load the driver without rebooting the system type:
./icepic start
This script can also be used to stop or restart the driver.
The driver is now installed. At boot time, the system will attach the cards
listed in the picdrv.conf at the address or slot specified. They will show
up in the /dev filesystem as /dev/icepic0, /dev/icepic1 ...
NOTE: if you add or remove cards, the picdrv.conf file will need to be updated
and the driver reloaded. So much for plug-and play on the SUN architecture...
To exercise the cards, use the mid-level driver libraries in the ./lib area of
this software tree. A small test program in the ./test area may be used to run
a series of tests on the card. An X-Midas macro and primitive are also
available to run more diagnostic tests on each card. See test/readme.txt.
X-Midas users should enter this name in the device name slot in the
hardware configuration table as shown in the examples below:
PIC1==ICEPIC,DEVNO=0,IOM=xxx,
PIC2==ICEPIC,DEVNO=1,IOM=xxx,
PIC3==ICEPIC,DEVNO=2,IOM=xxx,
or
PIC1==ICEPIC,PCI-DEV,/dev/icepic0,,,IOM=xxx,
PIC2==ICEPIC,PCI-DEV,/dev/icepic1,,,IOM=xxx,
PIC3==ICEPIC,PCI-DEV,/dev/icepic2,,,IOM=xxx,
See HELP PIC_OPEN for hardware file setup details.