Skip to content
Snippets Groups Projects
  1. Jan 15, 2022
    • Joshua Roys's avatar
      ipq40xx: add support for ASUS RT-ACRH17/RT-AC42U · 51b9aef5
      Joshua Roys authored
      
      SOC:	IPQ4019
      CPU:	Quad-core ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
      DRAM:	256 MB
      NAND:	128 MiB Macronix MX30LF1G18AC
      ETH:	Qualcomm Atheros QCA8075 Gigabit Switch (4x LAN, 1x WAN)
      USB:	1x 3.0 (via Synopsys DesignWare DWC3 controller in the SoC)
      WLAN1:	Qualcomm Atheros QCA4019 2.4GHz 802.11bgn 2x2:2
      WLAN2:	Qualcomm Atheros QCA9984 5GHz 802.11nac 4x4:4
      INPUT:	1x WPS, 1x Reset
      LEDS:	Status, WIFI1, WIFI2, WAN (red & blue), 4x LAN
      
      This board is very similar to the RT-ACRH13/RT-AC58U. It must be flashed
      with an intermediary initramfs image, the jffs2 ubi volume deleted, and
      then finally a sysupgrade with the final image performed.
      
      Signed-off-by: default avatarJoshua Roys <roysjosh@gmail.com>
      (added ALT0)
      Signed-off-by: default avatarChristian Lamparter <chunkeey@gmail.com>
      51b9aef5
    • Michael Pratt's avatar
      ramips: fix reboot for remaining 32 MB boards · 74516f43
      Michael Pratt authored
      
      The following devices have a Winbond W25Q256FV flash chip,
      which does not have the RESET pin enabled by default,
      and otherwise would require setting a bit in a status register.
      
      Before moving to Linux 5.4, we had the patch:
      0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch
      which kept specific flash chips with explicit 3-byte and 4-byte address modes
      to stay in 3-byte address mode while idle (after an erase or write)
      by using a custom flag SPI_NOR_4B_READ_OP that was part of the patch.
      
      this was obsoleted by the patch:
      481-mtd-spi-nor-rework-broken-flash-reset-support.patch
      which uses the newer upstream flag SNOR_F_BROKEN_RESET
      for devices with a flash chip that cannot be hardware reset with RESET pin
      and therefore must be left in 3-byte address mode when idle.
      
      The new patch requires that the DTS of affected devices
      have the property "broken-flash-reset", which was not yet added for most of them.
      
      This commit adds the property for remaining affected devices in ramips target,
      specifically because of the flash chip model.
      
      However, it is possible that there are other devices
      where the flash chip uses an explicit 4-byte address mode
      and the RESET pin is not connected to the SOC on the board,
      and those DTS would also need this property.
      
      Ref: 22d982ea ("ramips: add support for switching between 3-byte and 4-byte addressing")
      Ref: dfa521f1 ("generic: spi-nor: rework broken-flash-reset")
      Signed-off-by: default avatarMichael Pratt <mcpratt@pm.me>
      74516f43
    • Paul Spooren's avatar
      at91: drop /etc/config/firewall · daae59b7
      Paul Spooren authored
      
      The file can't be part of base files or the base-files and firewall
      packages collide. Two packages must not provide the same config files
      without having a defined CONFLICT since it would result in an
      undeterministic config state depending on what package is installed
      last.
      
      Signed-off-by: default avatarPaul Spooren <mail@aparcar.org>
      daae59b7
    • SeongUk Moon's avatar
      ramips: add support for ipTIME A6004NS-M · 9c8ccdcd
      SeongUk Moon authored
      
      ipTIME A6004NS-M is a 2.4/5GHz band AC1900 router, based on MediaTek MT7621A.
      
      Specifications:
      - SoC: MediaTek MT7621A (880MHz, Duel-Core)
      - RAM: DDR3 256MB
      - Flash: SPI NOR 16MB (Winbond W25Q128BV)
      - WiFi: MediaTek MT7615E (2.4GHz, 5GHz)
      - Ethernet: MediaTek MT7530 (WAN x1, LAN x4, SoC built-in Estimated)
      - USB: USB 3.0 x1
      - UART: [3.3V, TX, RX, GND] (57600 8N1)
      
      Installation via web interface:
      1. Flash initramfs image using OEM's Firmware Update page.
      2. Connect to OpenWrt with an SSH connection to `192.168.1.1`.
      3. Perform sysupgrade with sysupgrade image.
      
      Revert to stock firmware:
      1.  Flash stock firmware via OEM's Recovery mode
      
      How to use OEM's Recovery mode:
      1. Power on the device and connect the shell through UART.
      2. Connect to the shell and press the `t` key on the keyboard.
      3. Set fixed IP with  `192.168.0.2`  with subnet mask  `255.255.255.0`
      4. Flash image via TFTP to  `192.168.0.1`
      
      Additional Notes:
      1. The higher the 5Ghz Frequency, the lower the stability. It is recommended to use less than 5.775Ghz.
      2. If the 5Ghz frequency is too high, 5Ghz may not work.
      3. A6ns-M use shared dtsi file of A6004NS-M. (reference: /mt7621_iptime_a6004ns-m.dtsi).
      
      Signed-off-by: default avatarSeongUk Moon <antegral@antegral.net>
      [convert CRLF to LF]
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      9c8ccdcd
    • Kyoungkyu Park's avatar
      ramips: add support for HUMAX E2 · 6041c693
      Kyoungkyu Park authored
      
      HUMAX E2 (also known as HUMAX QUANTUM E2) is a 2.4/5GHz band AC router,
      based on MediaTek MT7620A.
      
      Specifications:
      - SoC: MT7620A
      - RAM: DDR2 64MB
      - Flash: SPI NOR 8MB (MXIC MX25L6405D)
      - WiFi:
        - 2.4GHz: SoC internal
        - 5GHz: MT7610E
      - Ethernet: 1x 10/100Mbps
        - Switch: SoC internal
      - UART: J2 (57600 8N1)
        - pinout: [3V3] (RXD) (GND) (TXD)
      
      Installation and Recovery via TFTP:
      1. Connect ethernet cable between Router port and PC Ethernet port.
      2. Set your computer to a static IP **192.168.1.1**
      3. Turn the device off and wait a few seconds. Hold the WPS button on front
         of device and insert power.
      4. Send a firmware image to **192.168.1.6** using TFTP.
         You can use any TFTP client. (tftp, curl, Tftpd64...)
      5. Wait until Power LED stop flashing. **DO NOT TURN OFF DEVICE!**
         The device will be automatically rebooted.
      
      Signed-off-by: default avatarKyoungkyu Park <choryu.park@choryu.space>
      6041c693
    • David Bauer's avatar
      lantiq: add additional caldata offsets · 7f770592
      David Bauer authored
      
      It was reported the AVM FritzBox 7430 has different offsets for the
      caldata depending on the device.
      
      Whether this is due to custom bad-block handling or up to the installed
      bootloader-version is unknown.
      
      Try both known caldata offsets like it is already done for the ipq40xx
      NAND based models. Use the same approach for the FritzBox 7412. While it
      is currently unknown, whether it is affected, applying the same logic
      has no downsides.
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      7f770592
  2. Jan 14, 2022
  3. Jan 13, 2022
  4. Jan 12, 2022
  5. Jan 11, 2022
  6. Jan 10, 2022
  7. Jan 09, 2022
    • Sven Eckelmann's avatar
      ath79: Add support for OpenMesh OM5P-AC v1 · 97f56172
      Sven Eckelmann authored
      Device specifications:
      ======================
      
      * Qualcomm/Atheros QCA9558 ver 1 rev 0
      * 720/600/240 MHz (CPU/DDR/AHB)
      * 128 MB of RAM
      * 16 MB of SPI NOR flash
        - 2x 7 MB available; but one of the 7 MB regions is the recovery image
      * 2T2R 2.4 GHz Wi-Fi (11n)
      * 2T2R 5 GHz Wi-Fi (11ac)
      * 6x GPIO-LEDs (3x wifi, 2x ethernet, 1x power)
      * external h/w watchdog (enabled by default))
      * TTL pins are on board (arrow points to VCC, then follows: GND, TX, RX)
      * TI tmp423 (package kmod-hwmon-tmp421) for temperature monitoring
      * 2x ethernet
        - eth0
          + AR8035 ethernet PHY (RGMII)
          + 10/100/1000 Mbps Ethernet
          + 802.3af POE
          + used as LAN interface
        - eth1
          + AR8035 ethernet PHY (SGMII)
          + 10/100/1000 Mbps Ethernet
          + 18-24V passive POE (mode B)
          + used as WAN interface
      * 12-24V 1A DC
      * internal antennas
      
      Flashing instructions:
      ======================
      
      Various methods can be used to install the actual image on the flash.
      Two easy ones are:
      
      ap51-flash
      ----------
      
      The tool ap51-flash (https://github.com/ap51-flash/ap51-flash
      
      ) should be
      used to transfer the image to the u-boot when the device boots up.
      
      initramfs from TFTP
      -------------------
      
      The serial console must be used to access the u-boot shell during bootup.
      It can then be used to first boot up the initramfs image from a TFTP server
      (here with the IP 192.168.1.21):
      
         setenv serverip 192.168.1.21
         setenv ipaddr 192.168.1.1
         tftpboot 0c00000 <filename-of-initramfs-kernel>.bin && bootm $fileaddr
      
      The actual sysupgrade image can then be transferred (on the LAN port) to the
      device via
      
        scp <filename-of-squashfs-sysupgrade>.bin root@192.168.1.1:/tmp/
      
      On the device, the sysupgrade must then be started using
      
        sysupgrade -n /tmp/<filename-of-squashfs-sysupgrade>.bin
      
      Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
      97f56172
    • Sven Eckelmann's avatar
      ath79: Add support for OpenMesh OM5P-AN · 72ef5945
      Sven Eckelmann authored
      Device specifications:
      ======================
      
      * Qualcomm/Atheros AR9344 rev 2
      * 560/450/225 MHz (CPU/DDR/AHB)
      * 64 MB of RAM
      * 16 MB of SPI NOR flash
        - 2x 7 MB available; but one of the 7 MB regions is the recovery image
      * 1T1R 2.4 GHz Wi-Fi
      * 2T2R 5 GHz Wi-Fi
      * 6x GPIO-LEDs (3x wifi, 2x ethernet, 1x power)
      * 1x GPIO-button (reset)
      * external h/w watchdog (enabled by default)
      * TTL pins are on board (arrow points to VCC, then follows: GND, TX, RX)
      * TI tmp423 (package kmod-hwmon-tmp421) for temperature monitoring
      * 2x ethernet
        - eth0
          + AR8035 ethernet PHY
          + 10/100/1000 Mbps Ethernet
          + 802.3af POE
          + used as LAN interface
        - eth1
          + 10/100 Mbps Ethernet
          + builtin switch port 1
          + 18-24V passive POE (mode B)
          + used as WAN interface
      * 12-24V 1A DC
      * internal antennas
      
      Flashing instructions:
      ======================
      
      Various methods can be used to install the actual image on the flash.
      Two easy ones are:
      
      ap51-flash
      ----------
      
      The tool ap51-flash (https://github.com/ap51-flash/ap51-flash
      
      ) should be
      used to transfer the image to the u-boot when the device boots up.
      
      initramfs from TFTP
      -------------------
      
      The serial console must be used to access the u-boot shell during bootup.
      It can then be used to first boot up the initramfs image from a TFTP server
      (here with the IP 192.168.1.21):
      
         setenv serverip 192.168.1.21
         setenv ipaddr 192.168.1.1
         tftpboot 0c00000 <filename-of-initramfs-kernel>.bin && bootm $fileaddr
      
      The actual sysupgrade image can then be transferred (on the LAN port) to the
      device via
      
        scp <filename-of-squashfs-sysupgrade>.bin root@192.168.1.1:/tmp/
      
      On the device, the sysupgrade must then be started using
      
        sysupgrade -n /tmp/<filename-of-squashfs-sysupgrade>.bin
      
      Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
      72ef5945
Loading