Subject: Re: Firmware upload - generalize it?
To: Jachym Holecek <>
From: Martin Husemann <>
List: tech-kern
Date: 05/28/2005 17:48:36
On Sat, May 28, 2005 at 05:44:21PM +0200, Jachym Holecek wrote:
>   1. upon open(), boot sequence is initiated
>   2. successive writes load data, checking for CRC error from device
>   3. close() checks for success acknowledgement from device

Nice - you could even ad a flag to the registration function that makes the
/dev/fwdownload driver handle the data collecting and pass it as a single
block to the device (for simple devices with small firmware) - or have the
device driver handle the chunks itself for things that expect lots of data.