b43-tools.git
16 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>
16 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>
16 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>
16 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>
16 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>
16 years agob43-asm: Pass external conditions as immediates
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>
16 years agoBump fwcutter version
Michael Buesch [Tue, 15 Jan 2008 23:17:08 +0000 (00:17 +0100)]
Bump fwcutter version

Signed-off-by: Michael Buesch <mb@bu3sch.de>
16 years agoAdd .gitignore
Michael Buesch [Sun, 13 Jan 2008 23:36:06 +0000 (00:36 +0100)]
Add .gitignore

Signed-off-by: Michael Buesch <mb@bu3sch.de>
16 years agofwcutter: Change support status flags.
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>
16 years agofwcutter: Add firmware file offsets
Johannes Berg [Sun, 13 Jan 2008 23:30:01 +0000 (00:30 +0100)]
fwcutter: Add firmware file offsets

16 years agoRemove the broken endianness check in the md5 code.
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>
16 years agoAdd support for version 4 SPROM.
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>
17 years agob43-fwcutter: make sparse happier
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>
17 years agob43-fwcutter: unsupported file support
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>
17 years agodasm: Move some definitions around.
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>
17 years agodasm: Rewrite cmdline arg parsing and remove the bin wrapper script.
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>
17 years agodasm: list_empty() can use a const pointer.
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>
17 years agoasm: Cleanup makefile.
Michael Buesch [Sat, 17 Nov 2007 23:35:17 +0000 (00:35 +0100)]
asm: Cleanup makefile.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
17 years agoasm: Fix the preprocessing script.
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>
17 years agodasm: Fix %arch statement.
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>
17 years agoassembler: Remove two fixmes.
Michael Buesch [Fri, 16 Nov 2007 22:01:08 +0000 (23:01 +0100)]
assembler: Remove two fixmes.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
17 years agoassembler: Fix label-immediate for v15
Michael Buesch [Sun, 11 Nov 2007 01:38:44 +0000 (02:38 +0100)]
assembler: Fix label-immediate for v15

Signed-off-by: Michael Buesch <mb@bu3sch.de>
17 years agoPartial support for the new v15 architecture.
Michael Buesch [Sun, 11 Nov 2007 01:31:40 +0000 (02:31 +0100)]
Partial support for the new v15 architecture.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
17 years agoRename bcm43xx -> b43
Michael Buesch [Sat, 10 Nov 2007 22:28:15 +0000 (23:28 +0100)]
Rename bcm43xx -> b43

Signed-off-by: Michael Buesch <mb@bu3sch.de>
17 years agoInitial commit.
Michael Buesch [Sat, 10 Nov 2007 22:12:26 +0000 (23:12 +0100)]
Initial commit.

Signed-off-by: Michael Buesch <mb@bu3sch.de>