Skip to content
Snippets Groups Projects
  1. Aug 29, 2021
  2. Aug 28, 2021
  3. Aug 27, 2021
  4. Aug 26, 2021
    • Eneas U de Queiroz's avatar
      openssl: bump to 1.1.1l · 7119fd32
      Eneas U de Queiroz authored
      
      This version fixes two vulnerabilities:
        - SM2 Decryption Buffer Overflow (CVE-2021-3711)
          Severity: High
      
        - Read buffer overruns processing ASN.1 strings (CVE-2021-3712)
          Severity: Medium
      
      Signed-off-by: default avatarEneas U de Queiroz <cotequeiroz@gmail.com>
      7119fd32
    • Christian Lamparter's avatar
      ath9k: owl-loader: remove obsolete AR71XX patch · d24efa92
      Christian Lamparter authored
      
      this is no longer necessary as the AR71XX target
      was superseded by ath79.
      
      Signed-off-by: default avatarChristian Lamparter <chunkeey@gmail.com>
      d24efa92
    • Christian Lamparter's avatar
      ath79: remove obsolete pci-ath9k-fixup.[c,h] files · a1bd8109
      Christian Lamparter authored
      
      This was old code from the AR71XXs target days that
      doesn't get compiled and used anymore.
      
      Bringing up AR92xx and earlier chips from their
      OWL-Emulator state is currently done by the upstream
      ath9k-pci-owl-loader module. (see the kmod-owl-loader
      package).
      
      Signed-off-by: default avatarChristian Lamparter <chunkeey@gmail.com>
      a1bd8109
    • Christian Lamparter's avatar
      gpio-button-hotplug: convert to gpio descriptor (gpiod_) API · 2b0378cf
      Christian Lamparter authored
      
      OpenWrt's special gpio-button-hotplug driver is still using
      exclusively the legacy GPIO Subsystem gpio_ API.
      
      While it still does work fine for most devices, upstream
      linux is starting to convert platform support like that of
      the APU2/3/4 to the new GPIOD LOOKUP tables that are not
      supported by it.
      
      Hence, this patch replaces the gpio_ calls present in
      gpio-button-hotplug with gpiod_ equivalent wherever
      it's possible. This allows the driver to use the
      gpiod lookup tables and still have a fallback for
      legacy platform data code that just sets button->gpio
      set to the real button/switch GPIO.
      
      As a bonus: the active_low logic is now being handled
      by the linux's gpio subsystem too. Another issue that
      was address is the of_handle leak in the dt parser
      error path.
      
      Tested with legacy platform data: x86_64: APU2, MX-100
      Tested on OF: ATH79; MR18, APM821xx: Netgear WNDR4700,
      	      RAMIPS: WL-330N3G
      	      LANTIQ: AVM FritzBox 7360v1
      
      Reported-by: default avatarChris Blake <chrisrblake93@gmail.com>
      Tested-by: default avatarChris Blake <chrisrblake93@gmail.com>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarChristian Lamparter <chunkeey@gmail.com>
      2b0378cf
    • Jan-Niklas Burfeind's avatar
      ath79: add support for onion omega · d98738b5
      Jan-Niklas Burfeind authored
      The Onion Omega is a hardware development platform with built-in WiFi.
      
      https://onioniot.github.io/wiki/
      
      
      
      Specifications:
       - QCA9331 @ 400 MHz (MIPS 24Kc Big-Endian Processor)
       - 64MB of DDR2 RAM running at 400 MHz
       - 16MB of on-board flash storage
       - Support for USB 2.0
       - Support for Ethernet at 100 Mbps
       - 802.11b/g/n WiFi at 150 Mbps
       - 18 digital GPIOs
       - A single Serial UART
       - Support for SPI
       - Support for I2S
      
      Flash instructions:
      The device is running OpenWrt upon release using the ar71xx target.
      Both a sysupgrade
      and uploading the factory image using u-boots web-UI do work fine.
      
      Depending on the ssh client, it might be necessary to enable outdated
      KeyExchange methods e.g. in the clients ssh-config:
      
      Host 192.168.1.1
              KexAlgorithms +diffie-hellman-group1-sha1
      
      The stock credentials are: root onioneer
      
      For u-boots web-UI manually configure `192.168.1.2/24` on your computer,
      connect to `192.168.1.1`.
      
      MAC addresses as verified by OEM firmware:
      2G       phy0      label
      LAN      eth0      label - 1
      
      LAN is only available in combination with an optional expansion dock.
      
      Based on vendor acked commit:
      commit 5cd49bb0 ("ar71xx: add support for Onion Omega")
      
      Partly reverts:
      commit fc553c7e ("ath79: drop unused/incomplete dts")
      
      Signed-off-by: default avatarJan-Niklas Burfeind <git@aiyionpri.me>
      d98738b5
    • Felix Fietkau's avatar
      ustp: add OpenWrt STP/RSTP daemon · 3ebbf795
      Felix Fietkau authored
      
      This integrates with netifd in order to provide STP/RSTP protocol support
      in user space. It defaults to using RSTP for bridges with stp enabled.
      This daemon has no config files, it uses the configuration passed from
      netifd via ubus
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      3ebbf795
  5. Aug 25, 2021
  6. Aug 24, 2021
    • David Yang's avatar
      ramips: expose ephy leds for miwifi-mini · 38cb5005
      David Yang authored
      
      Give users more control by exposing ephy leds.
      
      Signed-off-by: default avatarDavid Yang <mmyangfl@gmail.com>
      [remove execute bit on 01_leds, add status for gpio2]
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      38cb5005
    • David Yang's avatar
      ramips: lock u-boot partition and unlock u-boot-env for miwifi-mini · 5ed11012
      David Yang authored
      
      Generally u-boot should keep read-only to avoid mis-overwriting and
      bricking the device, but u-boot-env could be safely modified with u-boot
      setenv tool.
      
      Signed-off-by: default avatarDavid Yang <mmyangfl@gmail.com>
      5ed11012
    • David Yang's avatar
      ramips: increase flash freq for miwifi-mini · a6c410ae
      David Yang authored
      
      The flash is Winbond 25Q128. As it has large rom, better to increase flash
      frequency to 70MHz according to the flash spec and enable fast-read.
      
      Signed-off-by: default avatarDavid Yang <mmyangfl@gmail.com>
      a6c410ae
    • Giovanni Cascione's avatar
      ramips: add support for D-Link DAP-1325-A1 · d57ba86e
      Giovanni Cascione authored
      
      This patch adds support for D-Link DAP-1325-A1 (Range Extender Wi-Fi N300)
      
      Specifications:
      - SoC: 580Mhz MT7628NN
      - RAM: 64MB, DDR2 SDRAM
      - Storage: 8MB, SPI (W25Q64JVSSIQ)
      - Ethernet: 1x 10/100 LAN port
      - WIFI: 2.4 GHz 802.11bgn
      - LED: Status (2x to provide 3 colors), Wi-Fi Signal Strength (4x)
      - Buttons: Reset, WPS
      - UART: Serial console (57600, 8n1)
      Row of 4 holes near LAN port, starting from square hole:
      3.3V, TX,RX,GND
      - FCC ID: fccid.io/KA2AP1325A1/
      
      Installation:
      
      Failsafe UI
      Firmware can be uploaded with Failsafe UI web page:
      - turn device off
      - press and hold reset button
      - turn device on
      - keep holding reset until red wifi strength led turns on (ab. 10sec)
      - connect to device through LAN port
      PC must be configured with static ip (192.168.0.x)
      - connect to 192.168.0.50
      - select image to be flashed and upload.
      Device will reboot after successful update
      
      Serial port/TFTP server
      - Connect through serial connectors on PCB (e.g. with teraterm)
      - Set up a TFTP server, and connect through LAN with static IP
      - Put image file in the root of the server
      - Boot the device and select '2' at U-Boot startup
      - Set device IP, server IP and image file name
      - Start upload and flash
      
      Signed-off-by: default avatarGiovanni Cascione <ing.cascione@gmail.com>
      [fix whitespaces in DTS, convert to nvmem, add mtd-eeprom]
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      d57ba86e
    • Romain Mahoux's avatar
      ath79: add support for Compex WPJ558 (16M) · e2d08084
      Romain Mahoux authored
      
      Specifications:
      - SoC: QCA9558
      - DRAM: 128MB DDR2
      - Flash: 16MB SPI-NOR
      - Wireless: on-board abgn 2×2 2.4GHz radio
      - Ethernet: 2x 10/100/1000 Mbps (1x 802.11af PoE)
      - miniPCIe slot
      
      Flash instruction:
      - From u-boot
      
      tftpboot 0x80500000 openwrt-ath79-generic-compex_wpj558-16m-squashfs-sysupgrade.bin
      erase 0x9f030000 +$filesize
      cp.b $fileaddr 0x9f030000 $filesize
      boot
      
      - From cpximg loader
      
      The cpximg loader can be started either by holding the reset button
      during power up. Once it's running, a TFTP-server under 192.168.1.1 will accept
      the image appropriate for the board revision that is etched on the board.
      
      For example, if the board is labelled '6A07':
      
      tftp -v -m binary 192.168.1.1 -c put openwrt-ath79-generic-compex_wpj558-16m-squashfs-cpximg-6a07.bin
      
      Signed-off-by: default avatarRomain Mahoux <romain@mahoux.fr>
      [convert to nvmem, remove redundant lan_mac in 02_network]
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      e2d08084
    • Chukun Pan's avatar
      ipq806x: Askey RT4230W REV6: use usual writing for pcie part · 269758a5
      Chukun Pan authored
      
      The problem has been fixed in f47cb405 ("ipq806x: fix pci broken
      on bootm command"), now the pcie part can be written in the usual way.
      
      Signed-off-by: default avatarChukun Pan <amadeus@jmu.edu.cn>
      Reviewed-by: default avatarAnsuel Smith <ansuelsmth@gmail.com>
      269758a5
Loading