Merge remote-tracking branch 'upstream/master'

This commit is contained in:
VIKING 2025-04-05 18:16:00 +08:00
commit bc3ee3d25a
45 changed files with 406 additions and 33 deletions

View File

@ -201,4 +201,9 @@ define Build/Compile
CROSS_COMPILE=$(TARGET_CROSS) CROSS_COMPILE=$(TARGET_CROSS)
endef endef
define Build/InstallDev
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
$(INSTALL_DATA) $(PKG_BUILD_DIR)/$(BINARIES_DIR)/at91bootstrap.bin $(STAGING_DIR_IMAGE)/$(BUILD_VARIANT)-at91bootstrap.bin
endef
$(eval $(call BuildPackage/AT91Bootstrap)) $(eval $(call BuildPackage/AT91Bootstrap))

View File

@ -179,4 +179,9 @@ define Build/Compile
$(UBOOT_MAKE_FLAGS) $(UBOOT_MAKE_FLAGS)
endef endef
define Build/InstallDev
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
$(INSTALL_DATA) $(PKG_BUILD_DIR)/$(UBOOT_IMAGE) $(STAGING_DIR_IMAGE)/$(BUILD_VARIANT)-$(UBOOT_IMAGE)
endef
$(eval $(call BuildPackage/U-Boot)) $(eval $(call BuildPackage/U-Boot))

View File

@ -36,6 +36,8 @@ zn,m2|\
glinet,gl-ax1800|\ glinet,gl-ax1800|\
glinet,gl-axt1800|\ glinet,gl-axt1800|\
netgear,wax214|\ netgear,wax214|\
netgear,wax610|\
netgear,wax610y|\
tplink,eap610-outdoor) tplink,eap610-outdoor)
ubootenv_add_mtd "0:appsblenv" "0x0" "0x40000" "0x20000" ubootenv_add_mtd "0:appsblenv" "0x0" "0x40000" "0x20000"
;; ;;

View File

@ -6,9 +6,9 @@ PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/firmware/qca-wireless.git PKG_SOURCE_URL=$(PROJECT_GIT)/project/firmware/qca-wireless.git
PKG_SOURCE_DATE:=2025-02-17 PKG_SOURCE_DATE:=2025-04-01
PKG_SOURCE_VERSION:=dd3577ec9f2d9d3ef5e35602d3fe731cb259ff39 PKG_SOURCE_VERSION:=c220fac7fdb35628ba53ff53ed36cf883a401161
PKG_MIRROR_HASH:=0da921982b33a831dd19e570974a22ad2b1f3324397b1203a8a38d7d044b073a PKG_MIRROR_HASH:=26338b4f165eb2e90273cd61ed26715b99e496ccf738167e22ff9213ca42c973
PKG_FLAGS:=nonshared PKG_FLAGS:=nonshared
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -56,6 +56,8 @@ ALLWIFIBOARDS:= \
netgear_sxk80 \ netgear_sxk80 \
netgear_wax214 \ netgear_wax214 \
netgear_wax218 \ netgear_wax218 \
netgear_wax610 \
netgear_wax610y \
netgear_wax620 \ netgear_wax620 \
netgear_wax630 \ netgear_wax630 \
prpl_haze \ prpl_haze \
@ -181,7 +183,7 @@ endef
# 2. Add $(eval $(call generate-ipq-wifi-package,<devicename>,<display name>)) # 2. Add $(eval $(call generate-ipq-wifi-package,<devicename>,<display name>))
# #
# Board files should follow this name structure: # Board files should follow this name structure:
# board-<devicename>.<qca4019|qca9888|qca9889|qca9984|qca99x0|ipq8074> # board-<devicename>.<qca4019|qca9888|qca9889|qca9984|qca99x0|ipq6018|ipq8074>
$(eval $(call generate-ipq-wifi-package,8devices_mango,8devices Mango)) $(eval $(call generate-ipq-wifi-package,8devices_mango,8devices Mango))
$(eval $(call generate-ipq-wifi-package,aliyun_ap8220,Aliyun AP8220)) $(eval $(call generate-ipq-wifi-package,aliyun_ap8220,Aliyun AP8220))
@ -212,6 +214,8 @@ $(eval $(call generate-ipq-wifi-package,netgear_rax120v2,Netgear RAX120v2))
$(eval $(call generate-ipq-wifi-package,netgear_sxk80,Netgear SXK80)) $(eval $(call generate-ipq-wifi-package,netgear_sxk80,Netgear SXK80))
$(eval $(call generate-ipq-wifi-package,netgear_wax214,Netgear WAX214)) $(eval $(call generate-ipq-wifi-package,netgear_wax214,Netgear WAX214))
$(eval $(call generate-ipq-wifi-package,netgear_wax218,Netgear WAX218)) $(eval $(call generate-ipq-wifi-package,netgear_wax218,Netgear WAX218))
$(eval $(call generate-ipq-wifi-package,netgear_wax610,Netgear WAX610))
$(eval $(call generate-ipq-wifi-package,netgear_wax610y,Netgear WAX610Y))
$(eval $(call generate-ipq-wifi-package,netgear_wax620,Netgear WAX620)) $(eval $(call generate-ipq-wifi-package,netgear_wax620,Netgear WAX620))
$(eval $(call generate-ipq-wifi-package,netgear_wax630,Netgear WAX630)) $(eval $(call generate-ipq-wifi-package,netgear_wax630,Netgear WAX630))
$(eval $(call generate-ipq-wifi-package,qihoo_360v6,Qihoo 360V6)) $(eval $(call generate-ipq-wifi-package,qihoo_360v6,Qihoo 360V6))

