Skip to content
Snippets Groups Projects
  1. Feb 18, 2021
    • Mathias Kresin's avatar
      kernel: lantiq: fix Module.symvers handling · d2d32dcd
      Mathias Kresin authored
      
      If an external module uses exported symbols from another external
      module, Kbuild needs to have full knowledge of all symbols to
      avoid spitting out warnings about undefined symbols.
      
      Use PKG_EXTMOD_SUBDIRS to point to the build directory which contains
      the Module.symvers.
      
      Pass KERNEL_MAKE_FLAGS to the external module build, to inject
      KBUILD_EXTRA_SYMBOLS. KBUILD_EXTRA_SYMBOLS holds a space separated list
      of Module.symvers, which list all exported symbols.
      
      Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
      d2d32dcd
    • Mathias Kresin's avatar
      lantiq: fritz7320: enable USB power supply · ba07cc0c
      Mathias Kresin authored
      
      The USB ports if a FRIZZ!Box 7320 do not supply power to connected
      devices.
      
      Add the GPIOs enabling USB power as regulator, to enable USB power
      supply as soon as the USB driver is loaded.
      
      Fixes FS#3624
      
      Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
      ba07cc0c
    • David Bauer's avatar
      generic: don't lock when recursively deleting partitions · 5408399f
      David Bauer authored
      
      When recursively deleting partitions, don't acquire the masters
      partition lock twice. Otherwise the process endy up in a deadlocked
      state.
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      5408399f
    • David Bauer's avatar
      generic: add various kernel 5.10 config symbols · 0621b23e
      David Bauer authored
      
      These symbols were unset when configuring for ath79.
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      0621b23e
    • David Bauer's avatar
      mediatek: add support for Ubiquiti UniFi 6 LR · 634c13c1
      David Bauer authored
      
      Hardware
      --------
      
      MediaTek MT7622
      512MB DDR3 RAM
      64M SPI-NOR Flash (Winbond W25Q512JV)
      MediaTek MT7622 802.11bgn 4T4R WMAC
      MediaTek MT7915 802.11ax 4T4R
      Marvell AQR1112 100/1000/2500 NBase-T PHY
      Holtek HT32F52241 LED controller
      Reset Switch
      
      UART
      ----
      
      CPU UART0 at the pinout next to the Holtek MCU.
      
      Pinout (first pin next to SoC / MCU)
      
      0 3V3
      1 RX
      2 TX
      3 GND
      
      Settings are 115200 8N1.
      
      Opening the case
      ----------------
      
      Opening the case is not a nice task, as itis glued together. Insert a
      flat knife between the front and back casing below the ethernet port.
      Open up a gap this way and insert a flat scredriver, remove the knife.
      
      Work your way around the casing by applying force to seperate the front
      and back casing. This losens the glue and opens the plastic clips. Be
      gentle, as these clips are very cheap and break quickly.
      
      Installation
      ------------
      
      1. Connect to the booted device at 192.168.1.20 using username/password
         "ubnt".
      
      2. Transfer the OpenWrt sysupgrade image to the device using SCP.
      
      3. Check the mtd partition number for bs / kernel0 / kernel1
      
         $ cat /proc/mtd
      
      4. Set the bootselect flag to boot from kernel0
      
         $ dd if=/dev/zero bs=1 count=1 of=/dev/mtdblock6
      
      5. Write the OpenWrt sysupgrade image to both kernel0 as well as kernel1
      
         $ dd if=openwrt.bin of=/dev/mtdblock8
         $ dd if=openwrt.bin of=/dev/mtdblock9
      
      6. Reboot the device. It should boot into OpenWrt.
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      634c13c1
    • David Bauer's avatar
      mediatek: add Ubiquiti LED driver · c9137e2d
      David Bauer authored
      
      Add a driver for controlling the RGB LED via Ubiquitis own "LEDBAR" LED
      controller based on the Holtek HT32F52241 MCU.
      
      This driver is initially used by the Ubiquiti UniFi 6 LR, however
      judging from FCC pictures the MCU is also found on the U6-Mesh as well
      as the U6-Extender.
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      c9137e2d
  2. Feb 17, 2021
    • Álvaro Fernández Rojas's avatar
      bcm63xx: add kernel 5.10 support · f323dec4
      Álvaro Fernández Rojas authored
      
      Runtime-tested on Comtrend AR-5387un.
      
      Signed-off-by: default avatarÁlvaro Fernández Rojas <noltari@gmail.com>
      f323dec4
    • Daniel Golle's avatar
      kernel: update kernel 5.10 to 5.10.16 · 5bb99548
      Daniel Golle authored
      
      Compile and runtime-tested on mediatek/mt7622
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      5bb99548
    • Felix Fietkau's avatar
      build: fix build with CONFIG_STRIP_KERNEL_EXPORTS · 5ea33837
      Felix Fietkau authored
      
      Only use symtab.h on the final kernel link
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      5ea33837
    • Eneas U de Queiroz's avatar
      openssl: bump to 1.1.1j · 482c9ff2
      Eneas U de Queiroz authored
      
      This fixes 4 security vulnerabilities/bugs:
      
      - CVE-2021-2839 - SSLv2 vulnerability. Openssl 1.1.1 does not support
        SSLv2, but the affected functions still exist. Considered just a bug.
      
      - CVE-2021-2840 - calls EVP_CipherUpdate, EVP_EncryptUpdate and
        EVP_DecryptUpdate may overflow the output length argument in some
        cases where the input length is close to the maximum permissable
        length for an integer on the platform. In such cases the return value
        from the function call will be 1 (indicating success), but the output
        length value will be negative.
      
      - CVE-2021-2841 - The X509_issuer_and_serial_hash() function attempts to
        create a unique hash value based on the issuer and serial number data
        contained within an X509 certificate. However it was failing to
        correctly handle any errors that may occur while parsing the issuer
        field (which might occur if the issuer field is maliciously
        constructed). This may subsequently result in a NULL pointer deref and
        a crash leading to a potential denial of service attack.
      
      - Fixed SRP_Calc_client_key so that it runs in constant time. This could
        be exploited in a side channel attack to recover the password.
      
      The 3 CVEs above are currently awaiting analysis.
      
      Signed-off-by: default avatarEneas U de Queiroz <cotequeiroz@gmail.com>
      482c9ff2
    • Rosen Penev's avatar
      gettext-full: update to 0.21 · b59905f0
      Rosen Penev authored
      
      Add m4 patch to avoid conflict with tools/autoconf-archive.
      
      Add build parallel as it seems to work now.
      
      Remove a bunch of uClibc-ng hacks as it is not in the tree anymore.
      
      Format security patch was fixed upstream.
      
      Refreshed other patches.
      
      Signed-off-by: default avatarRosen Penev <rosenp@gmail.com>
      b59905f0
  3. Feb 16, 2021
  4. Feb 15, 2021
Loading