Skip to content

Commit

Permalink
Merge 48966 binary blobs for TUF-AX3000
Browse files Browse the repository at this point in the history
  • Loading branch information
zaloisio committed Jun 1, 2022
1 parent 1d8757b commit 522f7a3
Show file tree
Hide file tree
Showing 830 changed files with 114,357 additions and 9 deletions.
23 changes: 19 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ workflows:
only: /.*/
- build:
name: "build_dsl-ac68u"
model: "dsl-ac68u"
model: "Xdsl-ac68u"
release_dir: "src-rt-6.x.4708"
requires:
- getcode
Expand All @@ -213,7 +213,7 @@ workflows:
- mainline
- build:
name: "build_rt-ax82u"
model: "rt-ax82u"
model: "Xrt-ax82u"
release_dir: "src-rt-5.02axhnd.675x"
requires:
- getcode
Expand All @@ -226,7 +226,7 @@ workflows:
- mainline
- build:
name: "build_rt-ax95q"
model: "rt-ax95q"
model: "Xrt-ax95q"
release_dir: "src-rt-5.02axhnd.675x"
requires:
- getcode
Expand All @@ -239,7 +239,20 @@ workflows:
- mainline
- build:
name: "build_tuf-ax5400"
model: "tuf-ax5400"
model: "Xtuf-ax5400"
release_dir: "src-rt-5.02axhnd.675x"
requires:
- getcode
filters:
tags:
only: /.*/
branches:
ignore:
- master
- mainline
- build:
name: "build_tuf-ax3000"
model: "tuf-ax3000"
release_dir: "src-rt-5.02axhnd.675x"
requires:
- getcode
Expand All @@ -262,6 +275,7 @@ workflows:
- build_dsl-ac68u
- build_rt-ax82u
- build_tuf-ax5400
- build_tuf-ax3000
- build_rt-ax95q
- publish-manifest-and-notes:
filters:
Expand Down Expand Up @@ -293,6 +307,7 @@ workflows:
- build_dsl-ac68u
- build_rt-ax82u
- build_tuf-ax5400
- build_tuf-ax3000
- build_rt-ax95q
notify:
webhooks:
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@

WLAN_ComponentsInUse += bcmwifi math
include $(SRCBASE)/makefiles/WLAN_Common.mk
export SRCBASE := $(WLAN_SrcBaseA)
export BASEDIR := $(WLAN_TreeBaseA)
#export TOP = ..
CFLAGS += $(EXTRACFLAGS)
CFLAGS += -I. -I$(TOP)/shared -I$(SRCBASE)/include ${WLAN_StdIncPathA} -I$(SRCBASE)/common/include -Wall -Werror
CFLAGS += $(if $(WLAN_ComponentIncPath),$(WLAN_ComponentIncPath),$(addprefix -I,$(wildcard $(SRCBASE)/shared/bcmwifi/include $(SRCBASE)/../components/math/include)))
#CFLAGS += -g -DDEBUG
CFLAGS += -s -O2 -fno-strict-aliasing
CFLAGS += -DWL11AC_80P80 -DWL11AC_160
LDFLAGS += -L$(TOP_PLATFORM)/nvram -L$(INSTALLDIR)/nvram/usr/lib -lnvram
LDFLAGS += -L$(TOP)/shared -L$(INSTALLDIR)/shared/usr/lib -lshared -lpthread
LDFLAGS += -L$(TOP_PLATFORM)/wlcsm -lwlcsm
LDFLAGS += $(EXTRA_LDFLAGS)

CFLAGS += -I$(SRCBASE)/../components/math/include -I$(SRCBASE)/../components/proto/include -I$(SRCBASE)/shared/bcmwifi/include -I$(SRCBASE)/../components/wlioctl/include

vpath %.c $(SRCBASE)/shared
vpath %.c $(SRCBASE)/shared/bcmwifi/src $(SRCBASE)/../components/math/src
vpath %.c $(SRCBASE)/../components/wlioctl/include $(SRCBASE)/include

all: acsd acs_cli

OBJS = bcmwifi_channels.o dcs.o acs_dfs.o acs_channels.o acs_cfg.o acs_scan.o acs_bgdfs.o acs_iov.o acs_fcs.o acs.o acsd_utils.o acsd_main.o acsd_cmd.o acsd_chanim.o acs_dfsr.o

install: all
install -d $(INSTALLDIR)/usr/sbin/
install acsd $(INSTALLDIR)/usr/sbin/
install acs_cli $(INSTALLDIR)/usr/sbin/
$(STRIP) $(INSTALLDIR)/usr/sbin/acsd
$(STRIP) $(INSTALLDIR)/usr/sbin/acs_cli

clean:
rm -f *.o *.a *.so acsd acs_cli

${OBJS}: acsd.h acsd_svr.h acs_dfsr.h

ifneq ($(PREBUILT_BCMBIN),1)
acsd: bcmutils.o bcmxtlv.o bcm_app_utils.o ${OBJS}
$(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS)

acs_cli: acsd_cli.o acsd_utils.o bcmwifi_channels.o
$(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS)
else
acsd:
cp -f $(TOP_PLATFORM)/$(shell pwd | sed 's/\(.*router-sysdep\/\)//')/$(PRBM_DIR)/$@ ./
acs_cli:
cp -f $(TOP_PLATFORM)/$(shell pwd | sed 's/\(.*router-sysdep\/\)//')/$(PRBM_DIR)/$@ ./
endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
#***********************************************************************
#
# Copyright (c) 2019 Broadcom Corporation
# All Rights Reserved
#
#***********************************************************************


#
# In most cases, you only need to modify this first section.
#
LIB = libarcher.so

OBJS = archer_api.o

all install: generic_private_lib_install

clean: generic_clean
rm -f $(INSTALL_DIR)/lib/private/$(LIB)