View File

@ -16,6 +16,4 @@ include $(INCLUDE_DIR)/target.mk
KERNELNAME:=zImage dtbs KERNELNAME:=zImage dtbs
DEFAULT_PACKAGES += kmod-usb-ohci kmod-at91-udc kmod-usb-gadget-eth
$(eval $(call BuildTarget)) $(eval $(call BuildTarget))

View File

@ -16,11 +16,11 @@ define Build/at91-sdcard
::$(DEVICE_NAME)-fit.itb ::$(DEVICE_NAME)-fit.itb
mcopy -i $@.boot \ mcopy -i $@.boot \
$(BIN_DIR)/u-boot-$(if $(findstring sam9x60,$@),$(DEVICE_DTS:at91-%=%),at91sam9x5ek)_mmc/u-boot.bin \ $(STAGING_DIR_IMAGE)/$(if $(findstring sam9x60,$@),$(DEVICE_DTS:at91-%=%),at91sam9x5ek)_mmc-u-boot.bin \
::u-boot.bin ::u-boot.bin
mcopy -i $@.boot \ mcopy -i $@.boot \
$(BIN_DIR)/at91bootstrap-$(if $(findstring sam9x60,$@),$(DEVICE_DTS:at91-%=%),at91sam9x5ek)sd_uboot/at91bootstrap.bin \ $(STAGING_DIR_IMAGE)/$(if $(findstring sam9x60,$@),$(DEVICE_DTS:at91-%=%),at91sam9x5ek)sd_uboot-at91bootstrap.bin \
::BOOT.bin ::BOOT.bin
$(CP) uboot-env.txt $@-uboot-env.txt $(CP) uboot-env.txt $@-uboot-env.txt

View File

@ -16,15 +16,15 @@ define Build/at91-sdcard
::$(DEVICE_NAME)-fit.itb ::$(DEVICE_NAME)-fit.itb
mcopy -i $@.boot \ mcopy -i $@.boot \
$(BIN_DIR)/u-boot-$(DEVICE_DTS:at91-%=%)_mmc/u-boot.bin \ $(STAGING_DIR_IMAGE)/$(DEVICE_DTS:at91-%=%)_mmc-u-boot.bin \
::u-boot.bin ::u-boot.bin
$(if $(findstring sama5d4-xplained,$@), \ $(if $(findstring sama5d4-xplained,$@), \
mcopy -i $@.boot \ mcopy -i $@.boot \
$(BIN_DIR)/at91bootstrap-$(DEVICE_DTS:at91-%=%)sd_uboot_secure/at91bootstrap.bin \ $(STAGING_DIR_IMAGE)/$(DEVICE_DTS:at91-%=%)sd_uboot_secure-at91bootstrap.bin \
::BOOT.bin, ::BOOT.bin,
mcopy -i $@.boot \ mcopy -i $@.boot \
$(BIN_DIR)/at91bootstrap-$(DEVICE_DTS:at91-%=%)sd_uboot/at91bootstrap.bin \ $(STAGING_DIR_IMAGE)/$(DEVICE_DTS:at91-%=%)sd_uboot-at91bootstrap.bin \
::BOOT.bin) ::BOOT.bin)
$(CP) uboot-env.txt $@-uboot-env.txt $(CP) uboot-env.txt $@-uboot-env.txt

