Skip to content
Contents

Teralink TL3020 256mb

How to install OpenWrt on the Teralink TL3020 256mb

Before installing OpenWrt on Teralink TL3020 (256mb) · MT7981, match the board revision and firmware image. Only part of the installation procedure is documented.

Back to device overview

Partial guide — the available steps do not constitute a complete procedure.

Device and hardware applicability

Teralink TL3020 · 256mb

This article belongs to this device record. Match the label, hardware revision and storage configuration before selecting firmware or following a procedure. Procedures for other configurations require a separate applicability check.

Reported hardware specifications

Specifications retain their source scope. The same chip or wireless class does not establish identical firmware, partitions or installation steps.

Installation and recovery information

Applicability and review status

Only for Teralink TL3020 · 256mb. This partially verified guide is based on its first-support commit in the local OpenWrt repository. Photos are model references. Only for TL3020 256mb. Its stock bootloader uses a 64mb layout and must first be replaced by this device’s OpenWrt U-Boot. Uploading boot files, writing bl2/fip, erasing the stock ubi and the following reboot require the running stock-firmware shell with writable partitions. Later UBI-volume commands belong only to the explicitly identified RAM recovery phase. OpenWrt makes bl2/fip read-only: do not repeat bootloader writes there or force protection off.

Preparation, backups and risk

Confirm stock shell access, stable power and a wired PC. Before writing, perform both backups below and copy them out of temporary /tmp to an independent computer; verify readability before continuing. Reboot loses temporary files. This backs up BL2/FIP, not all partitions, Factory or calibration data.

mtd read bl2 /tmp/bl2.bin
mtd read fip /tmp/fip.bin

Image selection

The original ToH snapshot’s current-release field is SNAPSHOT. Official build channels displayed on the page are recorded separately; verify stable and SNAPSHOT images independently. Actual files/checksums were not downloaded or validated. The four filenames below come from this commit: check the current build, target, layout and hashes without mixing other TL3020 configurations.

Verify the firmware SHA-256

First installation

  1. From the stock shell, SCP the boot files below into /tmp. Confirm each write command succeeds individually.

Open SSH and copy files

  • openwrt-mediatek-filogic-teralink_tl3020-256mb-bl31-uboot.fip
  • openwrt-mediatek-filogic-teralink_tl3020-256mb-preloader.bin
mtd write /tmp/openwrt-mediatek-filogic-teralink_tl3020-256mb-bl31-uboot.fip fip
mtd write /tmp/openwrt-mediatek-filogic-teralink_tl3020-256mb-preloader.bin bl2
  1. Serve the recovery image over TFTP at PC IP 192.168.1.254. Still in the stock shell, erase and reboot using the separate operations below. Erasing destroys the previous UBI system data.

Start a server on the computer if the router requests a file. If the bootloader waits for an upload, use a client in binary mode. Windows: start Tftpd64 or upload · macOS: start dnsmasq or upload · Read RRQ, WRQ and timeout logs

openwrt-mediatek-filogic-teralink_tl3020-256mb-initramfs-recovery.itb

mtd erase ubi
reboot
  1. The commit describes the new U-Boot loading recovery into RAM from TFTP. This depends on that bootloader and network configuration. If recovery is not running, stop before any subsequent UBI command.

  2. In the actual OpenWrt RAM recovery system, SCP the sysupgrade image into /tmp on device 192.168.1.1. Confirm /dev/mtd5 is this device’s UBI partition and use /tmp as the working directory. The source’s compound line is split into individual commands below: stop on the first failure.

openwrt-mediatek-filogic-teralink_tl3020-256mb-squashfs-sysupgrade.itb

ubidetach -p /dev/mtd5
ubiformat /dev/mtd5 -y
ubiattach -p /dev/mtd5
ubimkvol /dev/ubi0 -n 0 -N ubootenv -s 128KiB
ubimkvol /dev/ubi0 -n 1 -N ubootenv2 -s 128KiB
sysupgrade -n openwrt-mediatek-filogic-teralink_tl3020-256mb-squashfs-sysupgrade.itb

Verification after installation

Allow writing and reboot to finish. Check the real model, OpenWrt version, boot log and wired connectivity before configuring management. The commit does not establish a universal completion time or post-install management address.

Later upgrades and settings

The initial procedure finishes with sysupgrade -n, without keeping settings. It does not verify every later cross-release upgrade.

Recovery

Only while the matching OpenWrt U-Boot still works: serve the same recovery file from TFTP PC 192.168.1.254, power on holding Reset and release after about 10 seconds, then diagnose from RAM recovery. Do not assume this entry survives damaged BL2/FIP.

openwrt-mediatek-filogic-teralink_tl3020-256mb-initramfs-recovery.itb

Conditions for return to stock

The commit requires restoring the saved bl2/fip before flashing stock firmware. Without those backups this return path is unavailable because the vendor does not provide its bootloader download. A writable recovery environment, exact restoration order and stock image remain unverified; no forced read-only writes or invented full restore commands are given.

Match the image to its purpose

OpenWrt ToH · 2026-11-27 · 25.12.6

OpenWrt Table of Hardware

Guide sources

Comments