CP2102 driver update

bluscape
I'm using prxdist 2011.05 with Mini2440 BSP 2011.05

I would like to update my CP2102 USB Serial Driver.
I've downloaded the latest driver from :
http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx

Looking at the /build-target/linux-2.6.38/drivers/usb/serial It does not
seem like the CP2102 has any dependencies other than the cp2102.c source
file.

What I've done is I made a backup of the old driver source file and copied
the new one.

I've dropped the kernel compilation ptxdist drop kernel.compile and then
re-compiled it but it does not seem like the new cp2102 drivers source was
compiled.

1.) Is this the correct way to update the driver?
2.) How can I ensure that the new source is compiled when compiling the
kernel?

Thank you

bluscape
I've deleted the cp2102.o file, dropped the kernel and now its compiling
the new driver source but it does not succeed. I know I'm not doing it the
correct way so please advice. Thank you.

Dave Festing
Have you done:

ptxdist newpackage src-linux-driver

Try making their example then go back and substitute the source code and
re-build.

I don't know if it will then write over your original driver or ?  I have
only used the ptxdist src-make-prog option.

Also, the [*] and [m] options appear to mean something slightly different
when using PTXdist menuconfig then when using PTXdist kernelconfig.

Good luck

bluscape
Hi Dave,

I'm not sure how to use this command. I get a feeling I need to specify the
driver package somewhere.

I execute "ptxdist newpackage src-linux-driver"

but I get a response:

usage: 'ptxdist newpackage <type>', where type is: ......

bluscape
Ok, its supposed to create a new directory with a driver template. But it
doesn't. Unless I'm looking in the wrong place.

davef
??  Try ptxdist newpackage --help

Try ptxdist newpackage src-make-prog

Also, you have to type the whole command in as driver is inputted as dirver
instead of driver!

davef
local_src

bluscape
okey, typo. It create it. Let me see what I can do.

bluscape
After adding the package, is it configurable? From menuconfig or
kernelconfig? If it is, where in the menu shall I find it? Thanks!

davef
In menuconfig you can choose it and evidently say how you want it built. 
Note my previous comment re my uncertainty about [*] [m}

davef
right at the top of the first page