aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx
Commit message (Collapse)AuthorAgeFilesLines
* bcm53xx: move bcm47xx_sprom driver to 4.4 specific directoryRafał Miłecki2017-02-061-0/+0
| | | | | | | In kernel 4.9 it's already present so we don't want to overwite it (with older & API incompatible version). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: add Linux 4.9 patchesRafał Miłecki2017-02-0634-0/+3107
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: backport upstream DTS files for Linksys devicesRafał Miłecki2017-02-063-16/+92
| | | | | | | We dont't build officialy images for them yet due to partitioning issues. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: set WAN MAC address to don't share one with LAN interfaceRafał Miłecki2017-02-031-1/+10
| | | | | | | | | After analyzing numerous NVRAMs and vendor firmwares it seems the base MAC address is used for LAN interface. WAN interface has different one which sometimes is set directly in NVRAM and sometines needs to be calculated. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: fix LAN MAC address for devices that use eth2 originallyRafał Miłecki2017-02-011-0/+6
| | | | | | | | We override default Ethernet interface with eth0 which often uses random MAC due to missing proper NVRAM entry. Fix this by manually assigning MAC in the config. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: update bcma to fix devm memory leaksRafał Miłecki2017-01-311-2/+2
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: build factory images for WZR-900DHP seriesFUKAUMI Naoki2017-01-311-0/+26
| | | | | | | | | | only factory images for DHP-EU and DHP2-JP (fw ver. 2.x) are built. this will not work for DHP-JP/AP/TW (fw ver. 1.x) because they use different buffalo_csum() formula. Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: suppress osafeloader info error messages during flashingFelix Fietkau2017-01-301-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: disable building Linksys EA6300 V1 imageRafał Miłecki2017-01-251-1/+2
| | | | | | | This device has 2 TRX partitions (main one and failsafe one) and Linux may not detect them properly failing to run userspace. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: use accepted BCM5301X patches for R8000 and Luxul devicesRafał Miłecki2017-01-183-0/+9
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: add pending BCM5301X patches: Netgear R8000 WiFi & Luxul DTSRafał Miłecki2017-01-154-1/+343
| | | | | | | | This specifies wireless limitations for Netgear R8000 making sure people won't use channels incorrectly (limited performance). There are also 2 new DTS files not used by us yet. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: update 4.4 kernel to 4.4.42Hauke Mehrtens2017-01-131-3/+3
| | | | | | | Refresh patches on all 4.4 supported platforms. Compile & run tested: lantiq/xrx200 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* bcm53xx: backport upstream bcm53xx spi driver changesRafał Miłecki2017-01-113-41/+102
| | | | | | | One replaces our local patch and another is just for keeping driver in sync (license change). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: update bcm47xxpart failsafe partition patchesRafał Miłecki2017-01-111-1/+1
| | | | | | V2 using helper function was sent for upstream kernel Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: add pending bcm47xxpart support for failsafe TRX partitionRafał Miłecki2017-01-101-2/+2
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: remove ubifs xz decompression supportFelix Fietkau2017-01-091-2/+0
| | | | | | | It has been unused, and less useful than squashfs for cases where flash space usage matters. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* generic: mtd: backport SPI_NOR_HAS_LOCKVictor Shyba2017-01-031-1/+1
| | | | | | | | | This flag was added to 4.9 with upstream commit 76a4707de5e18dc32d9cb4e990686140c5664a15. Signed-off-by: Victor Shyba <victor1984@riseup.net> [refresh and adjust platform patches, fix commit message] Signed-off-by: Mathias Kresin <dev@kresin.me>
* bcm53xx: drop unused source file of bcm53xxspiflashRafał Miłecki2016-12-291-228/+0
| | | | | | | We don't use this driver since commit 741715331aee ("bcm53xx: switch to m25p80 and drop bcm53xxspiflash"). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: backport missed BCM53573 ILP patch from 4.10Rafał Miłecki2016-12-133-13/+39
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: backport DTS patches accepted for 4.11Rafał Miłecki2016-12-138-160/+502
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: disable CONFIG_FW_LOADER_USER_HELPER_FALLBACKRafał Miłecki2016-12-121-0/+1
| | | | | | | | | | | There are many targets using user space scripts to generate firmware but bcm53xx doesn't need this, so let's disable that kernel option. This lets us avoid some scary-looking kernel warnings like: brcmfmac 0001:04:00.0: Falling back to user helper firmware brcm!brcmfmac43602-pcie.txt: firmware_loading_store: map pages failed Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: update patch adding fake USB doorbellRafał Miłecki2016-12-071-26/+8
| | | | | | | Rob suggested I should use of_machine_is_compatible insteak of a new property and updated patch has been sent. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: bump to 4.4.35Kevin Darbyshire-Bryant2016-11-292-2/+2
| | | | | | | | | | | Refresh patches on all 4.4 supported platforms. 077-0005-bgmac-stop-clearing-DMA-receive-control-register-rig.patch removed as now upstream. Compile & run tested: ar71xx - Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* bcm53xx: use upstream accepted fix for ARM core abortsRafał Miłecki2016-11-282-42/+75
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: build image for TP-LINK Archer C9 v1Rafał Miłecki2016-11-192-1/+27
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: support SafeLoader format in sysupgradeRafał Miłecki2016-11-192-2/+36
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: add kernel support for TP-LINK Archer C9 V1Rafał Miłecki2016-11-193-42/+194
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: add switch config for Buffalo WXR-1900DHP and WZR-1750DHPFelix Fietkau2016-11-141-0/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.30Stijn Segers2016-11-021-1/+1
| | | | | | | | | | This patch bumps the 4.4 kernel from .28 to .30 and refreshes the patches. Compile-tested on ar71xx, x86/64, ramips/mt7621, brcm47xx and kirkwood. Run-tested on ar71xx & ramips/mt7621, brcm47xx and kirkwood (last two confirmed by P. Wassi). Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
* bcm53xx: include b43 in Tenda AC9 imageRafał Miłecki2016-10-201-1/+1
| | | | | | There is some (poor?) support for BCM43217 in b43. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: include usbport trigger for devices with USBRafał Miłecki2016-10-191-0/+1
| | | | | | | We don't have any code for enabling it automatically yet but it allows adding entries manually to the /etc/config/system. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: use the latest XHCI doorbell patch sent for upstreamRafał Miłecki2016-10-025-371/+158
| | | | | | | The main difference is it supports DT binding. This allows us to use DT for specifying controller and the new standalone USB 3.0 PHY driver. Thanks to that we don't need out of tree patch adding PHY initialization to the controller driver anymore.
* bcm53xx: drop unneeded fix for usb3-lpm-capable DT propertyRafał Miłecki2016-10-012-67/+14
| | | | | | | This problem has been fixed by upstream commit 757de492f2d ("xhci: fix platform quirks overwrite regression in 4.7-rc1"). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: switch to standalone USB 2.0 PHY driverRafał Miłecki2016-10-014-128/+142
| | | | | | | This drops built-in support for USB 2.0 PHY and starts using separated driver that was upstreamed & backported some time ago. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: add patch specifying USB controllers in DTRafał Miłecki2016-10-012-4/+64
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: backport BCM5301X patches from 2019-09-30Rafał Miłecki2016-09-308-30/+471
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: move BCM53573 USB 2.0 patch to use backports prefixRafał Miłecki2016-09-211-2/+3
| | | | | | It was pushed into the usb-next branch. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: use upstream accepted ILP clk driver for BCM53573Rafał Miłecki2016-09-171-30/+13
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: use the latest submitted version of ILP clock driverRafał Miłecki2016-09-133-63/+52
| | | | | | It switched to syscon to better describe PMU block. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: specify brcmfmac firmware for every deviceRafał Miłecki2016-09-131-5/+7
| | | | | | | This will allow us to include required firmwares only and save some rootfs space. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* build: drop UBI EOF marker from images by defaultFelix Fietkau2016-09-121-1/+0
| | | | | | | | Only add them where they are actually required. Should help with compatibility issues with stock U-Boot images that access UBI Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: use k as unit suffix for blocksizeMathias Kresin2016-09-041-1/+1
| | | | | | | Use k as unit suffix for kilobyte to have a the same unit regardless of the used filesystem. Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: mtd: backport Macronix sector size fixMathias Kresin2016-09-031-1/+1
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* bcm53xx: enable switch port 5 on Tenda AC9Rafał Miłecki2016-09-081-1/+6
| | | | | | | Now b53 forces port 5 link when needed, we can enable it on Tenda AC9 and start using eth1. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: use upstream queued patches for R8500 and AC9Rafał Miłecki2016-09-084-43/+37
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* build: fix subtarget descriptionsFelix Fietkau2016-09-041-2/+2
| | | | | | Move Target/Description above the target.mk include Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: use the latest 6th version of ILP clock driver patchRafał Miłecki2016-08-262-44/+67
| | | | | | It still wasn't accepted, so don't switch to 0xx prefix yet. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: backport patch adding ARCH_BCM_53573 symbolRafał Miłecki2016-08-233-2/+64
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: update copy of ASM entry flushing whole D-cacheRafał Miłecki2016-08-192-30/+45
| | | | | | | | | | | Previous version was based on code from kernel 2.6.22 with Broadcom two trivial modifications. This updates the copy to the version from current kernel and refreshes the patch. This was tested for regressions on Netgear R6250 (BCM4708A0), D-Link DIR-885L (BCM4709C0) and Tenda AC9 (BCM47189B0). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: build Tenda AC9 imageRafał Miłecki2016-08-191-1/+1
| | | | | | | | We finally got kernel booting on this device and LAN ports are working, so it won't "brick" the device. One more big missing thing is WAN port support. It requires fix for BCM53125 to get switch port 5 working. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>