Commit Graph

49 Commits (3973731301776ab81546fe09058a9df470aec666)

Author SHA1 Message Date
Mirko Vogt f1b359fecb Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:50 +00:00
Jonas Gorski 3083251662 bcm63xx: Add a fixup for rt2x00 devices.
This patch adds support for defining rt2x00 eeprom data.
This eeprom data can be extracted from flash or loaded directly from a firmware file.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-24 14:19:22 +00:00
Jonas Gorski 3590dfe2a4 bcm63xx: fix SPW303V images
SPW303V also needs its CRC fixed up since increasing the image size to
4MB to prevent the dual image mode of CFE.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 22:50:29 +00:00
Jonas Gorski fb185fea7d [bcm63xx] add support for Comtrend AR5381u.
Router: Comtrend AR5381u.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix subject, indentation in patch]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-23 10:57:47 +00:00
Jonas Gorski f237863aec [bcm63xx] add support for Comtrend AR5387un.
Router: Comtrend AR5387un.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix subject, indentation in patch]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-23 10:57:44 +00:00
Jonas Gorski 866fede672 [bcm63xx] add support for HomeStation ADB P.DG A4001N.
Router: HomeStation ADB P.DG A4001N.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix subject, indentation in patch]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-23 10:57:39 +00:00
Jonas Gorski fa767eb829 [bcm63xx] Add F@ST2604 board support.
Add Sagem F@ST2604 board support.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-21 14:35:06 +00:00
Jonas Gorski 752bf49b70 bcm63xx: fix entering failsafe through button
gpio_keys_polled needs to be loaded in preinit for buttons to work for
entering failsafe.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-08 09:59:44 +00:00
Jonas Gorski 9f30da9d33 bcm63xx: Add nb6 support (BCM6362 SoC base boards)
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
[jonas.gorski@gmail.com: add network config for nb6, make switch fix a
platform patch]

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31 14:27:47 +00:00
Florian Fainelli 699c69c326 [brcm63xx] Add CT6376-1 board support
Added CT6373 devices instead of using NB4's devices, as Florian suggested.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-27 15:35:05 +00:00
Florian Fainelli 72aba7b527 [brcm63xx] add 96348w3 board (#10764)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 15:45:04 +00:00
Jonas Gorski b032357e85 bcm63xx: build images for 6328 reference boards with various flash sizes
Build images for 96328avng and 963281TAN (untested) for three different
flash sizes: 4MB, 8MB, and 16MB.

Known issues:
 * Button setup unknown, thus no fail-safe available.
 * All other BCM6328 and BCM63XX issues

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-30 10:27:46 +00:00
Jonas Gorski e343446e23 bcm63xx: readd accidentially dropped network config for SPW303V
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-30 10:27:42 +00:00
Jonas Gorski 20cab203ed bcm63xx: add support for DSL-274XB rev F1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:43 +00:00
Jonas Gorski 4ecf7d09a1 bcm63xx: add a default switch configuration for DSL-274XB
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:17 +00:00
Jonas Gorski 4abdddf848 bcm63xx: setup network config through uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:14 +00:00
Jonas Gorski 6082cee9d6 bcm63xx: move the board name workaround to /lib/brcm63xx.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:11 +00:00
Jonas Gorski 1148159a4f bcm63xx: use the exact board id as board identification string
No need to keep the bcm63xx/ at the start or the chipid info at the end.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:08 +00:00
Florian Fainelli e6029cf3d7 Merge branch 'bcm63xx'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 13:29:54 +00:00
Florian Fainelli 195f49f69c [brcm63xx] add support for BT Voyager 2110 (#8810)
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 10:06:25 +00:00
Florian Fainelli c24a32df6f [brcm63xx] add support for DSL-2640B rev B2
Signed-off-by: Adrian Feliks <mexit@o2.pl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 10:06:22 +00:00
Florian Fainelli a6aa5507e7 [brcm63xx] add support for D-Link DVA-G3810BN/TL
This patch adds support for D-Link's DVA-G3810BN/TL product.

Signed-off-by: Roman Dumycz <roman@secureas.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 10:06:15 +00:00
Florian Fainelli 764614896e [brcm63xx] add support for BT Voyager 2500 (#9070)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 10:06:07 +00:00
Florian Fainelli 0da640db3b bcm63xx: Add support for the T-Home Speedport W 303V
Add the required board definition, default config and image generation for
the T-Home Speedport W 303V Typ B.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-11 13:34:14 +00:00
Florian Fainelli 93e4186e52 bcm63xx: Update support for the DSL-274xB revision C
Rename the DSL-274xB rev C2's board ID to "AW4139" to match the one used
for the rev C3 (same hardware) and add a fixup for C2. Also generate
images for C3.

While we are at it, rename the LEDs to conform to the Linux LED naming
conventions.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-11 13:33:50 +00:00
Florian Fainelli bc014cb9cd bcm63xx: Accept any led with power in its name as power led
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
2011-05-11 13:33:45 +00:00
Florian Fainelli 3cea035cac [brcm63xx] add support for 'MAGIC' bcm6348-based board
I wrote a patch to add 96348SV board (aka MAGIC) support to trunk.
In my case I've found it in a Telsey "Alice W-Gate" router, fairly common
(in the past) in Italy.

I used the board definition (GPIOs, leds, ...) from the Broadcom GPL-2
relased code (here is a mirror: http://beghiero.myftp.org/sorgenti/boardparms.c )

Thanks to KanjiMonster for the support on the IRC channel.

Signed-off-by: Laurento Frittella <laurento.frittella@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-19 12:44:27 +00:00
Florian Fainelli 239a77ed96 [brcm63xx] fix T-Com Speedport W 500V default config
The device is called SPW500V, not SP500W.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-09 13:09:02 +00:00
Daniel Dickinson dda75774e9 base-files: Added uci-defaults script to run mtd fixtrx on firstboot for devices that need it.
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-26 04:18:04 +00:00
Daniel Dickinson 16c44de3e9 [brcm63xx] Fixed Comtrend CT536_CT5621 board settings. These boards are based on the 96348GW-11 reference design but have different GPIOs therefore we use the board fixups now availabed (thanks the patches by Jonas Gorski) to create a separate board entry for these boards and leave the reference design with reference GPIOs. Also these boards only have enet1 (no enet0) so we set that in the board definition, and use a defconfig for a single interface network.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 18:59:58 +00:00
Daniel Dickinson 194d1e24c0 [brcm63xx] boards: Added GW6x00 fixups and GPIOs. The GW6200 GPIOs are different than the reference design 96348GW so we use fixup to allow us to define the correct ones, also the GW6000 has no GPIO-controlled leds.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-07 15:15:54 +00:00
Daniel Dickinson 903d1b5311 [brcm63xx] Remove patch 140-new_bcm96348gw_leds because it is really the GW6200 leds, not the generic 96348GW. Another commit will add the GW6200 specific boardid and leds. This removal reverts the 96348GW leds to the reference design GPIOs.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-07 15:15:41 +00:00
Daniel Dickinson 5700d60a40 [brcm63xx] base-files: Added the preinit information for reset button and preinit indication led, and preinit interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 06:46:03 +00:00
Daniel Dickinson 36114ce181 [bcm63xx] base-files: Added network defconfig because board only has one ethernet (4-port switch)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 02:01:08 +00:00
Daniel Dickinson 0c4e2c5526 bcm63xx: Add support for the T-Com Speedport W 500V.
Add support for the T-Com Speedport W 500V using a special tagged image as it
identifies itself as a 96348GW, but has some gpios wired differently, and also
has only one ethernet port without a switch attached to it.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:44 +00:00
Daniel Dickinson e96cc39f19 bcm63xx: Finalize support for DSL-274xB, rev C2.
The DSL-2740B/DSL-2741B rev C2 support was missing the board definition,
resulting in a kernel panic on boot.
This patch adds it, and also renames the generated image name to properly
reflect that it is for the revision C2, and for both the DSL-2740B and
DSL-2741B.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:36 +00:00
Daniel Dickinson e21b57d529 bcm63xx: Allow 'colored' power leds.
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
2010-11-28 22:04:30 +00:00
Daniel Dickinson 94a1adaf05 bcm63xx: Don't hardcode the switch ethernet interface in preinit.
Currently eth1 is hardcoded as the expected interface switches in diagmode.
This patch replaces the eth1 with the ifname, and also directly tests if
the interface specified by ifname has a switch attached.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:26 +00:00
Daniel Dickinson f78d9eebba bcm63xx: Add defconfigs.
Port the mechanism for different default configurations from ar71xx and
use the old configuration as the default configuration. This should have
no functional differences to before.
While we are at it, remove the obsolete nat option.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:19 +00:00
Daniel Dickinson dfda352bca [brcm63xx]: base-files: diag.sh: For power button as preinit status led, end with led left on, not off
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-02 19:33:08 +00:00
Daniel Dickinson 8b6a51edad [brcm63xx] base-files: brcm63xx.sh: Added comtrend (96348GW-11) to routers with buttons and leds on preinit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-02 19:32:59 +00:00
Daniel Dickinson 03a1fd3779 brcm63xx: Fixed vlan packet leakage in preinit for known devices with a switch on eth1 (currently only 96348GW - Tecom 6x00)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 01:33:20 +00:00
Daniel Dickinson d0f8de305f brcm63xx: Added preinit reset button module loading for devices known to support it and for which /lib/brcm63xx.sh has the definitions (currently only 96348GW - Tecom 6x00)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 01:33:09 +00:00
Daniel Dickinson f8e8dcf746 brcm63xx: Added LED code for preinit (/etc/diag.sh) for 96348GW (Tecom 6x00)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 01:32:58 +00:00
Daniel Dickinson 089ea4a93c brcm63xx: Added preinit board-type detection (currently only 96348GW - Tecom 6x00)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 01:32:47 +00:00
Florian Fainelli f085bee463 [brcm63xx] we are using the default-on trigger for power LEDs, no need to change their state from userspace
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-18 09:27:33 +00:00
Florian Fainelli c6ab7daf85 [brcm63xx] register GPIO-connected LEDs for known boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-18 00:40:23 +00:00
Florian Fainelli d30d9400c0 [brcm63xx] add support for sysupgrade (#5117)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-17 16:53:57 +00:00
Florian Fainelli 8d9ff98b67 Make 4-port LAN and 1 port wan configurations work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-26 15:51:55 +00:00