Skip to content
Snippets Groups Projects
  1. Sep 25, 2021
    • Robert Marko's avatar
      ipq40xx: 5.10: copy patches · 8f27ac5e
      Robert Marko authored
      
      Copy over the 5.4 kernel patches to 5.10 folder.
      
      Signed-off-by: default avatarRobert Marko <robert.marko@sartura.hr>
      8f27ac5e
    • INAGAKI Hiroshi's avatar
      ramips: add support for I-O DATA WN-DX2033GR · 7ff0efa0
      INAGAKI Hiroshi authored
      I-O DATA WN-DX2033GR is a 2.4/5 GHz band 11ac (Wi-Fi 5) router, based on
      MT7621A.
      
      Specification:
      
      - SoC		: MediaTek MT7621A
      - RAM		: DDR3 128 MiB
      - Flash		: Raw NAND 128 MiB (Macronix MX30LF1G18AC-TI)
      - WLAN		: 2.4/5 GHz
        - 2.4 GHz	: 2T2R, MediaTek MT7603E
        - 5 GHz	: 4T4R, MediaTek MT7615
      - Ethernet	: 5x 10/100/1000 Mbps
        - Switch	: MediaTek MT7530 (SoC)
      - LEDs/Keys	: 2x/3x (2x buttons, 1x slide-switch)
      - UART		: through-hole on PCB
        - J5: 3.3V, TX, RX, NC, GND from triangle mark
        - 57600n8
      - Power		: 12 VDC, 1 A
      
      Flash instruction using initramfs image:
      
      1. Boot WN-DX2033GR normally
      2. Access to "http://192.168.0.1/
      
      " and open firmware update page
         ("ファームウェア")
      3. Select the OpenWrt initramfs image and click update ("更新") button
         to perform firmware update
      4. On the initramfs image, download the sysupgrade.bin image to the
         device and perform sysupgrade with it
      5. Wait ~120 seconds to complete flashing
      
      Notes:
      
      - The hardware of WN-DX2033GR and WN-AX2033GR are almost the same, and
        it is certified under the same radio-wave related regulations in Japan
      
      - The last 0x80000 (512 KiB) in NAND flash is not used on stock firmware
      
      - stock firmware requires "customized uImage header" (called as "combo
        image") by MSTC (MitraStar Technology Corp.), but U-Boot doesn't
      
        - uImage magic ( 0x0 - 0x3 ) : 0x434F4D42 ("COMB")
        - header crc32 ( 0x4 - 0x7 ) : with "data length" and "data crc32"
        - image name   (0x20 - 0x37) : model ID and firmware versions
        - data length  (0x38 - 0x3b) : kernel + rootfs
        - data crc32   (0x3c - 0x3f) : kernel + rootfs
      
      - There are 2x important flags in the flash:
      
        - bootnum   : select os partition for booting (persist, 0x4)
      
          - 0x01: firmware
          - 0x02: firmware_2
      
        - debugflag : allow interrupt kernel loader, it's named as "Z-LOADER"
          (Factory, 0xFE75)
      
          - 0x00: disable debug
          - 0x01: enable debug
      
      MAC addresses:
      
      LAN     : 50:41:B9:xx:xx:90 (Factory, 0xE000 (hex) / Ubootenv, ethaddr (text))
      WAN     : 50:41:B9:xx:xx:92 (Factory, 0xE006 (hex))
      2.4 GHz : 50:41:B9:xx:xx:90 (Factory, 0x4    (hex))
      5 GHz   : 50:41:B9:xx:xx:91 (Factory, 0x8004 (hex))
      
      Signed-off-by: default avatarINAGAKI Hiroshi <musashino.open@gmail.com>
      7ff0efa0
    • Paul Fertser's avatar
      realtek: fix RTL8231 gpio expander for high GPIOs · 16ae56b4
      Paul Fertser authored
      
      GPIOs > 31 require special handling. This patch fixes both the
      initialisation and direction get/set operations.
      
      Signed-off-by: default avatarPaul Fertser <fercerpav@gmail.com>
      Reviewed-by: default avatarSander Vanheule <sander@svanheule.net>
      16ae56b4
    • Felix Fietkau's avatar
    • Felix Fietkau's avatar
      tools/fakeroot: fix build error on macOS · ea44aebc
      Felix Fietkau authored
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      ea44aebc
    • Felix Fietkau's avatar
      mac80211: backport support for BSS color changes · 2bfac614
      Felix Fietkau authored
      
      This is needed for an upcoming mt76 update
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      2bfac614
  2. Sep 24, 2021
  3. Sep 23, 2021
  4. Sep 22, 2021
  5. Sep 21, 2021
    • David Lam's avatar
      6rd: delete tunnel on interface teardown · 6a2f516d
      David Lam authored
      
      Delete tunnel on 6rd interface teardown.
      Should solve problem related to tunnel stuck on restart loop
      with "Unknown Command" on tunnel restart due to wan connection drop.
      
      This patch is similar to the one written by Ansuel on Aug 2, 2021
      but the 6rd teardown produces the same symptoms when the network
      service is restarted.
      
      Signed-off-by: default avatarDavid Lam <david@thedavid.net>
      6a2f516d
    • Kuan-Yi Li's avatar
      restool: fix compilation with GCC 10 · b62a4cfc
      Kuan-Yi Li authored
      
      GCC 10 defaults to `-fno-common` and complains about multiple definition
      of `mc_status` in restool.
      
      Backport a patch from upstream to fix compilation with host GCC 10.
      
      Signed-off-by: default avatarKuan-Yi Li <kyli@abysm.org>
      b62a4cfc
Loading