B&B Electronics PC Watchdog Timer Card ATXWDT Dokumentacja Strona 23

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 22
Intel
®
EP80579 Software Drivers for Embedded Applications on FreeBSD*
September 2009 GSG
Order Number: 320152-005US 23
Runtime Configuration—EP80579 Integrated Processor
To load the FreeBSD EDMA driver, execute the following command from the directory
where the compiled executable resides:
kldload ./dma.ko
To unload the FreeBSD EDMA driver execute the following command:
kldunload dma.ko
The kldstat command may be used to confirm if a module has been loaded or
unloaded:
kldstat | grep dma
The output of the kldstat command lists all modules loaded in the system. Look for an
entry titled “dma”.
5.2.3 FreeBSD Sample Codelet
A codelet is provided to demonstrate how a sample application interfaces with the
EDMA driver. This codelet is intended to run on an Intel
®
EP80579 Integrated Processor
with Intel
®
QuickAssist Technology Development Board with FreeBSD installed. The
EP80579 Embedded Software kernel should also be installed, but the codelet works
even if it is not. Run the codelet as follows:
1. Log in as root. Root privileges are required for some of the operations.
2. Open a terminal window, change directory to /EP805XX_release/Embedded/
codelet/EDMA and execute the following C-shell script. Do not move the script to
another location.
[root@localhost ˜]# ./install.csh
The script checks for the EDMA and client drivers, runs all of the makefiles in the
correct order, loads the client driver, and runs the application.
The application and client driver output can be viewed in the terminal window.
3. For information about the EDMA codelet, refer to the Readme document located at
/EP805XX_release/Embedded/codelet/EDMA.
5.3 WDT - Watchdog Timer
5.3.1 FreeBSD Compilation Instructions
All source files for the FreeBSD release of the Watchdog Timer (WDT) driver are located
in the following directory within the FreeBSD compatible EP80579 embedded software
drivers release:
/EP805XX_release/Embedded/src/WDT
Compilation of the FreeBSD WDT driver separately from the rest of the software
package is possible. Enter the /EP805XX_release/Embedded/src/WDT directory and
execute the following commands:
make clean
make
make install (this will install the driver for persistency)
The WDT driver compiles, is installed, and the resulting iwdt.ko file is placed in the
/EP805XX_release/Embedded/build directory.
Przeglądanie stron 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 35 36

Komentarze do niniejszej Instrukcji

Brak uwag