Changeset 41814


Ignore:
Timestamp:
2014-07-23T14:47:25+02:00 (4 years ago)
Author:
kaloz
Message:

[ar71xx]: add support for the archer c5

Signed-off-by: Imre Kaloz <kaloz@…>

Location:
trunk/target/linux/ar71xx
Files:
1 added
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/base-files/etc/diag.sh

    r41788 r41814  
    208208                status_led="tp-link:green:system" 
    209209                ;; 
     210        archer-c5 | \ 
    210211        archer-c7 | \ 
    211212        tl-wdr4900-v2 | \ 
  • trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds

    r41809 r41814  
    284284        ;; 
    285285 
     286archer-c5|\ 
    286287archer-c7|\ 
    287288tl-wdr4900-v2) 
  • trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network

    r41795 r41814  
    5454        ;; 
    5555 
     56archer-c5 |\ 
    5657archer-c7 |\ 
    5758tl-wdr4900-v2) 
  • trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh

    r41788 r41814  
    278278                name="ap83" 
    279279                ;; 
     280        *"Archer C5") 
     281                name="archer-c5" 
     282                ;; 
    280283        *"Archer C7") 
    281284                name="archer-c7" 
  • trunk/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx

    r41619 r41814  
    1414        ap136-020 |\ 
    1515        ap83 |\ 
     16        archer-c5 |\ 
    1617        archer-c7 |\ 
    1718        dir-505-a1 |\ 
  • trunk/target/linux/ar71xx/base-files/lib/preinit/81_load_ath10k_board_bin

    r41757 r41814  
    1212                                of=/tmp/ath10k-board.bin 
    1313                ;; 
     14                archer-c5 | \ 
    1415                archer-c7) 
    1516                        local mac 
  • trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh

    r41788 r41814  
    252252                ;; 
    253253 
     254        archer-c5 | \ 
    254255        archer-c7 | \ 
    255256        el-m150 | \ 
  • trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c

    r41627 r41814  
    11/* 
    2  * TP-LINK Archer C7/TL-WDR4900 v2 board support 
     2 * TP-LINK Archer C5/C7/TL-WDR4900 v2 board support 
    33 * 
    44 * Copyright (c) 2013 Gabor Juhos <juhosg@openwrt.org> 
    55 * Copyright (c) 2014 斜康成 <tenninjas@tenninjas.ca> 
     6 * Copyright (c) 2014 Imre Kaloz <kaloz@openwrt.org> 
    67 * 
    78 * Based on the Qualcomm Atheros AP135/AP136 reference board support code 
     
    240241} 
    241242 
     243static void __init archer_c5_setup(void) 
     244{ 
     245        common_setup(true); 
     246} 
     247 
     248MIPS_MACHINE(ATH79_MACH_ARCHER_C5, "ARCHER-C5", "TP-LINK Archer C5", 
     249             archer_c5_setup); 
     250 
    242251static void __init archer_c7_setup(void) 
    243252{ 
  • trunk/target/linux/ar71xx/generic/profiles/tp-link.mk

    r41598 r41814  
    77 
    88define Profile/ARCHERC7 
    9         NAME:=TP-LINK Archer C7 
     9        NAME:=TP-LINK Archer C5/C7 
    1010        PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev kmod-ath10k 
    1111endef 
    1212 
    1313define Profile/ARCHERC7/Description 
    14         Package set optimized for the TP-LINK Archer C7. 
     14        Package set optimized for the TP-LINK Archer C5/C7. 
    1515endef 
    1616$(eval $(call Profile,ARCHERC7)) 
  • trunk/target/linux/ar71xx/image/Makefile

    r41788 r41814  
    11611161$(eval $(call SingleProfile,TPLINK,64kraw,TLWR1043V1,tl-wr1043nd-v1,TL-WR1043ND,ttyS0,115200,0x10430001,1,8M)) 
    11621162 
     1163$(eval $(call SingleProfile,TPLINK-LZMA,64kraw,ARCHERC5,archer-c5,ARCHER-C5,ttyS0,115200,0xc5000001,1,16Mlzma)) 
    11631164$(eval $(call SingleProfile,TPLINK-LZMA,64kraw,ARCHERC7V1,archer-c7-v1,ARCHER-C7,ttyS0,115200,0x75000001,1,8Mlzma)) 
    11641165$(eval $(call SingleProfile,TPLINK-LZMA,64kraw,ARCHERC7V2,archer-c7-v2,ARCHER-C7,ttyS0,115200,0xc7000002,1,16Mlzma)) 
     
    12421243$(eval $(call MultiProfile,AP121,AP121_2M AP121_4M)) 
    12431244$(eval $(call MultiProfile,AP136,AP136_010 AP136_020)) 
    1244 $(eval $(call MultiProfile,ARCHERC7, ARCHERC7V1 ARCHERC7V2)) 
     1245$(eval $(call MultiProfile,ARCHERC7, ARCHERC5 ARCHERC7V1 ARCHERC7V2)) 
    12451246$(eval $(call MultiProfile,EWDORIN, EWDORINAP EWDORINRT EWDORIN16M)) 
    12461247$(eval $(call MultiProfile,OPENMESH,OM2P OM5P MR600)) 
Note: See TracChangeset for help on using the changeset viewer.