Download EMU Software Manual

Transcript
III.
Device Drivers
This section describes how to install the device drivers that are required for Emu to communicate with a
Dini Group board over certain interfaces. Source code is included for all device drivers, though it is
unusual that anyone would want to modify the provided drivers. On Windows, drivers are required for
PCIe and USB connectivity. On Linux, only PCIe requires a custom driver, but USB also has specific
requirements- see below for details. Ethernet requires only that standard network drivers have been
installed for your network card. If your computer can access an office network or internet connection,
then it is ready to access a Dini Group board over Ethernet.
Windows: PCIE
Install the board into the PCIe slot, or connect the PCIe cable to the cable adapter card. Be sure that all
required power connectors are connected (see board user manual for more information). Boot up the
machine and let plug-and-play detect the board and prompt for a driver. Specify the driver location as:
[Customer Support Package]\Host_Software\[version]\Software\emu\Drivers\windows_pci
Allow the driver installation to complete. The board is now ready for use with Emu.
Note: If this interface uses an iPass cable connection on your board, then the host PC must be powered
before the Dini board is powered on, to satisfy the Marvell CPU requirement that the PCIe ref clock is
present at power on. Once the Dini board is powered on, then the host PC must be rebooted so that it
will correctly enumerate the Marvell CPU at the start of the boot sequence.
Windows: PCIEDIRECT
Typically a PCIe cable card is required for this interface, consult the board’s user manual or contact
[email protected] for more information. The board must be powered on and allowed to boot
BEFORE the host PC is turned on, because the board is not able to be enumerated until the configFPGA
is configured. Once the board is up, power on the host PC and let plug-and-play detect the board and
prompt for a driver. Specify the driver location as:
[Cusomter Support Package]\Host_Software\[version]\Software\AETest\wdmdrv\drv
Allow the driver installation to complete. The board is now ready for use with Emu.
See the chapter dedicated to the PCIEDIRECT connection for more details.
Windows: USB
Boot up the windows machine without the board connected. Power on the Dini Group board and allow
the processor to boot (wait about 1 minute). Connect the USB cable to the windows machine. Windows
plug-and-play will detect the device and prompt for a driver. Specify the driver location as:
[Customer Support Package]\Host_Software\[version]\Software\emu\Drivers\windows_usb
Allow the driver installation to complete. The board is now ready for use with Emu.
Linux: PCIE
Install the board into the PCIe slot, or connect the PCIe cable to the cable adapter card. Be sure that all
required power connectors are connected (see board user manual for more information). Boot up the
machine. Find the linux driver and source at:
[Customer Support Package]/Host_Software/[version]/Software/emu/Drivers/linux_pci
There is a “README.txt” file there that describes how to build the driver for your linux distribution, and
how to load and unload the driver once it is built. It is up to you to determine the appropriate place to
source “dndev_load.sh” if you want your system to load the device driver on system startup.
Note: If this interface uses an iPass cable connection on your board, then the host PC must be powered