View File

@ -16,11 +16,11 @@ define Build/at91-sdcard
::$(DEVICE_NAME)-fit.itb ::$(DEVICE_NAME)-fit.itb
mcopy -i $@.boot \ mcopy -i $@.boot \
$(BIN_DIR)/u-boot-$(DEVICE_DTS:at91-%=%)_mmc1/u-boot.bin \ $(STAGING_DIR_IMAGE)/$(DEVICE_DTS:at91-%=%)_mmc1-u-boot.bin \
::u-boot.bin ::u-boot.bin
mcopy -i $@.boot \ mcopy -i $@.boot \
$(BIN_DIR)/at91bootstrap-$(DEVICE_DTS:at91-%=%)sd_uboot/at91bootstrap.bin \ $(STAGING_DIR_IMAGE)/$(DEVICE_DTS:at91-%=%)sd_uboot-at91bootstrap.bin \
::BOOT.bin ::BOOT.bin
$(CP) uboot-env.txt $@-uboot-env.txt $(CP) uboot-env.txt $@-uboot-env.txt

View File

@ -1,6 +1,8 @@
BOARDNAME:= SAM9X Boards (ARMv5) BOARDNAME:= SAM9X Boards (ARMv5)
CPU_TYPE:=arm926ej-s CPU_TYPE:=arm926ej-s
DEFAULT_PACKAGES += kmod-usb-ohci kmod-at91-udc kmod-usb-gadget-eth
define Target/Description define Target/Description
Build generic firmware for Microchip AT91 SAM9x platforms Build generic firmware for Microchip AT91 SAM9x platforms
using the ARMv5 instruction set. using the ARMv5 instruction set.

View File

@ -2,7 +2,7 @@ BOARDNAME:=SAMA5 boards(Cortex-A5)
CPU_TYPE:=cortex-a5 CPU_TYPE:=cortex-a5
CPU_SUBTYPE:=vfpv4 CPU_SUBTYPE:=vfpv4
FEATURES+=fpu FEATURES+=fpu
DEFAULT_PACKAGES += kmod-usb2 DEFAULT_PACKAGES += kmod-usb2 kmod-usb-ohci kmod-at91-udc kmod-usb-gadget-eth
define Target/Description define Target/Description
Build generic firmware for Microchip(Atmel AT91) SAMA5D2, Build generic firmware for Microchip(Atmel AT91) SAMA5D2,

View File

@ -177,3 +177,7 @@
gpio-controller; gpio-controller;
}; };
}; };
&wdt {
status = "disabled";
};

View File

@ -163,6 +163,10 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&wdt {
status = "disabled";
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@ -173,6 +173,10 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&wdt {
status = "disabled";
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@ -166,6 +166,10 @@
}; };
}; };
&wdt {
status = "disabled";
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@ -73,3 +73,7 @@
always-running; always-running;
}; };
}; };
&wdt {
status = "disabled";
};

View File

