b43-tools.git
13 years agoassembler: Fix debug output
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>
13 years agoassembler: Put commandline args into structure
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>
13 years agodisassembler: Put debug variable into cmdargs struct
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>
13 years agodisassembler: Improve header error messages
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>
13 years agoasm/dasm: Update selftest to support r15 arch
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>
13 years agodisassembler: Use 4 digits for code address
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>
13 years agodisassembler: Force opcode @0 to decode raw operands
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>
13 years agoasm/dasm: Add support for calls/rets (untested)
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>
13 years agodisassembler: Add option to decode operands of unknown instructions
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>
13 years agodisassembler: Add error helpers
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>
13 years agodisassembler: Add new call/ret
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>
13 years agodisassembler: Emit %start directive. This avoids a warning when re-assembling
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>
13 years agoAssembler: Better error message for %arch
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>
13 years agobrcm80211fwconv: Complain if the index is invalid
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>
13 years agobrcm80211fwconv: Fix sorting for merge
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>
13 years agoUpdate .gitignore
Michael Buesch [Sun, 19 Sep 2010 17:06:42 +0000 (19:06 +0200)]
Update .gitignore

Signed-off-by: Michael Buesch <mb@bu3sch.de>
13 years agobrcm80211fwconv: Add support for merging data back
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>
13 years agoUpdate file headers
Michael Buesch [Sun, 19 Sep 2010 16:34:34 +0000 (18:34 +0200)]
Update file headers

Signed-off-by: Michael Buesch <mb@bu3sch.de>
13 years agoassembler/disassembler: Fix indirect mem addressing for r15
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>
13 years agoassembler: Add support for raw output format
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>
13 years agoassembler: Some r15 fixes
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>
13 years agoDecode opcode 0x002 RAW on r15 for now.
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>
13 years agoInstall brcm80211fwconv
Michael Buesch [Sun, 19 Sep 2010 15:00:18 +0000 (17:00 +0200)]
Install brcm80211fwconv

Signed-off-by: Michael Buesch <mb@bu3sch.de>
13 years agoAdd script for brcm80211 firmware conversion
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>
13 years agoDisassembler: Fixes for r15 architecture
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>
13 years agob43asm: Update README
Michael Buesch [Sat, 7 Aug 2010 10:19:48 +0000 (12:19 +0200)]
b43asm: Update README

Signed-off-by: Michael Buesch <mb@bu3sch.de>
13 years agob43-fwcutter: add COPYING file
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>
14 years agob43-fwcutter: Fix compiler warnings
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>
14 years agofwcutter: Fix release script tagging b43-fwcutter-013 b43-fwcutter-013-release
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>
14 years agoUpdate release script
Michael Buesch [Mon, 19 Apr 2010 15:48:59 +0000 (17:48 +0200)]
Update release script

Signed-off-by: Michael Buesch <mb@bu3sch.de>
14 years agoBump fwcutter version
Michael Buesch [Mon, 19 Apr 2010 15:39:27 +0000 (17:39 +0200)]
Bump fwcutter version

Signed-off-by: Michael Buesch <mb@bu3sch.de>
14 years agossb_sprom: Fix binary name
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>
14 years agossb_sprom: Fix sparse warnings
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>
14 years agossb_sprom: Add sparse support, Add quiet build, Add autodependencies
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>
14 years agofwcutter: Add sparse support, Add quiet build, Add autodependencies
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>
14 years agodisassembler: Fix sparse warnings
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>
14 years agoassembler: Fix sparse warnings
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>
14 years agoasm/disasm: Add sparse support, Add quiet build, Add auto-dependencies
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>
14 years agoasm: Don't ignore install failures
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>
14 years agofwcutter: Use ARRAY_SIZE
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>
14 years agofwcutter: Add two new sources for 478.104 firmware
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>
14 years agofwcutter: mklist.py - Update to new library and skip some sections
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>
14 years agoUpdate .gitignore
Michael Buesch [Tue, 2 Jun 2009 15:52:32 +0000 (17:52 +0200)]
Update .gitignore

