tuxsavvy / agere_fw_utils (public) (License: Dual BSD 3-clause and GPLv2) (since 2021-02-07) (hash sha1)
Personal fork of https://repo.or.cz/agere_fw_utils.git
List of commits:
Subject Hash Author Date (UTC)
Improve the makefile 3641a4e7f70fdc30f5ddd637cb28e9e850052f3a Pavel Roskin 2009-01-19 02:47:45
Fix x86_64 compatibility and all warnings 894e331c5a1ea15b79de1fa23dcf95fda59311e4 Pavel Roskin 2009-01-19 02:47:38
Add license to dump_fw d468abd859c69bb422647db4c8150b08769bea34 David Kilroy 2008-10-27 22:17:08
Read AP fw ident better from hfwget d64e1b5b51dc1210ed25530ae2f85eadd3f18f95 David Kilroy 2008-10-27 20:55:03
Allow dump_fw to build against wl_lkm_722 for h2 and h25 fw. bc458b38b8a200f47f3119e406920334334512a8 David Kilroy 2008-10-26 21:35:13
Write compatibility info from dump_fw. Update README 8295b468312cd3475c06645e92ef4884c2a3dbcc David Kilroy 2008-10-26 14:46:55
Further refactorring. Also pass through splint and indent. 29e550703e7ef9b083b22d11c3bb470ff54b6ab0 David Kilroy 2008-10-26 14:44:25
Convert primary plugdata properly 933f77d11ca6645df705c4b71c471aa670fccaf3 David Kilroy 2008-10-26 14:39:28
Convert AirPort firmware version 1f31f74c58179b099005ae939eff9bb467317b5b David Kilroy 2008-10-26 14:37:57
Mach-O parsing from Dan Williams 525f9168679392920da51d2487cc5fdba3c68e2c David Kilroy 2008-10-26 14:34:59
Check if we are in wl_lkm tree and build appropriately 4af298b374a1dea172b57acbd080773912d22087 David Kilroy 2008-10-26 14:30:33
Use C99 types 11362c209f9ec7369931b9a25a407c21476c48e4 David Kilroy 2008-10-26 14:30:03
hfwget refactorring posted as hfwget2 April 2008 9b77acdf3330592acda5261d282c579cc1497637 David Kilroy 2008-10-26 14:27:32
dump_fw and hfwget posted Sep 2007 77d205076542510222c6e8359bb2647b0d4e0873 David Kilroy 2008-10-26 14:22:02
Add hfwget.c from hermesap-0.2 9239c21487b524cf0f87b4ffa4828793713fbecd David Kilroy 2008-10-26 14:20:38
dump_fw posted June 2007 617a0ae960430d0d93a533ac5dffc7b9c07a777a David Kilroy 2008-10-26 14:19:45
Commit 3641a4e7f70fdc30f5ddd637cb28e9e850052f3a - Improve the makefile
Allow using a compiler other than "gcc" by setting CC. Use "rm -f" in
the "clean" target to avoid errors deleting missing object files.
Author: Pavel Roskin
Author date (UTC): 2009-01-19 02:47
Committer name: David Kilroy
Committer date (UTC): 2009-01-20 23:47
Parent(s): 894e331c5a1ea15b79de1fa23dcf95fda59311e4
Signing key:
Tree: abb153469060c788171d7cdf05b0c17ae876306a
File Lines added Lines deleted
dump_fw.mk 11 10
File dump_fw.mk changed (mode: 100644) (index d0de496..2050c40)
2 2 # Makefile for wlags49_cs_xxx # Makefile for wlags49_cs_xxx
3 3 # #
4 4
5 CC = gcc
6
5 7 # NOTE if compiling wl_lkm_714: # NOTE if compiling wl_lkm_714:
6 8 # - the firmware files need to be modified to include "mmd.h" instead of "..\hcf\mmd.h" # - the firmware files need to be modified to include "mmd.h" instead of "..\hcf\mmd.h"
7 9 # - include/hcf/hcfcfg.h line 775 should be commented out # - include/hcf/hcfcfg.h line 775 should be commented out
 
... ... DIR_WIRELESS := include/wireless
29 31 OBJS := dump_fw.o OBJS := dump_fw.o
30 32
31 33 CFLAGS := -O3 -Wall -Wstrict-prototypes -pipe CFLAGS := -O3 -Wall -Wstrict-prototypes -pipe
32 CPPFLAGS :=
33 CC := gcc -I$(DIR_CONFIG) -I$(DIR_HCF) -I$(DIR_DHF)
34 CPPFLAGS := -I$(DIR_CONFIG) -I$(DIR_HCF) -I$(DIR_DHF)
34 35
35 36 H25_OBJS := $(DIR_FW)/ap_h25.o $(DIR_FW)/sta_h25.o H25_OBJS := $(DIR_FW)/ap_h25.o $(DIR_FW)/sta_h25.o
36 37
 
