This project is mirrored from https://git.openwrt.org/openwrt/openwrt.git.
Pull mirroring updated .
- Jan 21, 2025
-
-
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>
-
John Audia authored
These symbols are needed to satisfy lxc dependencies. Signed-off-by:
John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/17553 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
Lech Perczak authored
Ruckus R500 datasheet: https://webresources.ruckuswireless.com/datasheets/r500/ds-ruckus-r500.html Specifications: SoC: 720Mhz QCA9558 RAM: 256MB Storage: 64MB of FLASH (SPI NOR - S25FL512S) 1x AR8327 GB switch Ethernet: 1x1000M port #3 on AR8327, 1x1000M (802.3at POE), port #5 on AR8327 Wireless: QCA988X HW2.0 802.11ac AR9550 2.4GHz 802.11b/g/n 5x GPIO LED 1x GPIO Reset Button 1x DC Jack 12v 1x UART, 3.3v, 115200 1x TPM, SLB9645TT12 2x Beamforming antennas configured via 74LV164 MAC addresses: 1. art 0x807E | Factory bridged | f0:3e:90:XX:XX:80 | 2. art 0x66 | eth0 | f0:3e:90:XX:XX:83 | (port 5, cpu port 6) - PoE port 3. art 0x6c | eth1 | f0:3e:90:XX:XX:84 | (port 3, cpu port 0) - non PoE port Serial console: 115200-8-N-1 on internal H4 header. Pinout: H1 ----------- |1|x|3|4|5| ----------- Pin 1 is near the "H4" marking. 1 - RX x - no pin 3 - VCC (3.3V) 4 - GND 5 - TX JTAG: Connector H2, similar to MIPS eJTAG, standard, unpoulated. H9 ---------------------- |2 |4 |6 |8 |10|12|14| ---------------------- |1 |3 |5 |7 |9 |11|13| ---------------------- 3 - TDI 5 - TDO 7 - TMS 9 - TCK 2,4,6,8,10 - GND 14 - Vref 1,11,12,13 - Not connected I²C: connector H2, near power LED, unpopulated: ------ |1|2|3 ------ H2 1 - SCL 2 - SDA 3 - GND Installation: Serial Port/TFTP 1. Setup tftp server on the local network 2. Connect to UART with TTL 3. Interupt U-boot process with Ctrl-C 4. Setup appropriate ipaddr and serverip in setenv: - setenv ipaddr 192.168.1.1 - setenv serverip 192.168.1.2 5. On TFTP Server - copy openwrt-ath79-generic-ruckus_r500-initramfs-kernel.bin to /srv/tftp 6. On R500 boot into initrd image - tftpboot 0x81000000 openwrt-ath79-generic-ruckus_r500-initramfs-kernel.bin - bootm 0x81000000 7. On TFTP server - scp -O openwrt-ath79-generic-ruckus_r500-squashfs-sysupgrade.bin root@192.168.1.1:/tmp 8. Ensure the boot command is set before flashing the image: fw_setenv bootcmd 'bootm 0xbf1c0000' 9. On R500 - sysupgrade /tmp/openwrt-ath79-generic-ruckus_r500-squashfs-sysupgrade.bin 10. If not done in 8; set boot command from U-boot shell itself: - setenv bootcmd bootm 0xbf1c0000 - saveenv - reset This patch adapted from https://github.com/victhor393/openwrt-ruckus-r500/tree/ruckus-r500-master Signed-off-by:
Damien Mascord <tusker@tusker.org> - Heavily refactored the device tree - Extended commit message - Documented onboad connectors - Refactored MAC and calibration data setups to use nvmem-layout - Made both network interfaces LAN ports and bridge them, this makes more sense for an access point and is consistent with the rest of Ruckus APs. - Enable lzma-loader for compressed initramfs - Enabled the optional internal USB port - Added missing LEDs and according pinctrl settings - Added reserved memory region used for bootloader communication - Added the bit-banged I²C bus and onboard TPM - Refactored boot scheme and flash layout to match earlier Ruckus devices and maximize usable space for user data. Quirks: - H7 is the physical presence switch for the SLB9645TT12 TPM. TODO: - Link state reporting on the Ethernet ports doesn't work and both ports report "up" due to limitation of swconfig ar8327 driver. With DSA conversion, this shall be rectified. - Locate 2nd shift register (U7) controlling beamforming antennas, probably on ath10k GPIOs which are currently unsupported in the driver. For this, there is a device tree node describing that - but explicitly disabled. - At the moment of adding support, there is an endianness bug in the TPM driver causing it to not detect the TPM module because of ID mismatch. Signed-off-by:
Lech Perczak <lech.perczak@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17550 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
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>
-
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>
-
- 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>
-
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>
-
Anton Yu. Ivanusev authored
The image size has been changed to prevent failures in routers and bootloop when flashing a large image using a stock bootloader. The LED trigger package has been removed for 1910, which is no longer in use. Signed-off-by:
Anton Yu. Ivanusev <ivanusevanton@yandex.ru> Link: https://github.com/openwrt/openwrt/pull/17630 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
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>
-
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>
-
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>
-
- Jan 19, 2025
-
-
Andrea Pesaresi authored
Version 6.11 - October 8, 2024 * Feature: cmis: print active and inactive firmware versions * Feature: flash transceiver module firmware (--flash-module-firmware) * Feature: add T1BRR 10Mb/s mode to link mode tables * Feature: support for disabling netlink from command line * Fix: fix lanes parameter format specifier * Fix: add missing clause 33 PSE manual description * Fix: qsf: Better handling of Page A2h netlink read failure * Fix: rss: retrieve ring count using ETHTOOL_GRXRINGS ioctl (-x) * Misc: man page formatting fix * changelog here: https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/commit/NEWS?id=c0ea4b70c71334ef038f7a3416b228a50dada406 Tested on gl.inet MT6000, retrieve ring count is now working Signed-off-by:
Andrea Pesaresi <andreapesaresi82@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17607 Signed-off-by:
Robert Marko <robimarko@gmail.com>
-
Tony Ambardar authored
Update handling of macro __assign_str() to also support the one-argument variant when building against kernel 6.10 or later. This is needed for building the next LTS kernel 6.12. Fixes: 384d079f ("mac80211: update to version 6.11") Signed-off-by:
Tony Ambardar <itugrok@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/17456 Signed-off-by:
Robert Marko <robimarko@gmail.com>
-
Manuel Fombuena authored
As per @KanjiMonster comment: st1202_dt_init() calls devm_led_classdev_register_ext() before the internal data structures are properly setup, so the leds become visible to user space while being partially initialized, leading to a window where trying to access them causes a NULL pointer access. Move devm_led_classdev_register_ext() to the last thing to happen during initialization. Signed-off-by:
Manuel Fombuena <fombuena@outlook.com> Link: https://github.com/openwrt/openwrt/pull/17543 Signed-off-by:
Robert Marko <robimarko@gmail.com>
-
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>
-
Hauke Mehrtens authored
Fix the name used for the transition image from Cudy. This should make it possible to use the cudy transition image. Fixes: 9d66b8b3 ("mediatek: filogic: Add support for cudy wr3000h") Link: https://github.com/openwrt/openwrt/pull/17652 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
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>
-
- Jan 18, 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>
-
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>
-
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>
-
Sander Vanheule authored
Switch the Zyxel GS1900-48 over to the new MDIO-based driver for the RTL8231 GPIO expander. Signed-off-by:
Sander Vanheule <sander@svanheule.net>
-
Sander Vanheule authored
Enable the RTL8231 MFD core driver, as well as the pinctrl/gpio driver to allow RTL839x devices to use it. Signed-off-by:
Sander Vanheule <sander@svanheule.net>
-
Sander Vanheule authored
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>
-
Sander Vanheule authored
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>
-
Felix Fietkau authored
Add some missing documented or commonly used values Fixes: https://github.com/openwrt/openwrt/issues/17431 Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Christian Marangi authored
Add pending PCI patch that should correctly fix mediatek driver with Airoha SoC. Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com>
-
Christian Marangi authored
Backport ETS patch for Airoha ethernet and refresh affected patches. Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com>
-
- Jan 17, 2025
-
-
Á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>
-
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>
-
Álvaro Fernández Rojas authored
Adds patches for the temperature sensor on RTL822x. Signed-off-by:
Álvaro Fernández Rojas <noltari@gmail.com>
-
Á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>
-
Felix Fietkau authored
This also includes a script to use the functionality from the command line Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
fb3c2343b17b add support for an override config directory Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
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>
-
- Jan 16, 2025
-
-
Sander Vanheule authored
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>
-
Fabian Groffen authored
Apply the equivalent of commit f64541db ("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>
-
Felix Fietkau authored
Fixes CPU usage imbalance on some devices using threaded NAPI Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Jan 15, 2025
-
-
Paweł Owoc authored
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>
-
Paweł Owoc authored
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>
-