Commit graph

56 commits

Author SHA1 Message Date
Florian Fainelli
57803a98ec remove superfluous calls to /lib/brcm63xx.sh
The first preinit script 03_do_brcm63xx.sh does the right job of
exporting variables for the other subsequent preinit scripts to use
them.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35504
2013-02-05 22:25:30 +00:00
Florian Fainelli
84d306d23c remove references to the old switch driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35503
2013-02-05 22:25:19 +00:00
Mirko Vogt
ec19a23bae fix trx checksum after first boot and add led/button definitions for boards RTA770BW and RTA770W
SVN-Revision: 35501
2013-02-05 14:57:43 +00:00
Mirko Vogt
f460388ce2 add support for board named RTA770W
Actually this board is the very same as the rta770bw,
where the additional 'b' within the name just
indicates 'Annex B'. The ADSL Modem itself is able
to handle both, Annex A as well as Annex B -
the loaded firmware makes the only difference

SVN-Revision: 35500
2013-02-05 14:57:40 +00:00
Jonas Gorski
8411e5c06e bcm63xx: switch to b53 and swconfig
Switch to using the B53 switch driver where appropriate.

Use a non-tagged default config where it isn't confirmed to be
working.

Remove the switch configuration in preinit as the switch will now
be configured by the driver  to use port isolation to prevent leakage
between lan and wan.

While at it, also provide a switch config for Neufbox 6.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35307
2013-01-23 10:12:40 +00:00
Jo-Philipp Wich
3a2cccda2e all targets: use numerically prefixed uci-defaults file names to better control order of execution
SVN-Revision: 35217
2013-01-18 12:42:53 +00:00
Jonas Gorski
e952eaa112 bcm63xx: Add Huawei HG556a support
Add Huawei EchoLife HG556a support.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo@openwrt.org: added some code style fixes]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35011
2013-01-04 14:47:57 +00:00
Mirko Vogt
e34a4e0c7b Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
SVN-Revision: 34793
2012-12-19 16:07:50 +00:00
Jonas Gorski
60e0e0d6e6 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>

SVN-Revision: 34322
2012-11-24 14:19:22 +00:00
Jonas Gorski
5bc7d81a20 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.

SVN-Revision: 34091
2012-11-05 22:50:29 +00:00
Jonas Gorski
0cc4bed41c 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>

SVN-Revision: 33895
2012-10-23 10:57:47 +00:00
Jonas Gorski
d73871fb18 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>

SVN-Revision: 33894
2012-10-23 10:57:44 +00:00
Jonas Gorski
e93725a743 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>

SVN-Revision: 33893
2012-10-23 10:57:39 +00:00
Jonas Gorski
e6171dfb2c Add F@ST2604 board support.
Add Sagem F@ST2604 board support.

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

SVN-Revision: 33886
2012-10-21 14:35:06 +00:00
Jonas Gorski
f16ea6be3f bcm63xx: fix entering failsafe through button
gpio_keys_polled needs to be loaded in preinit for buttons to work for
entering failsafe.

SVN-Revision: 33653
2012-10-08 09:59:44 +00:00
Jonas Gorski
07c4524d33 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]

SVN-Revision: 32924
2012-07-31 14:27:47 +00:00
Florian Fainelli
18206793b2 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>

