aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx
Commit message (Collapse)AuthorAgeFilesLines
* CC: kernel: update 3.18 to 3.18.20Hauke Mehrtens2015-08-171-1/+1
| | | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.20 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add workaround for Netgear R8000 networkRafał Miłecki2015-08-122-1/+25
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46586 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: update 3.18 to 3.18.19Jonas Gorski2015-07-251-1/+1
| | | | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.19 Backport of r46439. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46487 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: update 3.18 to 3.18.18Hauke Mehrtens2015-07-121-1/+1
| | | | | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.18 Backport of r46299, r46303 and r46308. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46309 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: update 3.18 to 3.18.17Jonas Gorski2015-07-017-44/+12
| | | | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.17 Backport of r46150. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46155 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: respect ACTIVE_LOW when powering USB using GPIORafał Miłecki2015-06-211-9/+28
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46088 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46103 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: enable USB power on Buffalo WZR-1750DHPRafał Miłecki2015-06-213-7/+39
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46087 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46102 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update SPROM driver to include just-sent patchRafał Miłecki2015-06-211-44/+9
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46086 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: enable USB power on Netgear R6250Rafał Miłecki2015-06-211-0/+38
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46083 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46099 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update xHCI patchRafał Miłecki2015-06-211-9/+22
| | | | | | | | | | This drops some debugging pr_info and adds platform_device_unregister. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46082 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46098 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix enabling GPIO-controlled USB powerRafał Miłecki2015-06-211-0/+31
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46081 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46097 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add xHCI supportRafał Miłecki2015-06-214-0/+550
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46080 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46096 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.18 to 3.18.16Jonas Gorski2015-06-1712-105/+15
| | | | | | | | | | | | | Changelogs: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.15 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.16 Signed-off-by: Jonas Gorski <jogo@openwrt.org> Backport of r46011. git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46015 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use USB patches sent upstream by HaukeRafał Miłecki2015-06-168-162/+383
| | | | | | | | | | | | | | | | | This stabilizes USB support. The old patch was handling initialization in a different order that was causing some problems with few USB 3.0 devices. Some weren't detected, some were working unstable, sometimes USB 3.0 could hang the whole controller. A still known issue (but not a regression) is controller hang triggered by connecting USB 1.1 device when not having OHCI controller enabled (kmod-usb-ohci). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r45997 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@45998 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update NVRAM driver to MIPS version from upstream-sfrRafał Miłecki2015-06-101-21/+16
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45943 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: backport the latest 4.2 ARM BCM5302X patchesRafał Miłecki2015-06-0711-75/+391
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45922 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: refresh kernel configRafał Miłecki2015-06-061-0/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45916 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: sysupgrade: drop useless shift in platform.shRafał Miłecki2015-06-061-1/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45914 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45912 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update NVRAM driver to support getting contentsRafał Miłecki2015-06-052-15/+60
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45907 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: build images for Asus devicesRafał Miłecki2015-05-271-2/+25
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45790 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add OHCI (USB 1.1) supportHauke Mehrtens2015-05-231-26/+4
| | | | | | | | | | | There is also a OHCI controller, activate it for USB 1.1 support. This should close #19601. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45716 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.18 to 3.18.14Jonas Gorski2015-05-2112-72/+7
| | | | | | | | | | | | | | Changelogs: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14 Build tested on brcm63xx and ipq806x, runtested on brcm63xx. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45711 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add Asus RT-AC87U partitioning hacky workaroundRafał Miłecki2015-05-171-0/+47
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45694 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: try to fix network on Asus RT-AC87URafał Miłecki2015-05-162-7/+16
| | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45692 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use backported Asus RT-AC87U DT patchRafał Miłecki2015-05-164-12/+65
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45691 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: enable RT-AC87U UART consoleRafał Miłecki2015-05-161-0/+21
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45690 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add support for SmartRG SR400acRafał Miłecki2015-05-134-2/+50
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45686 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: replace DT patches with backports from stblinuxRafał Miłecki2015-05-1310-72/+329
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45685 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45684 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45683 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45681 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: bgmac: add support for the 3rd coreRafał Miłecki2015-05-131-0/+68
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: sync NVRAM and SPROM drivers with upstream versionRafał Miłecki2015-05-132-15/+27
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45678 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport first bcma patches from 4.2Rafał Miłecki2015-05-092-34/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45575 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: sysupgrade: check if new kernel fits partition sizeRafał Miłecki2015-04-211-2/+7
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45547 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: sysupgrade: improve NAND warningsRafał Miłecki2015-04-211-2/+5
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45546 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45545 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: sysupgrade: drop some debugging messageRafał Miłecki2015-04-211-1/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: sysupgrade: allow flashing NAND devices without --forceRafał Miłecki2015-04-211-5/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45543 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: sysupgrade: support flashing TRX with UBI imageRafał Miłecki2015-04-211-3/+9
| | | | | | Signed-off-by: Dan Haab <dhaab@luxul.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45542 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45541 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add profiling supportFelix Fietkau2015-04-171-0/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45480 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45473 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45468 3c298f89-4303-0410-b956-a3cf2f4a3e73