summaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/base-files/etc
Commit message (Collapse)AuthorAgeFilesLines
* all: drop old uci-defaults.shJo-Philipp Wich2015-12-111-1/+1
| | | | | | | | | 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
* all: remove dummy ucidef_set_interface_loopback() from board.dJo-Philipp Wich2015-12-031-2/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47744
* board.d: remove redundant ucidef_set_interfaces_lan_wan() callsJo-Philipp Wich2015-12-031-1/+0
| | | | | | | | | | This removes calls to ucidef_set_interfaces_lan_wan() and ucidef_set_interfaces_lan() on boards where all relevant info can be inferred from the switch definition. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47722
* board.d: merge ucidef_add_switch() and ucidef_add_switch_ports()Jo-Philipp Wich2015-12-031-6/+5
| | | | | | | | | | | | This changes uci-defaults-new.sh, config_generate and all relevant board.d files in order combine ucidef_add_switch() and ucidef_add_switch_ports() into a single function. Also removes now superfluous enable and reset arguments. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47721
* bcm53xx: switch to ucidef_add_switch_ports()Jo-Philipp Wich2015-12-021-10/+10
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47692
* bcm53xx: add workaround for Netgear R8000 networkRafał Miłecki2015-10-301-0/+17
| | | | | | | | | | | | According to the info from NVRAM we should use port 8 for the CPU (and interface eth2). Unfortunately it doesn't work right now, so lets switch to the port 5. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Forwardport of r46586 from 15.05 SVN-Revision: 47281
* bcm53xx: try to fix network on Asus RT-AC87URafał Miłecki2015-05-161-0/+7
| | | | | | | | | | | | | | | | | | | This device seems to have switch port 7 connected to the CPU: vlan1ports=1 2 3 5 7* vlan2ports=0 7u it should be handled by eth1 and NVRAM seems to confirm that (no et0macaddr entry, existing et1macaddr & et1phyaddr entries). One of the remaining ports (4/8?) may be connected to the Quantenna SoC. Original firmware boot log contains following messages: (0x00,0x5d)Port 5 States Override: 0xfb (0x00,0x5f)Port 7 States Override: 0xfb (0x00,0x0e)Port 8 States Override: 0x0a (why does it force port 5 state?!) Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45692
* bcm53xx: fix default network interface on Netgear R8000Rafał Miłecki2015-05-131-2/+11
| | | | | | | | | | It has 3 Ethernet interfaces, each of them connected to separated switch port. Default NVRAM uses switch port 8 as CPU which is connected to the 3rd interface (eth2). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45681
* bcm53xx: sort ports from NVRAM entries before matching themRafał Miłecki2015-04-241-5/+7
| | | | | | | | Some devices have unsorted ports which may lead to broken config. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45575
* bcm53xx: make use of the new board detection layerFelix Fietkau2015-04-161-5/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45458
* bcm53xx: try to handle Netgear R8000 VLANs configRafał Miłecki2015-04-121-0/+7
| | | | | | | | | It seems to have few ports connected to CPU (only for CPU sending data?) as part of "SMP dual core 3 GMAC setup" feature. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45403
* bcm53xx: support WAN connected to switch port 0Rafał Miłecki2014-12-201-2/+11
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43754
* 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
* bcm53xx: failsafe supportRafał Miłecki2014-12-111-0/+40
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43639
* bcm53xx: add fixtrxHauke Mehrtens2014-09-211-0/+7
| | | | | | | | | Without running fixtrx the image will not boot at the second time, because the CRC the boot loader check is invalid at that time. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42639
* bcm53xx: add default config for switchHauke Mehrtens2014-04-231-0/+21
This scripts adds a default config for the switch. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 40565