SVN-Revision: 32892
2012-07-27 15:35:05 +00:00
Florian Fainelli
2f63f097de add 96348w3 board (#10764)
SVN-Revision: 32088
2012-06-06 15:45:04 +00:00
Jonas Gorski
3fc76fb781 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

SVN-Revision: 32004
2012-05-30 10:27:46 +00:00
Jonas Gorski
c454ba3657 bcm63xx: readd accidentially dropped network config for SPW303V
SVN-Revision: 32003
2012-05-30 10:27:42 +00:00
Jonas Gorski
e5575fe335 bcm63xx: add support for DSL-274XB rev F1
SVN-Revision: 31882
2012-05-27 13:22:43 +00:00
Jonas Gorski
226b030e44 bcm63xx: add a default switch configuration for DSL-274XB
SVN-Revision: 31874
2012-05-27 13:22:17 +00:00
Jonas Gorski
db1ff5c6fa bcm63xx: setup network config through uci-defaults
SVN-Revision: 31873
2012-05-27 13:22:14 +00:00
Jonas Gorski
72b4fdecc9 bcm63xx: move the board name workaround to /lib/brcm63xx.sh
SVN-Revision: 31872
2012-05-27 13:22:11 +00:00
Jonas Gorski
dd37687de0 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.

SVN-Revision: 31871
2012-05-27 13:22:08 +00:00
Florian Fainelli
631a035a76 Merge branch 'bcm63xx'
SVN-Revision: 30819
2012-03-05 13:29:54 +00:00
Florian Fainelli
16dfe8b4d1 add support for BT Voyager 2110 (#8810)
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>

SVN-Revision: 26959
2011-05-20 10:06:25 +00:00
Florian Fainelli
6c8387fe15 add support for DSL-2640B rev B2
Signed-off-by: Adrian Feliks <mexit@o2.pl>

SVN-Revision: 26958
2011-05-20 10:06:22 +00:00
Florian Fainelli
3e83f60a66 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>

SVN-Revision: 26956
2011-05-20 10:06:15 +00:00
Florian Fainelli
f0a99c1692 add support for BT Voyager 2500 (#9070)
SVN-Revision: 26954
2011-05-20 10:06:07 +00:00
Florian Fainelli
9c8a2d5961 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>

SVN-Revision: 26878
2011-05-11 13:34:14 +00:00
Florian Fainelli
7d3b735854 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>

SVN-Revision: 26876
2011-05-11 13:33:50 +00:00
Florian Fainelli
0fb1c2d537 bcm63xx: Accept any led with power in its name as power led
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26875
2011-05-11 13:33:45 +00:00
Florian Fainelli
b7f8e1276d 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>

SVN-Revision: 25584
2011-02-19 12:44:27 +00:00
Florian Fainelli
2d3ed6dc2d 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>

SVN-Revision: 25431
2011-02-09 13:09:02 +00:00
Daniel Dickinson
6ee5411686 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>

SVN-Revision: 24836
2010-12-26 04:18:04 +00:00
Daniel Dickinson
44e22cbd49 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.
SVN-Revision: 24442
2010-12-10 18:59:58 +00:00
Daniel Dickinson
8f9b14dafe 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.
SVN-Revision: 24305
2010-12-07 15:15:54 +00:00
Daniel Dickinson
e5ca4d81f4 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.
SVN-Revision: 24302
2010-12-07 15:15:41 +00:00
Daniel Dickinson
ad24e14b35 base-files: Added the preinit information for reset button and preinit indication led, and preinit interface
SVN-Revision: 24276
2010-12-06 06:46:03 +00:00
Daniel Dickinson
7129521696 base-files: Added network defconfig because board only has one ethernet (4-port switch)
SVN-Revision: 24273
2010-12-06 02:01:08 +00:00
Daniel Dickinson
314bce63e6 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>

SVN-Revision: 24190
2010-11-28 22:04:44 +00:00
Daniel Dickinson
c51d772e62 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>

SVN-Revision: 24188
2010-11-28 22:04:36 +00:00
Daniel Dickinson
8fa9b24a4c 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>

SVN-Revision: 24187
2010-11-28 22:04:30 +00:00
Daniel Dickinson
fec30c8c80 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>

SVN-Revision: 24186
2010-11-28 22:04:26 +00:00
Daniel Dickinson
b1b318750a 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>

SVN-Revision: 24185
2010-11-28 22:04:19 +00:00
Daniel Dickinson
a5fdf57a1b base-files: diag.sh: For power button as preinit status led, end with led left on, not off
SVN-Revision: 22466
2010-08-02 19:33:08 +00:00
Daniel Dickinson
d391ca2c8c base-files: brcm63xx.sh: Added comtrend (96348GW-11) to routers with buttons and leds on preinit
SVN-Revision: 22465
2010-08-02 19:32:59 +00:00
Daniel Dickinson
40c53c6556 brcm63xx: Fixed vlan packet leakage in preinit for known devices with a switch on eth1 (currently only 96348GW - Tecom 6x00)
SVN-Revision: 21629
2010-05-30 01:33:20 +00:00
Daniel Dickinson
82edb6eafa 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)
SVN-Revision: 21628
2010-05-30 01:33:09 +00:00