aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* mac80211: set basic-rate for mesh interfacesDavid Bauer2025-01-06
| | | | | | | | | | | | Basic rates were not set for mesh-interfaces, resulting in the undesired behavior where 11s frames might be sent with a rate which was not configured. Depending on the driver, the basic rate might also be used to determine the beacon rate configured to the chip. One such example are MediaTek MT7915 platforms. Signed-off-by: David Bauer <mail@david-bauer.net>
* ppp: update to 2.5.2Shiji Yang2025-01-05
| | | | | | | | | | | | | | | | | | | | | | | | | | This is a minor upgrade that mainly fixes some compilation errors and remove old unused code. The Makefile has been reorganized. Now all package make parameters are passed as configure arguments instead of environment variables. The compilation dependencies remain the same as ppp v2.5.1 and the package size changes are negligible. Change log: https://github.com/ppp-project/ppp/blob/v2.5.2/README#L70 Upstreamed patches: 101-pppd-crypto-fix-build-without-openssl.patch [1] 102-pppd-make-pid-directory-before-create-the-pid-file.patch [2] 103-pppd-crypto-fix-gcc-14-build.patch [3] [1] https://github.com/ppp-project/ppp/commit/5f6eabdb6666d914e0f8feb3facfa591dee75a1f [2] https://github.com/ppp-project/ppp/commit/734bc0438e78b7c7cd34acfce3a4ec119d9a50b6 [3] https://github.com/ppp-project/ppp/commit/ac269dbf7c142371cd975c775c6171707ac4dde8 Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/17477 Signed-off-by: Nick Hainke <vincent@systemli.org>
* ath79: reset ETH switch for AR9344David Bauer2025-01-05
| | | | | | | | | | | | According to datasheet, on AR9344 the switch and switch analog need to be reset first before initiating a full reset. Resetting these systems fixes spurious reset hangs on Atheros AR9344 SoCs. Link: https://github.com/freifunk-gluon/gluon/issues/2904 Signed-off-by: David Bauer <mail@david-bauer.net>
* Revert "qualcommax: ipq807x: mx4200v2: fix LED controller"Robert Marko2025-01-05
| | | | | | | | | This reverts commit 7ce4ed4829fafdd37a57681304ea91e3749bc3c8. Turns out that this requires more work, so revert to prevent making the LED uncontrollable. Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: ipq807x: mx4200v2: fix LED controllerManuel Fombuena2025-01-05
| | | | | | | | | | | | The Linksys MX4200v2 doesn't have the same LED controller as the MX4200v1 or MX4300. It comes with the STMicroelectronics LED1202 while the others come with the NXP PCA9633. This LED controller has a driver under development which is currently being reviewed by the respective kernel maintainers. They are currently on v11. Apart from the changes needed on the MX4200v2, this commit also amends the configuration of other devices affected by this change as the LED controller is no common to all of them as it was originally thought. Signed-off-by: Manuel Fombuena <fombuena@outlook.com> Link: https://github.com/openwrt/openwrt/pull/17451 Signed-off-by: Robert Marko <robimarko@gmail.com>
* generic: add STMicroelectronics LED1202 driverManuel Fombuena2025-01-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This LED controller has a driver under development which is currently being reviewed by the respective kernel maintainers. They are currently on v11 which is included here. The LED1202 is a 12-channel low quiescent current LED driver with: * Supply range from 2.6 V to 5 V * 20 mA current capability per channel * 1.8 V compatible I2C control interface * 8-bit analog dimming individual control * 12-bit local PWM resolution * 8 programmable patterns If the led node is present in the controller then the channel is set to active. The output current can be adjusted separately for each channel by 8-bit analog (current sink input) and 12-bit digital (PWM) dimming control. The LED1202 implements 12 low-side current generators with independent dimming control. Internal volatile memory allows the user to store up to 8 different patterns, each pattern is a particular output configuration in terms of PWM duty-cycle (on 4096 steps). Analog dimming (on 256 steps) is per channel but common to all patterns. Each device tree LED node will have a corresponding entry in /sys/class/leds with the label name. The brightness property corresponds to the per channel analog dimming, while the patterns[1-8] to the PWM dimming control. Signed-off-by: Manuel Fombuena <fombuena@outlook.com> Link: https://github.com/openwrt/openwrt/pull/17451 Signed-off-by: Robert Marko <robimarko@gmail.com>
* mediatek: Fix U-Boot variables handling for D-Link M30 A1Roland Reinl2025-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | I think I implemented the U-Boot handling incorrectly on M30 (saw the issue while porting M60 to OpenWrt). Maybe someone with more U-Boot experience can have a look at it. What I understood until now: Before flashing, `sw_tryactive` must be set to 0 because OpenWrt runs on partition 0 During reset after flashing, U-Boot executes the following line: `boot_rd_auto_sw_img=if itest.s ${sw_tryactive} == 2; then run boot_by_part; else run boot_by_tryactive; fi` As `sw_tryactive` was set to 0 before flashing, `boot_by_tryactive` will be executed: `boot_by_tryactive=if itest.s ${sw_tryactive} == 0; then setenv sw_tryactive 2; setenv sw_active 1; saveenv; run ub0; else setenv sw_tryactive 2; setenv sw_active 2; saveenv; run ub1; fi` As `sw_tryactive` was set to 0 before flashing, `sw_active` will be set to 1 and `ub0` will be executed: `ub0=setenv bootpart 0; mtkboardboot; run ub0to1; uip main; reset` If the OpenWrt boot is successful, `ub0to1` and `uip` main will never be executed. Only in case OpenWrt cannot be loaded, `mtkboardboot` will return and the fallback `ub0to1` is executed. Conclusion: It's sufficient to set `sw_tryacitve` to 0 before flashing, the added code in `target/linux/mediatek/filogic/base-files/etc/init.d/bootcount` is useless. In the worst case (/proc/cmdline doesn't contain `bootpart=ubi0` as expected), the bootpart variable would be set to 1 and causes starting the firmware from the second partition instead of the one on the first partition. Signed-off-by: Roland Reinl <reinlroland+github@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17298 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: rt2x00: some improvements for rt5592Shiji Yang2025-01-04
| | | | | | | | | | | | This patch contains some performance and stability improvements for RT5592: 1. Fix RFCSR register init values for RT5592. 2. Fix BBP register init values for RT5592. Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/16845 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: rt2x00: some improvements for mt7620Shiji Yang2025-01-04
| | | | | | | | | | | | | | | This patch contains some performance and stability improvements for MT7620: 1. Always calibrate MT7620 when switching channel. 2. Rework link tuner for MT7620. 3. Correct MT7620 SDM mode register value. 4. Fix register operation on RXIQ calibration. 5. Fix TX_PIN_CFG and TX_ALC_VGA3 init values. Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/16845 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: rt2x00: some improvements for rt2800 genericShiji Yang2025-01-04
| | | | | | | | | 1. Respect the rt2800 hardware TX queue index. 2. Increase the watchdog sampling frequency. Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/16845 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* realtek: trim default package selectionSander Vanheule2025-01-04
| | | | | | | | | | | | | | | | | | Images for certain devices are staring to become too large, as some device only have 6MB available in their vendor partition layout for the initial install. This is especially pressing for bootloaders only supporting gzip compression. Drop some packages from DEFAULT_PACKAGES that aren't strictly required for a factory install. The user can always install more packages later using opkg/apk, or via a sysupgrade to a custom build. firewall4 is kept to ensure the most recent firewall package is selected in builds including LuCI. ethtool is kept as a frequently used diagnostics tool. Link: https://github.com/openwrt/openwrt/pull/17450 Signed-off-by: Sander Vanheule <sander@svanheule.net>
* ath79: Push MV88E6060 DSA switch into packageLinus Walleij2025-01-04
| | | | | | | | | | | | | | | | We can use a package for the MV88E6060 DSA switch on the single ath79 device that uses it, saving around 600 KB of memory on all other devices (for the DSA infrastructure, mainly). As far as I can see the TP-Link TL WR941 v2 is the only device using MV88E6060 and the only device with a DSA switch overall. However the ath79 people should look at this so I'm not mistaken. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250102-ath79-mv88e6060-module-v1-1-c2a8e31e72fc@linaro.org/ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* bcm27xx: remove duplicated kmod-rp1-pio packageJohn Audia2025-01-04
| | | | | | | | | | Commit f105d1a9a9739267fb25612d039c392a397775bd added a duplicated kmod-rp1-pio package. Also remove unneeded blank lines added by the same commit. Fixes: f105d1a9a973 ("bcm27xx/bcm2712: Fix-up RP1 modules") Signed-off-by: John Audia <therealgraysky@proton.me> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mediatek: append metadata to factory-uboot.bin for WSR devicesINAGAKI Hiroshi2025-01-04
| | | | | | | | | Append metadata to factory-uboot.bin image to pass the image verification on sysupgrade. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17408 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mediatek: mt7622: sync buffalo.sh with ramips/mt7621INAGAKI Hiroshi2025-01-04
| | | | | | | | | | Sync buffalo.sh with the one in ramips/mt7621 to improve handling of the TRX magic numbers of Buffalo WSR devices and switching sysupgrade method between buffalo_upgrade_ubinized() and nand_do_upgrade(). Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17408 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mediatek: mt7622: improve fixup of trx for Buffalo devicesINAGAKI Hiroshi2025-01-04
| | | | | | | | | Unify the common part to the function and don't fixup trx when booting with initramfs image. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17408 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: mt76x8: add support for Keenetic Extra (KN-1713)Anton Yu. Ivanusev2025-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specification: SoC: MediaTek MT7628AN RAM: 128M DDR2, Etron Technology EM68C16CWQG-25H Flash: 32M, cFeon EN25QH256A (Dual Boot, SPI) Switch: MediaTek MT7628AN, 4 ports 100 Mbps WiFi: MediaTek MT7628AN 2.4 GHz 802.11n and MediaTek MT7613BEN 5 GHz 802.11ac USB: 1 port USB 2.0 GPIO: 3 buttons (Wi-Fi, Reset, FN), 4 LEDs (Power, Internet, FN, Wi-Fi), USB port power controls Disassembly: There are 2 screws at the bottom. After removing the screws, pry the gray plastic part around (it is secured with latches) and remove it. UART Interface: The UART interface can be connected to the 5 pin located between the WAN port and the RESET button. Pins (from WAN port to Reset button): VCC, TX, RX, NC, GRD Settings: 115200, 8N1 Flashing via OEM recovery software: 1. Download the OEM recovery software from the manufacturer's website 2. Download the firmware image (for OpenWRT it is *-squashfs-factory.bin), rename it to KN-1713_recovery.bin 3. Replace the file in the fw folder OEM recovery software with the file from step 2. 4. Run the OEM recovery software and follow the instructions. Flashing via TFTP: 1. Connect your PC and router to port 1-3, configure PC interface using IP 192.168.1.2, mask 255.255.255.252 2. Serve the firmware image (for OpenWRT it is *-squashfs-factory.bin) renamed to KN-1713_recovery.bin via TFTP 3. Power up the router while pressing Reset button on the back 4. Release Restart button when Power LED starts blinking To revert back to OEM firmware: The return to the OEM firmware is carried out by using the methods described above with the help of the appropriate firmware image. When using OEM bootloader, the firmware image size cannot exceed the size of one OEM «Firmware_x» partition or Kernel + rootFS size. Signed-off-by: Anton Yu. Ivanusev <ivanusevanton@yandex.ru> Link: https://github.com/openwrt/openwrt/pull/17382 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* include/trusted-firmware-a.mk: unset CC before compilingThomas Richard2025-01-04
| | | | | | | | | | | | | | | | | If CC is explicitly set to a non default value, TF-A keeps this value. Otherwise it assigns generic default value. As the build bot set CC=/usr/bin/gcc-10, TF-A uses it which causes a compile issue. So unset CC before compiling. It's a new behavior since v2.12. A part of the explanation is available in this commit [1]. [1] https://github.com/ARM-software/arm-trusted-firmware/commit/e01c71266f9df46ac46dc72669449490d1c94419 Signed-off-by: Thomas Richard <thomas.richard@bootlin.com> Link: https://github.com/openwrt/openwrt/pull/17465 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* base-files: strip space and tab characters from ASCII mac addressShiji Yang2025-01-04
| | | | | | | | | Spaces and tabs are widely used in variable definitions. We have to remove them to ensure that get_mac_ascii() works properly. Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/17262 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* base-files: enable get_mac_ascii() to handle redundant stringsShiji Yang2025-01-04
| | | | | | | | | | | The function get_mac_ascii() will fail when there are two or more same MAC address variable names in the mtd partition. Only retain the first variable to workaround this rare situation. Fixes: https://github.com/openwrt/openwrt/issues/17236 Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/17262 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* bcm53xx: backport nvmem mac for meraki mr26Rosen Penev2025-01-04
| | | | | | | | | | | Avoids having to set the MAC in userspace. Also added a mac-base change to set the wifi MACs. It's not clear if upstream would want it once mac-base is upstreamed. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17064 Signed-off-by: Robert Marko <robimarko@gmail.com>
* lantiq: xrx200: add support for lan3 and lan4 on AVM 5490/5491Aleksander Jan Bajkowski2025-01-04
| | | | | | | | | | | On the AVM 5490/5491, lan1, lan2 and wan ports are connected directly to the internal GSWIP switch. The lan3 and lan4 ports are connected via an external QCA8334 switch. This commit adds the missing entries in dts and adds the driver module. Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl> Link: https://github.com/openwrt/openwrt/pull/17473 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: mtk-mmc: remove nt76x8 pinctrl hackShiji Yang2025-01-04
| | | | | | | | Now we can set the mt76x8 SDXC pinmux in device tree. Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/17446 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: make package kmod-sdhci-mt7620 conflict with kmod-mmc-mtkShiji Yang2025-01-04
| | | | | | | | | | These two packages are SDXC drivers for Mediatek mt762x series SoCs. One is upstream implementation, and the other is downstream driver. Installing them together will result in conflicts. Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/17446 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: fix SDXC function for mt76x8 one eth port devicesShiji Yang2025-01-04
| | | | | | | | | | | | | | | | | | | | There are only 5 devices in mt76x8 sub-target selected the MTK SDXC driver package. And they are all single ethernet port routers or dev boards: * LinkIt Smart 7688 * Onion Omega2+ * RAVPower RP-WD009 * VoCore VoCore2 * VoCore VoCore2-Lite For these devices, they are using the ephy p1 - p4 as the SDXC IO pins. Therefore, these GPIO pads must be configured in "digital" IO mode. Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/17446 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: add back SDXC card reader support for HiWiFi HC5x61AShiji Yang2025-01-04
| | | | | | | | | After adding the correct package and pin group configurations, the SDXC card slot can now function properly. Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/17446 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: pinctrl: allow mux SDXC pins for mt76x8Shiji Yang2025-01-04
| | | | | | | | | | The mt76x8 SDXC pin register definition is incompatible with the mtmips generic pinctrl driver structure. This hack allows us to mux the SDXC IO to different pin groups in device tree. Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/17446 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: mmc-mtk: add more vendor driver register init valuesShiji Yang2025-01-04
| | | | | | | | | | In the MTK vendor driver, mt762x SDXC registers MSDC_PATCH_BIT and MSDC_PATCH_BIT1 have different init values than upstream driver. These magical values should have some help for the stability. Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/17446 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* uboot-mediatek: add missing LED command for OpenWrt OneShiji Yang2025-01-04
| | | | | | | | | | | The u-boot LED command "led_loop_done" is missing from the OpenWrt One NAND flash u-boot. Copy it from the OpenWrt One NOR flash u-boot default environment to fix this issue. Fixes: https://github.com/openwrt/openwrt/issues/17310 Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/17338 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* uboot-mediatek: fix Routerich AX3000 support patchShiji Yang2025-01-04
| | | | | | | | | | It seems that the original patch has been manually modified. The newly added line number is incorrect. Fixes: c0581520b1c5 ("uboot-mediatek: add Routerich AX3000 support") Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/17338 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* bcm27xx/bcm2712: Fix-up RP1 modulesJohn Audia2025-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | Correct a few mistakes around dependencies and naming and unset CONFIG_FIRMWARE_RP1 in RPi5B's config and instead of a builtin, build it as a module. Without this change, there are two entries for rp1.ko in /lib/modules/$(uname -r)/modules.builtin due to how we strip the leading directories when we generate it. See: package/kernel/linux/Makefile around line 63. % grep rp1.ko /lib/modules/$(uname -r)/modules.builtin pwm-rp1.ko clk-rp1.ko rp1.ko rp1.ko The kernel log gets spammed with tons of superfluous warnings as a results of the double entry: daemon.warn modprobe: found duplicate builtin module rp1 Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/17461 Signed-off-by: Robert Marko <robimarko@gmail.com>
* wifi-scripts: fix setting tx power on some driversFelix Fietkau2025-01-04
| | | | | | | | On some drivers, setting the tx power on the interface is not enough. Set it for the phy as well. Fixes: 04fb05914ea7 ("wifi-scripts: add multi-radio config support") Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to Git HEAD (2025-01-04)Felix Fietkau2025-01-04
| | | | | | | | 35bcf68a6297 wifi: mt76: scan: fix setting tx_info fields 4d8d6e2e7710 wifi: mt76: scan: set vif offchannel link for scanning/roc e354436db440 wifi: mt76: mt7996: use the correct vif link for scanning/roc Signed-off-by: Felix Fietkau <nbd@nbd.name>
* rockchip: refresh patchÁlvaro Fernández Rojas2025-01-04
| | | | | | | | | | Commit 8a477bafb4637e3499f69f569133039ce060559e backported an upstream patch without refreshing the patches. Fixes: 8a477bafb463 ("rockchip: fix phy reset on rk356x") Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17474 Signed-off-by: Robert Marko <robimarko@gmail.com>
* generic: 6.6: backport upstream r8169 patchesÁlvaro Fernández Rojas2025-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 7a3bcd39ae1f r8169: use helper r8169_mod_reg8_cond to simplify rtl_jumbo_config e3e9e9039fa6 r8169: align WAKE_PHY handling with r8125/r8126 vendor drivers 330dc2297c82 r8169: improve rtl_set_d3_pll_down c507e96b5763 r8169: improve __rtl8169_set_wol 83cb4b470c66 r8169: remove leftover locks after reverted change 2cd02f2fdd8a r8169: improve initialization of RSS registers on RTL8125/RTL8126 a3d8520e6a19 r8169: align RTL8126 EEE config with vendor driver 4af2f60bf737 r8169: align RTL8125/RTL8126 PHY config with vendor driver eb90f876b796 r8169: align RTL8125 EEE config with vendor driver b8bd8c44a266 r8169: fix inconsistent indenting in rtl8169_get_eth_mac_stats f75d1fbe7809 r8169: add support for RTL8125D c4e64095c00c r8169: enable EEE at 2.5G per default on RTL8125B d64113c6bb5e r8169: remove rtl_dash_loop_wait_high/low 1c105bacb160 r8169: avoid duplicated messages if loading firmware fails and switch to warn level ac48430368c1 r8169: don't take RTNL lock in rtl_task() e3fc5139bd8f r8169: implement additional ethtool stats ops b8bf38440ba9 r8169: enable SG/TSO on selected chip versions per default 854d71c555df r8169: remove original workaround for RTL8125 broken rx issue 1ffcc8d41306 r8169: add support for the temperature sensor being available from RTL8125B The following patches require backporting additional linux patches: e2015942e90a r8169: replace custom flag with disable_work() et al e340bff27e63 r8169: copy vendor driver 2.5G/5G EEE advertisement constraints Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* generic: 6.6: backport upstream Realtek PHY patchesÁlvaro Fernández Rojas2025-01-04
| | | | | | | 8989bad54113 net: phy: realtek: add RTL8125D-internal PHY f87a17ed3b51 net: phy: realtek: merge the drivers for internal NBase-T PHY's Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: add workaround for page_pool_release warningsFelix Fietkau2025-01-03
| | | | | | | | defer_list skbs held by NAPI can block releasing page pools. Work around this by scheduling rx softirq on all CPUs while trying to release a page pool. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* rockchip: fix phy reset on rk356xTianling Shen2025-01-03
| | | | | | | | | | | | | | | | | The commit 7160820d742a ("phy: rockchip: naneng-combphy: fix phy reset") was backported to kernel 6.6 branch by upstream, however the correspond dtsi fixes was not, resulting the following error: ``` [ 0.225521] rockchip-naneng-combphy fe830000.phy: error -ENOENT: failed to get phy reset [ 0.227467] rockchip-naneng-combphy fe840000.phy: error -ENOENT: failed to get phy reset ``` So backport the dtsi fixes here manually. Fixes: 89b2356b8c2f ("kernel: bump 6.6 to 6.6.69") Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Link: https://github.com/openwrt/openwrt/pull/17468 Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq40xx: fix label MAC address for FritzBox 7520/7530Florian Maurer2025-01-03
| | | | | | | | | | | The MAC address of the GMAC is contained inside the CWMP-Account number on the label. Similar fix as to the 4040 in b22d382ae4eaa1af42930115d91855f402314cac Link #13240 Signed-off-by: Florian Maurer <f.maurer@outlook.de> Link: https://github.com/openwrt/openwrt/pull/17467 Signed-off-by: Robert Marko <robimarko@gmail.com>
* mt76: update to Git HEAD (2025-01-03)Felix Fietkau2025-01-03
| | | | | | | 46715044ecd2 wifi: mt76: mt7996: implement driver specific get_txpower function 959a2d40007f wifi: mt76: mt7996: initialize phy txpower Signed-off-by: Felix Fietkau <nbd@nbd.name>
* realtek: add 1920-24g-poe-180w to mac addressJames Sweeney2025-01-03
| | | | | | | | | | | Add 1920-24g-poe-180w to the mac address retrieval part of 02_network to properly set the device's port MAC addresses. This piece was missed when this device was added. Fixes: b948c1e39b9e ("realtek: add support for HPE 1920-24G PoE-180W (JG925A)") Link: https://github.com/openwrt/openwrt/pull/17460 Signed-off-by: James Sweeney <code@swny.io>
* kernel: bump 6.6 to 6.6.69John Audia2025-01-02
| | | | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.69 All patches automatically rebased. Build system: x86/64 Build-tested: bcm27xx/bcm2712, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Run-tested: bcm27xx/bcm2712, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/17459 Signed-off-by: Nick Hainke <vincent@systemli.org>
* strace: Update to version 6.12Tony Ambardar2025-01-02
| | | | | | | | | Release Notes: https://github.com/strace/strace/releases/tag/v6.12 Signed-off-by: Tony Ambardar <itugrok@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/17457 Signed-off-by: Nick Hainke <vincent@systemli.org>
* ubus: update to Git HEAD (2025-01-02)Felix Fietkau2025-01-02
| | | | | | | d996988ae55b libubus: close file descriptor after sending it from a request afa57cce0aff libubus: add support for using channels Signed-off-by: Felix Fietkau <nbd@nbd.name>
* realtek: drop extraneous ')' in 02_networkSander Vanheule2025-01-02
| | | | | | | | | | | | | The extraneous closing parenthesis inside the case matching breaks syntax of the network initialization script 02_network. /bin/board_detect: /etc/board.d/02_network: line 40: syntax error: unexpected newline (expecting ")") Remove this character so board init is functional again. Fixes: c8ea1aa970bf ("realtek: add support for HPE 1920-24G-PoE-370w") Signed-off-by: Sander Vanheule <sander@svanheule.net>
* ixp4xx: Break out mv88e6060 DSA switch to packageLinus Walleij2025-01-02
| | | | | | | | | | | | | Just one of the devices uses the Marvell MV88E6060 DSA switch so break this out from the generic kernel config and into a package selected only by that single device and probed at boot instead. The big win is from being able to drop the dsa_core (~600KB) kernel module out of the common kernel on devices with no DSA switch. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* ixp4xx: Add LEDs to supported devicesLinus Walleij2025-01-02
| | | | | | | This adds the OpenWrt-only LED aliases to the supported IXP4xx devices. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* ixp4xx: Support single zcom_npe_esa hw addressLinus Walleij2025-01-02
| | | | | | | | | | | Some ixp4xx platforms with a proper RedBoot config do not contain the per-ethernet interface npe_eth0_esa, but rather a single entry named zcom_npe_esa. Let's use this if fconfig can't find the primary key. This is needed on the Netgear WG302 v1. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* ixp4xx: Support sysupgrade on WG302 v1Linus Walleij2025-01-02
| | | | | | | | The WG302 v1 have a separate rootfs partition that we simply just upgrade with a new rootfs image. The kernel need to be updated on the TFTP server. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* ixp4xx: Add back support for Netgear WG302 v1Linus Walleij2025-01-02
| | | | | | | | | | The WG302 v1 has 32MB of RAM so it can easily run OpenWrt, however it lacks much flash: only 8 MB. By just using the flash for rootfs and booting a kernel over TFTP it works just fine. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>