Commit graph

88 commits

Author SHA1 Message Date
Hauke Mehrtens
58eea9dc28 broadcom-diag: add support for e3200 v1
Hex values in nvram seem to be uppercase on my e3200 device.

Define one power led and two buttons (reset/wps).

Signed-off-by: Tijs Van Buggenhout <tvb@able.be>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 35766
2013-02-24 17:57:28 +00:00
Hauke Mehrtens
c3563fbea6 broadcom-diag: Detection of WNDR3400v1
nvram variable "boardtype" is unique for now.
-button gpio were taken from nvram.
-led information was taken from dd-wrt
( http://svn.dd-wrt.com/browser/src/router/libutils/utils.c )

I hope that I changed the values correctly.

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 35765
2013-02-24 17:56:00 +00:00
Hauke Mehrtens
49ff283df8 broadcom-diag: use new in kernel board detection code
SVN-Revision: 35764
2013-02-24 17:55:09 +00:00
Hauke Mehrtens
ac383f95a5 broadcom-diag: add diag support for Linksys E1000 V1
This adds diag leds/buttons support for Linksys E1000 V1. It worked on
my router, however it may need some tweaking by people more familiar
with openwrt and c to make it fit for commiting.

Thank you hhm for this patch.

SVN-Revision: 34996
2013-01-03 02:07:11 +00:00
Florian Fainelli
4a67ccb163 get rid of the IRQF_SAMPLE_RANDOM flag
SVN-Revision: 33558
2012-09-26 12:53:58 +00:00
Hauke Mehrtens
0758996824 brcm47xx: use libgpio instaed of implementing the gpio interface ourself.
SVN-Revision: 32992
2012-08-04 19:46:25 +00:00
Hauke Mehrtens
164dd71afe broadcom-diag: add missing break into switch case statement.
SVN-Revision: 31506
2012-04-28 23:30:05 +00:00
Jo-Philipp Wich
8dd93fbc1f broadcom-diag: add missing brackets breakign the detection logic (#10836)
SVN-Revision: 30610
2012-02-17 09:04:23 +00:00
Felix Fietkau
fd74a50df7 broadcom-diag: fix WRT150N/WRT160N detection (patch from #10836)
SVN-Revision: 30477
2012-02-12 15:43:14 +00:00
Hauke Mehrtens
a9e42130a5 broadcom-diag: add support for some new devices
There is still no Ethernet driver for these devices in trunk.

Thanks George Kashperko for the patch.

SVN-Revision: 29735
2012-01-13 20:21:15 +00:00
Hauke Mehrtens
773ce8c319 broadcom-diag: add support for bcma
SVN-Revision: 27905
2011-08-04 20:08:57 +00:00
Hauke Mehrtens
8428ebd8e8 brcm47xx: update patches
* this adds sflash support for ssb devices
* the flash is now a platform device
* minor updates

SVN-Revision: 27902
2011-08-04 20:04:54 +00:00
Hauke Mehrtens
4c18da3df6 brcm47xx: add initial support for devices with bcma bus.
Ethernet and wifi are not working and this is highly experimental.

SVN-Revision: 27301
2011-06-28 22:21:57 +00:00
Hauke Mehrtens
b62cc9ae9b brcm47xx: add Netgear WNR834BV1
Thank you realopty for the patch.

This closes #7702

SVN-Revision: 26537
2011-04-08 19:22:09 +00:00
Hauke Mehrtens
41b3383499 brcm47xx: Add edimax PS1208mfg support
Thank you clemvangelis for the patches. (closes #7672)

SVN-Revision: 24217
2010-12-02 21:27:54 +00:00
Imre Kaloz
7fa8ba095b Toto, we don't support Linux 2.4 anymore..
SVN-Revision: 23245
2010-10-05 14:15:46 +00:00
Jo-Philipp Wich
06dd991494 broadcom-diag: SimpleShare: expose power button as reset to the system, remove actual reset button - it's hardwired and will reset the SoC (#7928)
SVN-Revision: 23043
2010-09-13 01:35:39 +00:00
Gabor Juhos
19654fd1c2 package/broadcom-diag: use broadcast_uevent
SVN-Revision: 22860
2010-08-31 20:06:32 +00:00
Hauke Mehrtens
788561a909 brcm47xx: fix warning introduced in r22516.
SVN-Revision: 22521
2010-08-06 22:49:37 +00:00
Hauke Mehrtens
7640f89045 brcm47xx: Add new image generation and fix leds/reset button on WNR834B V2
Thank you realopty for the patch.
tools/firmware-utils/src/mkchkimg.c is from http://www.myopenrouter.com/download/10611/mkchkimg/

This closes #7702.

SVN-Revision: 22516
2010-08-06 20:21:32 +00:00
Felix Fietkau
c788e49ab7 broadcom-diag: detect more variants of SimpleTech SimpleShare
SVN-Revision: 22112
2010-07-10 00:51:28 +00:00
Markus Wigge
d306c9cb21 fix GPIO pin for G3GV2-VF
Signed-off-by: Niclas Koeser <nks@informatik.uni-kiel.de>

SVN-Revision: 22018
2010-07-01 16:23:38 +00:00
Felix Fietkau
543d870e82 remove linux 2.4 support from several packages
SVN-Revision: 21954
2010-06-26 20:43:41 +00:00
Nicolas Thill
138a5b8b4f package/broadcom-diag: fix USB led polarity on Asus WL-HDD (closes: #7055)
SVN-Revision: 20869
2010-04-15 03:20:28 +00:00
Markus Wigge
44c1a9e5e5 added WRT54G3GV2-VF detection to broadcom-diag
+ diag now recognizes the router
+ basic LEDs work
- 3G LED for blink does not work as for the old version
  so I removed it. Maybe some GPIO probing might help.

SVN-Revision: 20737
2010-04-07 07:45:54 +00:00
Florian Fainelli
1e72384edb add missing hunks to recognize the Microsoft MN-700 device (#6749)
SVN-Revision: 19896
2010-02-28 11:09:50 +00:00
Jo-Philipp Wich
0cde46b3e7 add support for OvisLink WL-1600GL
SVN-Revision: 19262
2010-01-21 23:48:23 +00:00
Florian Fainelli
61a1c4d06b add western digital netcenter support to broadcom-diag (#6124) original patch from Christoph Muellner
SVN-Revision: 19008
2010-01-02 16:22:20 +00:00
Felix Fietkau
6ec88dfdfc add Askey RT210W support (patch from #6380)
SVN-Revision: 18922
2009-12-24 11:00:31 +00:00
Felix Fietkau
46f75ee869 add WRT300N v1.1 support (patch from #6379)
SVN-Revision: 18921
2009-12-24 10:58:09 +00:00
Felix Fietkau
8c7c2d9116 Added identification of WRT610N and its button/led definitions.
Signed-off-by: Tomas Kopal <Tomas.Kopal@altap.cz>

SVN-Revision: 17434
2009-08-28 15:03:36 +00:00
Florian Fainelli
31fbb89034 add support for the WRT160N, patch from Westley Paynter
SVN-Revision: 17031
2009-07-27 13:00:23 +00:00
Hauke Mehrtens
b63576359d D-Link DIR-320 support (broadcom-diag)
This patch adds D-Link DIR-320 support to broadcom-diag.

"reserved" button is the button on the right side of the router without
any title. I'm not sure if I've selected right name.

Signed-off-by: Leonid Evdokimov <leon@darkk.net.ru>

SVN-Revision: 16443
2009-06-14 09:39:43 +00:00
Florian Fainelli
f3f5cfd4ee recognize WAP54Gv2 and assigne LED and GPIOs (#5335)
SVN-Revision: 16434
2009-06-13 15:56:21 +00:00
Florian Fainelli
74f8ea728a fix detection of motorola wr850g, thanks to Vinicius Fonseca, (#4710)
SVN-Revision: 16367
2009-06-07 09:28:29 +00:00
Felix Fietkau
34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Felix Fietkau
f5fba5bc3c Asus WL-330gE Support
Here is support for the compact Asus WL-330gE. It uses that all-in-one
5354 Broadcom chip that's also in the WL-520gU, so I assume USB
support can be soldered on. I've yet to open up the device, though.
Initial flashing is done through the CFE failsafe mode like on other
Asus devices, where you boot holding the reset button, the power LED
flashes, and you tftp an image.

Signed-off-by: David Cooper <dave@kupesoft.com>

SVN-Revision: 14624
2009-02-22 18:45:39 +00:00
Felix Fietkau
3a95badb10 fix broadcom-diag on linux 2.6.28 (#4633)
SVN-Revision: 14618
2009-02-22 17:12:36 +00:00
Felix Fietkau
c2b878a384 add initial 2.6.28 support for brcm47xx target
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 13909
2009-01-06 22:36:41 +00:00
Florian Fainelli
10f4e46cf9 Add proper LED support to broadcom-diag for the Asus WL-320gE/gP routers (#4062)
SVN-Revision: 12855
2008-10-04 16:51:03 +00:00
Felix Fietkau
1081dbcb41 broadcom-diag: reset the interrupt mask of configured leds to avoid spurious interrupts
SVN-Revision: 12030
2008-07-31 01:33:14 +00:00
Gabor Juhos
9b2e1bdd8d fix Dell TrueMobile 2300 v1/v2 detection and network configuration (closes #2788)
SVN-Revision: 11935
2008-07-26 16:10:44 +00:00
Florian Fainelli
c4f83e0b0c Add support for WRT600N and WRT600N v1.1 (#3535)
SVN-Revision: 11740
2008-07-07 14:17:02 +00:00
Felix Fietkau
f7e09198fe (1/6) bcm57xx: init from diag
I've been working to finish up the bcm57xx module package nbd
posted a few months ago.  I am no expert, just had some spare
time and some motivation.  Here is the background:

https://dev.openwrt.org/ticket/2744

This first patch disables the bcm57xx gpio setup in broadcom-diag.
The switch needs to be initialized by the driver so the driver can
then reset the switch ASAP.  If the switch isn't reset quickly enough,
it will forward packets between the WAN and LAN, which will cause
problems with modems that only allow one mac to access the internet.

Tested on wrt350n.

Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>

SVN-Revision: 11466
2008-06-15 11:09:27 +00:00
Florian Fainelli
6fab96eb3e Add Siemens SE505v2 detection to diag (#3416)
SVN-Revision: 11308
2008-05-31 12:32:05 +00:00
Peter Denison
f027ecb2cf Stopgap compilation fixes for diag and switch under 2.6.25
SVN-Revision: 11231
2008-05-20 22:33:45 +00:00
Florian Fainelli
99b6b35be3 Add support for Asus wl-520gc
SVN-Revision: 11145
2008-05-16 01:18:57 +00:00
Peter Denison
06c7c04288 Fix typo in broadcom-diag LED output enable
SVN-Revision: 11125
2008-05-12 19:46:53 +00:00
Andy Boyett
c15de3860c Add support for the WL-500gP v2
SVN-Revision: 10693
2008-03-31 08:04:56 +00:00
Andy Boyett
e229b1b849 Add support for the ASUS WL-520gU
SVN-Revision: 10692
2008-03-31 08:04:27 +00:00