FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 12-24-2008, 04:27 AM
John Wright
 
Default Bug#509646: firmware-nonfree: Please include bnx2x firmware

Source: firmware-nonfree
Version: 0.14
Severity: wishlist
Tags: patch

I have written a firmware cutter for the bnx2x driver, as well as a
patch to the driver itself (which will be filed as a separate bug
report) to use the resulting firmware file.

The firmware cutter works with the versions of the driver in Linux
2.6.26 and 2.6.28-rc9. As I will explain in my other report, I don't
have hardware that works with the 2.6.26 version, so my kernel patch is
actually a backport of the new driver plus a patch to use the firmware
file.

Use of this firmware cutter is virtually identical to that of the bnx2
cutter, as I initially followed that design. Basically,

$ cd ~/src/linux-2.6
$ git checkout v2.6.28-rc9
$ export KERNEL_VERSION=2.6.28 KERNEL_SOURCE=$(pwd)
$ cd ~/src/firmware-nonfree/bnx2x/fwcutter
$ make
$ ./bnx2x_fwcutter_2.6.28

That will spit out bnx2x-e1-1.45.23.fw and bnx2x-e1h-1.45.23.fw, which
contain big-endian representations of init_ops and the data blobs in
bnx2x_init_values.h. Also generated in this process is
bnx2x_init_ops_offsets_2.6.28.h, which I also include in the linux-2.6
patch. (The offsets to functions in the init_ops array are defined as
constants in bnx2x_init_values.h, so I just extract those constants to
their own header.)

--
John Wright <jsw@debian.org>
 

Thread Tools




All times are GMT. The time now is 06:21 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org