1
1

restoring workspace...

This commit is contained in:
mooleshacat 2026-06-04 17:30:32 -04:00
parent 78c88ce188
commit 311573b886
Signed by: mooleshacat
GPG Key ID: 6F42FE1A481818C2
2 changed files with 41 additions and 0 deletions

View File

@ -125,6 +125,12 @@ ipq40xx_setup_interfaces()
plasmacloud,pa2200) plasmacloud,pa2200)
ucidef_set_interfaces_lan_wan "ethernet1" "ethernet2" ucidef_set_interfaces_lan_wan "ethernet1" "ethernet2"
;; ;;
trendnet,tew-829dru)
ucidef_set_interfaces_lan_wan "br-lan" "eth1"
ucidef_add_switch "switch0" \
"0u@eth0" "1:lan:1" "2:lan:2" "3:lan:3" "4:lan:4" "5:lan:5" \
"6:lan:6" "7:lan:7" "8:lan:8" "0u@eth1" "9:wan"
;;
qxwlan,e2600ac-c1) qxwlan,e2600ac-c1)
ucidef_set_interfaces_lan_wan "sw-eth1" "sw-eth2" ucidef_set_interfaces_lan_wan "sw-eth1" "sw-eth2"
;; ;;
@ -239,6 +245,9 @@ ipq40xx_setup_macs()
pakedge,wr-1) pakedge,wr-1)
wan_mac=$(macaddr_add $(get_mac_label) 1) wan_mac=$(macaddr_add $(get_mac_label) 1)
;; ;;
trendnet,tew-829dru)
label_mac=$(mtd_get_mac_ascii APPSBLENV ethaddr)
;;
esac esac
[ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" $lan_mac [ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" $lan_mac

View File

@ -1408,3 +1408,35 @@ define Device/zyxel_wre6606
endef endef
# Missing DSA Setup # Missing DSA Setup
#TARGET_DEVICES += zyxel_wre6606 #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)
DEVICE_VENDOR := TRENDnet
DEVICE_MODEL := TEW-829DRU
DEVICE_DTS := qcom-ipq4019-tew-829dru
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