On Sat, Jul 29, 2006 at 04:03:42PM +0200, Martin Langer wrote:
>
> I hope this will run fine with all firmware files. I tried only a few
> ones and the result was ok so far. BTW, I can only test the popular
> bcm43xx_microcode5.fw files.
>
> It would be great if users with microcode2/microcode4 hardware could
> test it, too.
After looking into some ucode files I can say that Broadcom uses the
same version number for all ucode images in one binary driver file.
It looks really easy to get those revision and patchlevel numbers from
our ucode binaries. At first you have to split the image in 64bit
portions.
Then compare it with a mask to find the interesting bytes. There are two
different masks: one for ucode2/4 and another one for ucode5/11/13.
XX cY YZ ZZ 00 2d e0 0c ucode 2/4 style
XX cY YZ ZZ 00 00 37 8c ucode 5/11/13 style
with: XX value (high)
YY value (low)
ZZZ shm offset ?
Use ZZZ='000' for the revision number and ZZZ='001' for the patchlevel.
And immediately you will find something like
01 c2 20 00 00 00 37 8c ucode revision
00 c9 90 01 00 00 37 8c ucode patchlevel
which means for this example revision 0x0122 and patchlevel 0x0099.
Finally I can say that there is no different version range for
microcodes 2 and microcode 4 firmware files. So there are really good
chances that this patch works correctly for the whole microcode
collection. But nevertheless real tests are allowed, too ;)
Martin
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
http://bat.berlios.de/mailman/listinfo/bcm43xx-dev