aboutsummaryrefslogtreecommitdiff
path: root/target
Commit message (Collapse)AuthorAge
...
* ramips: mt7621-dts: describe switch PHYs and adjust PHY muxingArınç ÜNAL2024-05-01
| | | | | | | | | | | | | | | | | | | | | | | | Currently, the MT7530 DSA subdriver configures the MT7530 switch to provide direct access to switch PHYs, meaning, the switch PHYs listen on the MDIO bus the switch listens on. The PHY muxing feature makes use of this. This is problematic as the PHY may be attached before the switch is initialised, in which case, the PHY will fail to be attached. Since commit 91374ba537bd ("net: dsa: mt7530: support OF-based registration of switch MDIO bus") on mainline Linux, we can describe the switch PHYs on the MDIO bus of the switch on the device tree. When the PHY is described this way, the switch will be initialised first, then the switch MDIO bus will be registered. Only after these steps, the PHY will be attached. Describe the switch PHYs on mt7621.dtsi and remove defining the switch PHY on the SoC's mdio bus node. When the PHY muxing is in use, the interrupts for the muxed PHY won't work, therefore delete the "interrupts" property on the devices where the PHY muxing feature is in use. Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
* generic: 6.1, 6.6: mt7530: import pending PHY muxing detection patchArınç ÜNAL2024-05-01
| | | | | | net: dsa: mt7530: detect PHY muxing when PHY is defined on switch MDIO bus Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
* ramips: mt7621-dts: remove incorrect ethphy4 node for WAVLINK WL-WN573HX1Arınç ÜNAL2024-05-01
| | | | | | | The ethernet-phy@4 node doesn't exist for WAVLINK WL-WN573HX1. Remove it and the duplicate gmac0 node. Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
* ramips: mt7621-dts: do not modify ethernet node for MeiG SLT866Arınç ÜNAL2024-05-01
| | | | | | | | | | Currently, the pinctrl-0 property on the ethernet node is modified to exclude the rgmii1 and rgmii2 pin groups to be claimed with rgmii1 and rgmii2 functions, respectively. Remove the modification of this property as we need these pin groups to be claimed with the said functions for this device. Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
* zynq: 5.15: remove filesNick Hainke2024-05-01
| | | | | | | Remove files related to the old 5.15 kernel version as they are no longer required. Signed-off-by: Nick Hainke <vincent@systemli.org>
* zynq: set default kernel version to 6.1Nick Hainke2024-05-01
| | | | | | | Set default kernel version to 6.1, facilitating simpler testing across a broader user base. Signed-off-by: Nick Hainke <vincent@systemli.org>
* kernel: bump 6.1 to 6.1.89Shiji Yang2024-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelogs: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.67 https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.68 https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.69 Upstreamed patches: target/linux/generic/backport-6.1/740-v6.9-01-netfilter-flowtable-validate-pppoe-header.patch [1] target/linux/generic/backport-6.1/740-v6.9-02-netfilter-flowtable-incorrect-pppoe-tuple.patch [2] target/linux/generic/backport-6.1/790-48-STABLE-net-dsa-mt7530-trap-link-local-frames-regardless-of-.patch [3] target/linux/generic/backport-6.1/790-50-v6.10-net-dsa-mt7530-fix-mirroring-frames-received-on-loca.patch [4] target/linux/generic/backport-6.1/790-16-v6.4-net-dsa-mt7530-set-all-CPU-ports-in-MT7531_CPU_PMAP.patch [5] target/linux/generic/backport-6.1/790-46-v6.9-net-dsa-mt7530-fix-improper-frames-on-all-25MHz-and-.patch [6] target/linux/generic/backport-6.1/790-47-v6.10-net-dsa-mt7530-fix-enabling-EEE-on-MT7531-switch-on-.patch [7] target/linux/mediatek/patches-6.1/220-v6.3-clk-mediatek-clk-gate-Propagate-struct-device-with-m.patch [8] target/linux/mediatek/patches-6.1/222-v6.3-clk-mediatek-clk-mtk-Propagate-struct-device-for-com.patch [9] target/linux/mediatek/patches-6.1/223-v6.3-clk-mediatek-clk-mux-Propagate-struct-device-for-mtk.patch [10] target/linux/mediatek/patches-6.1/226-v6.3-clk-mediatek-clk-mtk-Extend-mtk_clk_simple_probe.patch [11] Symbol changes: MITIGATION_SPECTRE_BHI (new) [12] SPECTRE_BHI_{ON,OFF} (deprecated) [12] References: [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.89&id=8bf7c76a2a207ca2b4cfda0a279192adf27678d7 [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.89&id=f1c3c61701a0b12f4906152c1626a5de580ea3d2 [3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.89&id=19643bf8c9b5bb5eea5163bf2f6a3eee6fb5b99b [4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.89&id=e86c9db58eba290e858e2bb80efcde9e3973a5ef [5] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.89&id=013c787d231188a6408e2991150d3c9bf9a2aa0b [6] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.89&id=41a004ffba9b1fd8a5a7128ebd0dfa3ed39c3316 [7] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.89&id=7d51db455ca03e5270cc585a75a674abd063fa6c [8] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.89&id=082b831488a41257b7ac7ffa1d80a0b60d98394d [9] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.89&id=6f5f72a684a2823f21efbfd20c7e4b528c44a781 [10] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.89&id=a4fe8813a7868ba5867e42e60de7a2b8baac30ff [11] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.89&id=c1d87d56af063c87961511ee25f6b07a5676d27d [12] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.89&id=d844df110084ef8bd950a52194865f3f63b561ca Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* generic: MIPS64: fix detect_memory_region() compilation errorShiji Yang2024-04-30
| | | | | | | | | 1. Enable this feature only for 32-bit CPUs as MIPS64 can not access the full range unmapped uncached memory. 2. Backport this fix to the 6.1 old LTS kernel. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* qualcommax: ipq807x: uboot-envtools: yuncore ax880Isaev Ruslan2024-04-30
| | | | | | | | | | | | | | | | There was no config in the uboot-envtools package, so there is no generated /etc/fw_env.config for the fw_printenv and fw_setenv utils. Since uboot-envtools 2024.01, there is a way to make these utils work without /etc/fw_env.config if the DT has an env partition with the prop.: compatible = "u-boot,env"; So, this commit adds the prop. above to the appsblenv:0 partition in the yuncore ax880 DTS file. Signed-off-by: Isaev Ruslan <legale.legale@gmail.com> Link: https://github.com/openwrt/openwrt/pull/15305 Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq40xx: fix I2C pin config on Aruba AP-303HRyan Salsbury2024-04-30
| | | | | | | | | | | | | Turn on SoC pull-ups on I2C pins, since there are no discrete pull-up resistors on the bus. Increase clock to 400 kHz. Both chips on the bus support 400 kHz. I tested the ISL28022 at 4,000 reads/sec and didn't see any garbled output or bus hangs, even with SoC drive strength reduced to 2 for the test. Signed-off-by: Ryan Salsbury <ryanrs@gmail.com> Link: https://github.com/openwrt/openwrt/pull/15334 Signed-off-by: Robert Marko <robimarko@gmail.com>
* sifiveu: drop 6.1 supportZoltan HERPAI2024-04-30
| | | | | | Now that 6.6 is the default, remove the 6.1 config and patches. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* sifiveu: switch default to 6.6Zoltan HERPAI2024-04-30
| | | | | | Switch the default kernel to 6.6. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* mediatek: switch to fitblk for JDCloud RE-CP-03Tianling Shen2024-04-30
| | | | | | | Use the new fitblk driver. Tested-By: Yangyu Chen <cyy@cyyself.name> Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* qualcommax: ipq60xx: mute warning on bootcount enable compileChristian Marangi2024-04-29
| | | | | | | | | | ipq60xx bootcount script include /lib/functions that produce warning when the script is enabled on image compilation. This script is already included by /etc/rc.common hence it's not needed. While at it also fix the format of the switch case. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* mediatek: fix remaining invalid MT7531 switch reg IDsFelix Fietkau2024-04-29
| | | | | | | | See commit 8b66f1a06d05afbc1450978f6e20516c8308da25: "mediatek: correct address of MT753x switch IC" Fixes: ac8bfe316b81 ("generic: 6.1, 6.6: mt7530: import accepted patches") Signed-off-by: Felix Fietkau <nbd@nbd.name>
* generic: 6.6: add kernel missing symbol CONFIG_SPI_BCMBCA_HSSPIMieczyslaw Nalewaj2024-04-29
| | | | | | | | Add missing symbol CONFIG_SPI_BCMBCA_HSSPI causing bcm4908 compilation errors. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/15320 Signed-off-by: Robert Marko <robimarko@gmail.com>
* mpc85xx: convert WS-AP3710i to simpleImage wrapperDavid Bauer2024-04-29
| | | | | | | | | | | | Convert the Enterasys WS-AP3710i access point to use the simpleImage wrapper. This is necessary, as the bootlaoder does not align the DTB correctly (and does not support altering the FDT loadaddress). Booting images with kernels 5.15 and later can break depending on the alignment on the DTB within the FIT image. Signed-off-by: David Bauer <mail@david-bauer.net>
* malta: refresh kernel 6.6 configurationHauke Mehrtens2024-04-29
| | | | | | | | This refreshes the configuration on top of kernel 6.6 and activates it as test kernel configuration. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* kernel/malta: Restore kernel files for v6.1Tony Ambardar2024-04-29
| | | | | | | | | | | This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. For the original discussion see: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* kernel/malta: Create kernel files for v6.6 (from v6.1)Tony Ambardar2024-04-29
| | | | | | | | This is an automatically generated commit. When doing `git bisect`, consider `git bisect --skip`. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* mediatek: bpi-r4: store random MAC addresses for the BPi-R4Daniel Golle2024-04-28
| | | | | | | | | | Despite coming with multiple I2C EEPROMs supposedly dedicated for that purpose, the BPi-R4 does not seem to have factory assigned MAC addresses. Hence, just like for all other BPi boards, store a randomly generated MAC address on first boot and derive WAN and Wi-Fi MAC addresses from that as well. Not perfect, but better than random on every boot. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: bpi-r3-mini: persist WiFi and WAN MAC addressesDaniel Golle2024-04-28
| | | | | | | Derive WAN and WiFi MAC addresses from the (random) MAC address stored in the U-Boot environment. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: bump 6.6 to 6.6.29John Audia2024-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.29 Removed upstreamed: generic/backport-6.6/740-v6.9-01-netfilter-flowtable-validate-pppoe-header.patch[1] generic/backport-6.6/740-v6.9-02-netfilter-flowtable-incorrect-pppoe-tuple.patch[2] generic/backport-6.6/790-29-v6.9-net-dsa-mt7530-fix-improper-frames-on-all-25MHz-and-.patch[3] generic/backport-6.6/790-31-v6.10-net-dsa-mt7530-fix-enabling-EEE-on-MT7531-switch-on-.patch[4] generic/backport-6.6/790-34-v6.10-net-dsa-mt7530-fix-mirroring-frames-received-on-loca.patch[5] generic/backport-6.6/790-35-v6.10-net-dsa-mt7530-fix-port-mirroring-for-MT7988-SoC-swi.patch[6] mediatek/patches-6.6/963-net-ethernet-mtk_eth_soc-fix-WED-wifi-reset.patch[7] Manually rebased: generic/backport-6.6/790-23-v6.9-net-dsa-mt7530-get-rid-of-priv-info-cpu_port_config.patch All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.29&id=a2471d271042ea18e8a6babc132a8716bb2f08b9 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.29&id=4ed82dd368ad883dc4284292937b882f044e625d 3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.29&id=21b9d89d93422221cdda1b82fd075fa3c94a11d9 4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.29&id=bd41ee1efd478852a0882ce5f136bc2b5e83eff2 5. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.29&id=d1be3960539249a8690ed09a29d0e3bf34189dd2 6. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.29&id=f8de1b6208bf71bd3102548d33dd8475573ad2ea 7. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.29&id=6855f724f19620c3ddff57c349e0abba797475b1 Build system: x86/64 Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <therealgraysky@proton.me>
* at91: 5.15: remove old config and patch filesNick Hainke2024-04-28
| | | | | | 6.1 is now default so remove old config and patch files. Signed-off-by: Nick Hainke <vincent@systemli.org>
* at91: set 6.1 as default kernel versionNick Hainke2024-04-28
| | | | | | | Adjust the kernel version to default 6.1 in order to facilitate testing for a broader audience. Signed-off-by: Nick Hainke <vincent@systemli.org>
* zynq: 6.1: set testing kernelNick Hainke2024-04-28
| | | | | | | Allow selecting 6.1 as testing kernel on zynq. Tested-by: Luis Araneda <luaraneda@gmail.com> # Zybo Z7-20 Signed-off-by: Nick Hainke <vincent@systemli.org>
* zynq: 6.1: refresh kernel configNick Hainke2024-04-28
| | | | | | Refresh the kernel config by runnnig make kernel_menuconfig. Signed-off-by: Nick Hainke <vincent@systemli.org>
* kernel/zynq: Restore kernel files for v5.15Nick Hainke2024-04-28
| | | | | | | | | | This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. See: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html for the original discussion. Signed-off-by: Nick Hainke <vincent@systemli.org>
* kernel/zynq: Create kernel files for v6.1 (from v5.15)Nick Hainke2024-04-28
| | | | | | | | This is an automatically generated commit. When doing `git bisect`, consider `git bisect --skip`. Signed-off-by: Nick Hainke <vincent@systemli.org>
* ipq40xx: refresh patches againRobert Marko2024-04-28
| | | | | | | | | CI tells us that we need to, so lets refresh them. Fixes: 4265fe9348c0 ("ipq40xx: refresh patches") Link: https://github.com/openwrt/openwrt/pull/15310 Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq40xx: refresh patchesRobert Marko2024-04-27
| | | | | | CI tells us that we need to, so lets refresh them. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: update fraglist GRO patch to the latest upstream submissionFelix Fietkau2024-04-27
| | | | | | Cosmetic fixes + IPv6 NAT support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix crash with multicast-to-unicast and fraglist GROFelix Fietkau2024-04-27
| | | | | | | Avoid calls to skb_copy, which creates invalid packets that cause a crash on segmentation Signed-off-by: Felix Fietkau <nbd@nbd.name>
* generic: v6.1, v6.6: add patch to fix PHY-muxing on MT7530Daniel Golle2024-04-27
| | | | | | | | Move accepted patches to backport folder, re-add previously removed patch which caused havoc on MT7621 and add the (still pending) fix. Fixes: d40691a5fb ("generic: 6.1, 6.6: mt7530: import pending patches") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: generic backport 6.1: rename mistyped .patch fileAntonio Flores2024-04-27
| | | | | | | Rename mistyped file .patc to patch Fixes: ac8bfe316b ("generic: 6.1, 6.6: mt7530: import accepted patches") Signed-off-by: Antonio Flores <antflores627@gmail.com>
* bcm4908: set kernel 6.6 as a testing versionMieczyslaw Nalewaj2024-04-27
| | | | | | Add kernel 6.6 for testing. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
* bcm4908: remove 5.15 supportMieczyslaw Nalewaj2024-04-27
| | | | | | Now that 6.1 is default, remove 5.15 support. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
* qualcommax: IPQ807x: ZyXEL NBG7815: Fix random Wifi MACUlrich Stark2024-04-27
| | | | | | | | | | | | | | | | | For this particualar device we get random MAC's for Wifi on each (re-)boot. This is because art partition/pre caldata do not contain valid MAC addresses. As we have now a new/better approach with ath11k_patch_mac we can use it for this device too. I'm using this approach for like two weeks and its working flawlessly. Signed-off-by: Ulrich Stark <pwned-pixel@posteo.de> qualcommax: IPQ807x: ZyXEL NBG7815: Fix random Wifi MAC Changing order to 3/phy0/5G-1, 2/phy1/2G, 4/phy2/5G-2. Signed-off-by: Ulrich Stark <pwned-pixel@posteo.de>
* ipq40xx: fix USB on Aruba AP-303HRyan Salsbury2024-04-27
| | | | | | | | | | Enable USB 3.0 controller, disable USB 2.0 controller. The USB 2.0 port on the AP-303H is actually connected to the USB 3.0 controller's HS phy. Enable the HS phy only, since the SS lanes are not brought out to the connector. Signed-off-by: Ryan Salsbury <ryanrs@gmail.com>
* ipq40xx: use nvmem ethernet MACs on Aruba AP-303HRyan Salsbury2024-04-27
| | | | | | | Use NVMEM to assign "factory sticker" MAC address to WAN ethernet interface. Set LAN address to sticker + 1. Signed-off-by: Ryan Salsbury <ryanrs@gmail.com>
* generic: 6.1, 6.6: remove patch which breaks WAN on MT7621Daniel Golle2024-04-27
| | | | | | | | | | | | | Importing pending patch "net: dsa: mt7530: move MT753X_MTRAP operations for MT7530" broke WAN connectivity on most MT7621 which use PHY-muxing to hook up either port 0 or port 4 to GMAC1. Remove it for now until the author submits a fixed version. Fixes: https://github.com/openwrt/openwrt/issues/15279 Fixes: https://github.com/openwrt/openwrt/issues/15273 Fixes: d40691a5fb ("generic: 6.1, 6.6: mt7530: import pending patches") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: move mv88e6xxx fix to generic backportsStijn Tintel2024-04-26
| | | | | | | | | | | | | | | | The backports introduced in commit d40756563c46 ("kernel: backport phylink changes from mainline Linux") broke the mv88e6xxx DSA driver. A backport to fix this was added to the kirkwood target, but as it is used in multiple targets, and there's a kmod package for it, the fix should be in generic backports. This fixes the switch on the WatchGuard Firebox M300 when running the 6.1 testing kernel. There is no need to backport the fix for the 6.6 kernel, as it was included in 6.6.5. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* ipq40xx: set DEVICE_DTS_DIR to /qcom by defaultChristian Marangi2024-04-26
| | | | | | | Set DEVICE_DTS_DIR to /qcom by default instead of limiting it to TESTING_KERNEL since we moved 6.6 to default version. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: set DEVICE_DTS_DIR to /qcom by defaultChristian Marangi2024-04-26
| | | | | | | Set DEVICE_DTS_DIR to /qcom by default instead of limiting it to TESTING_KERNEL since we moved 6.6 to default version. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* bcm53xx: update 600-net-disable-GRO-by-default.patch after recent GRO changeFelix Fietkau2024-04-26
| | | | | | Fixes build error Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ipq40xx: drop 6.1 supportChristian Marangi2024-04-26
| | | | | | Drop support for ipq40xx for kernel 6.1. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq40xx: switch default to 6.6Christian Marangi2024-04-26
| | | | | | Switch default kernel version for ipq40xx to 6.6. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: drop 6.1 supportChristian Marangi2024-04-26
| | | | | | Drop support for ipq806x for kernel 6.1. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: switch default to 6.6Christian Marangi2024-04-26
| | | | | | Switch default kernel version for ipq806x to 6.6. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ath79: update 900-unaligned_access_hacks.patch after recent GRO changeFelix Fietkau2024-04-26
| | | | | | Fixes build error Signed-off-by: Felix Fietkau <nbd@nbd.name>