Martin Langer wrote:
> 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.
>   
Interesting analysis. I wonder if it can serve as a starting point to 
reverse engineer the microcode :P

johannes
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
http://bat.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to