@ -218,6 +218,10 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&wdt {
status = "disabled";
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@ -178,6 +178,10 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&wdt {
status = "disabled";
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@ -62,6 +62,9 @@
watchdog { watchdog {
compatible = "linux,wdt-gpio"; compatible = "linux,wdt-gpio";
pinctrl-names = "default";
pinctrl-0 = <&enable_gpio21>;
gpios = <&gpio 21 GPIO_ACTIVE_HIGH>; gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
hw_algo = "toggle"; hw_algo = "toggle";
hw_margin_ms = <30000>; hw_margin_ms = <30000>;
@ -70,10 +73,7 @@
}; };
&wdt { &wdt {
status = "okay"; status = "disabled";
pinctrl-names = "default";
pinctrl-0 = <&enable_gpio21>;
}; };
&gpio { &gpio {

View File

@ -41,10 +41,6 @@
status = "okay"; status = "okay";
}; };
&wdt {
status = "okay";
};
&spi { &spi {
status = "okay"; status = "okay";

View File

@ -32,10 +32,6 @@
status = "okay"; status = "okay";
}; };
&wdt {
status = "okay";
};
&spi { &spi {
status = "okay"; status = "okay";

View File

@ -121,6 +121,10 @@
status = "okay"; status = "okay";
}; };
&wdt {
status = "disabled";
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@ -182,6 +182,10 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&wdt {
status = "disabled";
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@ -138,6 +138,10 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&wdt {
status = "disabled";
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@ -149,6 +149,10 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&wdt {
status = "disabled";
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@ -75,7 +75,7 @@
}; };
&wdt { &wdt {
status = "okay"; status = "disabled";
}; };
&rst { &rst {

View File

@ -170,6 +170,10 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&wdt {
status = "disabled";
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@ -148,6 +148,10 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&wdt {
status = "disabled";
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@ -149,7 +149,7 @@
}; };
&wdt { &wdt {
status = "okay"; status = "disabled";
}; };
&wmac { &wmac {

View File

@ -104,6 +104,10 @@
}; };
}; };
&wdt {
status = "disabled";
};
&wmac { &wmac {
status = "okay"; status = "okay";
}; };

View File

@ -137,6 +137,10 @@
}; };
}; };
&wdt {
status = "disabled";
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@ -210,6 +210,10 @@
}; };
}; };
&wdt {
status = "disabled";
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@ -194,6 +194,10 @@
phy-handle = <&phy2>; phy-handle = <&phy2>;
}; };
&wdt {
status = "disabled";
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@ -175,6 +175,10 @@
}; };
}; };
&wdt {
status = "disabled";
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@ -213,6 +213,10 @@
phy-handle = <&phy2>; phy-handle = <&phy2>;
}; };
&wdt {
status = "disabled";
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@ -252,6 +252,10 @@
phy-handle = <&phy1>; phy-handle = <&phy1>;
}; };
&wdt {
status = "disabled";
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@ -157,6 +157,10 @@
phy-handle = <&phy0>; phy-handle = <&phy0>;
}; };
&wdt {
status = "disabled";
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@ -0,0 +1,206 @@
#include "ipq6018.dtsi"
#include "ipq6018-cp-cpu.dtsi"
#include "ipq6018-ess.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
/ {
aliases {
serial0 = &blsp1_uart3;
ethernet0 = &dp5;
label-mac-device = &dp5;
led-boot = &led_system_blue;
led-failsafe = &led_system_orange;
led-running = &led_system_green;
led-upgrade = &led_system_blue;
};
chosen {
stdout-path = "serial0:115200n8";
/*
* Netgear's U-Boot adds "ubi.mtd=rootfs root=mtd:ubi_rootfs"
* That fails to create a UBI block device, so add it here.
*/
bootargs-append = " root=/dev/ubiblock0_1";
};
keys {
compatible = "gpio-keys";
reset {
label = "reset";
gpios = <&tlmm 9 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
debounce-interval = <60>;
};
};
leds {
compatible = "gpio-leds";
led_system_orange: system-orange {
color = <LED_COLOR_ID_ORANGE>;
function = LED_FUNCTION_POWER;
function-enumerator = <0>;
gpios = <&tlmm 25 GPIO_ACTIVE_HIGH>;
};
led_system_green: system-green {
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_POWER;
function-enumerator = <1>;
gpios = <&tlmm 24 GPIO_ACTIVE_HIGH>;
};
led_system_blue: system-blue {
color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_POWER;
function-enumerator = <2>;
gpios = <&tlmm 29 GPIO_ACTIVE_HIGH>;
};
led_lan_g {
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_LAN;
function-enumerator = <0>;
gpios = <&tlmm 30 GPIO_ACTIVE_HIGH>;
};
led_lan_o {
color = <LED_COLOR_ID_ORANGE>;
function = LED_FUNCTION_LAN;
function-enumerator = <1>;
gpios = <&tlmm 31 GPIO_ACTIVE_HIGH>;
};
led_2g_b {
color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_WLAN;
function-enumerator = <0>;
gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
};
led_2g_g {
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_WLAN;
function-enumerator = <1>;
gpios = <&tlmm 33 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy0radio";
};
led_5g_b {
color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_WLAN;
function-enumerator = <2>;
gpios = <&tlmm 36 GPIO_ACTIVE_HIGH>;
};
led_5g_g {
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_WLAN;
function-enumerator = <3>;
gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "phy1radio";
};
};
};
&edma {
status = "okay";
};
&switch {
status = "okay";
switch_lan_bmp = <ESS_PORT5>;
switch_mac_mode1 = <MAC_MODE_SGMII_PLUS>;
qcom,port_phyinfo {
port@5 {
port_id = <5>;
phy_address = <24>;
port_mac_sel = "QGMAC_PORT";
};
};
};
&tlmm {
mdio_pins: mdio-pins {
mdc {
pins = "gpio64";
function = "mdc";
drive-strength = <8>;
bias-pull-up;
};
mdio {
pins = "gpio65";
function = "mdio";
drive-strength = <8>;
bias-pull-up;
};
};
};
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
reset-gpios = <&tlmm 77 GPIO_ACTIVE_LOW>;
qca8081_24: ethernet-phy@24 {
reg = <24>;
};
};
&dp5 {
status = "okay";
phy-handle = <&qca8081_24>;
label = "lan";
};
&blsp1_uart3 {
pinctrl-0 = <&serial_3_pins>;
pinctrl-names = "default";
status = "okay";
};
&prng {
status = "okay";
};
&cryptobam {
status = "okay";
};
&crypto {
status = "okay";
};
&qpic_bam {
status = "okay";
};
&qpic_nand {
status = "okay";
nand@0 {
reg = <0>;
nand-ecc-strength = <4>;
nand-ecc-step-size = <512>;
nand-bus-width = <8>;
partitions {
compatible = "qcom,smem-part";
};
};
};
&wifi {
status = "okay";
qcom,m3-dump-addr = <0x50100000>;
};