Signed-off-by: Michael Buesch <mb@bu3sch.de>
14 years agofwcutter: Add release script
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>
14 years agoChanges in b43-fwcutter (V2)
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>
15 years agob43-fwfump: Better helptext for --phy option
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>
15 years agossb-sprom: Generate help for all variations
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>
15 years agossb-sprom: Put SPROM data in a master table and add Rev. 8
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>
15 years agob43-fwcutter: Use another source file
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>
15 years agofwcutter: Add a stupid script to generate fwcutter_list.h entries from .o files
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>
15 years agoFix crash if b43 is not loaded.
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>
15 years agoAdd some documentation
Michael Buesch [Wed, 23 Jul 2008 22:34:11 +0000 (00:34 +0200)]
Add some documentation

Signed-off-by: Michael Buesch <mb@bu3sch.de>
15 years agob43-beautifier: Explain what the --defs directory is
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>
15 years agoAdd b43 firmware assembly beautifier
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>
15 years agodebug: Add a generic text patcher
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>
15 years agossb-sprom: Add warnings.
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>
15 years agoFix typo.
Michael Buesch [Tue, 24 Jun 2008 20:09:55 +0000 (22:09 +0200)]
Fix typo.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
15 years agob43-ivaldump: Add a tool for dumping initvals files.
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>
15 years agob43-asm: Add tram keyword for writing to template ram
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>
15 years agob43-fwdump: Allow a binary SHM dump to stdout.
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>
15 years agob43-fwdump: Add SHM dump
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>
15 years agoAdd an install script.
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>
15 years agoImplement firmware state dumper
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>
15 years agob43-dasm: Allow disassembling files without header.
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>
15 years agoAdd a python library to access device internals.
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>
15 years agossb-sprom: Fix typo.
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>
15 years agoAdd generated files to .gitignore
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>
15 years agoFix compiler warning on certain architectures.
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>
15 years agossb_sprom: Fix segfault in parameter parsing code.
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>
15 years agoAllow passing CPP parameters right after the filenames.
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>
15 years agoMerge branch 'master' of ssh://git.bu3sch.de/home/git/repos/b43-tools
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

15 years agoWarn on usage of offset register 6. It is broken.
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>
15 years agob43-tools typos
Pavel Roskin [Fri, 13 Jun 2008 15:31:53 +0000 (11:31 -0400)]
b43-tools typos

Signed-off-by: Michael Buesch <mb@bu3sch.de>
15 years agossb-sprom: Fix for incorrect Subsystem and PCI Product IDs on rev 4 SPROMs
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>
15 years agob43-asm: Update some comments.
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>
15 years agoAllow inline %assert inside of complex immediates.
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>
15 years agoAdd support for assemble-time assertions.
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>
15 years agob43-asm: Allow complex immediates in M and S operands.
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>
15 years agoUse gcc -E as preprocessor, as cpp will cause problems on OSX.
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>
15 years agob43-asm: Only warning, not error, on RET after JMP
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>
15 years agob43-asm: Add trivial selftest.
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>
15 years agob43-asm: Allow complex immediates in initvals.
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>
15 years agob43-asm: Change the filenames of the binaries.
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>
15 years agob43-asm: Add an option to print the code sizes after assembling.
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>
15 years agob43-asm: Change JMP emulation from JE to JEXT
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>
15 years agob43-asm: Fix the reverse search for JMPs before RETs
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>
15 years agob43-asm: Fix memory allocation bug.
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>
15 years agoasm/dasm: Let's simply comment out these lines that generate the ext jmp operands.
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>
15 years agob43-asm: Throw error when using RET after a jump
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>
15 years agob43-asm: Terminate instructions with ; instead of |
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>
16 years agoExtend README file.
Larry Finger [Fri, 25 Apr 2008 14:04:32 +0000 (16:04 +0200)]
Extend README file.

16 years agofwcutter: Extend the help text
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>
16 years agofwcutter: Print the ID in the --identify output
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>
16 years agofwcutter: Increment version number
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>
16 years agofwcutter: Mark all files as "supported" that are needed for recent kernel versions.
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>
16 years agofwcutter: Start ID numbering at 10 to avoid clashes and confusion with v3 and v4...
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>
16 years agofwcutter: Add unique firmware IDs
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>
16 years agob43-asm: Make use of complex immediates as memory offsets possible.
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>
16 years agob43-dasm: Add a space char after comma to improve asm code readability.
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>
16 years agob43-asm: Allow terminating lines with |
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>