[OpenWrt-Devel] ar71xx: Adding TP-Link TL-WR740N v6 support to trunk...

Matthias Schiffer mschiffer at universe-factory.net
Sun Apr 10 17:35:56 EDT 2016


On 04/10/2016 11:21 PM, Stijn Segers wrote:
> Hi guys,
> 
> I'm trying to add support for the TP-Link TL-WR740N v6.
> On the OpenWrt forums [1] a modified TL-WR841N v10 
> image has been confirmed working. I tried adding support
> (see patch below) but no matter what I try, the v6 image
> does not seem to be generated. Running make with V=s 
> doesn't show any mention of the v6 images being attempted
> to build (or failing to build) altogether. What am I doing 
> wrong here?
> 
> Thanks
> 
> Stijn

Which profile do you have selected in your .config? You have set
DEVICE_PROFILE := TLWR841 in your patch, so the 740v6 image will be built
only if Generic or TL-WR841 is selected, but not for TL-WR740/741.

Regards,
Matthias


> 
> 
> [1]: https://forum.openwrt.org/viewtopic.php?id=64002
> 
> ---
>  target/linux/ar71xx/image/Makefile | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
> index e4e2fcf..7123941 100644
> --- a/target/linux/ar71xx/image/Makefile
> +++ b/target/linux/ar71xx/image/Makefile
> @@ -753,6 +753,13 @@ define Device/tl-wr740n-v5
>      CONSOLE := ttyATH0,115200
>  endef
>  
> +define Device/tl-wr740n-v6
> +    $(Device/tplink-4mlzma)
> +    BOARDNAME := TL-WR841N-v9
> +    DEVICE_PROFILE := TLWR841
> +    TPLINK_HWID := 0x07400006
> +endef
> +
>  define Device/tl-wr741nd-v1
>      $(Device/tplink-4m)
>      BOARDNAME := TL-WR741ND
> @@ -797,7 +804,7 @@ define Device/tl-wr743nd-v2
>      TPLINK_HWID := 0x07430002
>      CONSOLE := ttyATH0,115200
>  endef
> -TARGET_DEVICES += tl-wr740n-v1 tl-wr740n-v3 tl-wr740n-v4 tl-wr740n-v5 tl-wr741nd-v1 tl-wr741nd-v2 tl-wr741nd-v4 tl-wr741nd-v5 tl-wr743nd-v1 tl-wr743nd-v2
> +TARGET_DEVICES += tl-wr740n-v1 tl-wr740n-v3 tl-wr740n-v4 tl-wr740n-v5 tl-wr740n-v6 tl-wr741nd-v1 tl-wr741nd-v2 tl-wr741nd-v4 tl-wr741nd-v5 tl-wr743nd-v1 tl-wr743nd-v2
>  
>  define Device/tl-wr841-v1.5
>      $(Device/tplink-4m)
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20160410/bba6302a/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list