#
# Set our CommEngine directory (by splitting the pwd into two words
# at /userspace and taking the first word only).
# Then include the common defines under CommEngine.
# You do not need to modify this part.
#
CURR_DIR := $(shell pwd)
BUILD_DIR:=$(HND_SRC)

include $(BUILD_DIR)/make.common

CFLAGS += -Wall -Werror -Wfatal-errors

#
# Private apps and libs are allowed to include header files from the
# private and public directories
#
# WARNING: Do not modify this section unless you understand the
# license implications of what you are doing.
#
ALLOWED_INCLUDE_PATHS := -I.\
-I$(BUILD_DIR)/userspace/public/include \
-I$(BUILD_DIR)/userspace/public/include/$(OALDIR) \
-I$(BUILD_DIR)/userspace/private/include \
-I$(BUILD_DIR)/userspace/private/include/$(OALDIR) \
-I$(BUILD_DIR)/shared/opensource/include/bcm963xx \
-I$(BUILD_DIR)/shared/private/include/$(OALDIR) \
-I$(INC_BRCMDRIVER_PRIV_PATH)/$(BRCM_BOARD) \
-I$(INC_BRCMDRIVER_PUB_PATH)/$(BRCM_BOARD)



#
# Implicit rule will make the .c into a .o
# Implicit rule is $(CC) -c $(CPPFLAGS) $(CFLAGS)
# See Section 10.2 of Gnu Make manual
#
ifeq ($(wildcard *.c),)
$(LIB):
cp prebuilt/libarcher.so libarcher.so
else
$(LIB): $(OBJS)
$(CC) -shared $(BCM_LD_FLAGS) -Wl,--whole-archive,-soname,$@ -o $@ $(OBJS) -Wl,--no-whole-archive
endif


#
# Include the rule for making dependency files.
# The '-' in front of the second include suppresses
# error messages when make cannot find the .d files.
# It will just regenerate them.
# See Section 4.14 of Gnu Make.
#

include $(BUILD_DIR)/make.deprules

-include $(OBJS:.o=.d)
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
condition:ifneq ($(strip $(BUILD_ARCHERCTL)),)

Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

EXE = archerctl

all:
@cp -f prebuilt/$(EXE) .

install: generic_exe_install
mkdir -p $(INSTALL_DIR)/bin
(cd $(INSTALL_DIR)/bin; rm -f archer; ln -s $(EXE) archer)

clean:

dynamic: all install

include $(BUILD_DIR)/make.common
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
#
# Makefile for BCM Archer Packet Accelerator Control Utility.
# Program Executable: archerctl
# Set custom variables in this first section
#
EXE = archerctl
OBJS = archer_ctl.o
LIBS = -larcher

PROGRAM_NAME_ALT:=archer

all dynamic install: $(EXE) generic_exe_install
ln -sf $(EXE) $(INSTALL_DIR)/bin/$(PROGRAM_NAME_ALT)

clean: generic_clean
rm -f $(OBJS)
rm -f $(INSTALL_DIR)/bin/$(EXE)
rm -f $(INSTALL_DIR)/bin/$(PROGRAM_NAME_ALT)

binaryonly_dist_clean: clean generic_binaryonly_dist_clean
rm -f Makefile.fullsrc


#
# Set our CommEngine directory (by splitting the pwd into two words
# at /userspace and taking the first word only).
# Then include the common defines under CommEngine.
#
CURR_DIR := $(shell pwd)
BUILD_DIR:=$(HND_SRC)

include $(BUILD_DIR)/make.common

#
# Private apps and libs are allowed to include header files from the
# private and public directories.
#
# WARNING: Do not modify this section unless you understand the
# license implications of what you are doing.
#
ALLOWED_INCLUDE_PATHS := -I.\
-I$(BUILD_DIR)/userspace/public/include \
-I$(BUILD_DIR)/userspace/public/include/$(OALDIR) \
-I$(BUILD_DIR)/userspace/private/include \
-I$(BUILD_DIR)/userspace/private/include/$(OALDIR) \
-I$(INC_BRCMDRIVER_PUB_PATH)/$(BRCM_BOARD) \
-I$(INC_BRCMDRIVER_PRIV_PATH)/$(BRCM_BOARD) \
-I$(INC_BRCMSHARED_PUB_PATH)/$(BRCM_BOARD) \
-I$(INC_BRCMSHARED_PRIV_PATH)/$(BRCM_BOARD)


#
# Private apps and libs are allowed to link with libraries from the
# private and public directories.
#
# WARNING: Do not modify this section unless you understand the
# license implications of what you are doing.
#
ALLOWED_LIB_DIRS := /lib:/lib/private:/lib/public


#
# Implicit rule will make the .c into a .o
# Implicit rule is $(CC) -c $(CPPFLAGS) $(CFLAGS)
# See Section 10.2 of Gnu Make manual
#
$(EXE): $(OBJS)
$(CC) $(BCM_LD_FLAGS) -o $@ $(OBJS) -Wl,-rpath,$(CMS_LIB_RPATH) $(CMS_LIB_PATH) $(LIBS)

#
# Include the rule for making dependency files.
# The '-' in front of the second include suppresses
# error messages when make cannot find the .d files.
# It will just regenerate them.
# See Section 4.14 of Gnu Make.
#

include $(BUILD_DIR)/make.deprules

-include $(OBJS:.o=.d)
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

condition: ifneq ($(strip $(BUILD_ARCHERCTL)),)

dependson: private/libs/archer
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

EXE = xtmctl

all:
@cp -f prebuilt/$(EXE) .

install: generic_exe_install

clean:

dynamic: all install

include $(BUILD_DIR)/make.common
Loading

0 comments on commit 522f7a3

Please sign in to comment.