aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc/diag.sh
Commit message (Collapse)AuthorAgeFilesLines
* 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> SVN-Revision: 44985
* 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> SVN-Revision: 44837
* targets: base-files: diag.sh does not need to be executableLuka Perkov2015-02-071-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44305
* 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> SVN-Revision: 43715
* 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> SVN-Revision: 36999
* 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> SVN-Revision: 35661
* 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> SVN-Revision: 26875
* 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> SVN-Revision: 24187
* base-files: diag.sh: For power button as preinit status led, end with led ↵Daniel Dickinson2010-08-021-1/+5
| | | | | | left on, not off SVN-Revision: 22466
* brcm63xx: Added LED code for preinit (/etc/diag.sh) for 96348GW (Tecom 6x00)Daniel Dickinson2010-05-301-0/+67
| | | | SVN-Revision: 21627
* we are using the default-on trigger for power LEDs, no need to change their ↵Florian Fainelli2009-07-181-12/+0
| | | | | | state from userspace SVN-Revision: 16892
* register GPIO-connected LEDs for known boardsFlorian Fainelli2009-07-181-0/+12
SVN-Revision: 16887