X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Fbase-files%2Flib%2Far71xx.sh;h=9f41a2b7e814431581177af68ae20ed835140975;hb=0dbced8a484faeb8bea0c29a35c1b0f6d58dbf4c;hp=8dbc6af34fbe7376718ae633b023f59267090c8f;hpb=6fc2e94120d0ec05562afed64a3a92c447a9f2fd;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 8dbc6af34f..9f41a2b7e8 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -38,7 +38,7 @@ wndr3700_board_detect() { ;; "33373031") # Use awk to remove everything after the first zero byte - model="$(ar71xx_get_mtd_offset_size_format art 41 32 %c | awk 'BEGIN{FS="[[:cntrl:]]"} {print $1; exit}')" + model="$(ar71xx_get_mtd_offset_size_format art 41 32 %c | LC_CTYPE=C awk -v 'FS=[^[:print:]]' '{print $1; exit}')" case $model in $'\xff'*) if [ "${model:24:1}" = 'N' ]; then @@ -110,6 +110,9 @@ tplink_board_detect() { "04440001"*) model="BITMAIN ANTMINER S1" ;; + "04440003"*) + model="BITMAIN ANTMINER S3" + ;; "120000"*) model="MERCURY MAC1200R" ;; @@ -218,6 +221,9 @@ tplink_board_detect() { "342000"*) model="TP-Link TL-MR3420" ;; + "332000"*) + model="TP-Link TL-WDR3320" + ;; "350000"*) model="TP-Link TL-WDR3500" ;; @@ -237,6 +243,9 @@ tplink_board_detect() { "49000002") model="TP-Link TL-WDR4900" ;; + "65000002") + model="TP-Link TL-WDR6500" + ;; "453000"*) model="MERCURY MW4530R" ;; @@ -362,6 +371,9 @@ ar71xx_board_detect() { *"AP143 reference board") name="ap143" ;; + *"AP147-010 reference board") + name="ap147-010" + ;; *AP81) name="ap81" ;; @@ -383,6 +395,9 @@ ar71xx_board_detect() { *CAP4200AG) name="cap4200ag" ;; + *"COMFAST CF-E316N v2") + name="cf-e316n-v2" + ;; *"CPE210/220/510/520") name="cpe510" tplink_pharos_board_detect @@ -408,6 +423,9 @@ ar71xx_board_detect() { *"DIR-615 rev. E4") name="dir-615-e4" ;; + *"DIR-615 rev. I1") + name="dir-615-i1" + ;; *"DIR-825 rev. B1") name="dir-825-b1" ;; @@ -417,6 +435,12 @@ ar71xx_board_detect() { *"DIR-835 rev. A1") name="dir-835-a1" ;; + *"dLAN pro 500 Wireless+") + name="dlan-pro-500-wp" + ;; + *"dLAN pro 1200+ WiFi ac") + name="dlan-pro-1200-ac" + ;; *"Dragino v2") name="dragino2" ;; @@ -493,6 +517,9 @@ ar71xx_board_detect() { *MR600v2) name="mr600v2" ;; + *MR1750) + name="mr1750" + ;; *MR600) name="mr600" ;; @@ -544,6 +571,9 @@ ar71xx_board_detect() { *"OM5P AN") name="om5p-an" ;; + *"Onion Omega") + name="onion-omega" + ;; *PB42) name="pb42" ;; @@ -658,6 +688,9 @@ ar71xx_board_detect() { *"SMART-300") name="smart-300" ;; + "Smart Electronics Black Swift board"*) + name="bsb" + ;; *TEW-632BRP) name="tew-632brp" ;; @@ -739,6 +772,9 @@ ar71xx_board_detect() { *"TL-WA901ND v3") name="tl-wa901nd-v3" ;; + *"TL-WDR3320 v2") + name="tl-wdr3320-v2" + ;; *"TL-WDR3500") name="tl-wdr3500" ;; @@ -748,6 +784,9 @@ ar71xx_board_detect() { *"TL-WDR4900 v2") name="tl-wdr4900-v2" ;; + *"TL-WDR6500 v2") + name="tl-wdr6500-v2" + ;; *TL-WR741ND) name="tl-wr741nd" ;;