View File

@ -0,0 +1,14 @@
// SPDX-License-Identifier: (GPL-2.0+)
/dts-v1/;
#include "ipq6010-wax610-base.dtsi"
/ {
model = "Netgear WAX610";
compatible = "netgear,wax610", "qcom,ipq6018";
};
&wifi {
qcom,ath11k-calibration-variant = "Netgear-WAX610";
};

View File

@ -0,0 +1,14 @@
// SPDX-License-Identifier: (GPL-2.0+)
/dts-v1/;
#include "ipq6010-wax610-base.dtsi"
/ {
model = "Netgear WAX610Y";
compatible = "netgear,wax610y", "qcom,ipq6018";
};
&wifi {
qcom,ath11k-calibration-variant = "Netgear-WAX610Y";
};

View File

@ -1,5 +1,15 @@
DEVICE_VARS += TPLINK_SUPPORT_STRING DEVICE_VARS += TPLINK_SUPPORT_STRING
define Build/wax610-netgear-tar
mkdir $@.tmp
mv $@ $@.tmp/nand-ipq6018-apps.img
md5sum $@.tmp/nand-ipq6018-apps.img | cut -c 1-32 > $@.tmp/nand-ipq6018-apps.md5sum
echo "WAX610" > $@.tmp/metadata.txt
echo "WAX610-610Y_V99.9.9.9" > $@.tmp/version
tar -C $@.tmp/ -cf $@ .
rm -rf $@.tmp
endef
define Device/8devices_mango-dvk define Device/8devices_mango-dvk
$(call Device/FitImageLzma) $(call Device/FitImageLzma)
DEVICE_VENDOR := 8devices DEVICE_VENDOR := 8devices
@ -100,6 +110,32 @@ define Device/netgear_wax214
endef endef
TARGET_DEVICES += netgear_wax214 TARGET_DEVICES += netgear_wax214
define Device/netgear_wax610-common
$(call Device/FitImage)
DEVICE_VENDOR := Netgear
BLOCKSIZE := 128k
PAGESIZE := 2048
DEVICE_DTS_CONFIG := config@cp03-c1
SOC := ipq6010
KERNEL_IN_UBI := 1
IMAGES += ui-factory.tar
IMAGE/ui-factory.tar := append-ubi | qsdk-ipq-factory-nand | pad-to 4096 | wax610-netgear-tar
endef
define Device/netgear_wax610
$(Device/netgear_wax610-common)
DEVICE_MODEL := WAX610
DEVICE_PACKAGES := ipq-wifi-netgear_wax610
endef
TARGET_DEVICES += netgear_wax610
define Device/netgear_wax610y
$(Device/netgear_wax610-common)
DEVICE_MODEL := WAX610Y
DEVICE_PACKAGES := ipq-wifi-netgear_wax610y
endef
TARGET_DEVICES += netgear_wax610y
define Device/qihoo_360v6 define Device/qihoo_360v6
$(call Device/FitImage) $(call Device/FitImage)
$(call Device/UbiFit) $(call Device/UbiFit)

