Ticket #10492: tl-wr740n-v4.support.final.2.patch

File tl-wr740n-v4.support.final.2.patch, 6.1 KB (added by anonymous, 6 years ago)
  • trunk/target//linux/ar71xx/base-files/etc/diag.sh

    diff -ruN '--exclude=.svn' /openwrt2/trunk/target//linux/ar71xx/base-files/etc/diag.sh /openwrt/trunk/target//linux/ar71xx/base-files/etc/diag.sh
    old new  
    9393        tl-wa901nd | \ 
    9494        tl-wa901nd-v2 | \ 
    9595        tl-wr1043nd | \ 
     96        tl-wr740n-v4 | \ 
    9697        tl-wr741nd | \ 
    9798        tl-wr741nd-v4 | \ 
    9899        tl-wr841n-v1 | \ 
  • trunk/target//linux/ar71xx/base-files/etc/uci-defaults/leds

    diff -ruN '--exclude=.svn' /openwrt2/trunk/target//linux/ar71xx/base-files/etc/uci-defaults/leds /openwrt/trunk/target//linux/ar71xx/base-files/etc/uci-defaults/leds
    old new  
    104104        set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1" 
    105105        ;; 
    106106 
     107tl-wr740n-v4 | \ 
    107108tl-wr741nd-v4 | \ 
    108109tl-wr941nd) 
    109110        set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt" 
  • trunk/target//linux/ar71xx/base-files/lib/ar71xx.sh

    diff -ruN '--exclude=.svn' /openwrt2/trunk/target//linux/ar71xx/base-files/lib/ar71xx.sh /openwrt/trunk/target//linux/ar71xx/base-files/lib/ar71xx.sh
    old new  
    136136        *"TL-WA901ND v2") 
    137137                name="tl-wa901nd-v2" 
    138138                ;; 
     139        *"TL-WR740N v4") 
     140                name="tl-wr740n-v4" 
     141                ;; 
    139142        *TL-WR741ND) 
    140143                name="tl-wr741nd" 
    141144                ;; 
  • trunk/target//linux/ar71xx/base-files/lib/upgrade/platform.sh

    diff -ruN '--exclude=.svn' /openwrt2/trunk/target//linux/ar71xx/base-files/lib/upgrade/platform.sh /openwrt/trunk/target//linux/ar71xx/base-files/lib/upgrade/platform.sh
    old new  
    115115        tl-wa901nd | \ 
    116116        tl-wa901nd-v2 | \ 
    117117        tl-wr703n | \ 
     118        tl-wr740n-v4 | \ 
    118119        tl-wr741nd | \ 
    119120        tl-wr741nd-v4 | \ 
    120121        tl-wr841n-v1 | \ 
  • trunk/target//linux/ar71xx/config-2.6.39

    diff -ruN '--exclude=.svn' /openwrt2/trunk/target//linux/ar71xx/config-2.6.39 /openwrt/trunk/target//linux/ar71xx/config-2.6.39
    old new  
    4141CONFIG_AR71XX_MACH_TL_WA901ND_V2=y 
    4242CONFIG_AR71XX_MACH_TL_WR1043ND=y 
    4343CONFIG_AR71XX_MACH_TL_WR703N=y 
     44CONFIG_AR71XX_MACH_TL_WR740N_V4=y 
    4445CONFIG_AR71XX_MACH_TL_WR741ND=y 
    4546CONFIG_AR71XX_MACH_TL_WR741ND_V4=y 
    4647CONFIG_AR71XX_MACH_TL_WR841N_V1=y 
  • trunk/target//linux/ar71xx/files/arch/mips/ar71xx/Kconfig

    diff -ruN '--exclude=.svn' /openwrt2/trunk/target//linux/ar71xx/files/arch/mips/ar71xx/Kconfig /openwrt/trunk/target//linux/ar71xx/files/arch/mips/ar71xx/Kconfig
    old new  
    276276        select AR71XX_DEV_USB 
    277277        select AR71XX_DEV_AR9XXX_WMAC 
    278278 
     279config AR71XX_MACH_TL_WR740N_V4 
     280        bool "TP-LINK TL-WR740N v4 support" 
     281        select SOC_AR933X 
     282        select AR71XX_DEV_M25P80 
     283        select AR71XX_DEV_GPIO_BUTTONS 
     284        select AR71XX_DEV_LEDS_GPIO 
     285        select AR71XX_DEV_AR9XXX_WMAC 
     286 
    279287config AR71XX_MACH_TL_WR741ND 
    280288        bool "TP-LINK TL-WR741ND support" 
    281289        select SOC_AR724X 
  • trunk/target//linux/ar71xx/files/arch/mips/ar71xx/machtype.h

    diff -ruN '--exclude=.svn' /openwrt2/trunk/target//linux/ar71xx/files/arch/mips/ar71xx/machtype.h /openwrt/trunk/target//linux/ar71xx/files/arch/mips/ar71xx/machtype.h
    old new  
    5555        AR71XX_MACH_TL_WR703N,  /* TP-LINK TL-WR703N */ 
    5656        AR71XX_MACH_TL_WR741ND, /* TP-LINK TL-WR741ND */ 
    5757        AR71XX_MACH_TL_WR741ND_V4, /* TP-LINK TL-WR741ND  v4*/ 
     58        AR71XX_MACH_TL_WR740ND_V4, /* TP-LINK TL-WR741ND  v4*/ 
    5859        AR71XX_MACH_TL_WR841N_V1, /* TP-LINK TL-WR841N v1 */ 
    5960        AR71XX_MACH_TL_WR941ND, /* TP-LINK TL-WR941ND */ 
    6061        AR71XX_MACH_UBNT_BULLET_M, /* Ubiquiti Bullet M */ 
  • trunk/target//linux/ar71xx/generic/profiles/tp-link.mk

    diff -ruN '--exclude=.svn' /openwrt2/trunk/target//linux/ar71xx/generic/profiles/tp-link.mk /openwrt/trunk/target//linux/ar71xx/generic/profiles/tp-link.mk
    old new  
    8282 
    8383$(eval $(call Profile,TLWR740NV1)) 
    8484 
    85  
    8685define Profile/TLWR740NV3 
    8786        NAME:=TP-LINK TL-WR740N v3 
    8887        PACKAGES:= 
     
    9493 
    9594$(eval $(call Profile,TLWR740NV3)) 
    9695 
     96define Profile/TLWR740NV4 
     97        NAME:=TP-LINK TL-WR740N v4 
     98        PACKAGES:= 
     99endef 
     100 
     101define Profile/TLWR740NV4/Description 
     102        Package set optimized for the TP-LINK TL-WR740N v4. 
     103endef 
     104 
     105$(eval $(call Profile,TLWR740NV4)) 
    97106 
    98107define Profile/TLWR743NDV1 
    99108        NAME:=TP-LINK TL-WR743ND v1 
  • trunk/target//linux/ar71xx/image/Makefile

    diff -ruN '--exclude=.svn' /openwrt2/trunk/target//linux/ar71xx/image/Makefile /openwrt/trunk/target//linux/ar71xx/image/Makefile
    old new  
    636636        $(call Image/Build/Template/$(fs_64k)/$(1),TPLINK,tl-wr740n-v3,$(tlwr740nv3_cmdline),TL-WR740Nv3) 
    637637endef 
    638638 
     639tlwr740nv4_cmdline=board=TL-WR741ND-v4 console=ttyATH0,115200 
     640define Image/Build/Profile/TLWR740NV4 
     641        $(call Image/Build/Template/$(fs_64k)/$(1),TPLINK-LZMA,tl-wr740n-v4,$(tlwr740nv4_cmdline),TL-WR740Nv4) 
     642endef 
     643 
    639644define Image/Build/Profile/TLWR743NDV1 
    640645        $(call Image/Build/Template/$(fs_64k)/$(1),TPLINK,tl-wr743nd-v1,$(tlwr741ndv1_cmdline),TL-WR743NDv1) 
    641646endef 
     
    783788        $(call Image/Build/Profile/TLWR741NDV4,$(1)) 
    784789        $(call Image/Build/Profile/TLWR740NV1,$(1)) 
    785790        $(call Image/Build/Profile/TLWR740NV3,$(1)) 
     791        $(call Image/Build/Profile/TLWR740NV4,$(1)) 
    786792        $(call Image/Build/Profile/TLWR743NDV1,$(1)) 
    787793        $(call Image/Build/Profile/TLWR841NV15,$(1)) 
    788794        $(call Image/Build/Profile/TLWR841NDV3,$(1))