aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx
Commit message (Collapse)AuthorAgeFilesLines
* kernel: cleanup CONFIG_SCHED_HRTICKStijn Tintel2017-06-292-2/+0
| | | | | | | Remove CONFIG_SCHED_HRTICK from target configs, as it was added to the generic config in b47fd7656336162360ebf66147326763ddae3f8d. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: update kernel 4.4 to 4.4.74Stijn Tintel2017-06-271-5/+5
| | | | | | | | Refresh patches. Compile-tested on ar71xx. Runtime-tested on ar71xx. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: update kernel 4.9 to 4.9.34Koen Vandeputte2017-06-271-5/+5
| | | | | | | | | | | | - Refreshed all patches - Adapted 1 (0031-mtd-add-SMEM-parser-for-QCOM-platforms.patch) Compile tested on: brcm2708, cns3xxx, imx6 Run tested on: brcm2708, cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com> [Compile and run tested on brcm2708] Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: backport MTD patch extracing TRX code to separated parserRafał Miłecki2017-06-232-1/+2
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: include wpad-mini only on devices with (supported) wirelessRafał Miłecki2017-06-082-13/+15
| | | | | | | Don't include wpad-mini when it's useless just like we don't include useless wireless drivers. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: disable CONFIG_SG_POOL by defaultSergey Ryazanov2017-06-071-1/+0
| | | | | | | | CONFIG_SG_POOL symbol is selected only by CONFIG_SCSI, since the last one is disabled by default then disable CONFIG_SG_POOL by default too. And explicitly enable it only for platforms that use CONFIG_SCSI. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* kernel: update kernel 4.9 to 4.9.29Koen Vandeputte2017-05-215-254/+7
| | | | | | | | | | | | | - Refresh all patches - Removed upstreamed - Adapted 1 Compile tested on: bcm53xx, cns3xxx, imx6, lantiq Run tested on: cns3xxx & imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com> [update from 4.9.28 to 4.9.29] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* bcm53xx: add support for TP-LINK Archer C5 V2Rafał Miłecki2017-05-215-3/+71
| | | | | | | | This model also contains few partitions non-discoverable partitions we need to "protect". Othen than that it uses non-deprecated serial entry in DTS that doesn't work with LEDE so we need to workaround it as well. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: backport MDIO bus clock initialization fixRafał Miłecki2017-05-112-0/+96
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: backport USB 3.0 PHY patch cleaning all writesRafał Miłecki2017-05-113-0/+354
| | | | | | It doesn't change any bevahior just cleanes up the code. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: enable Northstar thermal driverRafał Miłecki2017-04-202-0/+10
| | | | | | | It allows monitoring CPU temp and will shutdown system on critical value. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: backport DT patches for serial, thermal and MDIORafał Miłecki2017-04-2010-2/+576
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: put kernel into TRX when building initramfs imagesRafał Miłecki2017-03-271-0/+25
| | | | | | | | | | | Many (most?) devices can't boot raw kernel using tftp and probably none allows flashing it. It's way more usable to have TRX with kernel containing initrams as such an image can be actually flashed. An exception are Buffalo devices which have recovery mode with support for booting kernels over TFTP. For them keep building default images. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: update bcma including recent changes for 4.12Rafał Miłecki2017-03-212-4/+4
| | | | | | | This adds support for describing GPIO chips placed on PCIe cards. Thanks to this we get working 2.4 GHz LED on Tenda AC9. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: switch to kernel 4.9Rafał Miłecki2017-03-181-1/+1
| | | | | | | With iproc regression fixed and GIC interrupts in DTS updated it seems we can safely start using 4.9. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: backport BCM5301X patchesRafał Miłecki2017-03-1818-4/+1950
| | | | | | | This fixes GIC interrupts (required before switching to 4.9), adds few new entires & introduces DTS for Archer C5. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: parepare for building more Linksys imagesRafał Miłecki2017-03-121-1/+16
| | | | | | We still can't enable them by default without proper TRX support. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: prepare for building Archer C5 V2 imageRafał Miłecki2017-03-111-0/+9
| | | | | | Don't enable it yet as kernel needs to be updated first. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: use upstream fix for iproc regressionRafał Miłecki2017-03-102-28/+131
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: fix memory corruption caused by iproc PCE controller driverRafał Miłecki2017-03-091-0/+28
| | | | | | This is a simple revert of upstream patch for now. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: backport Broadcom's iProc QSPI driverRafał Miłecki2017-03-019-0/+2300
| | | | | | | | This driver has been added instead of improving spi-bcm53xx. It has some advantages: allows SPI speed control & hopefully doesn't have bug that was stopping us from using multiple SPI messages for writing flash data. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: backport accepted BCM5301X and BCM53573 patchesRafał Miłecki2017-02-2818-0/+1378
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: enable CLK_BCM_NSP for kernel 4.9Rafał Miłecki2017-02-281-1/+1
| | | | | | This is required to get booting kernel. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: add kernel 4.9 configRafał Miłecki2017-02-201-0/+335
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: update kernel 4.9 to version 4.9.10Hauke Mehrtens2017-02-1613-21/+21
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* bcm53xx: include Broadcom PHY driver in the kernelRafał Miłecki2017-02-071-0/+2
| | | | | | | | | | | | | | | | | Initial idea was to use package with this PHY driver for devices that need it. Unfortunately this can't work as bgmac is built-in and PHY probing happens before loading modules - it results in PHY subsystem picking default (generic) PHY driver. There were two ways of solving this: 1) Making bcm53xx use bgmac as module xor 2) Built-in Broadcom PHY driver After some quick discussion it seems we can simply built-in the driver as increased kenel size is relatively small (1805 B). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: add missing system.sh includeRafał Miłecki2017-02-071-0/+1
| | | | | | | It's needed for macaddr_add. Fixes: 50efd403e67c ("bcm53xx: set WAN MAC address to don't share one with LAN interface") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: set Netgear R8000 USB LEDsRafał Miłecki2017-02-061-0/+18
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: refresh Linux 4.4 configRafał Miłecki2017-02-061-0/+7
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: image: use one style of adding TARGET_DEVICES entriesRafał Miłecki2017-02-061-4/+4
| | | | | | | It just makes code consistent. This trivial change may be a 17.01 candidate to provide simpler backporting experience. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* 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>