1
1
This commit is contained in:
mooleshacat 2026-06-14 00:32:37 -04:00
parent c39f3c1a89
commit edaff9f631
Signed by: mooleshacat
GPG Key ID: 6F42FE1A481818C2
4 changed files with 15 additions and 19 deletions

4
.gitignore vendored
View File

@ -71,3 +71,7 @@ extracted.dtb
# secret(s)
*_PAC*
# proprietary, device specific, calibration data
package/firmware/ipq-wifi/files/board-trendnet_tew-829dru.QCA9984
package/firmware/ipq-wifi/files/board-trendnet_tew-829dru.QCA4019

View File

@ -13,6 +13,12 @@ PKG_FLAGS:=nonshared
include $(INCLUDE_DIR)/package.mk
define Build/Prepare
$(call Build/Prepare/Default)
$(if $(wildcard $(CURDIR)/files/*), \
$(CP) $(CURDIR)/files/* $(PKG_BUILD_DIR)/)
endef
define Build/Compile
endef
@ -89,6 +95,7 @@ ALLWIFIBOARDS:= \
tplink_archer-c60-v1 \
tplink_archer-c60-v2 \
tplink_tl-wa1201-v2 \
trendnet_tew-829dru \
wallys_dr40x9 \
xiaomi_aiot-ac2350 \
xiaomi_ax3600 \
@ -272,6 +279,7 @@ $(eval $(call generate-ipq-wifi-package,tplink_archer-c6-v2,TP-Link Archer C6 V2
$(eval $(call generate-ipq-wifi-package,tplink_archer-c60-v1,TP-Link Archer C60 V1))
$(eval $(call generate-ipq-wifi-package,tplink_archer-c60-v2,TP-Link Archer C60 V2))
$(eval $(call generate-ipq-wifi-package,tplink_tl-wa1201-v2,TP-Link TL-WA1201 V2))
$(eval $(call generate-ipq-wifi-package,trendnet_tew-829dru,TRENDnet TEW-829DRU))
$(eval $(call generate-ipq-wifi-package,wallys_dr40x9,Wallys DR40X9))
$(eval $(call generate-ipq-wifi-package,xiaomi_aiot-ac2350,Xiaomi AIoT AC2350))
$(eval $(call generate-ipq-wifi-package,xiaomi_ax3600,Xiaomi AX3600))

View File

@ -28,9 +28,6 @@
model = "TRENDnet TEW-829DRU";
compatible = "trendnet,tew-829dru", "qcom,ipq4019-dk04.1-c1", "qcom,ipq4019";
/* temporary, delete the inherited reserved memory node */
/delete-node/ reserved-memory;
chosen {
/* For Mainline/OpenWrt 21.02+ kernels: */
bootargs = "console=ttyHSL0,115200n8 rootfstype=squashfs,jffs2 iommu.passthrough=1";
@ -269,12 +266,14 @@
status = "okay";
nvmem-cells = <&caldata_art_0>;
nvmem-cell-names = "calibration";
qcom,ath10k-calibration-variant = "TEW-829DRU-2G";
};
&wifi1 {
status = "okay";
nvmem-cells = <&caldata_art_1000>;
nvmem-cell-names = "calibration";
qcom,ath10k-calibration-variant = "TEW-829DRU-5G";
};
&art {

View File

@ -1409,22 +1409,6 @@ endef
# Missing DSA Setup
#TARGET_DEVICES += zyxel_wre6606
#define Device/trendnet_tew-829dru-test
# $(call Device/FitImage)
# $(call Device/UbiFit)
# DEVICE_VENDOR := TRENDnet
# DEVICE_MODEL := TEW-829DRU-TEST
# DEVICE_DTS := qcom-ipq4019-tew-829dru-test
# DEVICE_DTS_DIR := ../dts
# DEVICE_DTS_CONFIG := config@1
# KERNEL_INSTALL := 1
# BLOCKSIZE := 128k
# PAGESIZE := 2048
# FILESYSTEMS := squashfs
# IMAGE_SIZE := 112640k
#endef
#TARGET_DEVICES += trendnet_tew-829dru-test
define Device/trendnet_tew-829dru
$(call Device/FitImage)
$(call Device/UbiFit)
@ -1437,6 +1421,7 @@ define Device/trendnet_tew-829dru
BLOCKSIZE := 128k
PAGESIZE := 2048
FILESYSTEMS := squashfs
DEVICE_PACKAGES := ipq-wifi-trendnet_tew-829dru
IMAGE_SIZE := 112640k
endef
TARGET_DEVICES += trendnet_tew-829dru