Skip to content
Snippets Groups Projects
  1. Dec 13, 2019
    • DENG Qingfang's avatar
      ramips: add support for JCG JHR-AC876M · 1b7199c9
      DENG Qingfang authored
      
      JCG JHR-AC876M is an AC2600M router
      
      Hardware specs:
        SoC: MT7621AT
        2.4GHz: MT7615N 4x4 @ PCIe0
        5GHz: MT7615N 4x4 @ PCIe1
        Flash: Winbond W25Q128JVSQ 16MiB
        RAM: Nanya NT5CB128M16 256MiB
        USB 2.0 and 3.0 ports
        6 LEDs, 3 of which are connected to SoC GPIO
        Reset and WPS buttons
      
      Flash instructions:
      Stock to OpenWrt:
        Upload factory.bin in stock firmware's upgrade page,
        do not preserve settings
      
      OpenWrt to stock:
        Push and hold the reset button for 5s while power cycling to
        enter recovery mode;
        Visit 192.168.1.1 and upload stock firmware
      
      MAC addresses map:
        0x0004  *:1c  wlan2g/wan/label
        0x8004  *:20  wlan5g
        0xe000  *:1b  lan
        0xe006  *:1a  not used in stock fw
      
      Signed-off-by: default avatarDENG Qingfang <dengqf6@mail2.sysu.edu.cn>
      1b7199c9
    • Adrian Schmutzler's avatar
      ramips: allow JCG_MAXSIZE in kiB in Build/jcg-header · 0bf4d681
      Adrian Schmutzler authored
      
      This allows JCG_MAXSIZE to be specified in kilobytes. This makes
      this value more consistent and easier comparable with other size
      variables.
      
      This also changes the only occurence of the variable, for Cudy WR1000.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      0bf4d681
    • Sungbo Eo's avatar
      ramips: add support for ipTIME A6ns-M · a972b1fb
      Sungbo Eo authored
      
      ipTIME A6ns-M is a 2.4/5GHz band AC1900 router, based on MediaTek MT7621A.
      
      Specifications:
      - SoC: MT7621AT
      - RAM: DDR3 128MB
      - Flash: SPI NOR 16MB
      - WiFi:
        - 2.4GHz: MT7615
        - 5GHz: MT7615
      - Ethernet: 5x 10/100/1000Mbps
        - Switch: SoC internal
      - UART:
        - J4: 3.3V, TX, RX, GND (3.3V is the square pad) / 57600 8N1
      
      Installation via web interface:
      1.  Flash **initramfs** image through the stock web interface.
      2.  Boot into OpenWrt and perform sysupgrade with sysupgrade image.
      
      Revert to stock firmware:
      1.  Perform sysupgrade with stock image.
      
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      a972b1fb
    • Adrian Schmutzler's avatar
      ramips: DTS style improvements for mt7621_wevo_w2914ns-v2.dtsi · 5cda133d
      Adrian Schmutzler authored
      
      This does several trivial DTS style improvements:
      
      - Move device name compatible to DTS files (and fix compatible in
        11acnas.dts)
      - Remove xhci node as status is set to okay in mt7621.dtsi already
      - 0x0 instead of 0x0000
      - Simplify state_default node definition
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      5cda133d
    • Sungbo Eo's avatar
      ramips: add support for ZIO FREEZIO · 0375c076
      Sungbo Eo authored
      
      ZIO FREEZIO is a 2.4/5GHz band AC1200 router, based on MediaTek MT7621A.
      
      Specifications:
      - SoC: MT7621AT
      - RAM: DDR3 128MB
      - Flash: SPI NOR 16MB
      - WiFi:
        - 2.4GHz: MT7603EN
        - 5GHz: MT7612EN
      - Ethernet: 5x 10/100/1000Mbps
        - Switch: SoC internal
      - USB: 1x 3.0
      - UART:
        - J4: 3.3V, RX, TX, GND (3.3V is the square pad) / 57600 8N1
      
      Notes:
      - FREEZIO has almost the same board as WeVO W2914NS v2.
      - Stock firmware is based on OpenWrt BB.
      
      MAC addresses in factory partition:
      0x0004: WiFi 2.4GHz (label_mac-8)
      0x002e: WAN (label_mac)
      0x8004: WiFi 5GHz (label_mac-4)
      0xe000: LAN (label_mac+1)
      
      Installation via web interface:
      1.  Access web admin page and turn on "OpenWrt UI mode".
      2.  Flash sysupgrade image through LuCI, with the "Keep settings" option
          OFF.
      
      Revert to stock firmware:
      1.  Perform sysupgrade with stock image.
          Make sure to NOT preserve settings.
      
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      [rebase, use mt7621_wevo_w2914ns-v2.dtsi]
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      0375c076
    • Roman Bazalevsky's avatar
      sunxi: add support for FriendlyARM Nano PI NEO Air dev board · 69fff339
      Roman Bazalevsky authored
      
      Hardware:
      
        Allwinner H3 upto 1.2GHz
        512MB DDR3 RAM
        8GB on-board eMMC - mountable, can be used as boot with custom boot.scr
        microSD-card slot
        WiFi 802.11n (AP6212A) - working
        Bluetooth (AP6212A) - not working for now
        Micro-USB OTG + 2*USB headers
        UART 3.3V - working
        GPIO/I2C/SPI 2.54mm headers
      
      Standard sunxi SD-card installation procedure - copy image to SD card,
      insert in into slot and boot. First time you will need UART adapter to
      enable on-board wireless (or just build custom image with enabled WiFi).
      
      To boot from eMMC:
      
        - boot from SD
        - copy SD image to emmc (dd bs=... if=.... of=/dev/mmcblk2)
        - mount eMMC boot partition and replace boot script on it
        - unmount, reboot
      
      To use i2c, spi and more uarts - replace dtb on boot partition with
      fixed one (use dtc or fdt-tools).
      
      Signed-off-by: default avatarRoman Bazalevsky <rvb@rvb.name>
      [rebase onto device name consolidation patches]
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      69fff339
    • Adrian Schmutzler's avatar
      sunxi: construct DTS name from device node name and SOC · 3a4ad758
      Adrian Schmutzler authored
      
      The device part in the SUNXI_DTS variable always corresponds to
      device node name. This is another redundancy that can be removed
      by calculating the DTS name from a newly introduced SUNXI_SOC
      variable and the node name.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      3a4ad758
    • Adrian Schmutzler's avatar
      sunxi: use vendor_device scheme for device definitions · a4cdb537
      Adrian Schmutzler authored
      
      This changes device definition to resemble the vendor_device scheme
      already present for the majority of device compatible strings.
      
      By doing this, we achieve several advantages at once:
      - Image names and node names are more consistent with other targets.
      - SUPPORTED_DEVICES can be set automatically for all but two cases.
      - Image names and node names are in line with DEVICE_TITLEs.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      a4cdb537
  2. Dec 12, 2019
  3. Dec 11, 2019
  4. Dec 10, 2019
  5. Dec 09, 2019
  6. Dec 08, 2019
    • Adrian Schmutzler's avatar
      treewide: remove dts-v1 identifier from DTSI files · 231dc268
      Adrian Schmutzler authored
      
      The "/dts-v1/;" identifier is supposed to be put once at the beginning
      of a device tree file. Thus, it makes no sense to provide it a second
      time in to-be-included DTSI files.
      
      This removes the identifier from all DTSI files in /target/linux.
      
      Most of the DTS files in OpenWrt do contain the "/dts-v1/;". It is
      missing for most of the following targets, though:
      mvebu, ipq806x, mpc85xx, ipq40xx
      
      This does not touch ipq806x for now, as the bump to 4.19 is close.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      231dc268
  7. Dec 07, 2019
Loading