Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

205
Vistas
Cross compile FTDI VCP Driver for embedded linux arm

I'm trying to cross compile the FTDI VCP Driver for my embedded arch linux arm machine. I downloaded the source files from http://www.ftdichip.com/Drivers/VCP.htm onto my host machine which is running kernel:

2.6.32-54-generic-pae

When running the Makefile, I get errors related to kernel headers, ie: asm/thread_info.h file not found. I realize that this means that my asm symlink is broken, so I tried linking it to

linux-headers-2.6.32-54/include/asm-generic

but the contents of that directory does not include thread_info.h either, which I'm trying to find.

Has anyone cross compiled the FTDI VCP Driver for embedded arch linux arm using Ubuntu as their host and can point me in the right direction? I'm new to building kernel modules and cross compiling and any help would be appreciated.

If anyone requires more information I'd be more than happy to add it.

over 4 years ago · Santiago Trujillo
3 Respuestas
Responde la pregunta

0

Basically u need cross-compile kernel in host x86 machine.

First check the source code is already configured and built if so.

make ARCH=arm menuconfig

window ll appear and enable ftdi in driver .

if source code is clean.

then u need to copy /proc/config.gz file from target machine to host and untar it.

copy to source top folder like `cp config .config'

make ARCH=arm menuconfig

and enable your driver After this make ARCH=arm CROSS_COMPILE=<your tool chain> zImage

e.g make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- zImage

make ARCH=arm CROSS_COMPILE=<your tool chain> modules

e.g make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules

over 4 years ago · Santiago Trujillo Denunciar

0

The FTDI "VCP" driver has been a part of the linux kernel for a good while now. You don't need to download anything, except for the kernel itself. As long as you can cross-compile your kernel, you're all set.

over 4 years ago · Santiago Trujillo Denunciar

0

make ARCH=arm menuconfig

Make and install modules: make modules and make modules_install

Don't forget: insmod usbserial.ko and insmod ftdi_sio.ko if you need to, and depmod -a to have them load after a power cycle.

Don't forget to include your cross compiling chains.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda