To whom it may concern,
I would like to add the usbserial and cp210x modules to the quickstart board image.
Does anyone know hot to do this?
I'm running the imx53 quickstart board, no special attachements (hdmi or display); just the board.
I'm trying to get a simple usb to serial chip functioning.
The chip is a cp2102 that is supported by the usbserial and cp210x modules built in to most kernels.
However, the quickstart board image does not have these modules installed.
Any help would be vastly appreciated.
I too am trying to get ftdi_sio included, but after following the above, I don't find the ftdi_sio.ko being built (I see an ftdi_sio.o_
Being new to linux/ltib, not sure what is happening. I did expect to find the ftdi_sio.ko being built
Is there a way to build the ko from the command line?
I went ahead and did that with the 11.05 package. It now works great thanks!
Do exactly as Luis suggested. Download the 11.05 source package.
Then update the LTIB (or start from 11.05)
Then run ./ltib --selectype "Just to make sure your getting the imx5 series' select which ever release, I did the minimum.
hit exit then ok
On the next screen just make sure you select configure kernel.
exit, then ok
Next screen pops up and your configuring your kernel.
Select device drivers
then usb support make sure that has a *
Then go to usb serial
make sure the generic is * and then your ftdi_sio module is *.
I am using BSP 11.03 and 11.05 kernels with Ubuntu rootfs. Both kernels build fine with USB-serial modules build-in [*]
Reflash kernel is very fast with dd in SD card and you don't need to change uboot or rootfs.
Interesting, i was just trying to do quite the same thing.
I'm using the stock Ubuntu that comes with the i.mx53QSB, i wanted to compile the ftdi_sio module since it's not built-in in the custom kernel that comes with the OS.
Is there a way i can do it and avoid to download tons of stuff/reflash the kernel? I tried tricking the kernel installing some 2.6.35 headers from apt and compiling the few files that make the ftdi_sio module, but no luck so far (does not want to compile it, probably not board-related, there's something i am missing at the build-an-out-of-tree-module level)
I've actually tried that several times. I keep getting a module incompatibility.
When I type insmod usbserial
I get module incorrect format
I've typed in modprobe -f usbserial with no avail.
I've tried typing in the cmd without the force command.
I've also tried insmod as well.
The mod info has the same kernel version.
I'm not really sure what to do I've wrote a new uboot and uimage several times.
I have not tested CP210x, but I use FTDI USB to serial device. The procedure is the same:
Select [*] Configure Kernel
In the Kernel config:
Device drivers -> USB Support ->USB Serial Converter support->
* USB Generic Serial Driver
* Modem ACM is selected by default
*I don't have my Linux box with me right now, but if I remember well, CP210x are in the list to select.
Update your kernel in SD card:
sudo dd if= uImage of=/dev/sdb bs=512 seek=2048 && sync && sync