Michael Buesch [Sun, 19 Sep 2010 17:06:42 +0000 (19:06 +0200)]
Update .gitignore
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 19 Sep 2010 17:03:14 +0000 (19:03 +0200)]
brcm80211fwconv: Add support for merging data back
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 19 Sep 2010 16:34:34 +0000 (18:34 +0200)]
Update file headers
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 19 Sep 2010 16:30:59 +0000 (18:30 +0200)]
assembler/disassembler: Fix indirect mem addressing for r15
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 19 Sep 2010 15:42:39 +0000 (17:42 +0200)]
assembler: Add support for raw output format
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 19 Sep 2010 15:19:28 +0000 (17:19 +0200)]
assembler: Some r15 fixes
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 19 Sep 2010 15:08:12 +0000 (17:08 +0200)]
Decode opcode 0x002 RAW on r15 for now.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 19 Sep 2010 15:00:18 +0000 (17:00 +0200)]
Install brcm80211fwconv
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 19 Sep 2010 14:58:25 +0000 (16:58 +0200)]
Add script for brcm80211 firmware conversion
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 19 Sep 2010 14:56:34 +0000 (16:56 +0200)]
Disassembler: Fixes for r15 architecture
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sat, 7 Aug 2010 10:19:48 +0000 (12:19 +0200)]
b43asm: Update README
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 26 Jul 2010 18:15:25 +0000 (20:15 +0200)]
b43-fwcutter: add COPYING file
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 19 Apr 2010 16:17:55 +0000 (18:17 +0200)]
b43-fwcutter: Fix compiler warnings
"Type punned pointer blah blah..."
Just call the "from_..." functions from the "to_..." functions.
They also work backwards.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 19 Apr 2010 15:50:59 +0000 (17:50 +0200)]
fwcutter: Fix release script tagging
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 19 Apr 2010 15:48:59 +0000 (17:48 +0200)]
Update release script
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 19 Apr 2010 15:39:27 +0000 (17:39 +0200)]
Bump fwcutter version
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 26 Nov 2009 14:38:38 +0000 (15:38 +0100)]
ssb_sprom: Fix binary name
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 26 Nov 2009 14:30:36 +0000 (15:30 +0100)]
ssb_sprom: Fix sparse warnings
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 26 Nov 2009 14:28:21 +0000 (15:28 +0100)]
ssb_sprom: Add sparse support, Add quiet build, Add autodependencies
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 26 Nov 2009 14:22:55 +0000 (15:22 +0100)]
fwcutter: Add sparse support, Add quiet build, Add autodependencies
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 26 Nov 2009 14:18:15 +0000 (15:18 +0100)]
disassembler: Fix sparse warnings
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 26 Nov 2009 14:15:43 +0000 (15:15 +0100)]
assembler: Fix sparse warnings
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 26 Nov 2009 14:00:22 +0000 (15:00 +0100)]
asm/disasm: Add sparse support, Add quiet build, Add auto-dependencies
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 26 Nov 2009 13:44:47 +0000 (14:44 +0100)]
asm: Don't ignore install failures
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Fri, 21 Aug 2009 13:59:08 +0000 (15:59 +0200)]
fwcutter: Use ARRAY_SIZE
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Larry Finger [Thu, 20 Aug 2009 21:51:38 +0000 (16:51 -0500)]
fwcutter: Add two new sources for 478.104 firmware
Add 2 new files with 478.104 firmware, which includes Rev 16.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Larry Finger [Thu, 20 Aug 2009 17:30:11 +0000 (12:30 -0500)]
fwcutter: mklist.py - Update to new library and skip some sections
Switch from the deprecated md5 library to hashlib.
Detect the ro section that describes the firmware version,
print the address of the data, and and skip some ro sections
that are not of interest.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Tue, 2 Jun 2009 15:52:32 +0000 (17:52 +0200)]
Update .gitignore
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Tue, 2 Jun 2009 15:49:38 +0000 (17:49 +0200)]
fwcutter: Add release script
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Larry Finger [Tue, 2 Jun 2009 15:23:47 +0000 (10:23 -0500)]
Changes in b43-fwcutter (V2)
The present version of b43-fwcutter extracts core 4 firmware from V4 drivers that
contain it even though b43 will not work with these devices. As this causes
confusion among the users, this patch suppresses such extraction.
Note: For b43legacy, firmware for core 5 devices is extracted. This capacity should
be retained as this overlap is used in the testing of b43legacy.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 25 Jan 2009 15:14:30 +0000 (16:14 +0100)]
b43-fwfump: Better helptext for --phy option
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Larry Finger [Mon, 29 Dec 2008 17:11:10 +0000 (11:11 -0600)]
ssb-sprom: Generate help for all variations
Revise ssb-sprom to generate the help data for all versions of the device.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Larry Finger [Mon, 29 Dec 2008 15:47:40 +0000 (09:47 -0600)]
ssb-sprom: Put SPROM data in a master table and add Rev. 8
Program ssb-sprom has gotten unwieldy as more versions of the SPROM have been
accommodated. As we now need to add Rev. 8 SPROMs for LP and N PHY devices, I
chose to rewrite the program now.
This patch converts the program to be driven by a table, which removes the need
for hard coding a number of revision-specific values. In fact, only two such
numbers are defined in the new header - the SPROM sizes for 128 and 440 byte
versions. Other changes include modifying the data order so that the variables
that are most likely to be changed are at the botton the list. I also removed
the SPROM revision from the list that could be modified. Changing this value
would BRICK the device. At the moment, only the first of the "per-path"
variables have been added for revisions 4, 5, and 8. As we gain more experience
with these variants, addition of new outputs may be necessary.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Fri, 24 Oct 2008 18:35:27 +0000 (20:35 +0200)]
b43-fwcutter: Use another source file
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Fri, 24 Oct 2008 17:58:41 +0000 (19:58 +0200)]
fwcutter: Add a stupid script to generate fwcutter_list.h entries from .o files
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Wed, 23 Jul 2008 22:36:58 +0000 (00:36 +0200)]
Fix crash if b43 is not loaded.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Wed, 23 Jul 2008 22:34:11 +0000 (00:34 +0200)]
Add some documentation
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Tue, 22 Jul 2008 23:57:31 +0000 (01:57 +0200)]
b43-beautifier: Explain what the --defs directory is
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Tue, 22 Jul 2008 23:46:14 +0000 (01:46 +0200)]
Add b43 firmware assembly beautifier
This tool converts numeric identifiers to symbolic names.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 26 Jun 2008 21:06:06 +0000 (23:06 +0200)]
debug: Add a generic text patcher
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Wed, 25 Jun 2008 10:03:40 +0000 (12:03 +0200)]
ssb-sprom: Add warnings.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Tue, 24 Jun 2008 20:09:55 +0000 (22:09 +0200)]
Fix typo.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 19 Jun 2008 22:23:34 +0000 (00:23 +0200)]
b43-ivaldump: Add a tool for dumping initvals files.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 19 Jun 2008 21:48:44 +0000 (23:48 +0200)]
b43-asm: Add tram keyword for writing to template ram
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 19 Jun 2008 19:20:49 +0000 (21:20 +0200)]
b43-fwdump: Allow a binary SHM dump to stdout.
The output can be piped to other tools or files.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 19 Jun 2008 19:14:45 +0000 (21:14 +0200)]
b43-fwdump: Add SHM dump
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 19 Jun 2008 18:28:48 +0000 (20:28 +0200)]
Add an install script.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 19 Jun 2008 17:20:41 +0000 (19:20 +0200)]
Implement firmware state dumper
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 19 Jun 2008 12:35:00 +0000 (14:35 +0200)]
b43-dasm: Allow disassembling files without header.
Also add a parameter to print the code addresses
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 19 Jun 2008 11:46:48 +0000 (13:46 +0200)]
Add a python library to access device internals.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Tue, 17 Jun 2008 13:59:25 +0000 (15:59 +0200)]
ssb-sprom: Fix typo.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 16 Jun 2008 18:38:46 +0000 (20:38 +0200)]
Add generated files to .gitignore
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 16 Jun 2008 18:28:01 +0000 (20:28 +0200)]
Fix compiler warning on certain architectures.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 16 Jun 2008 16:30:12 +0000 (18:30 +0200)]
ssb_sprom: Fix segfault in parameter parsing code.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sat, 14 Jun 2008 13:30:38 +0000 (15:30 +0200)]
Allow passing CPP parameters right after the filenames.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sat, 14 Jun 2008 12:58:03 +0000 (14:58 +0200)]
Merge branch 'master' of ssh://git.bu3sch.de/home/git/repos/b43-tools
Michael Buesch [Sat, 14 Jun 2008 12:57:37 +0000 (14:57 +0200)]
Warn on usage of offset register 6. It is broken.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Pavel Roskin [Fri, 13 Jun 2008 15:31:53 +0000 (11:31 -0400)]
b43-tools typos
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Larry.Finger@lwfinger.net [Fri, 13 Jun 2008 05:57:45 +0000 (00:57 -0500)]
ssb-sprom: Fix for incorrect Subsystem and PCI Product IDs on rev 4 SPROMs
In current ssb-sprom code, the Subsystem and Product ID's are wrong for rev 4
SPROM's.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 9 Jun 2008 20:33:15 +0000 (22:33 +0200)]
b43-asm: Update some comments.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 9 Jun 2008 16:16:39 +0000 (18:16 +0200)]
Allow inline %assert inside of complex immediates.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 9 Jun 2008 15:56:27 +0000 (17:56 +0200)]
Add support for assemble-time assertions.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 5 Jun 2008 15:50:14 +0000 (17:50 +0200)]
b43-asm: Allow complex immediates in M and S operands.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 26 May 2008 15:41:49 +0000 (17:41 +0200)]
Use gcc -E as preprocessor, as cpp will cause problems on OSX.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sat, 24 May 2008 18:24:55 +0000 (20:24 +0200)]
b43-asm: Only warning, not error, on RET after JMP
Sometimes it's valid to have a RET after a JMP
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sat, 24 May 2008 17:29:05 +0000 (19:29 +0200)]
b43-asm: Add trivial selftest.
It currently fails due to a too strict ret-after-jmp sanity check.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 22 May 2008 18:03:08 +0000 (20:03 +0200)]
b43-asm: Allow complex immediates in initvals.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 22 May 2008 12:42:29 +0000 (14:42 +0200)]
b43-asm: Change the filenames of the binaries.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 18 May 2008 22:32:46 +0000 (00:32 +0200)]
b43-asm: Add an option to print the code sizes after assembling.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 18 May 2008 12:31:19 +0000 (14:31 +0200)]
b43-asm: Change JMP emulation from JE to JEXT
The external condition 0x7F is always true. This is what is supposed to be used
for an unconditional jump.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 18 May 2008 11:10:59 +0000 (13:10 +0200)]
b43-asm: Fix the reverse search for JMPs before RETs
We must ignore labels.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 18 May 2008 10:58:16 +0000 (12:58 +0200)]
b43-asm: Fix memory allocation bug.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 18 May 2008 10:51:03 +0000 (12:51 +0200)]
asm/dasm: Let's simply comment out these lines that generate the ext jmp operands.
Nothing bad can happen from commenting out a few stupid lines of code, right?
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sat, 17 May 2008 19:41:56 +0000 (21:41 +0200)]
b43-asm: Throw error when using RET after a jump
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Fri, 16 May 2008 12:59:45 +0000 (14:59 +0200)]
b43-asm: Terminate instructions with ; instead of |
This removes support for assembly comments with ";"
Use C/C++ style comments, please
/* comment */
// comment
The preprocessor will take care of them.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Larry Finger [Fri, 25 Apr 2008 14:04:32 +0000 (16:04 +0200)]
Extend README file.
Michael Buesch [Tue, 12 Feb 2008 22:06:41 +0000 (23:06 +0100)]
fwcutter: Extend the help text
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Tue, 12 Feb 2008 21:55:35 +0000 (22:55 +0100)]
fwcutter: Print the ID in the --identify output
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Tue, 12 Feb 2008 21:51:10 +0000 (22:51 +0100)]
fwcutter: Increment version number
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Tue, 12 Feb 2008 21:49:53 +0000 (22:49 +0100)]
fwcutter: Mark all files as "supported" that are needed for recent kernel versions.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Fri, 8 Feb 2008 23:05:43 +0000 (00:05 +0100)]
fwcutter: Start ID numbering at 10 to avoid clashes and confusion with v3 and v4 firmware.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Fri, 8 Feb 2008 23:02:50 +0000 (00:02 +0100)]
fwcutter: Add unique firmware IDs
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 27 Jan 2008 18:41:45 +0000 (19:41 +0100)]
b43-asm: Make use of complex immediates as memory offsets possible.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sat, 26 Jan 2008 14:26:59 +0000 (15:26 +0100)]
b43-dasm: Add a space char after comma to improve asm code readability.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sat, 26 Jan 2008 00:03:47 +0000 (01:03 +0100)]
b43-asm: Allow terminating lines with |
This improves macro handling
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Fri, 25 Jan 2008 23:01:17 +0000 (00:01 +0100)]
b43-asm: Pass external conditions as immediates
This allows using any hex and decimal numbers and even complex immediates for external conditions.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Tue, 15 Jan 2008 23:17:08 +0000 (00:17 +0100)]
Bump fwcutter version
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 13 Jan 2008 23:36:06 +0000 (00:36 +0100)]
Add .gitignore
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 13 Jan 2008 23:32:59 +0000 (00:32 +0100)]
fwcutter: Change support status flags.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Johannes Berg [Sun, 13 Jan 2008 23:30:01 +0000 (00:30 +0100)]
fwcutter: Add firmware file offsets
Michael Buesch [Fri, 4 Jan 2008 20:40:19 +0000 (21:40 +0100)]
Remove the broken endianness check in the md5 code.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Wed, 2 Jan 2008 18:08:34 +0000 (19:08 +0100)]
Add support for version 4 SPROM.
From: Larry Finger <larry.finger@lwfinger.net>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Johannes Berg [Fri, 23 Nov 2007 11:21:59 +0000 (12:21 +0100)]
b43-fwcutter: make sparse happier
Just for the fun of it.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Johannes Berg [Fri, 23 Nov 2007 11:17:26 +0000 (12:17 +0100)]
b43-fwcutter: unsupported file support
This patch makes fwcutter support only those files we know are working
and marks the other one unsupported. To allow developers to still work
with such files, an --unsupported command line option is added that
allows one to extract firmware from such unsupported files. Some code
restructuring was necessary to support the --unsupported flag with other
flags in any order.
Also, because this is a significant change, bump the version number.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 18 Nov 2007 14:10:24 +0000 (15:10 +0100)]
dasm: Move some definitions around.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 18 Nov 2007 13:57:35 +0000 (14:57 +0100)]
dasm: Rewrite cmdline arg parsing and remove the bin wrapper script.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sat, 17 Nov 2007 23:37:49 +0000 (00:37 +0100)]
dasm: list_empty() can use a const pointer.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sat, 17 Nov 2007 23:35:17 +0000 (00:35 +0100)]
asm: Cleanup makefile.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sat, 17 Nov 2007 23:29:21 +0000 (00:29 +0100)]
asm: Fix the preprocessing script.
Allow stdin as input and properly pass the filename up to the
assembler, so it appears in the error messages.
(The filename is passed through CPPs special line markers)
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Fri, 16 Nov 2007 22:03:00 +0000 (23:03 +0100)]
dasm: Fix %arch statement.
Signed-off-by: Michael Buesch <mb@bu3sch.de>