Kontron MOPSlcdLX Manual do Utilizador Página 28

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 31
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 27
KTD-S0006-B Page 25 JIDA32 Interface
MOPSlcdLX Software Guide
6.8 JIDA32 Linux Programming
Please note that the JIDA32 package does not include full sources. Instead precompiled objects are
provided that can be used to build a JIDA32 package for a certain environment (GCC, kernel, libc).
In order to handle GCC version incompatibilities and different kernel module build environments the
package includes different branches (you can use the GCC_3.x.x subdirectory for GCC 4.x.x compiler ver-
sions).
JIDA32R116_L114 JIDA_USER
GCC_2.x.x
KERNEL_2.2.x_2.4.x
KERNEL_2.2.x_2.4.x
GCC_3.x.x
KERNEL
_
2.6.x
Under each branch four subdirectories can be found:
JidaDrv: Includes the necessary source, library and build files to create the JIDA32 kernel driver
module (jida.ko for kernels 2.6.x, jida.o for kernels 2.2.x and 2.4.x).
JidaLib: Includes the necessary source, library and build files to create the JIDA32 interface
library (libjida.so, libjida.a).
JidaTst: Includes the necessary source and build files to create a simple JIDA32 test application
(jidatst).
JWdogTst: Includes the necessary source and build files to create a simple watchdog test appli-
cation (jwdogtst).
In order to build the JIDA32 kernel driver module (jida.ko/jida.o) you must install the complete kernel
sources for the destination kernel under /usr/src/linux or alternatively provide an environment variable
KERNELDIR that contains the path of the kernel sources.
After installation of the sources please configure, build and install the respective kernel and modules on
your system. Having done so please reboot and start the system using the new kernel.
In order to build the JIDA32 kernel driver, interface library and test applications go to the
./JIDAR116_L114/JIDA_USER/'GCC_VERSION'/'KERNEL_VERSION'
directory and enter 'make all'.
In order to automatically copy the created files to their destination directories please enter 'make install'
afterwards. This will copy the following files:
jida.ko to /lib/modules/$(KERNELRELEASE)/extra/ (for kernel 2.6.x)
or
jida.o to /lib/modules/$(KERNELRELEASE)/misc/ (for kernel 2.2.x/2.4.x)
libjida.so + libjida.a to /usr/lib/
jidatst + jwdogtst to /usr/bin/
jida.h + jwindefs.h to /usr/include/
Vista de página 27
1 2 ... 23 24 25 26 27 28 29 30 31

Comentários a estes Manuais

Sem comentários