aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc/diag.sh
Commit message (Collapse)AuthorAgeFilesLines
* brcm63xx: Add support for Plusnet 2704NJonas Gorski2015-08-051-0/+3
| | | | | | | | BCM6318: add support for Plusnet / Sagem 2704N (V1) Signed-off-by: Matt Goring <matt.goring@googlemail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46562 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix failsafe lan and status led for DSL-274xB rev. F1Jonas Gorski2015-05-211-1/+2
| | | | | | | | | Add it to the appropriate places so the power led properly works and ethernet is properly configured for failsafe. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add Huawei HG655b supportJonas Gorski2015-05-211-0/+3
| | | | | | | | | | | | | | | This patch adds support for the Huawei HG655b. Nothing much special in this router, it's just another BCM6368 with a Ralink RT3062 wifi chip and the calibration data embedded in the main flash chip at offset 0x7c0000. There is also configuration data used by the OEM firmware before the cal_data partition, this area is protected by the board_data partition in this patch. Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45708 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add BT Home Hub 2A support.Jonas Gorski2015-03-251-0/+4
| | | | | | | | | | | | | | | | | | Support for the BT HomeHub 2.0 Type A. This router was manufactured by Thomson, and it's BCM6358 based. The leds are controled by two chained HC594, all working ok. The BCM5325 switch has the RESET# pin wired to the GPIO15, but currently there is no way to tell the b53 driver how to get this gpio number in brcm63xx, therefore swconfig won't use it when performing a switch reset. The patch was tested with several firmwares, and all except unsupported stuff (i.e xDSL) works pretty well. Tested-by: Tahir <tahir00ali@gmail.com> Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44985 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: set status leds from within diag.shJonas Gorski2015-03-161-0/+97
| | | | | | | | | Instead of setting them up on invocation of brcm63xx_detect, set them when calling diag.sh based. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44837 3c298f89-4303-0410-b956-a3cf2f4a3e73
* targets: base-files: diag.sh does not need to be executableLuka Perkov2015-02-071-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add "preinit_regular" diag.sh set_state argumentJohn Crispin2014-12-151-0/+3
| | | | | | | | | | | | This new argument is used right after starting regular preinit (which happens if failsafe wasn't triggered). The main purpose of "preinit" argument is to indicate that failsafe can be triggered, however we were missing a way to inform user that we don't wait for a trigger anymore. With this change it's clear when failsafe mode can be triggered. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: diag does not need to insmod any drivers, procd already did it ↵John Crispin2013-06-211-1/+0
| | | | | | | | for us Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36999 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: migrate platform to common led helper functionsFlorian Fainelli2013-02-181-49/+2
| | | | | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35661 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: Accept any led with power in its name as power ledFlorian Fainelli2011-05-111-1/+1
| | | | | | Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26875 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: Allow 'colored' power leds.Daniel Dickinson2010-11-281-1/+1
| | | | | | | | | | | Since some devices have more than one power led, they might be separated by their color in the name. To also allow them to be on after leaving preinit, set any status led starting with 'power' to on instead of only those with the exact name of 'power'. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24187 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx]: base-files: diag.sh: For power button as preinit status led, end ↵Daniel Dickinson2010-08-021-1/+5
| | | | | | with led left on, not off git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22466 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Added LED code for preinit (/etc/diag.sh) for 96348GW (Tecom 6x00)Daniel Dickinson2010-05-301-0/+67
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21627 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] we are using the default-on trigger for power LEDs, no need to ↵Florian Fainelli2009-07-181-12/+0
| | | | | | change their state from userspace git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16892 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] register GPIO-connected LEDs for known boardsFlorian Fainelli2009-07-181-0/+12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16887 3c298f89-4303-0410-b956-a3cf2f4a3e73