diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2014-07-23 12:47:25 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2014-07-23 12:47:25 +0000 |
commit | dc628f2e0870d448313e790398bfaf36850c4702 (patch) | |
tree | 2d62e7d3870497ed4ab6e158aba7faead11b9fe3 /target/linux/ar71xx/base-files/lib | |
parent | 039fe23f8ebd0a5bdc7b4aba07f9e7468e2883ff (diff) | |
download | mtk-20170518-dc628f2e0870d448313e790398bfaf36850c4702.zip mtk-20170518-dc628f2e0870d448313e790398bfaf36850c4702.tar.gz mtk-20170518-dc628f2e0870d448313e790398bfaf36850c4702.tar.bz2 |
add support for the archer c5
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41814
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
4 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 70f7482..a067604 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -277,6 +277,9 @@ ar71xx_board_detect() { *AP83) name="ap83" ;; + *"Archer C5") + name="archer-c5" + ;; *"Archer C7") name="archer-c7" ;; diff --git a/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx b/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx index 47b0082..10651fc 100644 --- a/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx +++ b/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx @@ -13,6 +13,7 @@ set_preinit_iface() { ap135-020 |\ ap136-020 |\ ap83 |\ + archer-c5 |\ archer-c7 |\ dir-505-a1 |\ gl-inet |\ diff --git a/target/linux/ar71xx/base-files/lib/preinit/81_load_ath10k_board_bin b/target/linux/ar71xx/base-files/lib/preinit/81_load_ath10k_board_bin index 14e1913..a28932f 100644 --- a/target/linux/ar71xx/base-files/lib/preinit/81_load_ath10k_board_bin +++ b/target/linux/ar71xx/base-files/lib/preinit/81_load_ath10k_board_bin @@ -11,6 +11,7 @@ do_load_ath10k_board_bin() { bs=1 skip=20480 count=2116 \ of=/tmp/ath10k-board.bin ;; + archer-c5 | \ archer-c7) local mac mac=$(macaddr_add $(cat /sys/class/net/eth1/address) -2) diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index de831b2..ced42ed 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -251,6 +251,7 @@ platform_check_image() { return 1 ;; + archer-c5 | \ archer-c7 | \ el-m150 | \ el-mini | \ |