Skip to content
Snippets Groups Projects
  1. Jun 29, 2021
    • David Bauer's avatar
    • Dark4MD's avatar
      ramips-mt76x8: add Xiaomi Mi Router 4C · aab7d8ac
      Dark4MD authored
      Specifications:
      
      - CPU: MediaTek MT7628AN (580MHz)
      - Flash: 16MB
      - RAM: 64MB DDR2
      - 2.4 GHz: IEEE 802.11b/g/n with Integrated LNA and PA
      - Antennas: 4x external single band antennas
      - WAN: 1x 10/100M
      - LAN: 2x 10/100M
      - LEDs: 2x yellow/blue. Programmable (labelled as power on case)
                            - Non-programmable (shows WAN activity)
      - Button: Reset
      
      How to install:
      
      1- Use OpenWRTInvasion to gain telnet and ftp access.
      2- Push openwrt firmware to /tmp/ using ftp.
      3- Connect to router using telnet. (IP: 192.168.31.1 -
         Username: root - No password)
      4- Use command "mtd -r write /tmp/firmware.bin OS1" to flash into
         the router..
      5- It takes around 2 minutes. After that router will restart itself
         to OpenWrt.
      aab7d8ac
    • Dark4MD's avatar
      ramips-mt7621: add Xiaomi Mi Router 4A (Gigabit Edition) · a5e085b5
      Dark4MD authored
      Specifications:
      
      - SoC:      MediaTek MT7621
      - Flash:    16 MiB NOR SPI
      - RAM:      128 MiB DDR3
      - Ethernet: 3x 10/100/1000 Mbps (switched, 2xLAN + WAN)
      - WIFI0:    MT7603E 2.4GHz 802.11b/g/n
      - WIFI1:    MT7612E 5GHz 802.11ac
      - Antennas: 4x external (2 per radio), non-detachable
      - LEDs:     Programmable "power" LED (two-coloured, yellow/blue)
                  Non-programmable "internet" LED (shows WAN activity)
      - Buttons:  Reset
      
      Installation:
      
      Bootloader won't accept any serial input unless "boot_wait" u-boot
      environment variable is changed to "on".
      
      Vendor firmware won't accept any serial input until "uart_en" is
      set to "1".
      
      Using the https://github.com/acecilia/OpenWRTInvasion exploit you
      can gain access to shell to enable these options:
      
      To enable uart keyboard actions - 'nvram set uart_en=1'
      To make uboot delay boot work - 'nvram set boot_wait=on'
      Set boot delay to 5 - 'nvram set bootdelay=5'
      
      Then run 'nvram commit' to make the changes permanent.
      
      Once in the shell (following the OpenWRTInvasion instructions) you
      can then run the following to flash OpenWrt and then reboot:
      
      'cd /tmp; curl https://downloads.openwrt.org/...-sysupgrade.bin
        --output firmware.bin; mtd -e OS1 -r write firmware.bin OS1'
      a5e085b5
  2. Jun 28, 2021
  3. Jun 26, 2021
  4. Jun 21, 2021
  5. Jun 15, 2021
  6. Jun 10, 2021
  7. May 27, 2021
  8. Apr 27, 2021
  9. Apr 14, 2021
  10. Jan 13, 2021
  11. Jan 10, 2021
  12. Dec 11, 2020
  13. Nov 14, 2020
  14. Nov 05, 2020
  15. Oct 06, 2020
  16. Sep 02, 2020
  17. Sep 01, 2020
  18. Aug 29, 2020
  19. Aug 28, 2020
    • Andreas Ziegler's avatar
    • Matthias Schiffer's avatar
      features: fix handling of logical expressions · 13b743d5
      Matthias Schiffer authored
      The rewrite of the feature handling introduced multiple major bugs. One
      of them was caused by the way Lua's logical operators work:
      
      An expression of the form
      
          _'autoupdater' and _'web-advanced'
      
      would return 'web-advanced' rather than the boolean true when _ returned
      both strings unchanged (because the features are enabled).
      
      As entries with more than a single feature name in their expressions did
      not set no_default, Gluon would then attempt to add gluon-web-advanced to
      the package selection, as web-advanced is a "pure" feature.
      
      To fix this, and get rid of the annoying nodefault, separate handling of
      "pure" feature and handling of logical expressions into two separate
      functions, called feature() and when(). To simplify the feature
      definitions, the package list is now passed directly to these functions
      rather than in a table with a single field 'packages'.
      
      Fixes: ee5ec5af ("build: rewrite features.sh in Lua")
      13b743d5
  20. Aug 15, 2020
  21. Aug 13, 2020
  22. Aug 08, 2020
  23. Jul 19, 2020
Loading