Michael Buesch [Fri, 24 Sep 2010 21:42:28 +0000 (23:42 +0200)]
b43-beautifier fixes
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Fri, 24 Sep 2010 18:05:26 +0000 (20:05 +0200)]
asm/dasm: Minor fixes
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Fri, 24 Sep 2010 17:58:18 +0000 (19:58 +0200)]
Add brcm80211-ivaldump
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Fri, 24 Sep 2010 17:29:51 +0000 (19:29 +0200)]
Rename brcm80211fwconv
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Fri, 24 Sep 2010 17:12:49 +0000 (19:12 +0200)]
b43-ivaldump: Use assembly as output format
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 23 Sep 2010 19:15:28 +0000 (21:15 +0200)]
libb43.py: Default phy parameter to None
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 23 Sep 2010 19:04:23 +0000 (21:04 +0200)]
disassembler: Add missing break
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 23 Sep 2010 18:46:24 +0000 (20:46 +0200)]
Merge branch 'master' of ssh://git.bu3sch.de/home/git/repos/b43-tools
Michael Buesch [Thu, 23 Sep 2010 18:46:09 +0000 (20:46 +0200)]
disassembler: Rename is_labelref to labelref_operand
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 23 Sep 2010 18:31:17 +0000 (20:31 +0200)]
disassembler: Decode operands of new jump instructions
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Thu, 23 Sep 2010 14:42:33 +0000 (16:42 +0200)]
b43-fwdump: Disassembler fixups
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Wed, 22 Sep 2010 17:57:57 +0000 (19:57 +0200)]
libb43.py: Use hashlib
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Wed, 22 Sep 2010 17:55:14 +0000 (19:55 +0200)]
fwcutter: Update .gitignore
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Tue, 21 Sep 2010 12:02:00 +0000 (14:02 +0200)]
assembler: Make wrapper script posix shell compliant.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Tue, 21 Sep 2010 11:51:11 +0000 (13:51 +0200)]
Assembler: Fix CPP lineinfo interpreter
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Tue, 21 Sep 2010 10:31:45 +0000 (12:31 +0200)]
asm/dasm: Improve cflags
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 20 Sep 2010 23:04:49 +0000 (01:04 +0200)]
Throw errors on missing header files
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 20 Sep 2010 20:58:40 +0000 (22:58 +0200)]
assembler: Fix debug output
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 20 Sep 2010 20:53:52 +0000 (22:53 +0200)]
assembler: Put commandline args into structure
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 20 Sep 2010 20:41:48 +0000 (22:41 +0200)]
disassembler: Put debug variable into cmdargs struct
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 20 Sep 2010 18:06:14 +0000 (20:06 +0200)]
disassembler: Improve header error messages
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 20 Sep 2010 17:28:38 +0000 (19:28 +0200)]
asm/dasm: Update selftest to support r15 arch
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 20 Sep 2010 17:19:57 +0000 (19:19 +0200)]
disassembler: Use 4 digits for code address
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 20 Sep 2010 16:54:49 +0000 (18:54 +0200)]
disassembler: Force opcode @0 to decode raw operands
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 20 Sep 2010 16:30:51 +0000 (18:30 +0200)]
asm/dasm: Add support for calls/rets (untested)
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Mon, 20 Sep 2010 15:19:06 +0000 (17:19 +0200)]
disassembler: Add option to decode operands of unknown instructions
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 19 Sep 2010 19:17:38 +0000 (21:17 +0200)]
disassembler: Add error helpers
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 19 Sep 2010 19:04:58 +0000 (21:04 +0200)]
disassembler: Add new call/ret
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 19 Sep 2010 18:34:33 +0000 (20:34 +0200)]
disassembler: Emit %start directive. This avoids a warning when re-assembling
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 19 Sep 2010 18:17:05 +0000 (20:17 +0200)]
Assembler: Better error message for %arch
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 19 Sep 2010 18:02:53 +0000 (20:02 +0200)]
brcm80211fwconv: Complain if the index is invalid
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Michael Buesch [Sun, 19 Sep 2010 17:55:17 +0000 (19:55 +0200)]
brcm80211fwconv: Fix sorting for merge
Signed-off-by: Michael Buesch <mb@bu3sch.de>
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>