Skip to content
Snippets Groups Projects
  1. Sep 14, 2021
    • Etan Kissling's avatar
      dnsmasq: Update to version 2.86 · d2d0044e
      Etan Kissling authored
      
      Summary of upstream CHANGELOG:
      * Handle DHCPREBIND requests in the DHCPv6 server code.
      * Fix bug which caused dnsmasq to lose track of processes forked.
      * Major rewrite of the DNS server and domain handling code.
      * Revise resource handling for number of concurrent DNS queries.
      * Improve efficiency of DNSSEC.
      * Connection track mark based DNS query filtering.
      * Allow smaller than 64 prefix lengths in synth-domain.
      * Make domains generated by --synth-domain appear in replies
        when in authoritative mode.
      * Ensure CAP_NET_ADMIN capability is available when
        conntrack is configured.
      * When --dhcp-hostsfile --dhcp-optsfile and --addn-hosts are
        given a directory as argument, define the order in which
        files within that directory are read.
      * Support some wildcard matching of input tags to --tag-if.
      
      Signed-off-by: default avatarEtan Kissling <etan.kissling@gmail.com>
      d2d0044e
  2. Sep 13, 2021
    • Sander Vanheule's avatar
      firmware-utils: tplink-safeloader: set EAP235-Wall v1 soft-version · 46dec995
      Sander Vanheule authored
      
      Starting with v3 of the vendor firmware for the TP-Link EAP235-Wall v1,
      downgrades to firmware versions below v3 as not allowed.  Since OpenWrt
      uses version 0.0.0 as a default, this causes the factory install to fail
      on devices with a recent firmware. This failure is associated by the
      following message on the device's serial console:
      
          EAP235/230-Wall forbid fw reverted from 3.x.x to lower version!
      
      Vendor firmware (v3) also uses build and release numbers to compare
      images, so identical version numbers are very unlikely to cause issues.
      Bump the firmware version to 3.0.0 to ensure users can install OpenWrt
      on their devices.
      
      Reported-by: default avatarColton Conor <colton.conor@gmail.com>
      Tested-by: default avatarColton Conor <colton.conor@gmail.com>
      Signed-off-by: default avatarSander Vanheule <sander@svanheule.net>
      46dec995
    • Sander Vanheule's avatar
      firmware-utils: tplink-safeloader: improve soft-version customisation · 8dba4741
      Sander Vanheule authored
      
      Some devices using the safeloader firmware format require a minimum or
      specific version to be set in the soft-version metadata partition.
      Currently only custom text values can be provided, but not all device
      firmware support this format.
      
      Modify the device info struct to allow for more well-defined types of
      soft-version overwrites, and provide a few macros for easy value
      initialisation. Requires all existing values to be updated to match the
      new structure.
      
      Signed-off-by: default avatarSander Vanheule <sander@svanheule.net>
      [Adapt TL-WA1201-V2 entry too]
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      8dba4741
    • Ivan Pavlov's avatar
      wolfssl: update to 4.8.1-stable · 7d92bb05
      Ivan Pavlov authored
      Changes from 4.7.0:
        Fix one high (OCSP verification issue) and two low vulnerabilities
        Improve compatibility layer
        Other improvements and fixes
      
      For detailed changes refer to https://github.com/wolfSSL/wolfssl/releases
      
      
      
      Signed-off-by: default avatarIvan Pavlov <AuthorReflex@gmail.com>
      7d92bb05
    • Daniel Danzberger's avatar
      octeontx: add linux 5.10 testing kernel support · ba59466b
      Daniel Danzberger authored
      
      Changes from 5.4 to 5.10:
      -------------------------
       - patches from 5.4 are all upstream for 5.10 execpt for
         0004-PCI-add-quirk-for-Gateworks-PLX-PEX860x-switch-with-.patch
      
       - disable block device data integrity (DIF/DIX/T10) in default config
         (CONFIG_BLK_DEV_INTEGRITY)
         This feature is only supported by:
           - Enterprise SAS/SCSI HBAs and Disks
           - Software raid
           - NVMEs with metadata capabilities (most don't have this)
         None of which are part of any octeontx boards.
      
       - arm64 TEXT_OFFSET (0x80000) has been removed after 5.4
         This will break Uimages with kernel load addresses that aren't 2MiB
         aligned any longer. Resulting in the kernel silently fail to boot.
         For Gatworks newport boards for example, the uimage kernel load
         and execute address is 0x20080000. These need to be changed to
         0x20000000 when running kernels beyond 5.4.
      
      Tested-on: Gateworks Newport GW64xx
      
      Signed-off-by: default avatarDaniel Danzberger <daniel@dd-wrt.com>
      ba59466b
    • Pawel Dembicki's avatar
      kirkwood: increase kernel size of Linksyses · 0dbe754e
      Pawel Dembicki authored
      
      Linksyses Audi EA3500 and Viper E4200/E4500 have too small kernel
      partition size when kernel 5.10 is used. This patch change kernel
      partition to maximum size allowed by u-boot.
      
      Kernel size is overlapping rootfs now, like mvebu Linksyses and stock
      partition table. It fix  back to stock via sysupgrade, which was broken
      since 18.06.
      
      Fixes: 9808b9ae ("kirkwood: switch to kernel 4.9")
      
      Signed-off-by: default avatarPawel Dembicki <paweldembicki@gmail.com>
      0dbe754e
    • Soma Zambelly's avatar
      realtek: add ZyXEL GS1900-24HPv2 support · c5b44af2
      Soma Zambelly authored
      The ZyXEL GS1900-24HPv2 is a 24 port PoE switch with two SFP ports, similar to the other GS1900 switches.
      
      Specifications
      --------------
      * Device:    ZyXEL GS1900-24HPv2
      * SoC:       Realtek RTL8382M 500 MHz MIPS 4KEc
      * Flash:     16 MiB
      * RAM:       W631GG8MB-12 128 MiB DDR3 SDRAM
                   (stock firmware is configured to use only 64 MiB)
      * Ethernet:  24x 10/100/1000 Mbps, 2x SFP 100/1000 Mbps
      * LEDs:      1 PWR LED (green, not configurable)
                   1 SYS LED (green, configurable)
                   24 ethernet port link/activity LEDs (green, SoC controlled)
                   24 ethernet port PoE status LEDs
                   2 SFP status/activity LEDs (green, SoC controlled)
      * Buttons:   1 "RESTORE" button on front panel
                   1 "RESET" button on front panel
      * Power      120-240V AC C13
      * UART:      1 serial header (J41) with populated standard pin connector on
                   the left edge of the PCB, angled towards the side.
                   The casing has a rectangular cutout on the side that provides
                   external access to these pins.
                   Pinout (front to back):
                   + GND
                   + TX
                   + RX
                   + VCC
      
      Serial connection parameters for both devices: 115200 8N1.
      
      Installation
      ------------
      
      OEM upgrade method:
      
      (Possible on master once https://patchwork.ozlabs.org/project/openwrt/patch/20210624210408.19248-1-bjorn@mork.no/
      
       is merged)
      
      * Log in to OEM management web interface
      * Navigate to Maintenance > Firmware > Management
      * If "Active Image" has the first option selected, OpenWrt will need to be
        flashed to the "Active" partition. If the second option is selected,
        OpenWrt will need to be flashed to the "Backup" partition.
      * Navigate to Maintenance > Firmware > Upload
      * Upload the openwrt-realtek-generic-zyxel_gs1900-24hp-v2-initramfs-kernel.bin
        file by your preferred method to the previously determined partition.
        When prompted, select to boot from the newly flashed image, and reboot the switch.
      * Once OpenWrt has booted, scp the sysupgrade image to /tmp and flash it:
         > sysupgrade -n /tmp/openwrt-realtek-generic-zyxel_gs1900-24hp-v2-squashfs-sysupgrade.bin
         it may be necessary to restart the network (/etc/init.d/network restart) on
         the running initramfs image.
      
      U-Boot TFTP method:
      
      * Configure your client with a static 192.168.1.x IP (e.g. 192.168.1.10).
      * Set up a TFTP server on your client and make it serve the initramfs image.
      * Connect serial, power up the switch, interrupt U-boot by hitting the
        space bar, and enable the network:
         > rtk network on
      * Since the GS1900-24HPv2 is a dual-partition device, you want to keep the OEM
        firmware on the backup partition for the time being. OpenWrt can only boot
        from the first partition anyway (hardcoded in the DTS). To make sure we are
        manipulating the first partition, issue the following commands:
        > setsys bootpartition 0
        > savesys
      * Download the image onto the device and boot from it:
         > tftpboot 0x84f00000 192.168.1.10:openwrt-realtek-generic-zyxel_gs1900-24hp-v2-initramfs-kernel.bin
         > bootm
      * Once OpenWrt has booted, scp the sysupgrade image to /tmp and flash it:
         > sysupgrade -n /tmp/openwrt-realtek-generic-zyxel_gs1900-24hp-v2-squashfs-sysupgrade.bin
         it may be necessary to restart the network (/etc/init.d/network restart) on
         the running initramfs image.
      
      Signed-off-by: default avatarSoma Zambelly <zambelly.soma@gmail.com>
      c5b44af2
    • Zhao Yu's avatar
      sunxi: enable MUSB in A7 subtarget · 3d4867ad
      Zhao Yu authored
      
      like commit 78c1ed64. Without this,Some USB port on H3 baseboard
      can' work. So, need enable MUSB support on this target.
      
      Signed-off-by: default avatarZhao Yu <574249312@qq.com>
      3d4867ad
    • Christian Pointner's avatar
      kernel: add package kmod-iio-ads1015 and remove kmod-hwmon-ads1015 · bd74bc90
      Christian Pointner authored
      The hwmon driver for the ADC ADS1015 has been removed in Linux 5.4 in
      favor of a driver in the iio system. For details see:
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2c9d5b5e
      
      This fixes: https://bugs.openwrt.org/index.php?do=details&task_id=4005
      
      
      
      Run-tested: ramips/mt76x8 (Onion Omega 2+)
      
      Signed-off-by: default avatarChristian Pointner <equinox@spreadspace.org>
      bd74bc90
    • Fabian Bläse's avatar
      kernel: backport switchdev fix for bridge in bridge configurations · c50ece58
      Fabian Bläse authored
      This patch fixes the forwarding behavior of bridge in bridge
      configurations with DSA.
      
      Without it, the configuration of the upper bridge might overwrite
      settings of the lower bridge. For example, a vlan-aware bridge
      with DSA interfaces in it might be offloaded to the DSA hardware. If the
      bridge interface itself gets slave of a different bridge without vlan
      filtering, the vlan filtering setting of the lower bridge is overwritten
      by the upper bridge, which results in an incorrect hardware
      configuration.
      
      This was backported from kernel 5.7.
      
      Ref: https://lore.kernel.org/netdev/20191222192235.GK25745@shell.armlinux.org.uk/
      
      
      Fixes: FS#3996
      Signed-off-by: default avatarFabian Bläse <fabian@blaese.de>
      c50ece58
    • John Audia's avatar
      kernel: bump 5.4 to 5.4.145 · a88b32bf
      John Audia authored
      
      Removed upstreamed:
        generic-backport/040-ARM-8918-2-only-build-return_address-if-needed.patch
      
      All other patches automatically rebased.
      
      Build system: x86_64
      Build-tested: ipq806x/R7800
      
      Signed-off-by: default avatarJohn Audia <graysky@archlinux.us>
      a88b32bf
    • John Audia's avatar
      kernel: bump 5.4 to 5.4.144 · 51c7e1d2
      John Audia authored
      
      Manually rebased:
        backport-5.4/370-netfilter-nf_flow_table-fix-offloaded-connection-tim.patch
      
      All other patches automatically rebased.
      
      Build system: x86_64
      Build-tested: ipq806x/R7800
      Run-tested: ipq806x/R7800
      
      Signed-off-by: default avatarJohn Audia <graysky@archlinux.us>
      51c7e1d2
    • John Audia's avatar
      kernel: bump 5.10 to 5.10.64 · 5fb4cb07
      John Audia authored
      
      All patches automatically rebased.
      
      Build system: x86_64
      Build-tested: bcm2711/RPi4B, ipq806x/R7800
      Run-tested: bcm2711/RPi4B, ipq806x/R7800
      
      No dmesg regressions, everything functional
      
      Signed-off-by: default avatarJohn Audia <graysky@archlinux.us>
      5fb4cb07
    • Matt Merhar's avatar
      kernel: fix jffs2 compilation with GCC_PLUGIN_RANDSTRUCT enabled · 55643e46
      Matt Merhar authored
      
      Designated initializers are required when using the randstruct GCC
      plugin, otherwise an error like the following is seen:
      
      ./include/linux/lzma.h:60:31: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
      
      Signed-off-by: default avatarMatt Merhar <mattmerhar@protonmail.com>
      55643e46
    • Hauke Mehrtens's avatar
      kernel: Add missing kernel config options · 1a3b3dc7
      Hauke Mehrtens authored
      
      These options are selectable when some of the kernel debug options like
      KERNEL_SOFTLOCKUP_DETECTOR are selected.
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      1a3b3dc7
    • Hauke Mehrtens's avatar
      build: Replace KERNEL_LOCKUP_DETECTOR with KERNEL_SOFTLOCKUP_DETECTOR · d27f6e2c
      Hauke Mehrtens authored
      
      The LOCKUP_DETECTOR configuration option split into the
      SOFTLOCKUP_DETECTOR and HARDLOCKUP_DETECTOR configuration option some
      time ago. The HARDLOCKUP_DETECTOR option is only working on some
      architectures, but SOFTLOCKUP_DETECTOR should work everywhere. Replace
      KERNEL_LOCKUP_DETECTOR with KERNEL_SOFTLOCKUP_DETECTOR.
      
      LOCKUP_DETECTOR will be selected by SOFTLOCKUP_DETECTOR automatically.
      
      Fixes: b951f53f ("build: Add additional kernel debug options")
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      d27f6e2c
  3. Sep 12, 2021
  4. Sep 09, 2021
  5. Sep 08, 2021
  6. Sep 07, 2021
  7. Sep 06, 2021
  8. Sep 05, 2021
    • Andrea Poletti's avatar
      ramips: add support for Sitecom WLR-4100 v1 002 · de0c380a
      Andrea Poletti authored
      
      Sitecom WLR-4100 v1 002 (marked as X4 N300) is a wireless router
      Specification:
      SoC: MT7620A
      RAM: 64 MB DDR2
      Flash: MX25L6405D SPI NOR 8 MB
      WIFI: 2.4 GHz integrated
      Ethernet: 5x 10/100/1000 Mbps QCA8337
      USB: 1x 2.0
      LEDS: 2x GPIO controlled, 5x switch
      Buttons: 1x GPIO controlled
      UART: row of 4 unpopulated holes near USB port, starting count from
            white triangle on PCB:
      
          VCC 3.3V
          GND
          TX
          RX
      
          baud: 115200, parity: none, flow control: none
      
      Installation
      
          Connect to one of LAN (yellow) ethernet ports,
          Open router configuration interface,
          Go to Toolbox > Firmware,
          Browse for OpenWrt factory image with dlf extension and hit Apply,
          Wait few minutes, after the Power LED will stop blinking, the router is
          ready for configuration.
      
      Known issues
      Some USB 2.0 devices work at full speed mode 1.1 only
      
      MAC addresses
      
      factory partition only contains one (binary) MAC address in 0x4.
      u-boot-env contains four (ascii) MAC addresses, of which two appear
      to be valid.
      
        factory     0x4       **:**:**:**:b9:84  binary
        u-boot-env  ethaddr   **:**:**:**:b9:84  ascii
        u-boot-env  wanaddr   **:**:**:**:b9:85  ascii
        u-boot-env  wlanaddr  00:AA:BB:CC:DD:12  ascii
        u-boot-env  iNICaddr  00:AA:BB:CC:DD:22  ascii
      
      The factory firmware only assigns ethaddr. Thus, we take the
      binary value which we can use directly in DTS.
      
      Additional information
      OEM firmware shell password is: SitecomSenao
      useful for creating backup of original firmware.
      There is also another revision of this device (v1 001), based on RT3352 SoC
      
      Signed-off-by: default avatarAndrea Poletti <polex73@yahoo.it>
      [remove config DT label, convert to nvmem, remove MAC address
       setup from u-boot-env, add MAC address info to commit message]
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      de0c380a
    • Robert Balas's avatar
      ath79: add support for TP-Link TL-WA1201 v2 · baacdd53
      Robert Balas authored
      
      This device is a wireless access point working on the 2.4 GHz and 5 GHz
      band, based on Qualcomm/Atheros QCA9563 + QCA9886.
      
      Specification
      - 775 MHz CPU
      - 128 MB of RAM (DDR2)
      - 16 MB of FLASH (SPI NOR)
      - QCA9563: 2.4 GHz 3x3
      - QCA9886: 5 GHz
      - AR8033: 1x 1 Gbs Ethernet
      - 4x LED, WPS factory reset and power button
      - bare UART on PCB (accessible through testpoints)
      
      Methods for Flashing:
      - Apply factory image in OEM firmware web-gui. Wait a minute after the
        progress bar completes and restart the device.
      - Sysupgrade on top of existing OpenWRT image
      - Solder wires onto UART testpoints and attach a terminal.
        Boot the device and press enter to enter u-boot's menu. Then issue the
        following commands
        1. setenv serverip your-server-ip
           setenv ipaddr your-device-ip
        2. tftp 0x80060000 openwrt-squashfs.bin (Rembember output of size in
          hex, henceforth "sizeinhex")
        3. erase 0x9f030000 +"sizeinhex"
        4. cp.b 0x80060000 0x9f030000 0x"sizeinhex"
        5. reboot
      
      Recover:
      - U-boot serial console
      
      Signed-off-by: default avatarRobert Balas <balasr@iis.ee.ethz.ch>
      [convert to nvmem]
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      baacdd53
Loading