... ... all: $(TARGETS)
66 67 ifneq ($(LKM),722) ifneq ($(LKM),722)
67 68 dump_h1_fw : CFLAGS+= $(LKM_CFLAGS) $(H1_CFLAGS) dump_h1_fw : CFLAGS+= $(LKM_CFLAGS) $(H1_CFLAGS)
68 69 dump_h1_fw : $(OBJS) $(H1_OBJS) dump_h1_fw : $(OBJS) $(H1_OBJS)
69 gcc $(CFLAGS) $^ -o $@
70 $(CC) $(CFLAGS) $^ -o $@
70 71
71 72 dump_h2_fw : CFLAGS+= $(LKM_CFLAGS) $(H2_CFLAGS) dump_h2_fw : CFLAGS+= $(LKM_CFLAGS) $(H2_CFLAGS)
72 73 dump_h2_fw : $(OBJS) $(H2_OBJS) dump_h2_fw : $(OBJS) $(H2_OBJS)
73 gcc $(CFLAGS) $^ -o $@
74 $(CC) $(CFLAGS) $^ -o $@
74 75
75 76 else else
76 77 $(DIR_HCF)/ap_h%.c : $(DIR_HCF)/fw_h%.c.ap $(DIR_HCF)/ap_h%.c : $(DIR_HCF)/fw_h%.c.ap
 
... ... $(DIR_HCF)/sta_h%.c : $(DIR_HCF)/fw_h%.c.sta
81 82
82 83 dump_h2_ap_fw : CFLAGS+= $(LKM_CFLAGS) dump_h2_ap_fw : CFLAGS+= $(LKM_CFLAGS)
83 84 dump_h2_ap_fw : $(OBJS) $(DIR_HCF)/ap_h2.o dump_h2_ap_fw : $(OBJS) $(DIR_HCF)/ap_h2.o
84 gcc $(CFLAGS) $^ -o $@
85 $(CC) $(CFLAGS) $^ -o $@
85 86
86 87 dump_h2_sta_fw : CFLAGS+= $(LKM_CFLAGS) dump_h2_sta_fw : CFLAGS+= $(LKM_CFLAGS)
87 88 dump_h2_sta_fw : $(OBJS) $(DIR_HCF)/sta_h2.o dump_h2_sta_fw : $(OBJS) $(DIR_HCF)/sta_h2.o
88 gcc $(CFLAGS) $^ -o $@
89 $(CC) $(CFLAGS) $^ -o $@
89 90
90 91 dump_h25_ap_fw : CFLAGS+= $(LKM_CFLAGS) dump_h25_ap_fw : CFLAGS+= $(LKM_CFLAGS)
91 92 dump_h25_ap_fw : $(OBJS) $(DIR_HCF)/ap_h25.o dump_h25_ap_fw : $(OBJS) $(DIR_HCF)/ap_h25.o
92 gcc $(CFLAGS) $^ -o $@
93 $(CC) $(CFLAGS) $^ -o $@
93 94
94 95 dump_h25_sta_fw : CFLAGS+= $(LKM_CFLAGS) dump_h25_sta_fw : CFLAGS+= $(LKM_CFLAGS)
95 96 dump_h25_sta_fw : $(OBJS) $(DIR_HCF)/sta_h25.o dump_h25_sta_fw : $(OBJS) $(DIR_HCF)/sta_h25.o
96 gcc $(CFLAGS) $^ -o $@
97 $(CC) $(CFLAGS) $^ -o $@
97 98 endif endif
98 99
99 100 hfwget : hfwget.c hfwget : hfwget.c
100 gcc $(CFLAGS) $^ -o $@
101 $(CC) $(CFLAGS) $^ -o $@
101 102
102 103 clean : clean :
103 rm $(TARGETS) $(OBJS) $(H1_OBJS) $(H2_OBJS) $(H25_OBJS)
104 rm -f $(TARGETS) $(OBJS) $(H1_OBJS) $(H2_OBJS) $(H25_OBJS)
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/tuxsavvy/agere_fw_utils

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/tuxsavvy/agere_fw_utils

Clone this repository using git:
git clone git://git.rocketgit.com/user/tuxsavvy/agere_fw_utils

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main