Yocto 1.5 with FTDI - CGTQMX6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Yocto 1.5 with FTDI - CGTQMX6

Jump to solution
4,317 Views
joshcollins
Contributor II

I have successfully built the 'fsl-image-gui' image and installed it on my cqtqmx6. I require FTDI drivers to be installed to detect a usb device as a serial port. I am unsure how to go about adding these drivers. I have tried modifying my local.conf file with the following line:

PACKAGECONFIG_append_pn = " libftdi"

which didn't seem to do anything. I also tried:

IMAGE_INSTALL_append = " libftdi"

Which caused bitbake to fail with the error: "ERROR: QA Issue: libftdi: The compile log indicates that host include and/or library paths were used."

I don't have a great understanding of knowing how to add more features to my yocto image, and would appreciate any help with enabling FTDI support.

Cheers,

Josh

Labels (3)
1 Solution
2,557 Views
alxdc
Contributor III

Hi Josh,

in order to enable the driver on the Linux Kernel you can change the defconfig file with:

CONFIG_USB_SERIAL=y

CONFIG_USB_SERIAL_FTDI_SIO=y

Regards,

alex

View solution in original post

0 Kudos
3 Replies
2,558 Views
alxdc
Contributor III

Hi Josh,

in order to enable the driver on the Linux Kernel you can change the defconfig file with:

CONFIG_USB_SERIAL=y

CONFIG_USB_SERIAL_FTDI_SIO=y

Regards,

alex

0 Kudos
2,557 Views
joshcollins
Contributor II

Thanks Alex! I had just discovered this myself, it was exactly what I needed!

Cheers,

Josh

2,557 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Josh,

Although FTDI devices are enumerated as Virtual COM Ports, they usually have a custom driver instead of the standard CDC driver. So, you could ask to FTDI if they provide such driver.

Hope this will be useful for you.

Best regards!

/Carlos

0 Kudos