lkml.org 
[lkml]   [2008]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] Add c2 port support.
On Thu, Oct 23, 2008 at 08:37:33AM -0700, Greg KH wrote:

> And again, you can still use sysfs for that as well. I was just
> referring to the binary sysfs file that you use for the firmware
> download, it would make more sense for you to use the standard kernel
> firmware download interface instead of rolling your own here.

If I well understand the firmware class it works starting the firmware
download from the kernel side, that is into the kernel we should call
request_firmware() and then the files will
/sys/class/firmware/xxx/{loading,data} appear.

This solution doesn't fit C2 port needs since the firmware download is
decided from userland erasing and then writing into the
microcontroller on-board flash.

Ciao,

Rodolfo

--

GNU/Linux Solutions e-mail: giometti@enneenne.com
Linux Device Driver giometti@linux.it
Embedded Systems phone: +39 349 2432127
UNIX programming skype: rodolfo.giometti


\
 
 \ /
  Last update: 2008-10-27 09:57    [W:0.210 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site