This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tinker board + ftdi
#1
Does tinker board supports ft2232h d2xx driver? 
(I test it with raspberry pi succesfully.)
Reply
#2
Dear,

It should be support. Since we have enabled ftdi at kernel config.
CONFIG_USB_SERIAL_FTDI_SIO=y
https://github.com/TinkerBoard/debian_kernel/blob/release/arch/arm/configs/miniarm-rk3288_defconfig#L605

Thanks.
Reply
#3
Thanks for the info.
Reply
#4
(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_kernel/blob/release/arch/arm/configs/miniarm-rk3288_defconfig#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.
Reply
#5
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.
[-] The following 1 user Likes Tinker Board's post:
  • Mreza1367
Reply
#6
thanks a lot. i'll test it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)