This project is mirrored from https://git.openwrt.org/openwrt/openwrt.git.
Pull mirroring updated .
- Jan 26, 2025
-
-
Daniel Golle authored
Import patch "net: phy: realtek: mark existing MMDs as present" When using Clause-45 mode to access RealTek RTL8221B 2.5G PHYs some versions of the PHY fail to report the MMDs present on the PHY. Mark MMDs PMAPMD, PCS and AN which are always existing according to the datasheet as present to fix that. Fixes: #16823, #17183, #17232 Signed-off-by:
Daniel Golle <daniel@makrotopia.org> Tested-by:
Aleksander Jan Bajkowski <olek2@wp.pl> Tested-by:
Juan Pedro Paredes Caballero <juanpedro.paredes@gmail.com> (cherry picked from commit 730db6b8)
-
- Jan 25, 2025
-
-
Hauke Mehrtens authored
The USB PHY on the ar9330 and similar SoCs needs the PHY driver. In OpenWrt 23.05 it was compiled into the kernel. The kernel 6.6 configuration does not compile it in any more, make the kmod-usb-chipidea driver select it to add it to the images. Fixes: https://github.com/openwrt/openwrt/issues/17710 Fixes: 04bdf9b3 ("ath79: disable ath79 USB phy drivers by default") Link: https://github.com/openwrt/openwrt/pull/17720 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit b467e5a0)
-
Chukun Pan authored
Fixes typo for led properties. Delete the unused rfb compatible. Signed-off-by:
Chukun Pan <amadeus@jmu.edu.cn> (cherry picked from commit 64d1b108)
-
Chukun Pan authored
Use white led when running, consistent with the stock firmware. Signed-off-by:
Chukun Pan <amadeus@jmu.edu.cn> (cherry picked from commit 87632219)
-
Chukun Pan authored
Fixed interrupt support for 2.5G PHY. Removed useless phy-mode on phy node. Tested on Cudy TR3000. Signed-off-by:
Chukun Pan <amadeus@jmu.edu.cn> (cherry picked from commit 82b69dfa)
-
Chukun Pan authored
Same as commit 36746893, correct 'buswidth' to 'bus-width'. Move the nmbm properties outside the partition definition. Change uppercase to lowercase, add missing read-only flag. Signed-off-by:
Chukun Pan <amadeus@jmu.edu.cn> (cherry picked from commit ab375a34)
-
Sergey Ryazanov authored
Bump PKG_RELEASE after the previous fixes. Signed-off-by:
Sergey Ryazanov <ryazanov.s.a@gmail.com> Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250122222654.21833-5-ryazanov.s.a@gmail.com/ Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 78f90840)
-
Sergey Ryazanov authored
atm_qos struct should be the same both for user and kernel spaces. Via the __SO_ENCODE() macro it is used to define the SO_ATMQOS socket IOC. During the VRX518 support introduction, the atm_trafprm sturct nested into the atm_qos stucture was update with newer fields that are referenced by the ATM TC layer of the VRX518 TC driver. These new fields are intended to communicate information for extra traffic classes supported by the driver. But we are still using vanilla kernel headers to build the toolchain. Due to the atm.h header incoherency br2684ctl from linux-atm tools is incapable to configure the ATM bridge netdev: br2684ctl: Interface "dsl0" created sucessfully br2684ctl: Communicating over ATM 0.1.2, encapsulation: LLC br2684ctl: setsockopt SO_ATMQOS 22 <-- EINVAL errno br2684ctl: Fatal: failed to connect on socket; File descriptor in bad state There are two options to fix this incoherency. (a) update the header file in the toolchain to build linux-atm against updated atm_trafprm and atm_qos structures, or (b) revert atm_trafprm changes. Since there are no actual users of the extra ATM QoS traffic classes, just drop these extra traffic classes from vrx518_tc ATM TC layer and drop the kernel patch updating atm.h. Besides fixing the compatibility with linux-atm tools, removing the kernel patch should simplify kernel updates removing unneeded burden of maintenance. Run tested with FRITZ!Box 7530 with disabled extra traffic classes and then removed them entirely before the submission. CC: John Crispin <john@phrozen.org> Fixes: cfd42a00 ("ipq40xx: add Intel/Lantiq ATM hacks") Suggested-by:
Andre Heider <a.heider@gmail.com> Reported-and-tested-by:
<nebibigon93@yandex.ru> Signed-off-by:
Sergey Ryazanov <ryazanov.s.a@gmail.com> Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250122222654.21833-4-ryazanov.s.a@gmail.com/ Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 6d6dc3a3)
-
Sergey Ryazanov authored
ATM TC layer have some issues which effectively prevent VRX518 from being used as ADSL modem. Specifically, there one crash during the ATM layer configuration and wrong PVC ID selection on packet receiving what breaks RX path. Fix both of the issues. Make subif iface registration optional to prevent the crash (see more details in the new patch) and update the hardcoded PVC ID to match the first allocated channel. Run tested with FRITZ!Box 7530. Fixes: 474bbe23 ("kernel: add Intel/Lantiq VRX518 TC driver") Reported-and-tested-by:
<nebibigon93@yandex.ru> Signed-off-by:
Sergey Ryazanov <ryazanov.s.a@gmail.com> Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250122222654.21833-3-ryazanov.s.a@gmail.com/ Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 47033545)
-
Sergey Ryazanov authored
It looks like VRX518 returns phys addr of data buffer in the 'data_ptr' field of the RX descriptor and an actual data offset within the buffer in the 'byte_off' field. In order to map the phys address back to virtual we need the original phys address of the allocated buffer. In the same driver applies offset to phys address before the mapping, what leads to WARN_ON triggering in plat_mem_virt() function with subsequent kernel panic: WARNING: CPU: 0 PID: 0 at .../sw_plat.c:764 0xbf306cd0 [vrx518_tc@8af9f5d0+0x25000] ... Unable to handle kernel NULL pointer dereference at virtual address 00000000 pgd = aff5701e [00000000] *pgd=00000000 Internal error: Oops: 5 [#1] SMP ARM Noticed in ATM mode, when chip always returns byte_off = 4. In order to fix the issue, pass the phys address to plat_mem_virt() as is and apply byte_off later for proper DMA syncing and on mapped virtual address when copying RXed data into the skb. Run tested with FRITZ!Box 7530 on both ADSL and VDSL (thanks Jan) links. Fixes: 474bbe23 ("kernel: add Intel/Lantiq VRX518 TC driver") Tested-by: Jan Hoffmann <jan@3e8.eu> # VDSL link Reported-and-tested-by: nebibigon93@yandex.ru # ADSL link Signed-off-by:
Sergey Ryazanov <ryazanov.s.a@gmail.com> Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250122222654.21833-2-ryazanov.s.a@gmail.com/ Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 7bd57968)
-
Florian Maurer authored
the wifi leds of the wax206 were not reacting. This patch enables the green leds to show activity, as the blue ones are very bright. Also set the label-mac to the gmac0 Signed-off-by:
Florian Maurer <f.maurer@outlook.de> Link: https://github.com/openwrt/openwrt/pull/17694 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 9ada8578)
-
Sander Vanheule authored
Supported devices are listed in the metadata as the first part of the DTS compatible. This normally follows the format "vendor,device". When updating the device name of the 180W 1920-8G PoE an underscore was used, instead of a comma, to join the vendor and device name. This will lead to warnings for users wanting to sysupgrade a device with an older compatible, as the device's info does not match the one the metadata. Fixes: 987c96e8 ("realtek: rename hpe,1920-8g-poe to match hardware") Signed-off-by:
Sander Vanheule <sander@svanheule.net> (cherry picked from commit 6a7fa685)
-
- Jan 24, 2025
-
-
Ivan Deng authored
Fixed an issue where both WAN LEDs light up before plugging in the ethernet cable and no blinking regardless of WAN network activity. Updated the LED configuration to reflect proper status: Green indicates 2.5Gb connection speed. Yellow indicates other connection speed and traffic activity. This resolves inconsistent WAN LED behavior on Spectrum SAX1V1K routers. Signed-off-by:
Ivan Deng <hongba@rocketmail.com> Link: https://github.com/openwrt/openwrt/pull/17623 Signed-off-by:
Robert Marko <robimarko@gmail.com> (cherry picked from commit 8e78bc39)
-
- Jan 23, 2025
-
-
Dim Fish authored
New revisions of Xiaomi AX3000T with 1.0.84+ stock firmware contain new hardware. This commit add support for Airoha AN8855 gigabit switch driver with 6.6 kernel patches Based on https://patchwork.kernel.org/project/netdevbpf/cover/20241209134459.27110-1-ansuelsmth@gmail.com/ Signed-off-by:
Dim Fish <dimfish@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16709 Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com> (cherry picked from commit 0fd9d00c)
-
Hauke Mehrtens authored
Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
Hauke Mehrtens authored
Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
Álvaro Fernández Rojas authored
This patch has been accepted for linux v6.14 so we can move it from pending to backport. Signed-off-by:
Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit 2f2e21a5)
-
Álvaro Fernández Rojas authored
These patches have been accepted in linux v6.14 instead of v6.13. Signed-off-by:
Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit 12a07e93)
-
Daniel Golle authored
Expose the temperature sensor built-into RTL822x 2.5G and 5G PHYs. Signed-off-by:
Daniel Golle <daniel@makrotopia.org> Signed-off-by:
Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit 3a189e38)
-
Mieczyslaw Nalewaj authored
Refresh hack patches with make target/linux/refresh. Fixes: 9508ca44 ("kernel: backport improvement to page pool fragment handling from 6.7") Signed-off-by:
Mieczyslaw Nalewaj <namiltd@yahoo.com> Signed-off-by:
Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit ee730a66)
-
- Jan 22, 2025
-
-
Felix Fietkau authored
Makes it easier to keep drivers like mt76 in sync with newer versions Signed-off-by:
Felix Fietkau <nbd@nbd.name> (cherry picked from commit 9508ca44) (cherry picked from commit 47804199)
-
Danila Romanov authored
1. Import pending patch to fix ramips/mt7621 64MB targets. 2. Do not enable CONFIG_PAGE_POOL_STATS by default. Signed-off-by:
Danila Romanov <pervokur@gmail.com> Signed-off-by:
Felix Fietkau <nbd@nbd.name> (cherry picked from commit 15887235)
-
John Audia authored
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.73 No patches needed a rebase. 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/17687 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 761b2449)
-
- Jan 21, 2025
-
-
Lech Perczak authored
Now, that initramfs images built for ZTE devices work, by moving LZMA_TEXT_START further up the available RAM - same fix works successfully for Meraki MR18 too. Apply it and reenable initramfs generation again. Fixes: 1d49310f ("ath79: add Cisco Meraki MR18") Signed-off-by:
Lech Perczak <lech.perczak@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17680 Signed-off-by:
Robert Marko <robimarko@gmail.com> (cherry picked from commit 7423e67e)
-
Mikhail Zhilkin authored
This commit fixes Xiaomi AX3000t soft bricks. Issue affects at least rd23 model (Global version) users: Link: https://forum.openwrt.org/t/openwrt-support-for-xiaomi-ax3000t/180490/452 I also found that these nvram settings are wrong for the rd23 model and U-Boot erase them: ''' flag_try_sys1_failed 8 flag_try_sys2_failed 8 ''' As a result, platform.sh -> xiaomi_initial_setup() function sometimes ends early without applying settings for the rd23 model. RD03 model strategy: 1. Don't touch values those were set up by platform.sh -> xiaomi_initial_setup() function RD23 model strategy: 1. Apply correct nvram settings at every boot 2. Use bulk fw_setenv call I didn't find opened issue for AX3000t. Similar AX3200 issue: Link: https://github.com/openwrt/openwrt/issues/16347 So, other Xiaomi devices (e.g. Xiaomi WR30U) may also require fix. Fixes: 7dbcc121 ("mediatek: filogic: add support for Xiaomi AX3000T") Signed-off-by:
Mikhail Zhilkin <csharper2005@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17580 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 42a253c7)
-
Mikhail Zhilkin authored
This commit replaces multiple fw_setenv calls by the bulk one to reduce flash writes. Thanks @Linaro1985 for the idea. Signed-off-by:
Mikhail Zhilkin <csharper2005@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17580 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit a6b0abf4)
-
John Audia authored
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.72 Dropped to due being superseded by upstream patch: mediatek/patches-6.6/870-drm-mediatek-only-touch-DISP_REG_OVL_PITCH_MSB-if-AF.patch[1] All other patches automatically rebased. 1. https://github.com/gregkh/linux/commit/ac7f5641e9887354a0fc6f48190533af084bb0dc 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/17646 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 1d021458)
-
Florian Maurer authored
the CWMP account mac is correctly set on the lan device but was not correctly as label-mac Signed-off-by:
Florian Maurer <f.maurer@outlook.de> Link: https://github.com/openwrt/openwrt/pull/17618 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit f9813f41)
-
Sebastian Pflieger authored
The lldp_class and lldp_location config option are only valid when compiled with LLDP-MED support. If not they will cause lldpd not to start. Signed-off-by:
Sebastian Pflieger <sebastian@pflieger.email> Link: https://github.com/openwrt/openwrt/pull/17571 Signed-off-by:
Robert Marko <robimarko@gmail.com> (cherry picked from commit 2c22d7c3)
-
Robert Marko authored
lldpd was updated, so reset PKG_RELEASE after the PKG_VERSION update. Signed-off-by:
Robert Marko <robimarko@gmail.com> (cherry picked from commit abbec429)
-
Sebastian Pflieger authored
Changes (breaking): - Remove support for building 802.3bt TLVs (broken). Fix: - Fix memory leaks in EDP/FDP decoding when receiving some TLVs twice. - Do not set interface description continuously. - Use a different Netlink socket for changes and queries. Signed-off-by:
Sebastian Pflieger <sebastian@pflieger.email> Link: https://github.com/openwrt/openwrt/pull/17570 Signed-off-by:
Robert Marko <robimarko@gmail.com> (cherry picked from commit a1838504)
-
Raylynn Knight authored
Devices with wifi (LicheePi RV and MangoPi MQ Pro) were using the wrong module. Also wpad was missing to enable using the WiFi. Signed-off-by:
Raylynn Knight <rayknight@me.com> Link: https://github.com/openwrt/openwrt/pull/17576 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by:
Zoltan HERPAI <wigyori@uid0.hu> (cherry picked from commit 8a17bae7)
-
Felix Fietkau authored
047b2efc1348 CMakeLists.txt: bump minimum cmake version 16ff0badbde7 CMakeLists: add support for including ABIVERSION in the library version number Signed-off-by:
Felix Fietkau <nbd@nbd.name> (cherry picked from commit e046f8c3)
-
Florian Maurer authored
The WAX220 does have a 2.4GHz and 5GHz wifi led, which was set to trigger on netdev before. This commit changes this to trigger on activity of the respective radio Signed-off-by:
Florian Maurer <f.maurer@outlook.de> Link: https://github.com/openwrt/openwrt/pull/17627 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 99431e31)
-
Lech Perczak authored
Now that LZMA_TEXT_START is configurable per-target once again, move the target above 32MB boundary for ZTE MF28* devices. Signed-off-by:
Lech Perczak <lech.perczak@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17616 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 32c6b906)
-
Lech Perczak authored
initramfs for some devices grew so big, that it can't be loaded within the previous 32MB RAM limit. Make the LZMA_TEXT_ADDRESS configurable per-target once again, to fix it for bigger devices, while maintaining compatibility with previous ones. Signed-off-by:
Lech Perczak <lech.perczak@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17616 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 67209586)
-
Aleksander Jan Bajkowski authored
Define EX5601-T1 and T-56 as alternative name, to explicitly show the device is supported using existing image. EX5601-T1 does not have the option to switch between WAN/SFP port. The switch port is hardwired to the WAN port. The Zyxel T-56 is the odido-branded version of the EX5601-T1. Signed-off-by:
Aleksander Jan Bajkowski <olek2@wp.pl> Link: https://github.com/openwrt/openwrt/pull/17615 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 3d63a41f)
-
Christian Marangi authored
There is currently a problem where the rootfs in an initramfs image for single target build is not updated on subsequent run. This is caused by a bug introduced in d78dec3e ("kernel: copy kernel build dir on Per-Device Initramfs compilation") where the initramfs_data.cpio rm was moved to PrepareConfigPerRootfs. This caused the side effect of dropping the rm call for single target build making the kernel reusing the previous generated initramfs_data.cpio. To correctly handle this, restore the original location of this call right after the touch /init call. This way the kernel will always regenerate the initramfs embedded rootfs ALSO for single target build. Fixes: d78dec3e ("kernel: copy kernel build dir on Per-Device Initramfs compilation") Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com> (cherry picked from commit 334c649a)
-
- Jan 20, 2025
-
-
Robert Marko authored
Increase PKG_RELEASE as follow-up for ("lantiq: fritz_cal_extract with reverse option for AVM FritzBox 7430"). Signed-off-by:
Robert Marko <robimarko@gmail.com> (cherry picked from commit 4a8717b5)
-
Dustin Gathmann authored
This implementation of fritz_cal_extract can also retrieve firmware data stored in reverse byte order, as found in the AVM 7430 device. This is done by intermediate storage in a buffer presumably large enough to hold the complete data set. Currently, this buffer size is 128kB + 1kB (some extra space for skipped data). In the usual case of "forward" data, this implementation should behave like the original implementation in all common cases. limit [-l] will determine the amount of data read and size of buffer allocated. However, if you are reading reversed data or didn't set a limit, the buffer may be too small to hold all data. In this case, you can choose a higher limit [-l] to enforce a sufficient buffer size. Signed-off-by:
Dustin Gathmann <dzsoftware@posteo.org> Link: https://github.com/openwrt/openwrt/pull/15501 Signed-off-by:
Robert Marko <robimarko@gmail.com> (cherry picked from commit b2cac2a9)
-