aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bmips
Commit message (Collapse)AuthorAgeFilesLines
* kernel: bump 5.10 to 5.10.27Kevin Darbyshire-Bryant2021-04-032-4/+4
| | | | | | | | | | | | | | | | Use update_kernel to refresh all patches, required manual updates to: 610-netfilter_match_bypass_default_checks.patch 611-netfilter_match_bypass_default_table.patch 762-net-bridge-switchdev-Refactor-br_switchdev_fdb_notif.patch 764-net-bridge-switchdev-Send-FDB-notifications-for-host.patch Run-tested: x86_64 Nothing screamed out but any funny business with linux bridging should suspect this update first. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* bmips: backport pinctrl fixesÁlvaro Fernández Rojas2021-03-312-0/+82
| | | | | | Backport some minor upstream fixes for the pinctrl drivers. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: dts: align LEDsÁlvaro Fernández Rojas2021-03-296-32/+45
| | | | | | Align all bmips devices LED configurations. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: backport accepted pinctrl patchesÁlvaro Fernández Rojas2021-03-2939-2892/+3446
| | | | | | | These patches have been accepted for linux v5.13. External interrupts not supported for now. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: vr-3032u: fix gpio keysÁlvaro Fernández Rojas2021-03-291-2/+2
| | | | | | These GPIO keys were assigned to incorrect pins. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: dgnd3700-v2: fix gpio keysÁlvaro Fernández Rojas2021-03-291-9/+9
| | | | | | These GPIO keys were assigned to incorrect pins. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: reorganize patchesÁlvaro Fernández Rojas2021-03-244-0/+0
| | | | | | Reorder kernel patches after recent backports. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: switch to upstream ehci overcurrent flagÁlvaro Fernández Rojas2021-03-246-6/+6
| | | | | | | After backporting upstream ehci overcurrent patches we need to use spurious-oc instead of ignore-oc. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: backport ehci overcurrent patchesÁlvaro Fernández Rojas2021-03-241-12/+0
| | | | | | These patches have been accepted for v5.13. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: bump 5.10 to 5.10.25Kevin Darbyshire-Bryant2021-03-242-4/+4
| | | | | | | | | | | Straightforward refresh of patches using update_kernel. Removed (reverse-applicable): bmips/patches-5.10/010-v5.11-net-dsa-implement-a-central-TX-reallocation-procedur.patch Run tested: x86_64 (apu2) Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* kernel: bump 5.10 to 5.10.24Kevin Darbyshire-Bryant2021-03-242-106/+2
| | | | | | | | Straightforward refresh of patches using update_kernel. Run tested: x86_64 (apu2) Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* bmips: add wifi packages for supported devicesÁlvaro Fernández Rojas2021-03-233-5/+7
| | | | | | Netgear DGND3700v2 / Comtrend VR-3032u internal wireless not supported. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: add ATH9K PCI fixupsÁlvaro Fernández Rojas2021-03-233-1/+256
| | | | | | | Add support for registering ATH9K PCI fixups needed to bring up wifi on some devices. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: add B43 SPROM PCI fixupsÁlvaro Fernández Rojas2021-03-235-1/+1276
| | | | | | Add support for registering fallback BCMA/SSB B43 SPROMs. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: add experimental PCI/PCIe supportÁlvaro Fernández Rojas2021-03-2320-0/+1994
| | | | | | | | These PCI drivers are a bit hacky and definitely not suitable for upstreaming, but hopefully we can use them as a base for developing proper upstream PCI drivers. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: backport b53 mmap device tree supportÁlvaro Fernández Rojas2021-03-191-13/+23
| | | | | | This patch has been accepted upstream for linux v5.13. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: backport b53 legacy tags supportÁlvaro Fernández Rojas2021-03-193-88/+216
| | | | | | These patches have been accepted upstream for linux 5.13. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: backport upstream dsa b53 is63xx patchÁlvaro Fernández Rojas2021-03-191-3/+5
| | | | | | This patch has been accepted for linux v5.13. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: backport bcm6368-mdio-mux supportÁlvaro Fernández Rojas2021-03-162-7/+109
| | | | | | This patch has been accepted for linux v5.13. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: enable CONFIG_B53_MDIO_DRIVERÁlvaro Fernández Rojas2021-03-161-1/+1
| | | | | | Some devices have external switches connected by MDIO. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: backport b53 spi device tree patchÁlvaro Fernández Rojas2021-03-161-0/+41
| | | | | | This patch has been accepted for linux v5.13. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: dgnd3700-v2: fix ethernetÁlvaro Fernández Rojas2021-03-163-0/+91
| | | | | | | This is a temporary workaround to get the ethernet working, since external switch is connected by MDIO and it needs additional work. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: minor ethernet driver cleanups and fixesÁlvaro Fernández Rojas2021-03-141-62/+35
| | | | | | Add some minor ethernet driver cleanups and fixes to improve code quality. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: reorganize patchesÁlvaro Fernández Rojas2021-03-148-0/+0
| | | | | | Rename and reorganize backported patches. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: add experimental ethernet supportÁlvaro Fernández Rojas2021-03-1420-1/+2401
| | | | | | | | | | | | | | | | | | This adds experimental ethernet support for BCM6318, BCM6328, BCM6362, BCM6368 and BCM63268. BCM6358 needs a different driver, so there's no support for now. Working devices: - Comtrend AR-5315u - Comtrend AR-5387un - Comtrend VR-3025u - Comtrend VR-3032u Not working devices: - Netgear DGND3700 v2 (no idea on how the external switch is connected) - Huawei HG556a ver B (BCM6358 needs a separate driveer) Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: switch to upstream bcm2835-rng reset patchÁlvaro Fernández Rojas2021-03-123-5/+98
| | | | | | This patch has been accepted upstream. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: automatically detect RAM sizeÁlvaro Fernández Rojas2021-03-087-30/+196
| | | | | | | | | Introduce new patch for automatically detecting RAM size. Some boards have a different amount of RAM depending on the HW revision. Therefore, automatically detecting the RAM size instead of hard-coding it will reduce the number of device definitions. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: improve CPU frequency patchÁlvaro Fernández Rojas2021-03-081-10/+9
| | | | | | Fixes BCM6358 address and calculations. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: dts: comestic changesÁlvaro Fernández Rojas2021-03-088-22/+18
| | | | | | Improve and refactor device tree files. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: remove unneeded console from bootargsÁlvaro Fernández Rojas2021-03-086-6/+6
| | | | | | console parameter is no longer needed after latest procd update. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: automatically detect CPU frequencyÁlvaro Fernández Rojas2021-03-081-0/+239
| | | | | | | Some BCM63xx SoCs support multiple CPU frequencies depending on HW configuration. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* treewide: remove execute bit and shebang from board.d filesAdrian Schmutzler2021-03-062-2/+0
| | | | | | | | | | | | | | | | So far, board.d files were having execute bit set and contained a shebang. However, they are just sourced in board_detect, with an apparantly unnecessary check for execute permission beforehand. Replace this check by one for existance and make the board.d files "normal" files, as would be expected in /etc anyway. Note: This removes an apparantly unused '#!/bin/sh /etc/rc.common' in target/linux/bcm47xx/base-files/etc/board.d/01_network Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* bmips: switch to upstream brcmnand patchÁlvaro Fernández Rojas2021-03-021-4/+8
| | | | | | This patch has been accepted upstream for v5.13. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: switch to upstream SMP CPU mappings patchÁlvaro Fernández Rojas2021-03-011-5/+7
| | | | | | The patch has been accepted upstream with some minor modifications. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: dts: fix syscon-reboot nodesÁlvaro Fernández Rojas2021-02-256-42/+36
| | | | | | Using regmap with phandles is deprecated. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: add BCM63268 timer clock and reset supportÁlvaro Fernández Rojas2021-02-256-4/+413
| | | | | | We need this to fix USB support on BCM63268. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: rewrite pin controllersÁlvaro Fernández Rojas2021-02-2526-2188/+3517
| | | | | | This is needed in order to upstream them. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: add SPI accepted PM patchesÁlvaro Fernández Rojas2021-02-244-20/+93
| | | | | | These patches have been accepted upstream. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: fix SMP CPU mappingÁlvaro Fernández Rojas2021-02-232-11/+58
| | | | | | | | SMP isn't supported on BCM6358 since it has a shared TLB. Some boards boot with CPU #1 instead of CPU #0, and this is currently not supported do to a smp-bmips bug. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: switch to accepted upstream patchÁlvaro Fernández Rojas2021-02-232-8/+25
| | | | | | This patch has been accepted and is going to be in linux v5.12. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: rename upstream patchesÁlvaro Fernández Rojas2021-02-239-0/+0
| | | | | | These patches were applied in linux v5.11, not v5.12. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: bcm6358: add watchdogÁlvaro Fernández Rojas2021-02-231-0/+9
| | | | | | | Watchdog node was missing in commit 029093a302. Fixes: 029093a302c9 ("bmips: add new target") Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: remove unneeded downstream serial patchÁlvaro Fernández Rojas2021-02-232-12/+1
| | | | | | Disabling CONFIG_SERIAL_8250 makes the upstream serial driver work OOB. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: bcm6358: fix EHCI/OHCI kernel panicsÁlvaro Fernández Rojas2021-02-232-0/+70
| | | | | | | ARCH_HAS_SYNC_DMA_FOR_CPU_ALL is causing kernel panics when EHCI or OHCI are enabled. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: split base-files into subtargetsAdrian Schmutzler2021-02-235-6/+36
| | | | | | | | | Like done for several targets already, splitting base-files into subtarget will provide smaller images due to more specific distribution of files per subtarget and allow to use default cases more effectively. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* bmips: add JFFS2 unaligned access patchÁlvaro Fernández Rojas2021-02-221-0/+26
| | | | | | This patch is also needed on bmips if SMP is enabled. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: bcm6368: fix bcm2835-rngÁlvaro Fernández Rojas2021-02-222-0/+76
| | | | | | | IPSEC needs a reset before using its HW RNG. Otherwise, the numbers generated won't be random at all. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: add new targetÁlvaro Fernández Rojas2021-02-2280-0/+12048
This target has full device tree support, thus reducing the number of patches needed for bcm63xx, in which there's a patch for every board. The intention is to start with a minimal amount of downstream patches and start upstreaming all of them. Current status: - Enabling EHCI/OHCI on BCM6358 causes a kernel panic. - BCM63268 lacks Timer Clocks/Reset support. - No PCI/PCIe drivers. - No ethernet drivers. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Acked-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>