This project is mirrored from https://git.openwrt.org/openwrt/openwrt.git.
Pull mirroring updated .
- Jan 21, 2025
-
-
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)
-
- Jan 19, 2025
-
-
David Bauer authored
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> (cherry picked from commit 144af32b)
-
David Bauer authored
This reverts commit 916af73f. It was reported this change did not fix the reboot issues on AR9344. Signed-off-by:
David Bauer <mail@david-bauer.net> (cherry picked from commit 937b5a3e)
-
Christian Marangi authored
Some VRX518 modems fail to initialize properly with the error message "dc_ep_clk_on failed". As a result, the DSL data path doesn't work. This hack, which is based on code from the FRITZ!Box 7530 GPL archive, fixes the issue. It changes the PCIe vendor/device ID to values matching a Lantiq SoC. It also appears to emulate a Lantiq CPU ID register for connected PCIe devices, by remapping the matching address area to a specially crafted buffer using the address translation unit. A dedicated compatible is created to activate this in the device tree, so this shouldn't affect any devices other than FRITZ!Box 7530/7520. Original investigation was done in https://github.com/janh/openwrt/commit/59f52125178146a9dc44290c11c63e5e029e8044 which used the "avm,host_magic" property to enabled the patch. Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com> Signed-off-by:
Florian Maurer <f.maurer@outlook.de> Link: https://github.com/openwrt/openwrt/pull/17622 Signed-off-by:
Robert Marko <robimarko@gmail.com> (cherry picked from commit 676dcb1b)
-
Luis Mita authored
Hardware: - SoC: MediaTek MT7621DAT - Flash: 16 MiB cFeon - RAM: 128 MiB MT7621DAT - WLAN: 2.4 GHz (MT7603EN), 5 GHz (MT7613BEN 802.11ac) - Ethernet: 1x 10/100/1000 Mbps WAN, 3x 10/100/1000 LAN (MT7621DAT) - Buttons: 1 Reset button, 1 WPS button - LEDs: 5x Green (POWER/WAN/2.4G/5G/WPS), 1x Red (WAN) - Serial console: unpopulated header, 57600 8n1 - Power: 12 VDC, 1 A MAC: LAN MAC: label mac (eeprom@4) WAN MAC: label mac (eeprom@4) 2.4G MAC: label mac (eeprom@4) 5G MAC: label mac + 1 (eeprom@8004) Installation: The stock firmware is OpenWrt-based. If you can reach LuCI or SSH, just use the sysupgrade image with the 'Keep settings' option turned off. Signed-off-by:
Luis Mita <luis@luismita.com> Link: https://github.com/openwrt/openwrt/pull/17534 (cherry picked from commit 1c5ca24d) Link: https://github.com/openwrt/openwrt/pull/17653 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
- Jan 18, 2025
-
-
Robert Marko authored
Currently, 2.5G port LED-s on Dynalink are incorrectly configured and thus they will light up all of the time. So, lets fix this by: 1. Current green LED is actually yellow, change the color 2. Fix its polarity as its actually active-low 3. The yellow LED that was registered as being connected to LED_1 pin on the PHY is not actually connected at all, so remove it. 4. The actual green LED is connected to LED_2 on the PHY so add it. Fixes: 75ad5c24 ("qualcommax: switch to qca8081 upstream PHY driver") Fixes: #14502 Link: https://github.com/openwrt/openwrt/pull/17656 Signed-off-by:
Robert Marko <robimarko@gmail.com> (cherry picked from commit 2d077913)
-
Álvaro Fernández Rojas authored
These patches have been accepted, so we can move them from pending to backported. Signed-off-by:
Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit 7924acdd)
-
Daniel Golle authored
Import patches to fix several issues with status reporting of RealTek 2.5G PHYs. Signed-off-by:
Daniel Golle <daniel@makrotopia.org> Signed-off-by:
Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit 41c164d3)
-
Álvaro Fernández Rojas authored
Adds patches for the temperature sensor on RTL822x. Signed-off-by:
Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit d7e82c78)
-
Álvaro Fernández Rojas authored
The patch adding temperature sensor support for r8169 has been removed upstream and the functionality will be added to Realtek PHY instead: https://github.com/torvalds/linux/commit/1f691a1fc4bef1c5cf5f503e14e1a22fc37c97e3 Signed-off-by:
Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit 0de9999a)
-
Christian Marangi authored
Add pending PCI patch that should correctly fix mediatek driver with Airoha SoC. Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com> (cherry picked from commit f22febae)
-
Christian Marangi authored
Backport ETS patch for Airoha ethernet and refresh affected patches. Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com> (cherry picked from commit 67635578)
-
- Jan 17, 2025
-
-
Felix Fietkau authored
fb3c2343b17b add support for an override config directory Signed-off-by:
Felix Fietkau <nbd@nbd.name> (cherry picked from commit 44c877f1)
-
Christian Marangi authored
10f7996ec294 file: Ignore config file with '.' in name Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com> (cherry picked from commit 3929ef4c)
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name> (cherry picked from commit 48e1427f)
-
Felix Fietkau authored
Some platforms a single ethernet device for all ports with multiple rx rings and NAPI threading enabled. In this case, the steering script was limiting performance by keeping all NAPI threads assigned to the same CPU. Fix this by assigning each rx queue and the corresponding NAPI task separately. Additionally, if the number of rx queues is at least as big as the number of CPUs, skip weight based assignment and distribute the load across all CPUs directly. Fixes: https://github.com/openwrt/openwrt/issues/17611 Signed-off-by:
Felix Fietkau <nbd@nbd.name> (cherry picked from commit acce25b7)
-
Hauke Mehrtens authored
The package coreutils-stty is not part of the OpenWrt main packages. A board can not depend on it. Remove the dependency to fix a build problem seen in the build bots. Fixes: 8fb805aa ("mvebu: Add support for WD Cloud Mirror Gen2") (cherry picked from commit 717f62d2) Link: https://github.com/openwrt/openwrt/pull/17589 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
Robert Senderek authored
Hardware -------- Marvell Armada 385 (MV88F6820) 512B RAM 256MB NAND (Hynix H27U2G8F2CTR) 1x 1Gbit 2x USB 3.0 2x SATA-III UART: 115200 8N1 3.3V RTC Weltrend MCU WT6703F connected via UART1 for Power LED / PWM Fan / hw reset / WoL Installation ------------ Connect UART 3.3V adapter to JP2 pins: 1-RX / 2-GND / 5-TX Use USB2.0 FAT32 pendrive with openwrt-mvebu-cortexa9-wd_cloud-mirror-gen2-initramfs-kernel.bin 1. stop boot by pressing 1 2. usb start 3. fatload usb 0:1 0x02000000 openwrt-mvebu-cortexa9-wd_cloud-mirror-gen2-initramfs-kernel.bin;bootm 0x02000000 - 4. do backup mtd1 mtd3 5. use sysupgrade Or tftp 1. stop boot by pressing 1 2. setenv ethact egiga2;setenv serverip 192.168.11.114;setenv ipaddr 192.168.11.113 3. tftpboot 0x02000000 openwrt-mvebu-cortexa9-wd_cloud-mirror-gen2-initramfs-kernel.bin; bootm 0x02000000 - 4. do backup mtd1 mtd3 5. use sysupgrade or Evgeny Kolesnikov <evgenyz@gmail.com> method from his failed PR 2040 - Using original firmware's network settings obtain SSH access to the device. - Put *-image-cfs-factory.bin and *-uImage-factory.bin images into device's /tmp directory. - Write kernel (uImage) image 'flash_eraseall /dev/mtd1 && nandwrite --markbad -p /dev/mtd1 /tmp/*-uImage-factory.bin'. - Write rootfs (image-cfs) image 'ubiformat /dev/mtd3 -f /tmp/*-image.cfs-factory.bin -y'. - Reboot the device. Installation (upgrade): Use *-sysupgrade.bin in a usual way. Weltrend MCU control is done via uart1 19200 stty -F /dev/ttyS1 raw speed 19200 stty -F /dev/ttyS1 raw speed 19200 PWM Fan Control off: 00 echo -n -e '\xfa\x02\x00\x00\x00\x00\xfb' > /dev/ttyS1 slow: 5F echo -n -e '\xfa\x02\x00\x5f\x00\x00\xfb' > /dev/ttyS1 max: FF echo -n -e '\xfa\x02\x00\xff\x00\x00\xfb' > /dev/ttyS1 Power LED Control Blue echo -n -e '\xfa\x26\x00\x11\x00\x01\xfb' > /dev/ttyS1 Red echo -n -e '\xfa\x26\x00\x14\x00\x01\xfb' > /dev/ttyS1 Orange echo -n -e '\xfa\x26\x00\x12\x00\x01\xfb' > /dev/ttyS1 more here: https://github.com/c-MM/mcm-daemon/blob/master/mcm.h Signed-off-by:
Robert Senderek <robert.senderek@10g.pl> Link: https://github.com/openwrt/openwrt/pull/17046 (cherry picked from commit 8fb805aa) Link: https://github.com/openwrt/openwrt/pull/17589 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
Mathew McBride authored
luci-app-attendedsysupgrade expects images to be named 'combined-efi' when the system is using EFI images. This came about as x86 has 'combined' images for legacy (BIOS) boot and 'combined-efi' for EFI systems. armsr images were originally named 'combined' only as there was no 'legacy' image type. To avoid special handling in the attendedsysupgrade code, name EFI images consistent with other targets. Signed-off-by:
Mathew McBride <matt@traverse.com.au> Link: https://github.com/openwrt/luci/pull/6430 Link: https://github.com/openwrt/openwrt/pull/12963 Signed-off-by:
Petr Štetiar <ynezz@true.cz> (cherry picked from commit c9ebd4fb)
-
- Jan 16, 2025
-
-
Felix Fietkau authored
Fixes CPU usage imbalance on some devices using threaded NAPI Signed-off-by:
Felix Fietkau <nbd@nbd.name> (cherry picked from commit 67a4aeef)
-
David Bauer authored
Bringing up a mesh interface using wpa_supplicant already supports a per-VIF basic rate selection. Add the same ability when creating a mesh VIF without wpa_supplicant. Signed-off-by:
David Bauer <mail@david-bauer.net> (cherry picked from commit 3deeb780)
-
Felix Fietkau authored
cfg80211 is the only supported wireless API Signed-off-by:
Felix Fietkau <nbd@nbd.name> (cherry picked from commit d1275392)
-
Felix Fietkau authored
This can be used to configure the base mac address from which all interface mac addresses are derived Signed-off-by:
Felix Fietkau <nbd@nbd.name> (cherry picked from commit 00860e48)
-
Felix Fietkau authored
Do not strip the first character from the field name Signed-off-by:
Felix Fietkau <nbd@nbd.name> (cherry picked from commit 59dd9cdd)
-
Felix Fietkau authored
Simplifies setting ifname to a different pattern for all affected interfaces. Signed-off-by:
Felix Fietkau <nbd@nbd.name> (cherry picked from commit a9ff3ba2)
-
Felix Fietkau authored
cf4e709e493a wifi: mt76: mt7996: fix crash in mt7996_set_radar_background 4c786fa52bb2 wifi: mt76: mt7915: fix register mapping 849923df3dde wifi: mt76: mt7996: fix register mapping 6be1dc9a1c79 wifi: mt76: mt7925: fix the unfinished command of regd_notifier before suspend d33ea3cab72b wifi: mt76: mt7925: fix CLC command timeout when suspend/resume 5aacd0d73c80 wifi: mt76: mt7925: add handler to hif suspend/resume event e86e97e45397 wifi: mt76: mt7925e: fix too long of wifi resume time e43df6bf4892 wifi: mt76: mt7996: fix thermal sparse warning 02f453d8dfc8 wifi: mt76: fix survey regression 7279e3f3c3e0 wifi: mt76: mt7925: fix unused-but-set warning 49c0bd66da3b wifi: mt76: mt7996: fix unused-but-set variable 2c068c96382e wifi: mt76: fix crash in mt76_switch_vif_chanctx 731070da2c2a wifi: mt76: mt7996: add max mpdu len capability 99d8ed164a96 wifi: mt76: mt7996: fix the capability of reception of EHT MU PPDU 32ee924831ba wifi: mt76: mt7996: fix HE Phy capability 9b588c7fb333 wifi: mt76: mt7996: fix incorrect indexing of MIB FW event 46798905cf5a wifi: mt76: connac: adjust phy capabilities based on band constraints 5c50f6f7dafe wifi: mt76: mt7996: fix definition of tx descriptor 9cdb62dc084f wifi: mt76: mt7996: fix ldpc setting 8c6cb2f97fe0 wifi: mt76: mt7996: fix beacon command during disabling 8e4f72b682e9 wifi: mt76: mt7996: add implicit beamforming support for mt7992 Signed-off-by:
Felix Fietkau <nbd@nbd.name> (cherry picked from commit 3963dab0)
-
- Jan 14, 2025
-
-
Sander Vanheule authored
When the reset button is next to the SFP cages, I2C operations on the modules might cause interference on the button's GPIO line. Add a debounce-interval of 5 times the poll-interval to ensure the line is actually stable for some time and not just glitching. This squashes commit 4357f32d ("realtek: debounce reset key for Zyxel GS1900") and commit 777c6106 ("realtek: move debounce-interval to correct node"). Signed-off-by:
Sander Vanheule <sander@svanheule.net>
-
Rany Hany authored
Without this patch, we get the following error: Mon Dec 23 11:35:44 2024 daemon.err hostapd: nl80211: kernel reports: integer out of range As updating hostapd would be too complex and requires further testing, we backport this simple upstream fix instead. Fixes: https://github.com/openwrt/openwrt/issues/16680 Signed-off-by:
Rany Hany <rany_hany@riseup.net> Link: https://github.com/openwrt/openwrt/pull/17590 Signed-off-by:
Petr Štetiar <ynezz@true.cz> (cherry picked from commit 5ce1af95) Link: https://github.com/openwrt/openwrt/pull/17591 Signed-off-by:
Robert Marko <robimarko@gmail.com>
-
- Jan 13, 2025
-
-
Lech Perczak authored
Due to "SIM present" input defaulting to "button" type, it is interpreted as such when booting, and causes the system to enter failsafe, if the tray is missing. Similarly to rfkill switch on TP-Link WDR4300 and Archer C7, make it EV_SW instead, to stop it from interfering with the boot process. Signed-off-by:
Lech Perczak <lech.perczak@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17503 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 7b9ca011)
-
Lech Perczak authored
It's missing a hyphen present in every other LED from the set. Set it to "green:signal-strength-4". Signed-off-by:
Lech Perczak <lech.perczak@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17503 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit d04f41e0)
-
Christian Lamparter authored
OpenWRT on the WNDAP6x0 refuses to sysupgrade to itself due to a compat_version imbalance. The Image is generated with version 2.0, but the uci-defaults says that it needs to be at 3.0 for the device. Fix this by downgrading WNDAP6x0 05_fix-compat-version's values back to 2.0 so it matches what we use. Fixes: 5815884c ("apm821xx: migrate to DSA") Signed-off-by:
Christian Lamparter <chunkeey@gmail.com> (cherry picked from commit e9415be4)
-
Aleksander Jan Bajkowski authored
Subtarget xrx200_legacy supports only a few devices. They all use the integrated Lantiq GSWIP switch and lantiq xway PHYs. The atheros and icplus PHYs can be safely disabled. Switches used by individual devices are listed below. Device Switch PHY Alpha ASL56026 Lantiq GSWIP int. switch Arcadyan VG3503J Lantiq GSWIP int. switch Netgear DM200 Lantiq GSWIP int. switch TP-LINK TD-W8970 Lantiq GSWIP Lantiq PEF7071V TP-Link TD-W8980 Lantiq GSWIP Lantiq PEF7071V Reduces uncompressed kernel size by 16 kB. Signed-off-by:
Aleksander Jan Bajkowski <olek2@wp.pl> Link: https://github.com/openwrt/openwrt/pull/17581 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 517b9c1c)
-
Aleksander Jan Bajkowski authored
This was done by executing these command: $ make kernel_oldconfig CONFIG_TARGET=subtarget Signed-off-by:
Aleksander Jan Bajkowski <olek2@wp.pl> Link: https://github.com/openwrt/openwrt/pull/17581 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 524e22b4)
-
Aleksander Jan Bajkowski authored
The Plusnet Hub One and BT Business Hub 5A have the same hardware as the BT Home Hub 5A. This commit adds alternative names so that both devices can be easily found in the firmware selector. Signed-off-by:
Aleksander Jan Bajkowski <olek2@wp.pl> Link: https://github.com/openwrt/openwrt/pull/17583 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 1b045a7c)
-