aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* bcm53xx: switch back to standalone ASM entry flushing cacheRafał Miłecki2016-08-193-86/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Over a year ago in a commit ac96a1665ac7 ("bcm53xx: update Disable MMU and Dcache during decompression") we switched to Florian's patch for workarounding CFE bug. The main difference was using a part of existing __armv7_mmu_cache_flush instead of implementing flushing separately. This worked well for Northstar devices but doesn't work for BCM53573 as these devices simply don't start booting with Florian's patch. It's because of the ldmfd ASM instruction in the __armv7_mmu_cache_flush. So this commit switches back to using standalone implementation. This time instead of copying Broadcom's copy of cache-v7.S, we just make a copy of the original file on our own. Unfortunately we can't cross-dir compile cache-v7.S from ../../mm/ as that one also adds __INITDATA with define_cache_functions v7 which would just trigger > Error: unrecognized/unsupported machine ID (r1 = 0x0000007f). The only real change Broadcom did in copied .S file was modifying mcr instruction to use c6 instead of c14. It isn't clear to me if we really need it, but let's use it for now. By the way we also update commit message of the [PATCH] ARM: BCM5301X: Disable MMU and Dcache during decompression This makes kernel booting on BCM53573 successfully. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: package drivers for Northstar USB PHYsRafał Miłecki2016-08-191-0/+37
| | | | | | | We don't use them yet as we still init PHY in controller driver but they will be needed soon. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: generate proper network config for Tenda AC9Rafał Miłecki2016-08-181-0/+10
| | | | | | | It's a more complex device with 2 interfaces on the SoC, one we can use for LAN and another for WAN. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: bgmac: backport patch adding platform supportRafał Miłecki2016-08-171-0/+2
| | | | | | It also reworks bcma support by moving specific code to separated file. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: fix warning caused by m25p80 patchRafał Miłecki2016-08-161-5/+2
| | | | | | | | | | It was adding unused variable: drivers/mtd/devices/m25p80.c: In function 'm25p80_write': drivers/mtd/devices/m25p80.c:85:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: add quick fixes for BCM53573Rafał Miłecki2016-08-151-0/+97
| | | | | | | | It adds and uses ILP clock that requires some other work (in progress) for upstreaming it. Other than that it adds a quick fix for bcma to add serial flash before trying to read SPROM. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: add temporary BCM53573 ILP clock driverRafał Miłecki2016-08-151-0/+235
| | | | | | | | It wasn't accepted upstream as there was a discusson on Northstar vs. BCM53573. Once we get a new ARM arch Kconfig entry it should be possible to upstream it. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: prepare for building Tenda AC9 TRX imageRafał Miłecki2016-08-151-0/+8
| | | | | | It'll be enabled when we complete basic support. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: drop target's preinit network support scriptRafał Miłecki2016-08-141-7/+0
| | | | | | We don't need it anymore since the rework of generic preinit script. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: support USB 2.0 controller on BCM53573Rafał Miłecki2016-08-143-9/+171
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: backport USB 3.0 controller init patchRafał Miłecki2016-08-143-42/+87
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: backport USB 3.0 Northstar PHY driverRafał Miłecki2016-08-142-0/+362
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: rename PHY patches to use 07* prefixRafał Miłecki2016-08-142-0/+0
| | | | | | | This is not a strict rule but it matches better this one: 7xx - network / phy driver patches Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: add profiles for Buffalo devicesRafał Miłecki2016-08-111-2/+24
| | | | | | | This generates proper images when using CONFIG_TARGET_MULTI_PROFILE and CONFIG_TARGET_PER_DEVICE_ROOTFS. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: include USB modules in images for devices with USB portsRafał Miłecki2016-08-111-9/+16
| | | | | | This allows using USB out of the box. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: add profiles for all other (SoftMAC) devicesRafał Miłecki2016-08-111-31/+34
| | | | | | | Thanks to this images for SoftMAC devices don't get brcmfmac anymore and b43 is added for devices with (quite poor) support only. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: convert (disabled) Netgear R8500 image to own profileRafał Miłecki2016-08-111-1/+8
| | | | | | It should be the last device with FullMAC chipset to convert. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: add profile with brcmfmac for Netgear R7900Rafał Miłecki2016-08-111-1/+8
| | | | | | | It's one more device with FullMAC that got forgotten in the previous commit. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: add profiles for devices with FullMAC chipsetsRafał Miłecki2016-08-101-1/+12
| | | | | | | | This allows building images for selected devices with brcmfmac only (without b43 which is for SoftMAC devices). Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Reviewed-by: Jo-Philipp Wich <jo@mein.io>
* image: add a helper variable for getting kernel/rootfs from within image ↵Felix Fietkau2016-07-311-3/+3
| | | | | | Build/* templates Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: enable kernel symbols/drivers needed for BCM53573Rafał Miłecki2016-07-281-2/+7
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: backport DTS patches for USB 2.0 and Tenda AC9Rafał Miłecki2016-07-284-2/+321
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: refresh kernel patchesRafał Miłecki2016-07-282-3/+3
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* kernel: update bcma backporting changes up to 4.8Rafał Miłecki2016-07-201-0/+1
| | | | | | This allows building bcm47xxsflash on ARM. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* image.mk: clean up redundant code related to DEVICE_DTSFelix Fietkau2016-07-151-1/+1
| | | | | | | | It is used by a core build template, so the variable should be initialized and added to DEVICE_VARS in the core. Same for DEVICE_DTS_DIR Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: image: don't suppress "mv" command echoingRafał Miłecki2016-07-141-1/+1
| | | | | | | | We call all commands normally, with standard echoing. It's useful for debugging with V=s. Don't make lzma compression an exception, it's a bit confusing this way. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: simplify image building codeFelix Fietkau2016-07-142-40/+15
| | | | | | Use append-ubi template for ubinize, remove mkfs override Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: remove duplicate template data from the image makefileFelix Fietkau2016-07-141-8/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>