aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc
Commit message (Collapse)AuthorAgeFilesLines
* brcm63xx: Tune the network configuration for several routersDaniel Gonzalez Cabanelas2018-05-241-3/+7
| | | | | | | | | - DGND3700v1: fix port numbers, they're in reverse order - FaST2704n: there is no WAN port identified as such, only 4 LAN - AD1018: configure the "FIBRE" port as WAN Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com> (cherry picked from commit fbbb97777297bf8a168b840c88d18d6e2079ce8f)
* brcm63xx: fix Sercomm AD1018 status ledJonas Gorski2017-12-171-1/+1
| | | | | | | | The status led part was missed when changing the board name to *-nor. Fixes: e12c72bb52eb ("brcm63xx: Add Sercomm AD1018 support") Reported-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: Add Sercomm AD1018 supportDaniel Gonzalez Cabanelas2017-12-163-0/+7
| | | | | | | | | | | | | | | | | | | | Add support for the Sercomm AD1018 router This a BCM6328 based board, 128 MB RAM, 128 MiB NAND flash, with an onboard BCM43217 wifi, 4 ethernet ports and 1 USB host port (not soldered). The board also has an FXS chip (Si32177) connected via SPI (SS2#), without support in LEDE. Since NAND flash chips aren't still supported in brcm63xx, the support is for now added to work only with SPI flash chips. Therefore hardware modding, soldering a new SPI flash chip, is required to make the board work with LEDE (tested and working OK). The flash at dts is intentionally left without partitioning to let the user choose a NOR chip of any size (8, 16 or 32 MB). Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com> [jonas.gorski: renamed ad1018 to ad1018-nor to signify the modification] Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: Add Comtrend AR-5315u supportDaniel Gonzalez Cabanelas2017-08-264-0/+8
| | | | | | | | | | | | Add support for the Comtrend AR-5315u router This a BCM6318 based board, 64 MB RAM, 16 MB SPI flash, with an onboard BCM43217 wifi, 4 ethernet ports and 1 USB host port Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com> [jonas.gorski: refreshed patch] Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* treewide: use the generic board_name functionMathias Kresin2017-07-155-12/+8
| | | | | | Use the generic function instead ot the target specific ones. Signed-off-by: Mathias Kresin <dev@kresin.me>
* brcm63xx: add support for the Actiontec R1000H gatewayAnthony Sepa2017-06-304-0/+8
| | | | | | | | | | | | | | | | | | | | | | | SOC: Broadcom BCM6368 (2 * Broadcom BMIPS4350 V3.1 / 400 MHz) Flash size: 32MB (split 16/16 dual boot) RAM size: 64MB Wireless: BCM432x 802.11a/b/g/n(pci) Ethernet: Broadcom BCM53115 USB: 1 x USB 2.0 Known issues: - Unable to detect 53115 switch attached to MDIO. Not supported - No support for the cable port More info on the device and the research can be found at: http://www.actiontec.com/212.html Same FCC ID as: https://wikidevi.com/wiki/Actiontec_V1000H_(Telus) Signed-off-by: Anthony Sepa <anthonysepa@yahoo.ca> [jonas.gorski: fix commit subject/message] Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: diag.sh: use common status_led_blink_* functionsPiotr Dymacz2017-03-151-3/+3
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* brcm63xx: CPVA502+: fix userspace supportDaniel Gonzalez Cabanelas2017-02-282-1/+4
| | | | | | Fix board name typo, fix network configuration and add a led trigger. Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com>
* brcm63xx: Add Observa VH4032N supportDaniel Gonzalez Cabanelas2017-02-093-0/+9
| | | | | | | | | | | | | Add support for the Observa Telecom VH4032N router. This is another BCM6368 router, 128 MB RAM, 32MB flash and 3 USB host ports. The wifi chip is an onboard Broadcom BCM43222. Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com> [jonas.gorski: use gpio-hog instead of abusing ephy-reset] Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: add support for Pirelli/ADB P.DG AV4202NPaul Wassi2017-02-093-0/+7
| | | | | | | This patch adds support for the ADB P.DG AV4202N aka Pirelli PRG AV4202N. Signed-off-by: Paul Wassi <p.wassi@gmx.at> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: board.d: request untagged switch config where applicableJo-Philipp Wich2017-02-021-2/+2
| | | | | | | | In order to prepare support for generating tagged switch configurations by default, explicitely request untagged configs for boards which do not already request tagging to retain default behaviour. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* brcm63xx: Livebox 1: add userspace board supportDaniel Gonzalez Cabanelas2016-11-213-0/+12
| | | | | | | | | | Fix configuration files for the Livebox 1 routers. - Add status led - Set eth0 as the LAN port, for coherence with RedBoot and comfortability. - Add led triggers Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: fix CT-536p/CT-5621T supportDaniel Gonzalez2016-08-011-1/+1
| | | | | | | | | | | Fix support for the Comtrend CT-536+, CT-5361 and CT-5621T routers support. Currently the firmware is broken for these routers, because there is a missing bar in the code at the DTS file avoiding to match with DTS stuff at the kernel. This causes the router boots without ethernet connectivity. The status led also has a typo. Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: add initial support for Netgear EVG2000Graham Fairweather2016-06-034-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the Netgear EVG2000 VoIP Gateway to the bcm63xx targets. This device was not sold to the general public, but rather is/was provided by telcos to customers in Sweden, Australia, Singapore and other parts of asia. Known issues: - Unable to detect 53115 switch. This appear to be a problem with probing for the PHY using MDIO and results in error 5. Doesn't seem to be a problem with the configuration, and could use someone with experience to have a look at it. - Uses the b43 driver as using the OpenWRT/LEDE broadcom-wl driver fails to load the firmware for the 4322, so 802.11n is not supported. More info on the device and the research can be found at: https://wiki.openwrt.org/toh/netgear/evg2000 https://wikidevi.com/wiki/Netgear_EVG2000 https://github.com/Xotic750/mirror-lede/tree/evg2000 https://forum.openwrt.org/viewtopic.php?id=63950 Signed-off-by: Graham Fairweather <xotic750@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: add support for Huawei HG622Jonas Gorski2016-01-184-0/+6
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 48305
* all: drop old uci-defaults.shJo-Philipp Wich2015-12-112-2/+2
| | | | | | | | | Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one and update all users accordingly. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47867
* brcm63xx: switch from uci-defaults to board.dJo-Philipp Wich2015-12-043-158/+143
| | | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> Acked-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47754
* brcm63xx: Add NuCom R5010UNv2 supportJonas Gorski2015-12-024-0/+8
| | | | | | | | | | | | | | | | | This patch adds support for the NuCom R5010UNv2. It's a BCM6328 based board. It has an onboard BCM43217 wifi chip. For this wifi chip looks like the brcmsmac driver isn't still supported, b43 drivers are used for the profile of the router. It's worth mentioning this board was affected by a bug solved with https://dev.openwrt.org/changeset/46707 Tested-by: Angel Fontan <angel.fontan@gmail.com> Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47697
* brcm63xx: add Comtrend VR-3026e supportJonas Gorski2015-08-303-1/+6
| | | | | | | | | | Add support for Comtrend VR-3026e v1. The device is almost identical to the Comtrend VR-3025un. Signed-off-by: Martin Tesar <tesarmar@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46752
* brcm63xx: fix WAP-5813n default network configJonas Gorski2015-08-261-1/+1
| | | | | | | | | | | /etc/uci-defaults/02_network had a typo, making it generate the wrong network config. Closes #20407. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46727
* brcm63xx: Add support for Plusnet 2704NJonas Gorski2015-08-053-0/+7
| | | | | | | | BCM6318: add support for Plusnet / Sagem 2704N (V1) Signed-off-by: Matt Goring <matt.goring@googlemail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46562
* brcm63xx: fix failsafe lan and status led for DSL-274xB rev. F1Jonas Gorski2015-05-211-1/+2
| | | | | | | | | Add it to the appropriate places so the power led properly works and ethernet is properly configured for failsafe. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45709
* brcm63xx: Add Huawei HG655b supportJonas Gorski2015-05-214-0/+10
| | | | | | | | | | | | | | | This patch adds support for the Huawei HG655b. Nothing much special in this router, it's just another BCM6368 with a Ralink RT3062 wifi chip and the calibration data embedded in the main flash chip at offset 0x7c0000. There is also configuration data used by the OEM firmware before the cal_data partition, this area is protected by the board_data partition in this patch. Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45708
* brcm63xx: Add BT Home Hub 2A support.Jonas Gorski2015-03-253-1/+12
| | | | | | | | | | | | | | | | | | 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
* brcm63xx: switch to board_name based configurationJonas Gorski2015-03-164-93/+95
| | | | | | | | | Board IDs are not unique, so in preparation for depricating them, always use board_name for any (default) configuration decisions. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44836
* brcm63xx: base-files: rename board_name to board_idJonas Gorski2015-03-164-4/+4
| | | | | | | | | Rename board_name to board_id to prepare for using board_name as a proper name for the board. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44832
* brcm63xx: Add DGND3700 v1 / DGND3800B supportJonas Gorski2015-03-162-0/+15
| | | | | | | | | | | | | | | | | This adds support for the Netgear DGND3700 v1 and DGND3800B. DGND3700 v1 and DGND3800B are exactly the same router, only one difference, the factory firmware. This patch produces two factory firmwares for each router. The router includes an onboard NAND flash for extra storage. NAND is currently not supported in bcm63xx, so no code added for this part. The NOR flash (32MB) is enough for storing an openwrt firmware. Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> [jogo: Add back commit message from v1] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44831
* 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
* targets: files in uci-defaults do not need to be executablesLuka Perkov2015-02-072-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44304
* 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
* brcm63xx: uci-defaults: network: move DSL-274x1 F1 to right sectionJonas Gorski2014-11-251-1/+1
| | | | | | | | | | The cpu port is at 8, not 5. Fixes #18406. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 43379
* brcm63xx: fix HG556a boards and remove fallback boardJonas Gorski2014-08-181-1/+1
| | | | | | | | | | | | This changes board info to match the Wiki http://wiki.openwrt.org/toh/huawei/hg556a, removes the no longer needed fallback board and fixes HG556 Ralink eeprom extraction. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo: rename partitions instead] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42206
* brcm63xx: add preliminary support for D-Link DSL-2751B E1Jonas Gorski2014-08-011-0/+1
| | | | | | | | | | | | Mostly works except for USB led. Flashing not tested yet. Mostly as an example for the sprom fixup code. Fixup values taken from GPL tarball by comparing bcm43217_map.c with the struct in sprom.c. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41944
* brcm63xx: Add support for ADB P.DG A4001NJonas Gorski2014-07-273-0/+5
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41852
* brcm63xx: Add support for Huawei HG520vJonas Gorski2014-07-271-1/+2
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41851
* brcm63xx: Add support for ZyXEL P870HW-51a v2Jonas Gorski2014-07-272-1/+3
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41850
* brcm63xx: Add support for Comtrend VR-3025unJonas Gorski2014-07-272-0/+2
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41848
* brcm63xx: Add support for Comtrend VR-3025uJonas Gorski2014-07-272-0/+2
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41847
* brcm63xx: base-files: order board names alphabeticallyJonas Gorski2014-07-122-4/+4
| | | | | | | | Restore alphatetical order in uci-defaults scripts and brcm63xx.sh Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41590
* brcm63xx: Use leds script for Huawei HG556a and improve profileJonas Gorski2014-07-121-0/+4
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41589
* brcm63xx: Fix HW553 supportJonas Gorski2014-07-122-1/+6
| | | | | | | | | | | | | | | - adsl and lan leds are swapped. - internetkey is labeled as hspa. - enable status led and reset button for failsafe. - use new leds script. - fix switch configuration. - remove enet0 from board_info. - add profile. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41588
* brcm63xx: Use model name for ADB P.DG A4001N1Jonas Gorski2014-07-121-3/+5
| | | | | | | | | This patch also makes use of the new leds script. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41585
* brcm63xx: Add support for Comtrend WAP-5813nJonas Gorski2014-06-302-0/+8
| | | | | | | | | | This adds support for Comtrend WAP-5813n. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo: refresh patches] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41421
* brcm63xx: add initial support for BCM963268BU_P300 reference boardJonas Gorski2014-02-221-0/+6
| | | | | | | | | 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
* brcm63xx: add VW6339GU supportJonas Gorski2014-02-221-0/+7
| | | | | | | | | 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
* brcm63xx: F@ST2504n board support (image, base-files)Jonas Gorski2014-02-221-0/+1
| | | | | | | | 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
* brcm63xx: add support for Asmax AR 1004g routerJonas Gorski2014-02-221-0/+1
| | | | | | | | | | 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
* brcm63xx: Add userspace support for Sagemcom F@ST2704V2 ADSL routerJonas Gorski2014-02-222-1/+21
| | | | | | | | | | 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
* bcm63xx: update ralink wlan firmware hotplug script for new eeprom sizeFelix Fietkau2013-07-151-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37337