summaryrefslogtreecommitdiff
path: root/target/linux/bcm53xx
Commit message (Collapse)AuthorAgeFilesLines
* bcm53xx: use of_machine_is_compatible helper in b53 fixRafał Miłecki2015-05-131-8/+11
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45684
* bcm53xx: fix "typo" in b53 patch fixing R8000 CPU portRafał Miłecki2015-05-131-2/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45683
* bcm53xx: add b53 hacky workaround for Netgear R8000 CPU portRafał Miłecki2015-05-131-0/+35
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45682
* 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: bgmac: add support for the 3rd coreRafał Miłecki2015-05-131-0/+68
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45680
* bcm53xx: sync NVRAM and SPROM drivers with upstream versionRafał Miłecki2015-05-132-15/+27
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45678
* kernel: backport first bcma patches from 4.2Rafał Miłecki2015-05-092-34/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45652
* 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: image: prepare for generating serial flash imagesRafał Miłecki2015-04-211-0/+7
| | | | | | | | | There are some rare devices without NAND, like Netgear EX6200 or TP-LINK Archer C8. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45545
* 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: append only 1 block (with erasing mark) to UBIRafał Miłecki2015-04-211-2/+8
| | | | | | | | | | This is needed as prepare_generic_squashfs generates more data (in our case 0x40004 B) and it's complex for sysupgrade to extract UBI image out of TRX. Signed-off-by: Dan Haab <dhaab@luxul.com> SVN-Revision: 45541
* bcm53xx: always use 4 MiB for TRX kernel partition to simplify upgradesRafał Miłecki2015-04-211-3/+5
| | | | | | Signed-off-by: Dan Haab <dhaab@luxul.com> SVN-Revision: 45540
* bcm53xx: add profiling supportFelix Fietkau2015-04-171-0/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45480
* 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
* kernel: accidentally committed a few patches in the wrong place, move themFelix Fietkau2015-04-162-0/+40
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45468
* bcm53xx: add power button for WXR-1900DHPFelix Fietkau2015-04-161-1/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45467
* bcm53xx: make NAND flash timeouts non-interruptible to fix corruption issuesFelix Fietkau2015-04-161-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45464
* bcm53xx: increate trx maxlen to prevent build failures with bigger imagesFelix Fietkau2015-04-161-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45461
* bcm53xx: fix WXR-1900DHP power led name and add usb ledFelix Fietkau2015-04-161-2/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45460
* 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 USB 2.0 power control for WXR-1900DHPFelix Fietkau2015-04-151-1/+12
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45451
* bcm53xx: add USB 2.0 supportFelix Fietkau2015-04-152-0/+184
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45450
* 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: refresh kernel patchesFelix Fietkau2015-04-1319-176/+38
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45426
* bcm53xx: add support for the Buffalo WXR-1900DHPFelix Fietkau2015-04-132-1/+158
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45419
* bcm53xx: fix GPIO pins > 16Felix Fietkau2015-04-131-0/+17
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45418
* bcm53xx: add missing l2 cache controller AUXCTL bitFelix Fietkau2015-04-131-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45416
* bcm53xx: add a comment about the gpio base patchFelix Fietkau2015-04-121-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45408
* 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: fix bcma gpio chip baseFelix Fietkau2015-04-121-0/+15
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45399
* 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: fix UBI EOF patch to allow sysupgrade after first installationRafał Miłecki2015-04-121-12/+46
| | | | | | | | | | | | With previous version of patch info about need of erasing blocks was stored once per boot. It was breaking in following scenario: 1) First boot after installation (erasing blocks after 0xdeadc0de) 2) Doing sysupgrade (with ubidetach & ubiformat) 3) Attaching UBI again (it caused all blocks to be erased) Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45387
* bcm53xx: build image for ASUS RT-AC56URafał Miłecki2015-04-101-1/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45353
* bcm53xx: Luxul XWC-1000 has only 128 MiB of RAMRafał Miłecki2015-04-102-14/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45352
* bcm53xx: switch to the otrx for verifying TRX imagesRafał Miłecki2015-04-092-17/+7
| | | | | | | | This adds checking CRC32 of provided firmware image. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45320
* bcm53xx: replace few BCM5301X patches with versions sent upstreamRafał Miłecki2015-04-088-33/+310
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45311
* 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: sprom: sync with mainline driverRafał Miłecki2015-04-021-396/+387
| | | | | | | | | The main difference now is bcm53xx registering it as platform (DT) driver. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45230
* bcm53xx: sprom: simplify reading NVRAM after last backportsRafał Miłecki2015-04-021-38/+3
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45229
* bcm53xx: use bcm47xx_nvram.c with the latest patchesRafał Miłecki2015-04-012-52/+23
| | | | | | | | This will be hopefully a mainline version. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45204
* bcm53xx: use the correct kernel imageFelix Fietkau2015-03-261-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45003