This project is mirrored from git://git.openwrt.org/openwrt/openwrt.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 13 Jul, 2021 3 commits
    • Hans Dedecker's avatar
      glibc: update to latest 2.33 HEAD (bug 28011) · 9d2dcc83
      Hans Dedecker authored
      
      
      b5711025bc x86_64: Remove unneeded static PIE check for undefined weak diagnostic
      edfd11197e wordexp: handle overflow in positional parameter number (bug 28011)
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      9d2dcc83
    • Jo-Philipp Wich's avatar
      rpcd: update to latest Git HEAD · 324e3fb6
      Jo-Philipp Wich authored
      
      
      1fa3576 session: unload rpcd configuration before checking login
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      324e3fb6
    • Felix Fietkau's avatar
      netifd: update to the latest version · 1236cbe3
      Felix Fietkau authored
      
      
      f12b073c0cc3 wireless: add some comments to functions
      b0d090688302 bridge: fix setting pvid for updated vlans
      ff3764ce28e0 device: move hotplug handling logic from system-linux.c to device.c
      16bff892f415 ubus: add a dummy mode ubus call to simulate hotplug events
      7f30b02013f2 examples: make dummy wireless vif names shorter
      013a1171e9b0 device: do not treat devices with non-digit characters after . as vlan devices
      f037b082923a wireless: handle WDS per-sta devices
      db0fa24e1c17 bridge: fix enabling hotplug-added VLANs on the bridge port
      4e92ea74273f bridge: bring up pre-existing vlans on hotplug as well
      1f283c654aeb bridge: fix hotplug vlan overwrite on big-endian systems
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      1236cbe3
  2. 12 Jul, 2021 7 commits
    • Felix Fietkau's avatar
      8f7e6db2
    • Felix Fietkau's avatar
      hostapd: initialize ht/vht/he mode on channel switch by default · da2c244e
      Felix Fietkau authored
      
      
      Use the current mode, but allow overwriting via ubus command parameters
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      da2c244e
    • Felix Fietkau's avatar
      1ec4af41
    • Felix Fietkau's avatar
      hostapd: make it possible to update station airtime weights via ubus · 9aa05615
      Felix Fietkau authored
      
      
      This allows dynamic tuning based on other runtime information
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      9aa05615
    • Daniel Golle's avatar
      uboot-mediatek: several fixes for MT7622 · 349e2b7e
      Daniel Golle authored
      
      
       * ! Behavior change !
      
         Old behavior: If the Reset button is held down during power-on
         do factory reset and try booting recovery from TFTP forever.
         If valid recovery is received via TFTP, write it to flash and boot.
      
         New behavior: If the Reset button is held down during power-on
         do factory reset, then try TFTP *once*, then try booting on-flash
         recovery, then keep trying via TFTP forever until a valid image is
         received.
         Only if there is no bootable recovery stored on flash, store the
         downloaded recovery. Then boot it.
      
       * Set loadaddr to 0x48000000 in order to allow booting images larger
         than ~47MB (reported by Oskari Lemmelä). Setting loadaddr to
         0x48000000 gives us 384MB on devices with 512MB RAM, which should be
         more than enough as a maximum size for uImage.FIT to be loaded.
      
       * Widely unify device-specific default environment in preparation to
         auto-generate it from parameters.
      
       * backport upstream commit fixing MBR/DOS partitioning
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      349e2b7e
    • Adrian Schmutzler's avatar
      ramips: fix Wifi MAC address setup for D-Link DIR-853 R1 · 3ac13416
      Adrian Schmutzler authored
      
      
      Commands in 10_fix_wifi_mac were not properly concatenated, so
      this was also triggered for the second phy without giving a
      MAC address as argument.
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      3ac13416
    • Karim Dehouche's avatar
      ramips: add support for D-Link DIR-853 A3 · 6639623e
      Karim Dehouche authored
      Specifications:
      * SoC: MT7621AT
      * RAM: 256MB
      * Flash: 128MB NAND flash
      * WiFi: MT7615DN (2.4GHz+5Ghz) with DBDC
      * LAN: 5x1000M
      * Firmware layout is Uboot with extra 96 bytes in header
      * Base PCB is DIR-1360 REV1.0
      * LEDs Power Blue+Orange,Wan Blue+Orange,WPS Blue,"2.4G"Blue, "5G" Blue,
        USB Blue
      * Buttons Reset,WPS, Wifi
      
      MAC addresses on OEM firmware:
      
      lan      factory 0xe000   f4:*:*:a8:*:65  (label)
      wan      factory 0xe006   f4:*:*:a8:*:68
      2.4 GHz  [not on flash]   f6:*:*:c8:*:66
      5.0 GHz  factory 0x4      f4:*:*:a8:*:66
      
      The increment of the 4th byte for the 2.4g address appears to vary.
      Reported cases:
      
             5g                 2.4g         increment
       f4:XX:XX:a8:XX:66  f6:XX:XX:c8:XX:66  +0x20
       x0:xx:xx:68:xx:xx  x2:xx:xx:48:xx:xx  -0x20
       x4:xx:xx:6a:xx:xx  x6:xx:xx:4a:xx:xx  -0x20
      
      Since increment is inconsistent and there is no obvious pattern
      in swapping bytes, and the 2.4g address has local bit set anyway,
      it seems safer to use the LAN address with flipped byte here in
      order to prevent collisions between OpenWrt devices and OEM devices
      for this interface. This way we at least use an address as base
      that is definitely owned by the device at hand.
      
      Flashing instruction:
      
      The Dlink "Emergency Room" cannot be accessed through the reset
      button on this device. You can either use console or use the
      encrypted factory image availble in the openwrt forum.
      
      Once the encrypted image is flashed throuh the stock Dlink web
      interface, the sysupgrade images can be used.
      
      Header pins needs to be soldered near the WPS and Wifi buttons.
      
      The layout for the pins is (VCC,RX,TX,GND). No need to connect the VCC.
      
      the settings are:
      
      Bps/Par/Bits          : 57600 8N1
      Hardware Flow Control : No
      Software Flow Control : No
      
      Connect your client computer to LAN1 of the device
      Set your client IP address manually to 192.168.0.101 / 255.255.255.0.
      Call the recovery page or tftp for the device at http://192.168.0.1
      
      
      Use the provided emergency web GUI to upload and flash a new firmware to
      the device
      
      At the time of adding support the wireless config needs to be set up by
      editing the wireless config file:
      
       * Setting the country code is mandatory, otherwise the router loses
         connectivity at the next reboot. This is mandatory and can be done
         from luci. After setting the country code the router boots correctly.
         A reset with the reset button will fix the issue and the user has to
         reconfigure.
      
       * This is minor since the 5g interface does not come up online although
         it is not set as disabled. 2 options here:
      
         1- Either run the "wifi" command. Can be added from LUCI in system -
            startup - local startup and just add wifi above "exit 0".
      
         2- Or add the serialize option in the wireless config file as shown
            below. This one would work and bring both interfaces automatically
            at every boot:
      
            config wifi-device 'radio0'
                option serialize '1'
      
            config wifi-device 'radio1'
                option serialize '1'
      Signed-off-by: default avatarKarim Dehouche <karimdplay@gmail.com>
      [rebase, improve MAC table, update wireless config comment, fix
       2.4g macaddr setup]
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      6639623e
  3. 11 Jul, 2021 5 commits
    • Roberto Valentini's avatar
      ath79: add support for TP-Link RE455 v1 · af56075a
      Roberto Valentini authored
      
      
      TP-Link RE455 v1 is a dual band router/range-extender based on
      Qualcomm/Atheros QCA9563 + QCA9880.
      
      This device is nearly identical to RE450 v3
      
      Specification:
      
      - 775 MHz CPU
      - 64 MB of RAM (DDR2)
      - 8 MB of FLASH (SPI NOR)
      - 3T3R 2.4 GHz
      - 3T3R 5 GHz
      - 1x 10/100/1000 Mbps Ethernet (AR8033 PHY)
      - 7x LED, 4x button
      - UART header on PCB[1]
      
      Flash instruction:
      Apply factory image in OEM firmware web-gui.
      
      [1] Didn't work, probably need to short unpopulated resistor R64
          and R69 as RE450v3
      Signed-off-by: default avatarRoberto Valentini <valantin89@gmail.com>
      af56075a
    • Tee Hao Wei's avatar
      ramips: add support for Linksys EA8100 v2 · 0c721434
      Tee Hao Wei authored
      
      
      Specifications:
      - SoC: MT7621AT
      - RAM: 256MB
      - Flash: 128MB NAND
      - Ethernet: 5 Gigabit ports
      - WiFi: 2.4G/5G MT7615N
      - USB: 1 USB 3.0, 1 USB 2.0
      
      This device is very similar to the EA7300 v1/v2, EA7500 v2, and EA8100 v1.
      
      Installation:
      
      Upload the generated factory image through the factory web interface.
      
      (following part taken from EA7300 v2 commit message:)
      
      This might fail due to the A/B nature of this device. When flashing, OEM
      firmware writes over the non-booted partition. If booted from 'A',
      flashing over 'B' won't work. To get around this, you should flash the
      OEM image over itself. This will then boot the router from 'B' and
      allow you to flash OpenWRT without problems.
      
      Reverting to factory firmware:
      
      Hard-reset the router three times to force it to boot from 'B.' This is
      where the stock firmware resides. To remove any traces of OpenWRT from
      your router simply flash the OEM image at this point.
      
      With thanks to Tom Wizetek (@wizetek) for testing.
      Signed-off-by: default avatarTee Hao Wei <angelsl@in04.sg>
      0c721434
    • Jo-Philipp Wich's avatar
      iwinfo: update to latest Git HEAD and move device info into -data package · c13d7c82
      Jo-Philipp Wich authored
      
      
      a0a0e02 iwinfo: rename hardware.txt to devices.txt
      
      Also split common devices.txt (former hardware.txt) into a common
      libiwinfo-data package to allow different libiwinfo versions to
      coexist without file clashes.
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      c13d7c82
    • Dmitry Tunin's avatar
      ipq40xx: increase SPI frequency for Zyxel NBG6617 · 88f39b72
      Dmitry Tunin authored
      
      
      The mx25l25635f supports clock speed up to 50Mhz.
      
      Also remove obsolete "mx25l25635f" hack and rename
      the matching device-tree flash node.
      Signed-off-by: default avatarDmitry Tunin <hanipouspilot@gmail.com>
      [mention node rename as well. chip is very very likely
      always the "f" revision for all NBG6617]
      Signed-off-by: default avatarChristian Lamparter <chunkeey@gmail.com>
      88f39b72
    • Daniel Golle's avatar
      procd: update to git HEAD · f46a38a1
      Daniel Golle authored
      
      
       2dcefbd jail: add support for cgroup devices as in OCI run-time spec
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      f46a38a1
  4. 10 Jul, 2021 4 commits
    • Daniel Golle's avatar
      lua: make it easier to detect host-built Lua · 315f52e0
      Daniel Golle authored
      
      
      Install pkg-config file also for host-build, clean up Lua symlinks.
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      315f52e0
    • Adrian Schmutzler's avatar
      ramips: mt7628an: remove redundant console setup for bootargs · 5e8eaac8
      Adrian Schmutzler authored
      
      
      This is already set in mt7628an.dtsi
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      5e8eaac8
    • Stas Fiduchi's avatar
      ramips: add support for D-Link DIR-853-R1 · b8168f47
      Stas Fiduchi authored
      This PR adds support for router D-Link DIR-853-R1
      
      Specifications:
      
          SoC: MT7621AT
          RAM: 128MB
          Flash: 16MB SPI
          WiFi: MT7615DN (2.4GHz+5Ghz) with DBDC (This mode allows this
            single chip act as an 2x2 11n radio and an 2x2 11ac radio at the
            same time)
          LAN: 5x1000M
          LEDs Power Blue+Orange,Wan Blue+Orange,WPS Blue,"2.4G"Blue, "5G" Blue
          USB Blue
          Buttons Reset,WPS, Wifi
      
      MAC addresses:
      
      |Interface   |        MAC      |    Factory  |Comment
      |------------|-----------------|-------------|----------------
      |WAN sticker |C4:XX:XX:6E:XX:2A|             |Sticker
      |LAN         |C4:XX:XX:6E:XX:2B|             |
      |Wifi (5g)   |C4:XX:XX:6E:XX:2C|0x4          |
      |Wifi (2.4g) |C6:XX:XX:7E:XX:2C|             |
      |            |                 |             |
      |            |C4:XX:XX:6E:XX:2E|0x8004 0xe000|
      |            |C4:XX:XX:6E:XX:2F|0xe006       |
      
      The increment of the 4th byte for the 2.4g address appears to vary.
      Reported cases:
      
             5g                 2.4g         increment
       C4:XX:XX:6E:XX:2C  C6:XX:XX:7E:XX:2C  0x10
       f4:XX:XX:16:XX:32  f6:XX:XX:36:XX:32  0x20
       F4:XX:XX:A6:XX:E3  F6:XX:XX:B6:XX:E3  0x10
      
      Since increment is inconsistent and there is no obvious pattern
      in swapping bytes, and the 2.4g address has local bit set anyway,
      it seems safer to use the LAN address with flipped byte here in
      order to prevent collisions between OpenWrt devices and OEM devices
      for this interface. This way we at least use an address as base
      that is definitely owned by the device at hand.
      
      Flashing instruction:
      
      The Dlink "Emergency Room"
      
      Connect your client computer to LAN1 of the device
      Set your client IP address manually to 192.168.0.101 / 255.255.255.0.
      Then, power down the router, press and hold the reset button, then
      re-plug it. Keep the reset button pressed until the internet LED stops
      flashing
      Call the recovery page or tftp for the device at http://192.168.0.1
      
      
      Use the provided emergency web GUI to upload and flash a new firmware to
      the device.
      Signed-off-by: default avatarStas Fiduchi <fiduchi@protonmail.com>
      [commit title/message improvements, use correct label MAC address,
       calculate MAC addresses based on 0x4, minor DTS style fixes, add
       uart2 to state_default, remove factory image, add 2.4g MAC address,
       use partition DTSI, add macaddr comment in DTS]
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      b8168f47
    • Adrian Schmutzler's avatar
      treewide: call check-size before append-metadata · cce8d16b
      Adrian Schmutzler authored
      
      
      sysupgrade metadata is not flashed to the device, so check-size
      should be called _before_ adding metadata to the image.
      
      While at it, do some obvious wrapping improvements.
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      Acked-by: default avatarPaul Spooren <mail@aparcar.org>
      cce8d16b
  5. 09 Jul, 2021 1 commit
  6. 08 Jul, 2021 2 commits
  7. 07 Jul, 2021 3 commits
  8. 06 Jul, 2021 4 commits
  9. 05 Jul, 2021 4 commits
    • Kevin Darbyshire-Bryant's avatar
      dnsmasq: use local option for local domain parameter · e4cfefa9
      Kevin Darbyshire-Bryant authored
      
      
      '--local' is a synonym for '--server' so let's use '--local' in the
      resultant config file for uci's 'local' instead of uci's local
      parameter being turned into '--server'.  Slightly less confusion all
      round.
      Signed-off-by: default avatarKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
      e4cfefa9
    • Alexander Couzens's avatar
      ramips: add support for minew g1-c · 8d497b65
      Alexander Couzens authored
      
      
      The minew g1-c is a smart home gateway / BLE gateway.
      A Nordic nRF52832 is available via USB UART (cp210x) to support BLE.
      The LED ring is a ring of 24x ws2812b connect to a generic GPIO (unsupported).
      There is a small LED which is only visible when the device is open which
      will be used as LED until the ws2812b is supported.
      The board has also a micro sdcard/tfcard slot (untested).
      The Nordic nRF52832 exposes SWD over a 5pin header (GND, VCC, SWD, SWC, RST).
      The vendor uses an older OpenWrt version, sysupgrade can be used via
      serial or ssh.
      
      CPU:		MT7628AN / 580MHz
      RAM:		DDR2 128 MiB RAM
      Flash:		SPI NOR 16 MiB W25Q128
      Ethernet:	1x 100 mbit (Port 0) (PoE in)
      USB:		USB hub, 2x external, 1x internal to USB UART
      Power:		via micro usb or PoE 802.11af
      UART:		3.3V, 115200 8n1
      Signed-off-by: default avatarAlexander Couzens <lynxis@fe80.eu>
      8d497b65
    • Petr Štetiar's avatar
      ath79: base-files: fix broken network config · bb2a9af6
      Petr Štetiar authored
      Fix bash syntax error introduced in commit cce2e8db ("ath79: add
      support for TP-Link TL-WR941HP v1") which resulted in broken default
      network configuration.
      
       In target/linux/ath79/generic/base-files/etc/board.d/02_network line 402:
      	tplink,tl-wr842n-v2)\
              ^-- SC1073: Couldn't parse this case item. Fix to allow more checks.
      
      References: https://gitlab.com/ynezz/openwrt-device-runtime-testing/-/jobs/1398837698/artifacts/file/cram-result-archer-c7-v5-initramfs.txt
      Fixes: cce2e8db
      
       ("ath79: add support for TP-Link TL-WR941HP v1")
      Signed-off-by: default avatarPetr Štetiar <ynezz@true.cz>
      bb2a9af6
    • Evgeniy Isaev's avatar
      ath79: add support for Xiaomi AIoT Router AC2350 · 6c148116
      Evgeniy Isaev authored
      Device specifications
      * SoC: QCA9563 @ 775MHz (MIPS 74Kc)
      * RAM: 128MiB DDR2
      * Flash: 16MiB SPI-NOR (EN25QH128)
      * Wireless 2.4GHz (SoC): b/g/n, 3x3
      * Wireless 5Ghz (QCA9988): a/n/ac, 4x4 MU-MIMO
      * IoT Wireless 2.4GHz (QCA6006): currently unusable
      * Ethernet (AR8327): 3 LAN × 1GbE, 1 WAN × 1GbE
      * LEDs: Internet (blue/orange), System (blue/orange)
      * Buttons: Reset
      * UART: through-hole on PCB ([VCC 3.3v](RX)(GND)(TX) 115200, 8n1)
      * Power: 12VDC, 1,5A
      
      MAC addresses map (like in OEM firmware)
        art@0x0     88:C3:97:*:57  wan/label
        art@0x1002  88:C3:97:*:2D  lan/wlan2g
        art@0x5006  88:C3:97:*:2C  wlan5g
      
      Obtain SSH Access
      1. Download and flash the firmware version 1.3.8 (China).
      2. Login to the router web interface and get the value of `stok=` from the
         URL
      3. Open a new tab and go to the following URL (replace <STOK> with the stok
         value gained above; line breaks are only for easier handling, please put
         together all four lines into a single URL without any spaces):
           http://192.168.31.1/cgi-bin/luci/;stok=<STOK>/api/misystem/set_config_iotdev
             ?bssid=any&user_id=any&ssid=-h%0Anvram%20set%20ssh_en%3D1%0Anvram%20commit
             %0Ased%20-i%20%27s%2Fchannel%3D.%2A%2Fchannel%3D%5C%5C%22debug%5C%5C%22%2F
             g%27%20%2Fetc%2Finit.d%2Fdropbear%0A%2Fetc%2Finit.d%2Fdropbear%20start%0A
      4. Wait 30-60 seconds (this is the time required to generate keys for the
         SSH server on the router).
      
      Create Full Backup
      1. Obtain SSH Access.
      2. Create backup of all flash (on router):
          dd if=/dev/mtd0 of=/tmp/ALL.backup
      3. Copy backup to PC (on PC):
          scp root@192.168.31.1:/tmp/ALL.backup ./
      Tip: backup of the original firmware, taken three times, increases the
      chances of recovery :)
      
      Calculate The Password
      * Locally using shell (replace "12345/E0QM98765" with your router's serial
        number):
        On Linux
          printf "%s6d2df50a-250f-4a30-a5e6-d44fb0960aa0" "12345/E0QM98765" | \
          md5sum - | head -c8 && echo
        On macOS
          printf "%s6d2df50a-250f-4a30-a5e6-d44fb0960aa0" "12345/E0QM98765" | \
          md5 | head -c8
      * Locally using python script (replace "12345/E0QM98765" with your
        router's serial number):
          wget https://raw.githubusercontent.com/eisaev/ax3600-files/master/scripts/calc_passwd.py
          python3.7 -c 'from calc_passwd import calc_passwd; print(calc_passwd("12345/E0QM98765"))'
      * Online
          https://www.oxygen7.cn/miwifi/
      
      
      
      Debricking (lite)
      If you have a healthy bootloader, you can use recovery via TFTP using
      programs like TinyPXE on Windows or dnsmasq on Linux. To switch the router
      to TFTP recovery mode, hold down the reset button, connect the power
      supply, and release the button after about 10 seconds. The router must be
      connected directly to the PC via the LAN port.
      
      Debricking
      You will need a full dump of your flash, a CH341 programmer, and a clip
      for in-circuit programming.
      
      Install OpenWRT
      1. Obtain SSH Access.
      2. Create script (on router):
          echo '#!/bin/sh' > /tmp/flash_fw.sh
          echo >> /tmp/flash_fw.sh
          echo '. /bin/boardupgrade.sh' >> /tmp/flash_fw.sh
          echo >> /tmp/flash_fw.sh
          echo 'board_prepare_upgrade' >> /tmp/flash_fw.sh
          echo 'mtd erase rootfs_data' >> /tmp/flash_fw.sh
          echo 'mtd write /tmp/openwrt.bin firmware' >> /tmp/flash_fw.sh
          echo 'sleep 3' >> /tmp/flash_fw.sh
          echo 'reboot' >> /tmp/flash_fw.sh
          echo >> /tmp/flash_fw.sh
          chmod +x /tmp/flash_fw.sh
      3. Copy `openwrt-ath79-generic-xiaomi_aiot-ac2350-squashfs-sysupgrade.bin`
         to the router (on PC):
          scp openwrt-ath79-generic-xiaomi_aiot-ac2350-squashfs-sysupgrade.bin \
          root@192.168.31.1:/tmp/openwrt.bin
      4. Flash OpenWRT (on router):
          /bin/ash /tmp/flash_fw.sh &
      5. SSH connection will be interrupted - this is normal.
      6. Wait for the indicator to turn blue.
      Signed-off-by: default avatarEvgeniy Isaev <isaev.evgeniy@gmail.com>
      [improve commit message formatting slightly]
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      6c148116
  10. 04 Jul, 2021 2 commits
    • Diogenes Rengo's avatar
      ath79: add support for TP-Link TL-WR941HP v1 · cce2e8db
      Diogenes Rengo authored
      Specifications:
          SOC:        Qualcomm Atheros TP9343 (750 MHz)
          Flash:      8 Mb (GigaDevice GD25Q64CSIG)
          RAM:        64 Mb (Zentel A3R12E40DBF-8E)
          Serial:     yes, 4-pin header
          Wlan:       Qualcomm Atheros TP9343, antenna: MIM0 3x3:3 RP-SMA
                      3 x 2.4GHz power amp module Skyworks (SiGe) SE2576L
          Ethernet:   Qualcomm Atheros TP9343
          Lan speed:  100M ports: 4
          Lan speed:  100M ports: 1
          Other info: same case, ram and flash that TP-Link TL-WR841HP,
                      different SOC
      
          https://forum.openwrt.org/t/adding-device-support-tp-link-wr941hp/
      
      
      
      Label MAC addresses based on vendor firmware:
          LAN   *:ee  label
          WAN   *:ef  label +1
          WLAN  *:ee  label
      
          The label MAC address found in "config" partition at 0x8
      
      Flash instruction:
          Upload the generated factory firmware on web interface.
      Signed-off-by: default avatarDiogenes Rengo <rengocbx250@gmail.com>
      [remove various whitespace issues, squash commits, use short 0x0]
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      cce2e8db
    • Russell Senior's avatar
      ath79: add support for Ubiquiti PowerBeam M (XW) · 12eb5b23
      Russell Senior authored
      This patch adds support for the Ubiquiti PowerBeam M (XW), e.g. PBE-M5-400,
      a 802.11n wireless with a feed+dish form factor. This device was previously
      supported by the ar71xx loco-m-xw firmware.
      
      Specifications:
       - Atheros AR9342 SoC
       - 64 MB RAM
       - 8 MB SPI flash
       - 1x 10/100 Mbps Ethernet port, 24 Vdc PoE-in
       - Power and LAN green LEDs
       - 4x RSSI LEDs (red, orange, green, green)
       - UART (115200 8N1)
      
      Flashing via stock GUI:
       - Downgrade to AirOS v5.5.x (latest available is 5.5.10-u2) first (see
         https://openwrt.org/toh/ubiquiti/powerbeam installation instructions)
       - Upload the factory image via AirOS web GUI.
      
      Flashing via TFTP:
       - Use a pointy tool (e.g., unbent paperclip) to keep the
         reset button pressed.
       - Power on the device (keep reset button pressed).
       - Keep pressing until LEDs flash alternatively LED1+LED3 =>
         LED2+LED4 => LED1+LED3, etc.
       - Release reset button.
       - The device starts a TFTP server at 192.168.1.20.
       - Set a static IP on the computer (e.g., 192.168.1.21/24).
       - Upload via tftp the factory image:
          $ tftp 192.168.1.20
          tftp> bin
          tftp> trace
          tftp> put openwrt-ath79-generic-xxxxx-ubnt_powerbeam-m-xw-squashfs-factory.bin
      
      WARNING: so far, no non-destructive method has been discovered for
      opening the enclosure to reach the serial console. Internal photos
      are available here: https://fcc.io/SWX-NBM5HP
      
      Signed-off-by: default avatarRussell Senior <russell@personaltelco.net>
      12eb5b23
  11. 02 Jul, 2021 4 commits
    • Nicholas Smith's avatar
      .gitignore: ignore any .vscode* file · 3c3a96df
      Nicholas Smith authored
      
      
      .vscode-ctags are being tracked by git. Update .gitignore to
      include any .vscode* file
      Signed-off-by: default avatarNicholas Smith <nicholas@nbembedded.com>
      3c3a96df
    • Jo-Philipp Wich's avatar
      iwinfo: build with nl80211 backend only and make shared · 5a106575
      Jo-Philipp Wich authored
      
      
      Drop support for building the obsolete broadcom-wl backend and always
      forcibly enable the nl82011 support. This allows us to make the package
      shared again since no target specific compilation is happening anymore.
      
      This will solve various repository coherency issues related to unavailable
      libiwinfo versions in the long run.
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      5a106575
    • Petr Štetiar's avatar
      treewide: unmark selected packages nonshared · 8307da3d
      Petr Štetiar authored
      This partially reverts changes done in commit 72cc4495 ("treewide:
      mark selected packages nonshared") as it removes the nonshared flag, but
      keeps the PKG_RELEASE as the PKG_RELEASE bump while adding nonshared
      flag was incorrect.
      
      Unmark uci, ubus, libubox, lua, libnl-tiny and libjson-c as nonshared
      packages as this fix attempt didn't worked out. Currently the
      imagebuilder is broken again:
      
       openwrt-imagebuilder-21.02.0-rc3-ipq40xx-generic.Linux-x86_64$ make image PROFILE=avm_fritzbox-7530 PACKAGES=luci-ssl-openssl
       ...
       Collected errors:
        * pkg_hash_check_unresolved: cannot find dependency libiwinfo20210430 for luci-mod-status
        * pkg_hash_fetch_best_installation_candidate: Packages for luci-mod-status found, but incompatible with the architectures configured
        * pkg_hash_check_unresolved: cannot find dependency libiwinfo20210430 for rpcd-mod-iwinfo
        * pkg_hash_fetch_best_installation_candidate: Packages for rpcd-mod-iwinfo found, but incompatible with the architectures configured
        * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-ssl-openssl:
        * 	libiwinfo20210430
        * opkg_install_cmd: Cannot install package luci-ssl-openssl.
      
      Everything because iwinfo's ABI was changed two times since rc3 release:
      
       +IWINFO_ABI_VERSION:=20210430
       +IWINFO_ABI_VERSION:=20210420
      
      Since iwinfo is marked as nonshared, it wasn't built by phase2 builders, but
      luci-mod-status was already updated 2 times since rc3 and was thus rebuilt by
      phase2 builders:
      
       d1d452ed2fb3 luci-mod-status: don't set '-' hostname when creating static lease
       95b3633055c1 luci-mod-status: switch to html table for wlan channel analysis
      
      So now luci-mod-status depends on libiwinfo20210430 but only
      libiwinfo20210106 can be downloaded. This is first part of the fix, in
      the upcoming commit Jo is going to remove nonshared flag from iwinfo
      package as well.
      
      References: https://lists.infradead.org/pipermail/openwrt-devel/2021-July/035736.html
      References: https://lists.infradead.org/pipermail/openwrt-devel/2021-July/035741.html
      
      Acked-by: default avatarJo-Philipp Wich <jo@mein.io>
      Reported-by: default avatarNick Hainke <vincent@systemli.org>
      Signed-off-by: default avatarPetr Štetiar <ynezz@true.cz>
      8307da3d
    • Arjun AK's avatar
      package/comgt: Handle bind/unbind events · 89ef883b
      Arjun AK authored
      This script was expecting only add/remove events which has not been the
      case since Kernel 4.12 (which added bind/unbind). Bind events were getting
      treated as remove events which would cause hotplugged 3g modems to not
      work.
      
      More info:
      https://lkml.org/lkml/2018/12/23/128
      https://github.com/systemd/systemd/issues/8221
      
      Signed-off-by: default avatarArjun AK <arjunak234@gmail.com>
      89ef883b
  12. 01 Jul, 2021 1 commit
    • David Bauer's avatar
      ath79: resolve GPIO address conflicts · 04942780
      David Bauer authored
      
      
      The ar71xx GPIO driver only uses 0x24 registers, all following GPIO
      registers are using to control pinmux functions, which are not handles
      by the GPIO driver but the generic Linux pinctrl driver.
      
      For some SoC conflicting address ranges were defined for these (AR7240 &
      AR9330).
      
      Resolve these cases and align the address space of the GPIO controller
      between all SoCs, as the used address space of the driver is identical
      for all these.
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      04942780