summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/diag.sh
Commit message (Collapse)AuthorAgeFilesLines
* update from oPENWRT forum, need authorHans Ulli Kroll2016-10-101-0/+3
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* ramips: Xiaomi MiWiFi Nano: fix status ledCezary Jackiewicz2016-09-291-0/+1
| | | | | | | - add status led for Xiaomi MiWiFi Nano - revert https://github.com/lede-project/source/commit/af1e70b4a730e91ce1668d506ebc5c1c8cf5abf5 , this should not be added. Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ramips : add support for Newifi D1BangLang Huang2016-09-271-0/+3
| | | | Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
* ramips : add support for PandoraBox D1BangLang Huang2016-09-271-1/+2
| | | | Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
* ramips: Add support for ZBT-CPE102Cezary Jackiewicz2016-09-271-0/+3
| | | | | | | | | | - CPU: MT7620N 580MHz - Flash: 8MB - RAM: 64MB - build-in minipcie slot for modem 3G/4G - one ethernet port 10/100Mbps Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ramips: add support for Mercury MAC1200R v2Daniel Golle2016-09-091-0/+1
| | | | | | | | MT7628AN + MT7612E, 8MB SPI flash, 64MB DDR RAM reset button GPIO is still missing (anyone?) bootloader password is 'slp' Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ramips: Add support for Thunder TimecloudChuanhong Guo2016-08-101-1/+2
| | | | | | | Thunder Timecloud is a small NAS with MT7621A. It has 1 USB port and an SD Card slot. There is no wireless cards. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* ramips: Add support for D-Link DCH-M225Michael Lee2016-07-111-0/+1
| | | | | | | | D-Link DCH-M225 is based on Mediatek MT7620 with 64MB ram, 8MB flash, 3.5mm audio out support. but no ethernet and usb ports. so you must default enable wifi. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: add button support and make LEDs known to userspace for DIR-860L B1Matthias Schiffer2016-06-301-0/+1
| | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Reviewed-by: Jo-Philipp Wich <jo@mein.io>
* ramips/base-files: Add support for Archer C50Henryk Heisig2016-06-131-0/+3
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ramips: add Widora-NEO board supportYuan Chenmang2016-06-011-1/+2
| | | | | | | | | The Widora board is similar to the Linkit 7688 but features a larger flash capacity. Signed-off-by: Yuan Chenmang <771992497@qq.com> [Jo-Philipp Wich: Reword commit message, cleanup initial PR] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: use green power LED as status indicator for Buffalo WSR-1166 and WSR-600Felix Fietkau2016-05-211-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: add status led for ZBT-WE826Andrew Yong2016-05-121-1/+2
| | | | Signed-off-by: Andrew Yong <me@ndoo.sg>
* ramips: add initial support for SamKnows SK-WB8Andrew Yong2016-05-121-0/+1
| | | | Signed-off-by: Andrew Yong <me@ndoo.sg>
* ramips: add support for Planex MZK-EX750NP.blogic2016-05-101-1/+2
| | | | | | | | | | | add support for Planex MZK-EX750NP. MZK-EX750NP is MT7620A and MT7610E based 11ac wifi repeater. Built-in power supply. 64MiB RAM, 8MiB SPI Flash, non Wired Ethernet. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49268
* ramips: Add support for the Netgear WNDR3700v5John Crispin2016-04-261-0/+1
| | | | | | | | | | https://wiki.openwrt.org/toh/netgear/wndr3700 wndr3700v5 uses the single-core dual thread MediaTek MT7621S SoC. Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 49247
* ramips: add support for Planex MZK-EX300NPJohn Crispin2016-04-261-0/+1
| | | | | | | | | | MZK-EX300NP is MT7620A based wifi repeater. Built-in power supply. 64MiB RAM, 8MiB SPI Flash, non Wired Ethernet. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49235
* ramips: add support for Planex CS-QR10John Crispin2016-04-261-0/+1
| | | | | | | | | | | | CS-QR10 is MT7620A based IP Camera. the camera and sound does not work with kernel 4.4. - camera chip is sn9c291. - sound chip is wm8960. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49234
* ramips: Add support for ZBT WG3526John Crispin2016-04-211-1/+2
| | | | | | | | | | | | | | | | | | The WG3526 is the follow-up to the 2626 and is mostly the same, with the excaption that the mt7602 has been replaced with the mt7603. The internal wifi setup has also changed slightly. Based on my tests, everything that worked on the 2626 works on the 3526 and with roughly the same performance. v1->v2: * Remove some references to 2626 that I had missed in the dts. v2->v3: * Update patch to match new file structure. * Removed SD driver to be consistent with other MT7621 targets. Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com> SVN-Revision: 49213
* ramips: add support for ELECOM WRH-300CRJohn Crispin2016-04-211-1/+2
| | | | | | | | | | | | | | ELECOM WRH-300CR is MT7620N based very small Wi-Fi router with 64MiB DDR2 SDRAM, 16MiB SPI Flash, one fast ethernet port, and (internal but easy-to-access) UART. it also has internal USB hub and USB card reader which provide one USB port, one SD card slot, and one microSD card slot. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com> SVN-Revision: 49211
* ramips: fix support Planex MZK-750DHP.John Crispin2016-04-201-0/+1
| | | | | | | | | | fix script for Planex MZK-750DHP. modification of the GPIO definition. add Profile. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49205
* ramips: Add JCG routers to base-filesJohn Crispin2016-03-041-0/+3
| | | | | | | | | | This patch adds support for JHR-N805R, JHR-N825R and JHR-N926R to various scripts in the base-files directory. Signed-off-by: Reinhard Max <reinhard@m4x.de> Reviewed-by: Torsten Duwe <duwe@lst.de> SVN-Revision: 48905
* ramips: Add support for Phicomm PSG1208John Crispin2016-02-151-1/+2
| | | | | | | | | | This patch adds support for Phicomm PSG1208.This is a router with MT7620A SoC with 8M flash and 64M ram. The WPS led is uesd as status_led because the power light can't be controlled with GPIO. It seems that the 5g wifi led is connected to MT7612E and it can't be controlled with GPIO too. Signed-off-by: Chuanhong Guo <gch981213@gmail.com> SVN-Revision: 48721
* ramips: Add support for Netgear EX2700John Crispin2016-02-121-0/+1
| | | | | | | | | | | | | | | | This patch adds support for the Netgear EX2700 and builds an approriate sysupgrade image. What's missing is the option to build a factory image flashable via the router's stock web interface, but this approach is hindered by the fact that u-boot operforms an additional integrity check, which expects a uImage header in the last 64 bytes of the "kernel" partition, which the bootloader expects to be 960k, a size exceeded by the standard OpenWrt kernel. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com> SVN-Revision: 48698
* ralink: add WRTnode2 platform and led supportJohn Crispin2016-01-011-0/+5
| | | | | | Signed-off-by: xzmu <xzmu@wrtnode.com> SVN-Revision: 48049
* ramips: add additional support for MQmaker WiTi boardJohn Crispin2015-12-111-0/+1
| | | | | | | | | | | | | | The board is based on mt7621AT cpu, and has 16mb nor flash, 256mb of ram, 2 sata ports, microsd card slot, 1 USB 3.0 port and at least one 2.4 and one 5 ghz antenna. This is the 6th submission that adds support for XHCI in the device tree file, along with switching the location of the 2 radio's and addition of the kmod-i2c-mt7621 in the default packages of the profile. Signed-off-by: Sebastian Careba <nitroshift@yahoo.com> SVN-Revision: 47845
* ramips: Fix support for PBR-M1 boardJohn Crispin2015-12-111-5/+5
| | | | | | | | | | The PBR-M1 support in current OpenWrt is for the early demo board and it doesn't work on the final board.This patch fixes the support for it. The LED called pbr-m1:buzzer is a beeper connected to GPIO26 so I used gpio-beeper instead of gpio-leds. Signed-off-by: 郭传鈜 <gch981213@gmail.com> SVN-Revision: 47844
* ralink: add support for netis WF-2881John Crispin2015-11-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | netis WF-2881 is an MT7621AT based router with MT7602EN, MT7612EN. It has 128MB DDR3, 128MB SLC NAND FLASH, 5-port Gbps switch and 1x USB 3.0. The following patch adds support for this device. this device only works on top of UBI. Tested and working: * ethernet * both WiFi radios * USB 3.0 * buttons (reset button) * ethernet switch and USB diag LEDs * UART * GPIOs * sysupgrade Tested and not working * failsafe Signed-off-by: YounJae Rho <luxflow@live.com> SVN-Revision: 47619
* ramips: add feature to blink led on sysupgradeJohn Crispin2015-11-031-1/+6
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47373
* ramips: add support for ZBT WG2626John Crispin2015-11-021-1/+2
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47351
* ramips: Add base-files for HiWiFi HC5x61 modelsJohn Crispin2015-10-051-4/+5
| | | | | | | | | | | | | | | HiWiFi HC5661/5761/5861 models are manufactured by http://www.hiwifi.com. These models have similar hardware specs(MT7620A + 128M DDR2 + 16M flash). This patch adds support for them. The original author is Justin Liu (rssnsj@gmail.com). I ported the patch to trunk and submitted it here with his approval. v3 fix 1: Fixed model order 2: Remove manufacturer name from model name 3: Use a hacky but prettier way to get mac address. Signed-off-by: Xiaoning Kang <kangxn@163.com> SVN-Revision: 47111
* ramips: Added WIZnet WizFi630A Platform based on Ralink RT5350John Crispin2015-09-141-0/+3
| | | | | | | | This patch is to add the WIZnet WizFi630A board as a new platform. The board is in mini pci express form factor. Signed-off-by: Tobias Welz <tw@wiznet.eu> SVN-Revision: 46921
* ramips: add support for Planex DB-WRT01John Crispin2015-09-141-0/+1
| | | | | | | | | | This patch add support for Planex DB-WRT01. DANBOARD route on the MT7620A SoC with two Ethernet port and a 802.11n 2.4 GHz radio. DANBOARD is Cartoon character. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 46918
* ramips: base-files: optimize etc/diag.sh and etc/board.d/01_leds scriptsJohn Crispin2015-08-171-270/+124
| | | | | | | | | | | | | | | | | | | | | | | | Instead of using board name provided explicitly as text in LED name, ex.: [...] mlwg2) status_led="mlwg2:blue:system" [...] use $board variable, which allows to combine together multiple boards with same color and LED names, ex: [...] mlw221|\ mlwg2) status_led="$board:blue:system" [...] The above approach allows to shrink size of code in base-files/etc/board.d/01_leds and base-files/etc/diag.sh scripts dramatically. One thing to keep in mind here is that we assume to use proper and consistent LED naming scheme ("device:color:led-name"). Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46665
* ramips: use consistent naming scheme for LEDsJohn Crispin2015-08-171-94/+158
| | | | | | | | | | | | | The upstream LED naming convention is "device:color:led-name", but it seems that many of supported boards in OpenWrt don't follow this approach. The following patch fixes this inconsistency in dts{,i} files and updates base-files scripts for ramips target: * fixes wrong indentation * keeps case statements structure in same convention as in other scripts (no empty line after ";;", no indentation for case...esac body) * fixes wrong LED names for some of boards (makes them the same as in dts{,i} files) * combines boards with same configuration (ex. set_wifi_led "rt2800pci-phy0::radio" in 01_leds) Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46664
* ramips: remove unnecessary LED declaration for WT1520 in diag.shJohn Crispin2015-08-171-3/+0
| | | | | | | | This device doesn't have defined LEDs in its dts file. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46635
* ramips: remove old code for Edimax BR-6524NJohn Crispin2015-08-171-3/+0
| | | | | | | | | It seems that support for Edimax BR-6524N was dropped long time ago (dts file for this device is missing). This patch removes remaining code. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46630
* ramips: fix 7Links PX-4885 dts{, i}, board, image and profile namesJohn Crispin2015-08-171-2/+2
| | | | | | | | The following patch changes 7Links PX-4885 dts{,i} filenames, board, image and profile names from "PX4885" to "PX-4885" (for consistency). Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46629
* ramips: fix Buffalo WMR-300 dts, board, image and profile namesJohn Crispin2015-08-171-2/+2
| | | | | | | | The following patch changes Buffalo WMR-300 dts filename, board, image and profile names from "WMR300" to "WMR-300" (for consistency). Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46628
* ramips: fix Omnima models, images and profiles namesJohn Crispin2015-08-171-3/+5
| | | | | | | | | | | | | | | | | | | | Official names for supported Omnima products are (as on website): * Omnima HPM * Omnima MiniEMBWiFi * Omnima MiniEMBPlug This patch changes: * board names * dts filenames * profile names * image filenames * LED names for Omnima devices, for consistency. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46627
* ramips: fix Edimax BR-6425 board nameJohn Crispin2015-08-171-1/+1
| | | | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46626
* ramips: fix Argus ATP-52B board and image namesJohn Crispin2015-08-171-2/+2
| | | | | | | | | | | | | | The following patch: * changes board name from "argus-atp52b" to "atp-52b" * changes dts filename * fixes LED names in dts file and base-files scripts * removes manufacturer name from image filename for Argus ATP-52B device. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46621
* ramips: fix Xiaomi MiWiFi Mini board, image and profile namesJohn Crispin2015-08-171-2/+2
| | | | | | | | | | | | | | The following patch: * changes board name from "xiaomi-miwifi-mini" to "miwifi-mini" * changes filenames of dts and profile * fixes LED names in dts file and base-files scripts * removes manufacturer name from image filename for Xiaomi MiWiFi Mini device. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46617
* ramips: fix Zbtlink ZBT-WR8305RT board nameJohn Crispin2015-08-171-2/+2
| | | | | | | | There is another Zbtlink board (ZBT-WA05) supported in ramips target, so use the same naming scheme for ZBT-WR8305RT board and its dts file. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46614
* ramips: add support for STORYLiNK SAP-G3200U3John Crispin2015-07-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | STORYLiNK SAP-G3200U3 is an AC1200 router based on MT7621AT+MT7602EN+MT7612EN. It has 128MB DDR3, 8MB NOR FLASH, 5-port Gbps switch and 1x USB 3.0. The following patch adds support for this device. Tested and working: * ethernet * both WiFi radios * USB 3.0 * buttons * ethernet switch and USB diag LEDs * UART * GPIOs Tested and not working: * LEDs for WiFi radios (connected with WiFi chips, not supported in mt76?) * failsafe mode (known problem, needs workaround like other MTK based devices) More information in Wiki: http://wiki.openwrt.org/toh/storylink/sap-g3200u3 Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46454
* ramips: add support for Planex MZK-DP150NJohn Crispin2015-07-171-0/+3
| | | | | | | | | This patch add support for Planex MZK-DP150N. a mini router on the MT7620A SoC with one Ethernet port and a 802.11n 2.4 GHz radio. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 46405
* ramips: a5-v11 board fix power led blinking at bootJohn Crispin2015-07-071-0/+6
| | | | | | Signed-off-by: Konrad Kotowicz <skoti1@go2.pl> SVN-Revision: 46215
* ramips: Add Support for the Linksys RE6500John Crispin2015-06-181-0/+3
| | | | | | | | | | This patch adds support for the Linksys RE6500 Range Extender http://wiki.openwrt.org/toh/linksys/re6500 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 46043
* ramips: Add support for the D-Link DCS-930 B1John Crispin2015-06-181-0/+3
| | | | | | | | http://wiki.openwrt.org/toh/d-link/dcs-930l Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 46042
* ramips: add support for PandoraBox PBR-M1John Crispin2015-06-181-0/+3
| | | | | | | | | This patch is for PandoraBox PBR-M1 which is based on mt7621, all the features work fine, including rtc, leds, button, usb3.0, etc. Signed-off-by: tymon <banglang.huang@foxmail.com> SVN-Revision: 46041