
Intel
®
EP80579 Software Drivers for Embedded Applications on FreeBSD*
September 2009 GSG
Order Number: 320152-005US 25
Runtime Configuration—EP80579 Integrated Processor
make install (this will install the driver for persistency)
The GPIO driver compiles, is installed, and the resulting GPIO.ko file is placed in the
/EP805XX_release/Embedded/build directory.
5.4.2 FreeBSD Module Load/Unload Instructions
Note: This step is not necessary if the make install command above succeeded. This is only
necessary to understand how to load and unload this driver individually.
To load the FreeBSD General Purpose I/O driver, execute the following command from
the directory where the compiled executable resides:
kldload ./gpio.ko
To unload the FreeBSD General Purpose I/O driver, execute the following command:
kldunload gpio.ko
The kldstat command may be used to confirm if a module has been loaded or
unloaded:
kldstat | grep gpio
The output of the kldstat command lists all modules loaded in the system. Look for an
entry titled “gpio”.
5.5 IEEE 1588 Hardware Assist
5.5.1 FreeBSD Compilation Instructions
All source files for the FreeBSD release of IEEE 1588 Hardware Assist driver are located
in the following directory within the FreeBSD compatible EP80579 embedded software
drivers release:
/EP805XX_release/Embedded/src/1588
Compilation of the FreeBSD IEEE 1588 driver separately from the rest of the software
package is possible. Enter the /EP805XX_release/Embedded/src/1588 directory and
execute the following commands:
make clean
make
make install (this will install the driver for persistency)
The IEEE 1588 Hardware Assist driver compiles, is installed, and the resulting
timesync.ko file is placed in the /EP805XX_release/Embedded/build directory.
5.5.2 FreeBSD Module Load/Unload Instructions
Note: This step is not necessary if the make install command above succeeded. This is only
necessary to understand how to load and unload this driver individually.
To load the FreeBSD IEEE 1588 Hardware Assist driver, execute the following command
from the directory where the compiled executable resides:
kldload ./timesync.ko
To unload the FreeBSD IEEE 1588 Hardware Assist driver, execute the following
command:
Comentarios a estos manuales