aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* realtek: rtl839x: Enable AUX MDIO controllerSander Vanheule2025-01-18
| | | | | | | | Enable the driver for the Realtek Otto auxiliary MDIO driver so RTL839x devices can use it. The related node is added to the base devicetree for rtl839x-based devices, so they can enabled and use it when required. Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: Update aux-mdio driverSander Vanheule2025-01-18
| | | | | | | | | | | | For RTL839x, the driver was producing frequent timeouts on bus accesses. Increasing the timeout to the one from a recent Realtek SDK resolves these timeouts. To minimize overhead on different SoCs, each controller can specify their own timeout. This also add support for the register format as used on RTL93xx. Support is added for the RTL930x "ext gpio" controller. Signed-off-by: Sander Vanheule <sander@svanheule.net>
* wifi-scripts: add a few missing auth_type checks in ucodeFelix Fietkau2025-01-18
| | | | | | | Add some missing documented or commonly used values Fixes: https://github.com/openwrt/openwrt/issues/17431 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* airoha: an7581: add pending PCI patchChristian Marangi2025-01-17
| | | | | | | Add pending PCI patch that should correctly fix mediatek driver with Airoha SoC. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* airoha: an7581: backport ETS patch for Airoha ethernetChristian Marangi2025-01-17
| | | | | | Backport ETS patch for Airoha ethernet and refresh affected patches. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: backport pending Realtek PHY patchesÁlvaro Fernández Rojas2025-01-17
| | | | | | | These patches have been accepted, so we can move them from pending to backported. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* generic: add pending patches for RealTek Ethernet PHYsDaniel Golle2025-01-17
| | | | | | | Import patches to fix several issues with status reporting of RealTek 2.5G PHYs. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: backport Realtek PHY patches from upstreamÁlvaro Fernández Rojas2025-01-17
| | | | | | Adds patches for the temperature sensor on RTL822x. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* generic: r8169: remove reverted temperature sensor patchÁlvaro Fernández Rojas2025-01-17
| | | | | | | | 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>
* ucode-mod-pkgen: add ucode module for generating crypto keys/certificatesFelix Fietkau2025-01-17
| | | | | | | This also includes a script to use the functionality from the command line Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uci: update to Git HEAD (2025-01-17)Felix Fietkau2025-01-17
| | | | | | fb3c2343b17b add support for an override config directory Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mediatek: remove obsolete base-files scriptsFelix Fietkau2025-01-17
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* netifd: improve packet steering on ipq40xx (and possibly others)Felix Fietkau2025-01-17
| | | | | | | | | | | | | 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>
* realtek: Use atomic poll for aux-mdio commandsSander Vanheule2025-01-16
| | | | | | | | | | | | | | | | | | | | regmap_read_poll_timeout() relies on usleep_range() to time the polling loop. With the current, rather large, scheduling interval, a short usleep_range() may take a lot longer than expected, causing performance issues. Switch the driver over to using regmap_read_poll_timeout_atomic(), which uses udelay() to time the polling loop. For comparision, the 'ethtool -m <dev>' command is about 10 times faster with the atomic variant. Using 'perf -r10 ethtool -m lan25': - Driver using regmap_read_poll_timeout(): 2.0117 +- 0.0118 seconds time elapsed ( +- 0.58% ) - Driver using regmap_read_poll_timeout_atomic(): 0.1674 +- 0.0250 seconds time elapsed ( +- 14.95% ) Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: HPE 1920 24G PoE+ 180W/370W move fans to hwmonFabian Groffen2025-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | Apply the equivalent of commit f64541db020e ("realtek: HPE 1920 8G PoE+ 180W move fans to hwmon") to the 24-ports variants of the HPE 1920 PoE+ switches, with model numbers JG925A and JG926A. Copy from the original commit message: Move to using hwmon and gpio-fan. This is by adding gpio_fan_array to DTS and kmod-hwmon-gpiofan to DEVICE_PACKAGES. In combination with the new rtl8231 gpio driver the default fan behaviour will be maximum fan speed. Bump compat value to 1.1 due to existing config in /etc/config/system via gpio_switch. Also notify in device compat that fan is now going to be at bootloader setting (maximum in this case) by default unless turned down. As the init script 03_gpio_switches does not perform any action after removing these devices from it, the file can be dropped. Link: https://github.com/openwrt/openwrt/pull/17598 Signed-off-by: Fabian Groffen <grobian@gentoo.org> Signed-off-by: Sander Vanheule <sander@svanheule.net>
* netifd: fix napi process name matching in packet steering scriptFelix Fietkau2025-01-15
| | | | | | Fixes CPU usage imbalance on some devices using threaded NAPI Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uboot-envtools: ipq807x: remove number of blocks and code simplificationPaweł Owoc2025-01-15
| | | | | | | | Envtools can automatically detect the number of blocks. Signed-off-by: Paweł Owoc <frut3k7@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17463 Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: ipq807x: add support for Linksys HomeWRKPaweł Owoc2025-01-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware specification: ======== SoC: Qualcomm IPQ8174 Flash: 1GB (Micron MT29F8G08ABBCAH4 or AMD/Spansion S34MS08G2) RAM: 2GB (2x Kingston B5116ECMDXGJD or ESMT M15T2G16128A DDR3L) Ethernet: 4x 10/100/1000Mbps (Qualcomm QCA8075) WiFi1: 5GHz ax 2x2 (Qualcomm QCN5054 + Skyworks SKY85755-11) - channels 36-64 (low band) WiFi2: 2.4GHz ax 2x2 (Qualcomm QCN5024 + Skyworks SKY85340-11) WiFi3: 5GHz ax 4x4 (Qualcomm QCN5054 + Skyworks SKY85755-11) - channels 100-177 (high band) LED: 1x RGB status (NXP PCA9633) USB: 1x USB 3.0 Button: WPS, Reset Flash instructions: ======== 1. Installation from initramfs image using USB drive: Put the initramfs image on the USB drive: - dd bs=1M if=openwrt-qualcommax-ipq807x-linksys_homewrk-initramfs-uImage.itb of=/dev/sdX Connect serial console (JST PH 6-pin connector): - 1 - GND, 2 - TX, 4 - RX (115200, 8N1, 3.3V) Stop u-boot and run: - usb start && usbboot 44000000 0 && bootm 44000000 Write firmware to the flash from initramfs: - sysupgrade -n openwrt-qualcommax-ipq807x-linksys_homewrk-squashfs-sysupgrade.bin or - ubiformat /dev/mtd22 -y -f openwrt-qualcommax-ipq807x-linksys_homewrk-squashfs-factory.ubi 2. USB recovery: Put the initramfs image on the USB: - dd bs=1M if=openwrt-qualcommax-ipq807x-linksys_homewrk-initramfs-uImage.itb of=/dev/sdX Set u-boot env: - fw_setenv bootusb 'usb start && usbboot 44000000 0 && bootm 44000000' - fw_setenv bootcmd 'run bootusb; bootipq' Signed-off-by: Paweł Owoc <frut3k7@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17463 Signed-off-by: Robert Marko <robimarko@gmail.com>
* realtek: HPE 1920 8G PoE+ 180W move fans to hwmonEvan Jobling2025-01-15
| | | | | | | | | | | | | | | | | | | | | The GPIO numbering has changed and is not stable. As a result fan control via gpio_switch is broken, resulting in errors: "export_store: invalid GPIO 456" Move to using hwmon and gpio-fan. This is by adding gpio_fan_array to DTS and kmod-hwmon-gpiofan to DEVICE_PACKAGES. In combination with the new rtl8231 gpio driver the default fan behaviour will be maximum fan speed. Bump compat value to 1.1 due to existing config in /etc/config/system via gpio_switch. Also notify in device compat that fan is now going to be at bootloader setting (maximum in this case) by default unless turned down. Signed-off-by: Evan Jobling <evan@jobling.au> Link: https://github.com/openwrt/openwrt/pull/17605 Signed-off-by: Sander Vanheule <sander@svanheule.net>
* armsr: change image names to 'combined-efi'Mathew McBride2025-01-15
| | | | | | | | | | | | | | | | | | | 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>
* ramips: mt7621: add support for Confiabits MT7621 v1Luis Mita2025-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lldpd: fix config for build without LLDP-MEDSebastian Pflieger2025-01-14
| | | | | | | | | | 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>
* build: use lazy evaluation for NPROC to speed up metadata dumpFelix Fietkau2025-01-14
| | | | | | Reduces package metadata dump time by ~10% Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to Git HEAD (2025-01-14)Felix Fietkau2025-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* wifi-scripts: sync enable_background_radar in ucode with old versionFelix Fietkau2025-01-14
| | | | | | | It needs to be opt-in instead of opt-out, since there is no reliable way to determine if the extra background radar chain has an antenna connected. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix issues with including linux/acpi_amd_wbrf.h on newer kernelsFelix Fietkau2025-01-14
| | | | | | | Change the double-include guard to avoid conflict with the linux kernel header Reported-by: Tony Ambardar <itugrok@yahoo.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lldpd: reset PKG_RELEASERobert Marko2025-01-14
| | | | | | lldpd was updated, so reset PKG_RELEASE after the PKG_VERSION update. Signed-off-by: Robert Marko <robimarko@gmail.com>
* lldpd: bump version to 1.0.18Sebastian Pflieger2025-01-14
| | | | | | | | | | | | | | 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>
* mvebu: WD Cloud Mirror Gen2: Remove stty dependencyHauke Mehrtens2025-01-13
| | | | | | | | | 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: 8fb805aa1f25 ("mvebu: Add support for WD Cloud Mirror Gen2") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: mt7621: add support for Keenetic Viva (KN-1910)Anton Yu. Ivanusev2025-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specification: SoC: MediaTek MT7621A RAM: 128M DDR3, Winbond W631GG6MB-12 (DDR3-1600) or Winbond W631GG6MB-11 Flash: 128M, Macronix MX30LF1G18AC-TI (Dual Boot, Parallel-NAND) Switch: MT7530, 5 ports 1Gbps WiFi: MT7615DN, 2.4GHz 802.11n and 5GHz 802.11ac USB: 2 ports USB 2.0 GPIO: 4 buttons (Wi-Fi, Reset, FN1, FN2), 4 LEDs (Power, Internet, FN, Wi-Fi), USB port power controls LAN: RF-EEPROM + 0x04 WAN: RF-EEPROM + 0x28 2.4 GHz: RF-EEPROM + 0x04 5 GHz: 2.4GHz + 82:00:00:00:00:00 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. Serial Interface: The serial interface can be connected to the 4 pin dots to the left of the radiator. Pins (from LAN ports to LEDs): 3.3V (do not connect) TX RX GND Settings: 57600, 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-1910_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-4, 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-1910_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. Keenetic's bootloader supports booting a LZMA compressed kernel but seems to fail if the uncompressed data is larger than a fixed buffer therefore it is safer to use a uimage-lzma-loader. 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/17381 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* d1: Use correct module for devices with wifiRaylynn Knight2025-01-13
| | | | | | | | | 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>
* tools/meson: update to 1.6.1Jack Sun2025-01-13
| | | | | | | Changelog: https://mesonbuild.com/Release-notes-for-1-6-0.html Signed-off-by: Jack Sun <sunjiazheng321521@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17556 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ipq40xx: enable WiFi LED for Teltonika RUTX50David Bauer2025-01-13
| | | | | | | Enable activity on the WiFi LEDs of the Teltonika RUTX50 like other boards in the ipq40xx target. Signed-off-by: David Bauer <mail@david-bauer.net>
* ipq40xx: use correct wired MAC-addresses for RUTX50David Bauer2025-01-13
| | | | | | | | | | | | | The Teltonika RUTX50 mac-addresses on its wired interfaces are currently random on every boot. Setting the mac-addresses from device-tree using nvmem does not work, as the vendor bootloader mangles the mtd partitions, removing the nvmem-cells property. To remedy the random mac-addresse, set the correct ones in preinit. Signed-off-by: David Bauer <mail@david-bauer.net>
* ipq40xx: turn on Teltonika RUTX50 modem by defaultDavid Bauer2025-01-13
| | | | | | | | | Turn on the 5G modem of the RUTX50 on by default. This allows to make the modem detectable on a fresh installation OOTB without further intervention. Signed-off-by: David Bauer <mail@david-bauer.net>
* hostapd: backport upstream patch to fix setting BSS colorRany Hany2025-01-13
| | | | | | | | | | | | | | 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>
* ath79: teltonika-rut230: add RUT240 model aliasLech Perczak2025-01-12
| | | | | | | | | Define RUT240 as alternative name, to explicitly show the device is supported using existing image. 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>
* ath79: teltonika-rut230: include kmod-usb-serial-option in imageLech Perczak2025-01-12
| | | | | | | | | Newer modems used in RUT240 (Quectel EC25 and MeiG SLM750) use the "option" driver instead of CDC-ACM. Include it in the image too. 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>
* ath79: teltonika-rut230: include kmod-usb2 in imageLech Perczak2025-01-12
| | | | | | | | Otherwise USB PHY, controller and the built-in modem won't probe. 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>
* ath79: teltonika-rut230: fully support digital output linesLech Perczak2025-01-12
| | | | | | | | | | Remove GPIO hog for modem power, as well as define userspace GPIO switches for enabling and resetting the modem. While at that, define a switch for the external GPIO available on the power connector. 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>
* ath79: teltonika-rut230: drop reg_usb_vbusLech Perczak2025-01-12
| | | | | | | | | | | | | USB VBUS regulator was attached to GPIO19, which isn't in fact controlling the modem power itself, but rather modem power key - which has to be asserted high for at least 500ms, to start the modem. Keeping it high allows the modem to reboot upon shutdown - so it is desirable to control this line from userspace, for example - to allow clean modem shutdown down upon powering off the router part. 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>
* ath79: teltonika-rut230: add 4G LEDLech Perczak2025-01-12
| | | | | | | | | | Teltonika RUT240 has an extra 4G status LED on GPIO21. Otherwise the hardware is fully compatible with RUT230 line. Attach the LED inside device tree. 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>
* ath79: teltonika-rut230: fix failsafe boot without SIM trayLech Perczak2025-01-12
| | | | | | | | | | | | 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>
* ath79: teltonika-rut230: fix typo in "green:signal-strength4" LEDLech Perczak2025-01-12
| | | | | | | | | 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>
* mediatek: D-Link AQUILA PRO AI M60 A1: Fixed phy6 DTS settingsRoland Reinl2025-01-12
| | | | | | | | Settings for phy6 can be simplified in the DTS Signed-off-by: Roland Reinl <reinlroland+github@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17430 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mkimage: update to v2025.01Shiji Yang2025-01-12
| | | | | | | | | Update to latest version. There are no patches that need to be refreshed. Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/17539 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* uboot-envtools: update to v2025.01Shiji Yang2025-01-12
| | | | | | | | | Update to latest version. There are no patches that need to be refreshed. Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/17538 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: mt76x8: add support for Keenetic Extra (KN-1711)Anton Yu. Ivanusev2025-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specification: SoC: MediaTek MT7628AN RAM: 128 MB, ESMT M14D1G1664A (DDR2) Flash: 32MB, Winbond 25Q256JVFQ (Dual Boot, SPI) Switch: MediaTek MT7628AN, 5 ports 100 Mbps WiFi: MediaTek MT7603 2T2R/2.4GHz 802.11n and MediaTek MT7613AEN 2T2R/5GHz 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: At the bottom there are 4 screws hidden by rubber feet. After removing the screws, pry the gray plastic part around (it is secured with latches) and remove it. Serial Interface: The serial interface can be connected to the 4 pin dots to the left of the flash. Pins (from LEDs to LAN ports): 3.3V (do not connect) TX RX GND 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-1711_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-4, 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-1711_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/17519 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mvebu: Add support for WD Cloud Mirror Gen2Robert Senderek2025-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ath79: phy: remove named gpio exportsRosen Penev2025-01-12
| | | | | | | | | The only real user of this patch was removed and migrated to the upstream friendly regulator. Remove this hack. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17356 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>