Skip to content
Snippets Groups Projects
This project is mirrored from https://git.openwrt.org/openwrt/openwrt.git. Pull mirroring updated .
  1. Jan 21, 2025
    • Florian Maurer's avatar
      lantiq: xrx200: fb7430 set correct label-mac · f9813f41
      Florian Maurer authored
      
      the CWMP account mac is correctly set on the lan device but was not correctly as label-mac
      
      Signed-off-by: default avatarFlorian Maurer <f.maurer@outlook.de>
      Link: https://github.com/openwrt/openwrt/pull/17618
      
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      f9813f41
    • John Audia's avatar
      kernel: add missing symbols for lxc · 65de1e0f
      John Audia authored
      
      These symbols are needed to satisfy lxc dependencies.
      
      Signed-off-by: default avatarJohn Audia <therealgraysky@proton.me>
      Link: https://github.com/openwrt/openwrt/pull/17553
      
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      65de1e0f
    • Lech Perczak's avatar
      ath79: add support for Ruckus R500 · ca732413
      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: default avatarDamien 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: default avatarLech Perczak <lech.perczak@gmail.com>
      Link: https://github.com/openwrt/openwrt/pull/17550
      
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      ca732413
    • Felix Fietkau's avatar
      uci: update to Git HEAD (2025-01-20) · e046f8c3
      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: default avatarFelix Fietkau <nbd@nbd.name>
      e046f8c3
    • Christian Marangi's avatar
      kernel: fix rootfs initramfs not updating on subsequent single build · 334c649a
      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: default avatarChristian Marangi <ansuelsmth@gmail.com>
      Unverified
      334c649a
  2. Jan 20, 2025
  3. Jan 19, 2025
  4. Jan 18, 2025
  5. Jan 17, 2025
  6. Jan 16, 2025
    • Sander Vanheule's avatar
      realtek: Use atomic poll for aux-mdio commands · 693c1ea8
      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: default avatarSander Vanheule <sander@svanheule.net>
      693c1ea8
    • Fabian Groffen's avatar
      realtek: HPE 1920 24G PoE+ 180W/370W move fans to hwmon · 0a7c8ed9
      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: default avatarFabian Groffen <grobian@gentoo.org>
      Signed-off-by: default avatarSander Vanheule <sander@svanheule.net>
      0a7c8ed9
    • Felix Fietkau's avatar
      netifd: fix napi process name matching in packet steering script · 67a4aeef
      Felix Fietkau authored
      
      Fixes CPU usage imbalance on some devices using threaded NAPI
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      67a4aeef
  7. Jan 15, 2025
    • Paweł Owoc's avatar
      uboot-envtools: ipq807x: remove number of blocks and code simplification · 9decfc82
      Paweł Owoc authored
      
      Envtools can automatically detect the number of blocks.
      
      Signed-off-by: default avatarPaweł Owoc <frut3k7@gmail.com>
      Link: https://github.com/openwrt/openwrt/pull/17463
      
      
      Signed-off-by: default avatarRobert Marko <robimarko@gmail.com>
      9decfc82
    • Paweł Owoc's avatar
      qualcommax: ipq807x: add support for Linksys HomeWRK · 07f8319d
      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: default avatarPaweł Owoc <frut3k7@gmail.com>
      Link: https://github.com/openwrt/openwrt/pull/17463
      
      
      Signed-off-by: default avatarRobert Marko <robimarko@gmail.com>
      07f8319d
Loading