summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/base-files
Commit message (Collapse)AuthorAgeFilesLines
* brcm63xx: Add support for Plusnet 2704NJonas Gorski2015-08-054-0/+10
| | | | | | | | 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-212-1/+3
| | | | | | | | | 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-215-0/+13
| | | | | | | | | | | | | | | 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 missing bcm96329bhr profile and dtsJonas Gorski2015-04-211-0/+3
| | | | | | | | Hopefully the last missing board. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45557
* brcm63xx: move DSL-275XB to DTJonas Gorski2015-03-301-0/+3
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45168
* brcm63xx: move bcm6318 reference boards to DTJonas Gorski2015-03-301-0/+6
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45167
* brcm63xx: move VG50 to DTJonas Gorski2015-03-301-3/+3
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45166
* brcm63xx: move V2110 to DTJonas Gorski2015-03-301-3/+3
| | | | | | | | Also readd image generation which was accidentally dropped in r43364. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45165
* brcm63xx: fix bcm96328avng board nameJonas Gorski2015-03-251-1/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44994
* brcm63xx: fix bt v2500v dts based detectionJonas Gorski2015-03-251-4/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44993
* brcm63xx: move RTA770(B)W to dtsJonas Gorski2015-03-251-6/+6
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44992
* brcm63xx: move MAGIC to dtsJonas Gorski2015-03-251-3/+3
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44991
* brcm63xx: move CPVA502+ to dtsJonas Gorski2015-03-251-3/+3
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44990
* brcm63xx: move dg834g v4 to dtsJonas Gorski2015-03-251-3/+3
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44989
* brcm63xx: move dsl-2640u to dtsJonas Gorski2015-03-251-3/+3
| | | | | | | | Also build image again(?). Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44988
* brcm63xx: move bcm963268bu_p300 to dtsJonas Gorski2015-03-251-3/+3
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44987
* brcm63xx: Add BT Home Hub 2A support.Jonas Gorski2015-03-254-1/+15
| | | | | | | | | | | | | | | | | | 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: call brcm63xx_detect explicitlyJonas Gorski2015-03-162-2/+2
| | | | | | | | | | Now that we have converted all users of global variables to use brcm63xx_board_name, we can savely convert the implicit call to detect in brcm63xx.sh to a single, explicit call in preinit. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44840
* brcm63xx: move preinit ifname detection to the preinit scriptJonas Gorski2015-03-162-100/+40
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44839
* brcm63xx: remove obsolete brcm63xx_has_reset_buttonJonas Gorski2015-03-161-33/+0
| | | | | | | | | r37000 made button kmods loaded from generic code, so we don't use it anymore for deciding to load them. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44838
* brcm63xx: set status leds from within diag.shJonas Gorski2015-03-162-34/+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: add missing board_ids to legacy_detectJonas Gorski2015-03-161-0/+21
| | | | | | | | These boards do not have a corresponding dts file yet. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44835
* brcm63xx: add device tree based board detectionJonas Gorski2015-03-161-63/+154
| | | | | | | | | | | | Use the device tree model property for detecting the board instead of board id from nvram if present. Since we can now directly detect the DVA-G3810BN, we can remove the extra check for it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44834
* brcm63xx: populate /tmp/sysinfoJonas Gorski2015-03-161-37/+176
| | | | | | | | | Take full board name from devicetree, if present. Provide a method for retrieving the board name. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44833
* brcm63xx: base-files: rename board_name to board_idJonas Gorski2015-03-165-9/+9
| | | | | | | | | 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-163-0/+20
| | | | | | | | | | | | | | | | | 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-012-0/+6
| | | | | | | | | | | | 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-274-0/+10
| | | | | | | 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-272-1/+7
| | | | | | | 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-273-1/+8
| | | | | | | 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-273-0/+7
| | | | | | | | 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-273-0/+7
| | | | | | | | 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-123-60/+60
| | | | | | | | 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-123-1/+11
| | | | | | | | | | | | | | | - 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 Comtrend AR-5381uJonas Gorski2014-07-121-1/+1
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41587
* brcm63xx: Use model name for Comtrend AR-5387unJonas Gorski2014-07-121-1/+1
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41586
* brcm63xx: Use model name for ADB P.DG A4001N1Jonas Gorski2014-07-122-4/+6
| | | | | | | | | 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-303-0/+13
| | | | | | | | | | 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
* target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGCJohn Crispin2014-06-021-1/+1
| | | | | | | | | | | | | | | | | | | 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
* 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-222-0/+6
| | | | | | | | 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-222-0/+5
| | | | | | | | | | 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