aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/base-files
Commit message (Collapse)AuthorAgeFilesLines
* bcm53xx: fallback to default_do_upgrade if NAND upgrade failsRafał Miłecki2015-06-061-0/+12
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45915
* bcm53xx: sysupgrade: drop useless shift in platform.shRafał Miłecki2015-06-061-1/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45914
* bcm53xx: extract TRX from image on the flyRafał Miłecki2015-06-061-13/+14
| | | | | | | | | Extracting TRX to separated file in /tmp/ just wastes some RAM while we can just pass a proper extracting command to the default_do_upgrade. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45912
* bcm53xx: sysupgrade: extract TRX partitions directly from vendor imageRafał Miłecki2015-06-061-3/+5
| | | | | | | | | Extracting full TRX out of vendor format is not needed as otrx supports passing TRX offset. This saves some RAM during sysupgrade. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45911
* 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: sysupgrade: check if new kernel fits partition sizeRafał Miłecki2015-04-211-2/+7
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45547
* bcm53xx: sysupgrade: improve NAND warningsRafał Miłecki2015-04-211-2/+5
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45546
* bcm53xx: sysupgrade: drop some debugging messageRafał Miłecki2015-04-211-1/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45544
* bcm53xx: sysupgrade: allow flashing NAND devices without --forceRafał Miłecki2015-04-211-5/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45543
* bcm53xx: sysupgrade: support flashing TRX with UBI imageRafał Miłecki2015-04-211-3/+9
| | | | | | Signed-off-by: Dan Haab <dhaab@luxul.com> SVN-Revision: 45542
* bcm53xx: fix handling absolute paths in sysupgrade (for vendor formats)Rafał Miłecki2015-04-171-4/+4
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45473
* 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: add (disabled) support for upgrading kernel during sysupgradeRafał Miłecki2015-04-141-0/+17
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45445
* otrx: change command line API to start with a modeRafał Miłecki2015-04-141-4/+4
| | | | | | | | This will allow adding more modes without options conflict. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45443
* 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: allow sysupgrade firmwares without UBI containing rootfsRafał Miłecki2015-04-121-3/+2
| | | | | | | | | | | | | In most cases it allows reverting back to the vendor firmware (as they usually don't use UBI). If users wants to do that we can't do anything anyway. Erease counters will be just lost. The only thing we do is warn: "Flashing firmware without UBI for rootfs. All erase counters will be lost." It still requires forcing sysupgrade. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45392
* bcm53xx: add platform_pre_upgrade to prepare for kernel+UBI sysupgradeRafał Miłecki2015-04-121-0/+28
| | | | | | | | | | We can now detect that provided firmware contains kernel and UBI image partitions. Flashing it in a sane way (keeping erase counters) still needs to be implemented. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45391
* bcm53xx: rework vendor fw handling to don't duplicate upgrade callsRafał Miłecki2015-04-121-29/+15
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45389
* bcm53xx: switch to the otrx for verifying TRX imagesRafał Miłecki2015-04-091-16/+6
| | | | | | | | This adds checking CRC32 of provided firmware image. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45320
* bcm53xx: image: share function checking TRX in provided firmwareRafał Miłecki2015-04-071-6/+18
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45292
* bcm53xx: display all errors (not just the 1st one) when checking imageRafał Miłecki2015-04-071-10/+8
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45291
* bcm53xx: compare provided firmware magic with device magicRafał Miłecki2015-04-071-2/+29
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45290
* bcm53xx: support flashing CHK and CyberTAN imagesRafał Miłecki2014-12-301-4/+16
| | | | SVN-Revision: 43800
* 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
* bcm53xx: sysupgrade support for devices with serial flashRafał Miłecki2014-12-151-0/+118
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43719
* 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-112-0/+47
| | | | | | 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