Tinker Board Forum

Full Version: Tinker board + ftdi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Does tinker board supports ft2232h d2xx driver? 
(I test it with raspberry pi succesfully.)
Dear,

It should be support. Since we have enabled ftdi at kernel config.
CONFIG_USB_SERIAL_FTDI_SIO=y
https://github.com/TinkerBoard/debian_ke...onfig#L605

Thanks.
Thanks for the info.
(05-30-2018, 02:14 AM)Tinker Board Wrote: [ -> ]Dear,

It should be support. Since we have enabled ftdi at kernel config.
CONFIG_USB_SERIAL_FTDI_SIO=y
https://github.com/TinkerBoard/debian_ke...onfig#L605

Thanks.

Hi,
In ftdi website for installing D2xx driver mentioned that ftdio_sio and usbserial modules must unload to open device successfully. the command is rmmod ftdi_sio. when i try to unload those modules, this error appear: "Module ftdi_sio is builtin".
How can i solve this problem?

Thanks.
Hi~

Since our ftdio_sio & usbserial are build-in driver, not as the module driver.
So that may is why you can't dynamic to load or unload...

But you can try to re-compile a new kernel and test it again.

== Build on your TinkerOS ==
Install the dev env. packages:
Code:
sudo apt-get update
sudo apt-get install git-core gitk git-gui device-tree-compiler mtools parted libssl-dev

Download the source codes:
Code:
git clone https://github.com/TinkerBoard/debian_kernel.git -b 2.0.7 --depth 1
cd debian_kernel
// make sure what is your current image version, match is better. (-b {version})

Then modify the Kernel config:
file path: "/arch/arm/configs/miniarm-rk3288_defconfig"

Change "CONFIG_USB_SERIAL_FTDI_SIO" to module type
Code:
CONFIG_USB_SERIAL_FTDI_SIO=y
to
Code:
CONFIG_USB_SERIAL_FTDI_SIO=m

Building Kernel image & relate module:
Code:
make ARCH=arm miniarm-rk3288_defconfig -j4
make ARCH=arm zImage -j4
make ARCH=arm modules -j4 CFLAGS_MODULE=-Wno-misleading-indentation

Install Kernel image & module:
Code:
sudo cp arch/arm/boot/zImage /boot
sudo make ARCH=arm modules_install

Reboot, and try again with your D2xxx driver?

// Thanks @Craz_tyle's post, the build steps.
thanks a lot. i'll test it.