Networking Forums

Networking Forums > Computer Networking > Linux Networking > sending init file / firmware to a network driver via kernel

Reply
Thread Tools Display Modes

sending init file / firmware to a network driver via kernel

 
 
Benzy Gabay
Guest
Posts: n/a

 
      01-07-2007, 01:41 PM
Hi All,


I need an advice.

We have a network driver for a specific HW we manufacture.
Upon our driver init we need to send 3 files to be able to initialize it
completely.
2 files are binaries and one is .ini file (txt file).
Currently the advice I've got was not to try and open these files via kernel
but to use IOCL to transfer these files from user application.(I did it and
it is working)

My question:
Is there any Linux kernel way (no application) to open configuration
files for drivers ?


Thanks
=========
Benzy Gabay
Texas Instruments


 
Reply With Quote
 
 
 
 
Larry Finger
Guest
Posts: n/a

 
      01-08-2007, 07:39 PM
Benzy Gabay wrote:
> Hi All,
>
>
> I need an advice.
>
> We have a network driver for a specific HW we manufacture.
> Upon our driver init we need to send 3 files to be able to initialize it
> completely.
> 2 files are binaries and one is .ini file (txt file).
> Currently the advice I've got was not to try and open these files via kernel
> but to use IOCL to transfer these files from user application.(I did it and
> it is working)
>
> My question:
> Is there any Linux kernel way (no application) to open configuration
> files for drivers ?


I didn't join the project until after all this was working - thus I'm not familiar with the details;
however, the bcm43xx driver loads its firmware without using a userspace application. You can see
the details in any kernel since 2.6.17.

Larry
 
Reply With Quote
 
Benzy Gabay
Guest
Posts: n/a

 
      01-09-2007, 11:27 AM
I'll look for it.

Thanks


"Larry Finger" <(E-Mail Removed)> wrote in message
news:2_xoh.351604$(E-Mail Removed)...
> Benzy Gabay wrote:
>> Hi All,
>>
>>
>> I need an advice.
>>
>> We have a network driver for a specific HW we manufacture.
>> Upon our driver init we need to send 3 files to be able to initialize it
>> completely.
>> 2 files are binaries and one is .ini file (txt file).
>> Currently the advice I've got was not to try and open these files via
>> kernel
>> but to use IOCL to transfer these files from user application.(I did it
>> and
>> it is working)
>>
>> My question:
>> Is there any Linux kernel way (no application) to open configuration
>> files for drivers ?

>
> I didn't join the project until after all this was working - thus I'm not
> familiar with the details;
> however, the bcm43xx driver loads its firmware without using a userspace
> application. You can see
> the details in any kernel since 2.6.17.
>
> Larry



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Sending UDP Packets from a kernel thread/module Tim Roberts Linux Networking 10 12-19-2005 01:32 PM
Re: Sending UDP Packets from a kernel thread/module phil-news-nospam@ipal.net Linux Networking 0 12-05-2005 11:54 AM
How can I debug kernel & network driver during netperf test!! JoohyeonPark Linux Networking 2 10-11-2004 12:39 AM
nVidia nForce3 250gb network driver for kernel 2.6 Pim Zandbergen Linux Networking 0 06-11-2004 03:05 PM
Configure htb.init or cbq.init cudjoe Linux Networking 0 12-01-2003 08:31 PM



1 2 3 4 5 6 7 8 9 10 11