Hi

Firstly, I don't have a device that currently implements the Firmware
Upgrade spec.

I was discussing yesterday with a colleague how to solve a firmware upgrade
on a  mass storage part and we got to talking about what OS's supported the
spec (we were mainly talking about Windows I'm afraid).

But I saw Greg Kroah-Hartman's name in the DFU.C src listing in the spec and
I just got curious if there was a Linux driver in the kernel that I had
missed.
So I was really just asking out of interest.

Having said all that I would like to get my feet wet and write such a
driver, if you felt that the kernel was the place for such an animal.

[Although I'm at the bottom of the learning curve with Linux, I am a windows
device driver engineer and I'm fairly familiar with USB].

But perhaps it sounds like user mode is a better place for a firmware loaded
anyway ?

I'm also not familiar with what that spec says.
I know that we have other products that require firmware downloads.
Currently under windows they work like this;  On 'arrival' they appear as a
VID and PID of XXXX/AAAA, this causes windows to load a firmware download
driver which reads the name of the appropriate firmware file from the
registry and downloads the file contents to the device.  
The device then disconnects, starts up its new firmware and appears with a
new VID and PID YYYY/BBBBB, which will then cause the firmware download
driver to be unloaded and a different driver appropriate to the device to be
loaded in its place.
[NOTE these devices are not using the firmware upgrade spec]

So perhaps something simular could be done on Linux using hotplug.
Again I'm not familiar with the firmware upgrade spec to say at the moment.
Specifically i don't know how a device supporting this class test the host
what firmware should be downloaded to it.
I'll try and read the spec over the next week or so.

Please let me know your thoughts 

thanks
dom


> -----Original Message-----
> From: Brad Hards [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 25, 2002 2:30 AM
> To: Greg KH; Curran, Dominic
> Cc: Linux USB
> Subject: Re: [linux-usb-devel] Device Firmware Upgrade class driver
> exist ?
> 
> 
> On Thu, 25 Apr 2002 12:04, Greg KH wrote:
> > On Wed, Apr 24, 2002 at 09:51:31PM -0500, Curran, Dominic wrote:
> > > Hi
> > >
> > > Simple question.
> > >
> > > Does a driver that conforms to the 'Device Firmware 
> Upgrade 1.0' class
> > > spec exist ?
> >
> > There isn't one currently in the kernel tree, no.  I've heard rumors
> > that one of the ASDL devices supported this, and provided that
> > functionality within their driver, but I haven't seen the 
> code, sorry.
> Thre is a userspace one that uses libusb to implement a 
> vendor extension of 
> DFU on http://at76c503a.sf.net
> 
> You just need to cut out the external load part, and it is 
> "normal" DFU.
> 
> > I would gladly accept one if someone has one around.
> Greg: Isn't the move to keep this sort of stuff out of the 
> kernel? Or would 
> you expect the driver to have a simple "write" char interface 
> that you just 
> dump the firmware image to?
> 
> Dominic: What device do you have using DFU?
> 
> Brad
> 

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to