Skip to content
Snippets Groups Projects
  1. Jan 27, 2022
    • Tiago Gaspar's avatar
      netfilter: correct some dependencies · ef4c9757
      Tiago Gaspar authored
      
      nf-nathelper-extra and nf-conntrack-netlink had iptables related
      dependencies, yet, when looking for the respective kernel symbols and
      checking it's dependencies it was confirmed that iptables wasn't
      required and that these were either it's own moodule or tool independent
      (nftables or iptables).
      
      Correct these and make sure no unneeded extras are pulled in.
      
      Signed-off-by: default avatarTiago Gaspar <tiagogaspar8@gmail.com>
      ef4c9757
    • David Bauer's avatar
      rockchip: disable UHS modes for NanoPi R4S · 2b583ab8
      David Bauer authored
      
      The NanoPi R4S leaves the SD card in 1.8V signalling when rebooting
      while U-Boot requires the card to be in 3.3V mode.
      
      Remove UHS support from the SD controller so the card remains in 3.3V
      mode. This reduces transfer speeds but ensures a reboot whether from
      userspace or following a kernel panic is always working.
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      2b583ab8
  2. Jan 26, 2022
  3. Jan 25, 2022
  4. Jan 24, 2022
  5. Jan 23, 2022
  6. Jan 22, 2022
    • Jo-Philipp Wich's avatar
      ucode: add temporary fix for integer formatting on 32bit systems · 3d3d0347
      Jo-Philipp Wich authored
      
      The ucode VM always passes 64bit integer values to sprintf implementation
      while the `%d` format expects 32bit integers on 32bit platforms, leading
      to incorrect formatting results.
      
      Temporarily solve the issue by casting the numeric argument to int until
      a more thorough fix arrives with the next update.
      
      Fixes: FS#4234
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      3d3d0347
    • Victorien Molle's avatar
      ath79: add support for GL.iNet GL-XE300 · af8a059b
      Victorien Molle authored
      The GL.iNet GL-XE300 is a 4G LTE Wireless router, based on QCA9531 SoC.
      
      Specifications:
      
       - SoC: QCA9531 (650MHz)
       - RAM: DDR2 128M
       - Flash: SPI NOR 16M + SPI NAND 128M
       - WiFi: 2.4GHz with 2 antennas
       - Ethernet:
         - 1x LAN (10/100M)
         - 1x WAN (10/100M)
       - LTE:
       - USB: 1x USB 2.0 port
       - UART:
         - 3.3V, TX, RX, GND / 115200 8N1
      
      MAC addresses as verified by OEM firmware:
      
       use    address   source
       LAN    *:c5      art 0x0 (label)
       WAN    *:c6      label + 1
       WLAN   *:c7      art 0x1002
      
      Installation via U-Boot rescue:
      
      1. Press and hold reset and power buttons simultaneously
      2. Wait for the LAN led to blink 5 times
      3. Release reset and power buttons
      4. The rescue page is accessible via http://192.168.1.1
      
      
      5. Select the OpenWrt factory image and start upgrade
      6. Wait for the router to flash new firmware and reboot
      
      Revert to stock firmware:
      
       i. Download the stock firmware from GL.Inet website
       ii. Use the same method explained above to flash the stock firmware
      
      Signed-off-by: default avatarVictorien Molle <victorien.molle@wifirst.fr>
      [update commit message]
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      af8a059b
    • Rodrigo Araujo's avatar
      ramips: correct vendor name for COMFAST/Joowin · 7c8ade17
      Rodrigo Araujo authored
      
      When Joowin WR758AC V1 and V2 devices were added, they should have been
      added with the primary manufacturer name which is COMFAST, since Joowin
      is just an alternate vendor name on some coutries or stores.
      
      Fix this by changing the the vendor name on the respective files and set
      Joowin as ALT0 variants while ensuring compatibility for early users.
      Also adjust the model names to better follow the naming rules.
      
      As a side effect, fix mt76x8 network script which was left incorrectly
      unsorted on the case block conditions.
      
      Fixes: 766733e1 ("ramips: add support for Joowin WR758AC V1 and V2")
      Signed-off-by: default avatarRodrigo Araujo <araujo.rm@gmail.com>
      7c8ade17
    • David Bauer's avatar
      ramips: read Tenbay T-MB5EU address from single location · ef5f3eb7
      David Bauer authored
      
      Currently the WAN MAC address is read from a different offset contrary
      to all other addresses.
      
      There's conflicting information whether offset 0x28 on the factory
      partition contains the valid WAN mac for all devices while 0x4 seems to
      be uniform.
      
      Read the WAN mac from this location and calculate it.
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      ef5f3eb7
    • David Bauer's avatar
      ramips: update Tenbay T-MB5EU wireless MAC address · b0c04a37
      David Bauer authored
      
      The current MAC address assignment is still incorrect.
      
      Use the same MAC address as seen on the stock firmware
      for both wireless interfaces.
      
      The 5GHz MAC address OUI is +2 in the first EUI octet. We currently
      don't do this in OpenWrt. Ignore this offset for now. With the current
      assignment, recurring MAC addresses between radios is already taken care
      of.
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      b0c04a37
  7. Jan 21, 2022
  8. Jan 19, 2022
  9. Jan 18, 2022
  10. Jan 17, 2022
  11. Jan 16, 2022
    • Sergey V. Lobanov's avatar
      build: add HOST_CXXFLAGS for host build · 87d489f6
      Sergey V. Lobanov authored
      
      Added HOST_CXXFLAGS to specify CXXFLAGS during host-compile
      (e.g. to specify c++ standard: HOST_CXXFLAGS += -std=c++11)
      
      Signed-off-by: default avatarSergey V. Lobanov <sergey@lobanov.in>
      87d489f6
    • Hauke Mehrtens's avatar
      firmware-utils: update to latest master · f1d4c777
      Hauke Mehrtens authored
      
      d885b49 tplink-safeloader: support Archer C6v3.0 (BR)
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      f1d4c777
    • Hauke Mehrtens's avatar
      ustream-ssl: update to Git version 2022-01-16 · e7452955
      Hauke Mehrtens authored
      
      868fd88 ustream-openssl: wolfSSL: Add compatibility for wolfssl >= 5.0
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      e7452955
    • Alexey Smirnov's avatar
      omap: add support for the TRNG Hardware Accelerator · e23ca355
      Alexey Smirnov authored
      
      According to TI docs (Processor SDK Linux Getting Started Guide)
      the Random Number Generator hardware is found on
      OMAP16xx, OMAP2/3/4/5, AM33xx/AM43xx boards. It already
      defined in device tree files. Let's enable it.
      
      Some tests:
      
      root@RTS1_OI:~# rngtest -c 1000 </dev/hwrng
      rngtest 6.10
      Copyright (c) 2004 by Henrique de Moraes Holschuh
      This is free software; see the source for copying conditions.
      There is NO warranty; not even for MERCHANTABILITY or
      FITNESS FOR A PARTICULAR PURPOSE.
      
      rngtest: starting FIPS tests...
      rngtest: bits received from input: 20000032
      rngtest: FIPS 140-2 successes: 999
      rngtest: FIPS 140-2 failures: 1
      rngtest: FIPS 140-2(2001-10-10) Monobit: 0
      rngtest: FIPS 140-2(2001-10-10) Poker: 0
      rngtest: FIPS 140-2(2001-10-10) Runs: 1
      rngtest: FIPS 140-2(2001-10-10) Long run: 0
      rngtest: FIPS 140-2(2001-10-10) Continuous run: 0
      rngtest: input channel speed: (min=198.710; avg=1265.501; max=2976.417)Kibits/s
      rngtest: FIPS tests speed: (min=1.780; avg=37.085; max=39.736)Mibits/s
      rngtest: Program run time: 15961329 microseconds
      
      Signed-off-by: default avatarAlexey Smirnov <s.alexey@gmail.com>
      e23ca355
Loading