View File

@ -27,10 +27,6 @@ ipq60xx_setup_interfaces()
yuncore,fap650) yuncore,fap650)
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan" ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan"
;; ;;
netgear,wax214|\
tplink,eap610-outdoor)
ucidef_set_interface_lan "lan" "dhcp"
;;
cmiot,ax18|\ cmiot,ax18|\
jdcloud,re-ss-01|\ jdcloud,re-ss-01|\
jdcloud,re-cs-07|\ jdcloud,re-cs-07|\
@ -41,6 +37,12 @@ ipq60xx_setup_interfaces()
qihoo,360v6) qihoo,360v6)
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "wan" ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "wan"
;; ;;
netgear,wax214|\
netgear,wax610|\
netgear,wax610y|\
tplink,eap610-outdoor)
ucidef_set_interface_lan "lan" "dhcp"
;;
*) *)
echo "Unsupported hardware. Network interfaces not initialized" echo "Unsupported hardware. Network interfaces not initialized"
;; ;;

View File

@ -21,6 +21,8 @@ case "$FIRMWARE" in
linksys,mr7350|\ linksys,mr7350|\
linksys,mr7500|\ linksys,mr7500|\
netgear,wax214|\ netgear,wax214|\
netgear,wax610|\
netgear,wax610y|\
qihoo,360v6|\ qihoo,360v6|\
redmi,ax5|\ redmi,ax5|\
xiaomi,ax1800|\ xiaomi,ax1800|\

View File

@ -11,5 +11,9 @@ boot() {
yuncore,fap650) yuncore,fap650)
fw_setenv owrt_bootcount 0 fw_setenv owrt_bootcount 0
;; ;;
netgear,wax610|\
netgear,wax610y)
fw_setenv boot_count 0
;;
esac esac
} }

View File

@ -117,6 +117,8 @@ platform_do_upgrade() {
glinet,gl-ax1800|\ glinet,gl-ax1800|\
glinet,gl-axt1800|\ glinet,gl-axt1800|\
netgear,wax214|\ netgear,wax214|\
netgear,wax610|\
netgear,wax610y|\
qihoo,360v6) qihoo,360v6)
nand_do_upgrade "$1" nand_do_upgrade "$1"
;; ;;

View File

@ -63,7 +63,8 @@ xunlong,orangepi-r1-plus-lts)
;; ;;
friendlyarm,nanopi-r4s|\ friendlyarm,nanopi-r4s|\
friendlyarm,nanopi-r4se|\ friendlyarm,nanopi-r4se|\
friendlyarm,nanopi-r4s-enterprise) friendlyarm,nanopi-r4s-enterprise|\
friendlyarm,nanopi-r6c)
set_interface_core 10 "eth0" set_interface_core 10 "eth0"
set_interface_core 20 "eth1" set_interface_core 20 "eth1"
;; ;;