mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
ipq807x: improve support for ZTE MF269 (#7800)
This commit is contained in:
parent
2ba47c8f12
commit
49f7faa21f
@ -21,8 +21,9 @@ ipq807x_setup_interfaces()
|
||||
;;
|
||||
zte,mf269)
|
||||
ucidef_set_interfaces_lan_wan "eth0" "eth1"
|
||||
ucidef_set_interface_macaddr "lan" "$(macaddr_add $(mtd_get_mac_binary "mac" 0x0) 1)"
|
||||
ucidef_set_interface_macaddr "wan" "$(mtd_get_mac_binary "mac" 0x0)"
|
||||
hw_mac_addr=$(mtd_get_mac_binary "mac" 0x0)
|
||||
ucidef_set_interface_macaddr "wan" "$hw_mac_addr"
|
||||
ucidef_set_interface_macaddr "lan" "$(macaddr_add $hw_mac_addr 1)"
|
||||
;;
|
||||
*)
|
||||
echo "Unsupported hardware. Network interfaces not initialized"
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -73,14 +73,14 @@ endef
|
||||
TARGET_DEVICES += xiaomi_ax9000
|
||||
|
||||
define Device/zte_mf269
|
||||
$(call Device/FitImage)
|
||||
$(call Device/UbiFit)
|
||||
DEVICE_VENDOR := ZTE
|
||||
DEVICE_MODEL := MF269
|
||||
BLOCKSIZE := 128k
|
||||
PAGESIZE := 2048
|
||||
DEVICE_DTS_CONFIG := config@ac04
|
||||
SOC := ipq8071
|
||||
DEVICE_PACKAGES := ipq-wifi-zte_mf269 uboot-envtools
|
||||
$(call Device/FitImage)
|
||||
$(call Device/UbiFit)
|
||||
DEVICE_VENDOR := ZTE
|
||||
DEVICE_MODEL := MF269
|
||||
BLOCKSIZE := 128k
|
||||
PAGESIZE := 2048
|
||||
DEVICE_DTS_CONFIG := config@ac04
|
||||
SOC := ipq8071
|
||||
DEVICE_PACKAGES := ipq-wifi-zte_mf269 uboot-envtools
|
||||
endef
|
||||
TARGET_DEVICES += zte_mf269
|
||||
|
Loading…
Reference in New Issue
Block a user