[v2-PATCH] ath79: add support for TP-Link WR710N v1
Adrian Schmutzler
mail at adrianschmutzler.de
Di Aug 18 17:29:57 CEST 2020
Reviewed, wie besprochen geändert und applied.
> -----Original Message-----
> From: franken-dev [mailto:franken-dev-bounces at freifunk.net] On Behalf
> Of Fabian Eppig
> Sent: Dienstag, 18. August 2020 13:58
> To: franken-dev at freifunk.net
> Subject: [v2-PATCH] ath79: add support for TP-Link WR710N v1
>
> From: byteturtle <byteturtle at schaffenburg.org>
>
> Signed-off-by: Fabian Eppig <byteturtle at schaffenburg.org>
> ---
> bsp/ath79-generic.bsp | 1 +
> bsp/ath79-generic/.config | 17 ++++++++---------
> .../mips/network.tplink,tl-wr710n-v1 | 7 +++++++
> 3 files changed, 16 insertions(+), 9 deletions(-) create mode 100644
> src/packages/fff/fff-network/mips/network.tplink,tl-wr710n-v1
>
> diff --git a/bsp/ath79-generic.bsp b/bsp/ath79-generic.bsp index
> 752bfdd..b247880 100644
> --- a/bsp/ath79-generic.bsp
> +++ b/bsp/ath79-generic.bsp
> @@ -25,4 +25,5 @@ images=("openwrt-${chipset}-${subtarget}-glinet_gl-
> ar150-squashfs-*"
> "openwrt-${chipset}-${subtarget}-ubnt_picostation-m-squashfs-*"
> "openwrt-${chipset}-${subtarget}-ubnt_unifi-squashfs-*"
> "openwrt-${chipset}-${subtarget}-ubnt_unifiac-mesh-squashfs-*"
> + "openwrt-${chipset}-${subtarget}-tplink_tl-wr710n-v1-squashfs-*"
> )
> diff --git a/bsp/ath79-generic/.config b/bsp/ath79-generic/.config index
> 1f25ae2..3ae26cc 100644
> --- a/bsp/ath79-generic/.config
> +++ b/bsp/ath79-generic/.config
> @@ -38,6 +38,8 @@
> CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_tplink_tl-wr1043nd-v4=y
> CONFIG_TARGET_DEVICE_PACKAGES_ath79_generic_DEVICE_tplink_tl-
> wr1043nd-v4=""
> CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_tplink_tl-wr1043n-v5=y
> CONFIG_TARGET_DEVICE_PACKAGES_ath79_generic_DEVICE_tplink_tl-
> wr1043n-v5=""
> +CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_tplink_tl-wr710n-v1=y
> +CONFIG_TARGET_DEVICE_PACKAGES_ath79_generic_DEVICE_tplink_tl-
> wr710n-v1=""
> CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_tplink_tl-wr842n-v2=y
> CONFIG_TARGET_DEVICE_PACKAGES_ath79_generic_DEVICE_tplink_tl-
> wr842n-v2=""
> CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_bullet-m=y
> @@ -56,6 +58,7 @@
> CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_unifiac-mesh=y
>
> CONFIG_TARGET_DEVICE_PACKAGES_ath79_generic_DEVICE_ubnt_unifiac-
> mesh="-kmod-ath10k-ct kmod-ath10k -ath10k-firmware-qca988x-ct ath10k-
> firmware-qca988x"
> CONFIG_BUSYBOX_CUSTOM=y
> CONFIG_TARGET_PER_DEVICE_ROOTFS=y
> +CONFIG_ATH10K_LEDS=y
> # CONFIG_BUSYBOX_CONFIG_BRCTL is not set #
> CONFIG_BUSYBOX_CONFIG_CROND is not set #
> CONFIG_BUSYBOX_CONFIG_CRONTAB is not set @@ -72,18 +75,14 @@
> CONFIG_CLEAN_IPKG=y #
> CONFIG_FASTD_ENABLE_METHOD_GENERIC_UMAC is not set
> CONFIG_KERNEL_SQUASHFS_FRAGMENT_CACHE_SIZE=1
> # CONFIG_PACKAGE_ALFRED_VIS is not set
> +CONFIG_PACKAGE_ath10k-firmware-qca9887=m
> +CONFIG_PACKAGE_ath10k-firmware-qca9888=m
> +CONFIG_PACKAGE_ath10k-firmware-qca988x=m
> CONFIG_PACKAGE_hostapd-mini=y
> CONFIG_PACKAGE_iwinfo=m
> +CONFIG_PACKAGE_kmod-ath10k=m
> CONFIG_PACKAGE_libiwinfo=m
> CONFIG_PACKAGE_opkg=m
> +CONFIG_PACKAGE_wpad-basic=m
> CONFIG_PACKAGE_wpad-mini=m
> -CONFIG_PACKAGE_ath10k-firmware-qca9887=m
> -CONFIG_PACKAGE_ath10k-firmware-qca9888=m
> -CONFIG_PACKAGE_ath10k-firmware-qca988x=m
> -CONFIG_PACKAGE_kmod-ath10k=m
> -CONFIG_PACKAGE_ath10k-firmware-qca9887-ct=m
> -CONFIG_PACKAGE_ath10k-firmware-qca9888-ct=m
> -CONFIG_PACKAGE_ath10k-firmware-qca988x-ct=m
> -CONFIG_PACKAGE_kmod-ath10k-ct-smallbuffers=m
> -CONFIG_PACKAGE_kmod-ath10k-ct=m
> CONFIG_STRIP_KERNEL_EXPORTS=y
> diff --git a/src/packages/fff/fff-network/mips/network.tplink,tl-wr710n-v1
> b/src/packages/fff/fff-network/mips/network.tplink,tl-wr710n-v1
> new file mode 100644
> index 0000000..66ab834
> --- /dev/null
> +++ b/src/packages/fff/fff-network/mips/network.tplink,tl-wr710n-v1
> @@ -0,0 +1,7 @@
> +WANDEV=eth1
> +SWITCHDEV=eth0
> +CLIENT_PORTS="3 0t"
> +WAN_PORTS=
> +BATMAN_PORTS="0t"
> +
> +ROUTERMAC=$(cat /sys/class/ieee80211/phy0/macaddress)
> --
> 2.20.1
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname : openpgp-digital-signature.asc
Dateityp : application/pgp-signature
Dateigröße : 834 bytes
Beschreibung: nicht verfügbar
URL : <https://lists.freifunk.net/pipermail/franken-dev-freifunk.net/attachments/20200818/b912c94d/attachment.sig>
Mehr Informationen über die Mailingliste franken-dev