05-29-2018, 04:57 AM
05-30-2018, 02:14 AM
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.
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.
05-30-2018, 10:59 AM
Thanks for the info.
11-08-2018, 07:47 AM
(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.
11-08-2018, 08:17 AM
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:
Download the source codes:
// 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
to
Building Kernel image & relate module:
Install Kernel image & module:
Reboot, and try again with your D2xxx driver?
// Thanks @Craz_tyle's post, the build steps.
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-devDownload the source codes:
Code:
git clone https://github.com/TinkerBoard/debian_kernel.git -b 2.0.7 --depth 1
cd debian_kernelThen 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=yCode:
CONFIG_USB_SERIAL_FTDI_SIO=mBuilding 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-indentationInstall Kernel image & module:
Code:
sudo cp arch/arm/boot/zImage /boot
sudo make ARCH=arm modules_installReboot, and try again with your D2xxx driver?
// Thanks @Craz_tyle's post, the build steps.
11-08-2018, 08:48 AM
thanks a lot. i'll test it.