Commit Graph

71 Commits (3306a4f9abb667e470633c18fc5c2cfe33dd34a0)

Author SHA1 Message Date
John Crispin f933a741a9 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 40915
10 years ago
Jonas Gorski ece12908a8 brcm63xx: add initial support for BCM963268BU_P300 reference board
Only netboot tested, so no images or now.
GbE ports are only working in FE mode, and leds do not work.

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

SVN-Revision: 39679
11 years ago
Jonas Gorski f6c4b1eb29 brcm63xx: add VW6339GU support
Completely untested except for booting from network; wan port
only works in 10/HD, lan1 only in 100/FD.

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

SVN-Revision: 39678
11 years ago
Jonas Gorski edbfb81b56 brcm63xx: F@ST2504n board support (image, base-files)
Signed-off-by: Max Staudt <openwrt.max@enpas.org>
Patchwork: http://patchwork.openwrt.org/patch/4730/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39676
11 years ago
Jonas Gorski ce655b93cd brcm63xx: add support for Asmax AR 1004g router
Support for Asmax AR 1004g router

Signed-off-by: Adrian Feliks <mexit@o2.pl>
Patchwork: http://patchwork.openwrt.org/patch/4464/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39674
11 years ago
Jonas Gorski fe37b14fca brcm63xx: Add userspace support for Sagemcom F@ST2704V2 ADSL router
This adds userspace support for Sagemcom F@st 2704 router.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4215/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39672
11 years ago
Felix Fietkau 9a9d97b749 bcm63xx: update ralink wlan firmware hotplug script for new eeprom size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37337
11 years ago
Jonas Gorski 9a077f70de bcm63xx: fix DSL-274xB F1 default network config
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37032
11 years ago
John Crispin 67f5f188b1 base-files: input/button drivers get loaded before preinit by procd
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37000
11 years ago
John Crispin e6ef318802 base-files: diag does not need to insmod any drivers, procd already did it for us
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36999
11 years ago
Florian Fainelli 2b9d084af9 brcm63xx: add user-space support for Netgear CVG834G
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36877
11 years ago
Jonas Gorski 0a907fdb8a bcm63xx: remove defconfig support
All boards use uci-defaults, no need to keep defconfig support.

SVN-Revision: 36610
11 years ago
Florian Fainelli b412a81524 brcm63xx: fix LED names for various boards
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35880
12 years ago
Jonas Gorski ff20c0e1fc bcm63xx: Fix sysupgrade for tag-version 7 and 8
Fix sysupgrade for tag-version 7 and 8.

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

SVN-Revision: 35724
12 years ago
Florian Fainelli d7092aceb8 brcm63xx: migrate platform to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35661
12 years ago
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
12 years ago
Florian Fainelli 84d306d23c remove references to the old switch driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35503
12 years ago
Mirko Vogt ec19a23bae fix trx checksum after first boot and add led/button definitions for boards RTA770BW and RTA770W
SVN-Revision: 35501
12 years ago
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
12 years ago
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
12 years ago
Jo-Philipp Wich 3a2cccda2e all targets: use numerically prefixed uci-defaults file names to better control order of execution
SVN-Revision: 35217
12 years ago
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
12 years ago
Mirko Vogt e34a4e0c7b Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
SVN-Revision: 34793
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Florian Fainelli 2f63f097de add 96348w3 board (#10764)
SVN-Revision: 32088
12 years ago
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
12 years ago
Jonas Gorski c454ba3657 bcm63xx: readd accidentially dropped network config for SPW303V
SVN-Revision: 32003
12 years ago
Jonas Gorski e5575fe335 bcm63xx: add support for DSL-274XB rev F1
SVN-Revision: 31882
12 years ago
Jonas Gorski 226b030e44 bcm63xx: add a default switch configuration for DSL-274XB
SVN-Revision: 31874
12 years ago
Jonas Gorski db1ff5c6fa bcm63xx: setup network config through uci-defaults
SVN-Revision: 31873
12 years ago
Jonas Gorski 72b4fdecc9 bcm63xx: move the board name workaround to /lib/brcm63xx.sh
SVN-Revision: 31872
12 years ago
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
12 years ago
Florian Fainelli 631a035a76 Merge branch 'bcm63xx'
SVN-Revision: 30819
13 years ago
Florian Fainelli 16dfe8b4d1 add support for BT Voyager 2110 (#8810)
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>

SVN-Revision: 26959
13 years ago
Florian Fainelli 6c8387fe15 add support for DSL-2640B rev B2
Signed-off-by: Adrian Feliks <mexit@o2.pl>

SVN-Revision: 26958
13 years ago
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
13 years ago
Florian Fainelli f0a99c1692 add support for BT Voyager 2500 (#9070)
SVN-Revision: 26954
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
14 years ago
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
14 years ago