Vai al contenuto
Indice
netisRelease ufficiale · Snapshot ufficiale

netis NX31

OpenWrt ToH

MT7981 · 4 × GbE · Wi-Fi 6 · 256 MB RAM — Controlla la revisione sull’etichetta, il file del firmware e la procedura di ripristino.

Fonte snapshot 2026-11-27

Compatibilità con OpenWrt

Lo stesso nome non significa lo stesso hardware. Verificare la revisione, il mezzo di archiviazione e la capacità prima di acquistare o installare. I collegamenti di compatibilità e i collegamenti del firmware importati non sono stati verificati indipendentemente.

Hardware

Specifiche

Classifica delle CPU per router · MT7981B · 5980 DMIPS

CPU / SoC
Famiglia SoC
MT7981
Core della CPU
2
Frequenza della CPU
1300 MHz
Archiviazione
Rete wireless
Gigabit Ethernet
4
2.5 GbE
Sconosciuto
USB
-
Bootloader
U-Boot
Alimentazione
12 VDC, 1A
Dimensioni e peso
Sconosciuto
Record sorgente originale · tutti i campi conservati

Prima di scegliere

Compatibilità con OpenWrt

Release ufficiale · Snapshot ufficiale
Rilascio elencato nella fonte
25.12.6
Prima versione supportata
24.10.1
Revisione hardware
Revisione non specificata

Una voce ufficiale di ToH stabilisce l'inclusione del catalogo. Le versioni correnti, le istantanee e le condizioni di installazione vengono registrate separatamente; la verifica della compilazione incompleta o di EOL non nasconde il dispositivo.

Esegue il controllo delle correnti di compilazione: 2026-11-07

Condizioni di installazione · Si applicano le condizioni preliminari

Una build ufficiale non stabilisce un percorso di installazione a partire dal tuo firmware OEM attuale. Verifica la revisione esatta, il bootloader e i prerequisiti prima di acquistare o installare.

Prove ufficiali di costruzione

Limitazioni elencate nella fonte
Change U-Boot to OpenWrt U-Boot

Seguire le istruzioni ufficiali specifiche del dispositivo e le istruzioni di checksum. GeeksMeta non verifica le immagini né esegue i passi di installazione.

Guida all’installazione di OpenWrt

Alcune fonti necessitano ancora di verifica; seguire solo le informazioni confermate qui di seguito.

Corrispondere la revisione e leggere prima lo stato della guida. Tenere la porta di recupero e le condizioni di ingresso sul computer prima di decidere se scrivere un'immagine.

netis NX31 supporta OpenWrt? Cosa verificare prima dell’installazione

Fonti e documentazione archiviata

Gli estratti sono memorizzati localmente con questo dispositivo. Una sorgente leggibile non verifica un percorso di installazione; le informazioni a livello di modello non si applicano a ogni revisione hardware.

Alcune fonti raccolte; la verifica rimane incompleta · Verificato: 2026-11-11

RAM · Verificato · Informazioni a livello di modello

256 MB
- RAM : 256 MiB DDR3
Sorgente collegata ↧

Componenti della memoria flash · Verificato · Informazioni a livello di modello

128 MB NAND
- Flash : SPI-NAND 128 MiB (ESMT)
Sorgente collegata ↧

CPU / SoC · Verificato · Revisione hardware esatta

MediaTek MT7981B
{"CPU":"MediaTek MT7981B"}
Sorgente collegata ↧

Core della CPU · Verificato · Revisione hardware esatta

2
{"CPU Cores_numcores":"2"}
Sorgente collegata ↧

Frequenza della CPU · Verificato · Revisione hardware esatta

1300 MHz
{"CPU MHz":"1300"}
Sorgente collegata ↧

RAM · Verificato · Revisione hardware esatta

256 MB
{"RAM MB":"256"}
Sorgente collegata ↧

Bootloader · Verificato · Revisione hardware esatta

U-Boot
{"Bootloader":"U-Boot"}
Sorgente collegata ↧

Alimentazione · Verificato · Revisione hardware esatta

12 VDC, 1A
{"Power Supply":"12 VDC, 1A"}
Sorgente collegata ↧

Console seriale · Verificato · Revisione hardware esatta

Yes
{"Serial":"Yes"}
Sorgente collegata ↧

Impostazioni della porta seriale · Verificato · Revisione hardware esatta

115200 / 8N1
{"Serial connection parameters":"115200 / 8N1"}
Sorgente collegata ↧

Tensione della porta seriale · Verificato · Revisione hardware esatta

3.3
{"Serial connection voltage":"3.3"}
Sorgente collegata ↧

Rete wireless · 2.4 GHz · Verificato · Revisione hardware esatta

b/g/n/ax
{"WLAN 2.4GHz":"b/g/n/ax"}
Sorgente collegata ↧

Rete wireless · 5 GHz · Verificato · Revisione hardware esatta

a/n/ac/ax
{"WLAN 5.0GHz":"a/n/ac/ax"}
Sorgente collegata ↧

Sito web produttore · Verificato · Revisione hardware esatta

https://www.netisru.com/products/NX31.html
{"OEM Device Homepage URL":"https://www.netisru.com/products/NX31.html"}
Sorgente collegata ↧

Sorgente firmware stock · Verificato · Revisione hardware esatta

https://www.netisru.com/support/downinfo.html?id=31
{"Firmware OEM Stock URL":"https://www.netisru.com/support/downinfo.html?id=31"}
Sorgente collegata ↧

Release ufficiale · Prima installazione · Verificato · Revisione hardware esatta

https://downloads.openwrt.org/releases/24.10.5/targets/mediatek/filogic/openwrt-24.10.5-mediatek-filogic-netis_nx31-initramfs-recovery.itb
{"Firmware OpenWrt Install URL":["https://downloads.openwrt.org/releases/24.10.5/targets/mediatek/filogic/openwrt-24.10.5-mediatek-filogic-netis_nx31-initramfs-recovery.itb"]}
Sorgente collegata ↧

Release ufficiale · Aggiornare un’installazione OpenWrt · Verificato · Revisione hardware esatta

https://downloads.openwrt.org/releases/24.10.5/targets/mediatek/filogic/openwrt-24.10.5-mediatek-filogic-netis_nx31-squashfs-sysupgrade.itb
{"Firmware OpenWrt Upgrade URL":["https://downloads.openwrt.org/releases/24.10.5/targets/mediatek/filogic/openwrt-24.10.5-mediatek-filogic-netis_nx31-squashfs-sysupgrade.itb"]}
Sorgente collegata ↧

Snapshot ufficiale · Prima installazione · Verificato · Revisione hardware esatta

https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-netis_nx31-initramfs-recovery.itb
{"Firmware OpenWrt snapshot Install URL":["https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-netis_nx31-initramfs-recovery.itb"]}
Sorgente collegata ↧

Snapshot ufficiale · Aggiornare un’installazione OpenWrt · Verificato · Revisione hardware esatta

https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-netis_nx31-squashfs-sysupgrade.itb
{"Firmware OpenWrt snapshot Upgrade URL":["https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-netis_nx31-squashfs-sysupgrade.itb"]}
Sorgente collegata ↧
Cronologia delle ricerche
  • "netis" "NX31" stock firmware restore unbrick
  • "netis" "EAP930" (specifications OR firmware OR OpenWrt OR recovery)
  • "netis" "N6" (specifications OR firmware OR OpenWrt OR recovery)
  • "netis" "NX30" (specifications OR firmware OR OpenWrt OR recovery)
  • "netis" "NX31" (specifications OR firmware OR OpenWrt OR recovery)
  • "netis" "nx31" stock firmware restore unbrick
  • "netis" "NX31" specifications manufacturer
  • "netis" "NX31" OpenWrt installation backup recovery
  • "netis" "nx31" OpenWrt installation backup recovery
  • "netis" "nx31" specifications manufacturer
[OpenWrt Wiki] netis NX31 · Raccolto

Documentazione ufficiale · Cattura del browser · Verificato: 2026-11-09

URL della fonte originale: https://openwrt.org/toh/netis/nx31 ↗

Scoperto da: https://openwrt.org/toh.json ↗

Licenza: CC BY-SA 4.0 ↗

Estratto fuori rete

OpenWrt Wiki
Tools
User Tools
Log In
Site Tools
Recent Changes
Media Manager
Sitemap
Page Tools
Show pagesource
Old revisions
Backlinks
Back to top
Translations of this page
Translations of this page ?
English (en)
|العربية (ar)
Česky (cs)
Deutsch (de)
Español (es)
Français (fr)
Magyar (hu)
Italiano (it)
日本語 (ja)
한국어 (ko)
Polski (pl)
Português (pt)
Português (pt-br)
Русский (ru)
Türkçe (tr)
Українська (uk)
Tiếng Việt (vi)
中文 (zh)
繁體中文 (zh-tw)
 Log In
You are here
Home
Table of Hardware
netis
netis NX31

Learn about OpenWrt
Learn about OpenWrt
Supported devices
Packages
Downloads
Documentation
Quick start guide
User guide
Developer guide
Security
FAQ
Forum
Contributing
Submitting patches
Reporting bugs
Contributing to wiki
Project
About OpenWrt
Rules
Infrastructure
Mirrors
Donate
Merchandise
Website
Trademark policy
License
Contacts
Privacy policy
Show pagesource
Old revisions
Backlinks
Back to top
×
Table of Contents
netis NX31
Supported Versions
Experimental Versions
Hardware Highlights
Installation
Backup
OpenWrt installation
Update BL2 (optional, from OpenWrt)
Flash Layout
OEM easy installation
OEM installation using the TFTP method
Upgrading OpenWrt
LuCI Web Upgrade Process
Terminal Upgrade Process
Return to stock
Debricking
OpenWrt U-Boot
mtkuartboot
Failsafe mode
Basic configuration
Specific Configuration
Network interfaces
Switch Ports (for VLANs)
Buttons
Hardware
Info
Photos
Opening the case
Serial
JTAG
Bootloader mods
Hardware mods
Bootlogs
OEM bootlog
OpenWrt bootlog
Notes
Tags
netis NX31

The netis NX31 is a WiFi 6 AX3000 router. It supports two 802.11ax streams on both 2.4GHz@40MHz and 5GHz@160MHz for a combined 3000Mbps wireless speed.

Supported Versions

Experimental Versions

None at this time.

Hardware Highlights

Installation

→ Install OpenWrt (generic explanation)

Backup

1. Connect to the router using ssh (user: admin, pass: web interface password)

2. Make mtd backup:

cat /dev/mtd0 | gzip -1 -c > /tmp/mtd0_spi0.0.bin.gz
cat /dev/mtd1 | gzip -1 -c > /tmp/mtd1_BL2.bin.gz
cat /dev/mtd2 | gzip -1 -c > /tmp/mtd2_u-boot-env.bin.gz
cat /dev/mtd3 | gzip -1 -c > /tmp/mtd3_Factory.bin.gz
cat /dev/mtd4 | gzip -1 -c > /tmp/mtd4_FIP.bin.gz
cat /dev/mtd5 | gzip -1 -c > /tmp/mtd5_ubi.bin.gz

3. Download mtd backup from the /tmp dir of the router to your PC using scp protocol (for example, you can use WinSCP for Windows)

OpenWrt installation

Warning!

This section describes actions that might damage your device or firmware. Proceed with care!

1. Download OpenWrt images for this device from https://downloads.openwrt.org/ (choose release you need)

2. Connect to the router using ssh (user: admin, pass: web interface password)

3. Upload OpenWrt bl31-uboot.fip, preloader.bin images to the /tmp dir of the router using scp protocol

4. Write FIP and BL2 (replace bootloader):

mtd write /tmp/openwrt-mediatek-filogic-netis_nx31-bl31-uboot.fip FIP
mtd write /tmp/openwrt-mediatek-filogic-netis_nx31-preloader.bin BL2

Don't worry if the second command can't write BL2. You can update BL2 later. See Update BL2 (from OpenWrt).

5. Place OpenWrt openwrt-mediatek-filogic-netis_nx31-initramfs-recovery.itb image on the tftp server (for example, you can use tftpd64 for Windows) with IP 192.168.1.254

6. Erase ubi partition and reboot the router:

mtd erase ubi
reboot

7. U-Boot automatically boot OpenWrt recovery image from tftp server to the RAM

8. Upload OpenWrt sysupgrade.itb image to the /tmp dir of the router (IP: 192.168.1.1) using scp protocol

9. Connect to the router using ssh and run:

sysupgrade -n /tmp/openwrt-mediatek-filogic-netis_nx31-squashfs-sysupgrade.itb
Update BL2 (optional, from OpenWrt)

Warning!

This section describes actions that might damage your device or firmware. Proceed with care!

1. Connect to the router using ssh and install kmod-mtd-rw kernel module

OpenWrt newer than 24.10:

apk update && apk add kmod-mtd-rw

OpenWrt 24.10:

opkg update && opkg install kmod-mtd-rw

2. Run in ssh shell:

insmod mtd-rw i_want_a_brick=1
mtd unlock BL2

3. Upload OpenWrt preloader.bin image to the /tmp dir of the router using scp protocol

4. Write BL2:

mtd write /tmp/openwrt-mediatek-filogic-netis_nx31-preloader.bin BL2

5. Reboot the router:

reboot
Flash Layout

OpenWrt:

Start	End	Label
0x0	0x100000	BL2
0x100000	0x180000	u-boot-env (unused)
0x180000	0x380000	Factory
0x380000	0x580000	FIP
0x580000	0x8000000	ubi
OEM easy installation

None at this time.

OEM installation using the TFTP method

→ generic.flashing.tftp

None at this time.

Upgrading OpenWrt

→ generic.sysupgrade

LuCI Web Upgrade Process
Browse to http://192.168.1.1/cgi-bin/luci/admin/system/flash LuCI Upgrade URL
Upload image file for sysupgrade to LuCI
Wait for reboot
Terminal Upgrade Process
sysupgrade
Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
sysupgrade /tmp/xxx.abc
Return to stock

Warning!

This section describes actions that might damage your device or firmware. Proceed with care!

1. Unpack stock BL2 and FIP partitions backup

2. Upload stock BL2 and FIP partitions backup to the /tmp dir of the router using scp protocol

3. Connect to the router using ssh and run:

OpenWrt newer than 24.10:

apk update && apk add kmod-mtd-rw

OpenWrt 24.10:

opkg update && opkg install kmod-mtd-rw

Then:

insmod mtd-rw i_want_a_brick=1
mtd unlock BL2
mtd unlock FIP

4. Restore backup:

mtd write /tmp/mtd4_FIP.bin FIP
mtd write /tmp/mtd1_BL2.bin BL2

5. Erase ubi and reboot:

mtd erase ubi
reboot

6. Power off the router

7. Press Reset button and power on the router. Release the button after ~10 sec

8. Navigate to U-Boot recovery web server (http://192.168.1.1/) and upload the OEM firmware

Debricking

→ generic.debrick

OpenWrt U-Boot

1. Place OpenWrt openwrt-mediatek-filogic-netis_nx31-initramfs-recovery.itb image on the tftp server (for example, you can use tftpd64 for Windows) with IP 192.168.1.254

2. Press “Reset” button and power on the router. After ~10 sec release the button.

3. Use OpenWrt initramfs system for recovery

mtkuartboot

Use mtk_uartboot and UART connection if BL2 and/or FIP is destroyed. https://github.com/981213/mtk_uartboot

Failsafe mode

→ failsafe_and_factory_reset

Basic configuration

→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

Specific Configuration
Network interfaces

The default network configuration is:

Interface Name	Description	Default configuration
br-lan	LAN & WiFi	192.168.1.1/24
phy0	WiFi	Disabled, br-lan
phy1	WiFi	Disabled, br-lan
Switch Ports (for VLANs)
Port	Switch port
Internet (WAN)	eth1
LAN 1	3
LAN 2	2
LAN 3	1
Buttons

→ hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

netis NX31 has the following buttons:

BUTTON	Event
Reset	reset
Mesh	Wireless killswitch
Hardware
Info

Photos

Front:

Back:

Bottom label:

Opening the case

Warning!

This section describes actions that might damage your device or firmware. Proceed with care!

→ Warranty

The screws are located on the bottom. There are also clips around the edge of the case. You will need to try open, using, for example, a plastic card.

Main PCB:
https://www.netisru.com/review/info.html?id=9

Serial

→ port.serial general information about the serial port, serial port cable, etc.

Warning!

This section describes actions that might damage your device or firmware. Proceed with care!

To access UART, you need to unscrew the radiator plate:

Don't connect VDD (+3.3 V) pin!

Serial connection parameters
for netis NX31	115200, 8N1, 3.3V
JTAG

→ port.jtag general information about the JTAG port, JTAG cable, etc.

Bootloader mods

→ bootloader

Hardware mods

None so far.

Bootlogs
OEM bootlog

F0: 102B 0000 FA: 1040 0000 FA: 1040 0000 [0200] F9: 0000 0000 V0: 0000 0000 [0001] 00: 0000 0000 BP: 2400 0041 [0000] G0: 1190 0000 EC: 0000 0000 [1000] T0: 0000 024F [010F] Jump to BL NOTICE: BL2: v2.7(release):030963a55-dirty NOTICE: BL2: Built : 12:52:13, Jul 25 2024 NOTICE: WDT: disabled NOTICE: EMI: Using DDR3 settings dump toprgu registers data: 1001c000 | 00000000 0000ffe0 00000000 00000000 1001c010 | 00000fff 00000000 00f00000 00000000 1001c020 | 00000000 00000000 00000000 00000000 1001c030 | 003c0003 003c0003 00000000 00000000 1001c040 | 00000000 00000000 00000000 00000000 1001c050 | 00000000 00000000 00000000 00000000 1001c060 | 00000000 00000000 00000000 00000000 1001c070 | 00000000 00000000 00000000 00000000 1001c080 | 00000000 00000000 00000000 00000000 dump drm registers data: 1001d000 | 00000000 00000000 00000000 00000000 1001d010 | 00000000 00000000 00000000 00000000 1001d020 | 00000000 00000000 00000000 00000000 1001d030 | 00a083f1 000003ff 00100000 00000000 1001d040 | 00000000 00000000 00020303 000000ff 1001d050 | 00000000 00000000 00000000 00000000 1001d060 | 00000002 00000000 00000000 00000000 drm: 500 = 0x8 [DDR Reserve] ddr reserve mode not be enabled yet DDR RESERVE Success 0 [EMI] ComboMCP not ready, using default setting BYTE_swap:0 BYTE_swap:0 Window Sum 552, worse bit 0, min window 68 Window Sum 532, worse bit 8, min window 64 Window Sum 400, worse bit 4, min window 48 Window Sum 362, worse bit 11, min window 42 Window Sum 408, worse bit 1, min window 48 Window Sum 374, worse bit 12, min window 44 Window Sum 414, worse bit 1, min window 50 Window Sum 380, worse bit 13, min window 44 Window Sum 416, worse bit 1, min window 50 Window Sum 384, worse bit 13, min window 44 Window Sum 392, worse bit 11, min window 46 Window Sum 396, worse bit 13, min window 46 Window Sum 404, worse bit 11, min window 48 NOTICE: EMI: Detected DRAM size: 256MB NOTICE: EMI: complex R/W mem test passed NOTICE: CPU: MT7981 (1300MHz) NOTICE: SPI_NAND parses attributes from parameter page. NOTICE: SPI_NAND Detected ID 0xc8 NOTICE: Page size 2048, Block size 131072, size 134217728 NOTICE: Initializing NMBM ... NOTICE: Signature found at block 1023 [0x07fe0000] NOTICE: First info table with writecount 0 found in block 960 NOTICE: Second info table with writecount 0 found in block 963 NOTICE: NMBM has been successfully attached in read-only mode NOTICE: BL2: Booting BL31 NOTICE: BL31: v2.7(release):030963a55-dirty NOTICE: BL31: Built : 12:52:16, Jul 25 2024 NOTICE: Hello BL31!!! U-Boot 2022.10 (Jul 25 2024 - 12:43:55 +0800) CPU: MediaTek MT7981 Model: mt7981-rfb DRAM: 256 MiB Core: 32 devices, 12 uclasses, devicetree: separate Initializing NMBM ... spi-nand: spi_nand spi_nand@0: GigaDevice SPI NAND was found. spi-nand: spi_nand spi_nand@0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64 Could not find a valid device for nmbm0 Signature found at block 1023 [0x07fe0000] First info table with writecount 0 found in block 960 Second info table with writecount 0 found in block 963 NMBM has been successfully attached Loading Environment from UBI... ubi0: attaching mtd6 ubi0: scanning is finished ### drivers/mtd/ubi/build.c:1016:ubi_attach_mtd_dev ubi_name: autoresize_vol_id:-1 ubi0: attached mtd6 (name "ubi", size 114 MiB) ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 ubi0: good PEBs: 916, bad PEBs: 0, corrupted PEBs: 0 ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128 ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1724721743 ubi0: available PEBs: 450, total reserved PEBs: 466, PEBs reserved for bad PEB handling: 19 Read 524288 bytes from volume u-boot-env to 000000004f77e240 OK In: serial@11002000 Out: serial@11002000 Err: serial@11002000 led_init:requesting GPIO4 ok! led_init:requesting GPIO8 ok! led_init:requesting GPIO5 ok! Net: eth0: ethernet@15100000 net_ip is zero!! Forced set our IP address to 192.168.1.1 *Upgrade Prerequisites: Set our mac to 01:00:5e:00:00:c8 Set upgrade dest ip to 224.0.0.200 our ip is 192.168.1.1 Load data at 0x46000000 *Upgrade start: Multicast Upgrade Timeout... udp_loop: multi_upgrade recv data failed. [?25l*** U-Boot Boot Menu ***Press UP/DOWN to move, ENTER to select, ESC/CTRL+C to quit1. Startup system (Default)2. Upgrade firmware3. Upgrade ATF BL24. Upgrade ATF FIP5. Upgrade single image6. Load image0. U-Boot consoleHit any key to stop autoboot: 4 Hit any key to stop autoboot: 3 Hit any key to stop autoboot: 2 Hit any key to stop autoboot: 1 [?25hrun press_key_check UBI partition 'ubi' already selected Trying to boot from image slot 0 Read 64 bytes from volume kernel to 0000000046000000 Read 2895903 bytes from volume kernel to 0000000046000000 ## Checking hash(es) for FIT Image at 46000000 ... Hash(es) for Image 0 (kernel-1): crc32+ sha1+ Hash(es) for Image 1 (fdt-1): crc32+ sha1+ Read 48 bytes from volume rootfs to 00000000462c3020 Read 14850294 bytes from volume rootfs to 00000000462c3020 Hash(es) for rootfs: crc32+ sha1+ Firmware integrity verification passed ## Loading kernel from FIT Image at 46000000 ... Using 'config-1' configuration Trying 'kernel-1' kernel subimage Description: ARM64 OpenWrt Linux-5.4.246 Type: Kernel Image Compression: lzma compressed Data Start: 0x460000e8 Data Size: 2875523 Bytes = 2.7 MiB Architecture: AArch64 OS: Linux Load Address: 0x43080000 Entry Point: 0x43080000 Hash algo: crc32 Hash value: 9954e795 Hash algo: sha1 Hash value: 75a7a4fc2e6ae795bb97149a8caa9066d16b5797 Verifying Hash Integrity ... crc32+ sha1+ OK ## Loading fdt from FIT Image at 46000000 ... Using 'config-1' configuration Trying 'fdt-1' fdt subimage Description: ARM64 OpenWrt mt7981-tele-spim-nand-rfb device tree blob Type: Flat Device Tree Compression: uncompressed Data Start: 0x462be2b8 Data Size: 18319 Bytes = 17.9 KiB Architecture: AArch64 Hash algo: crc32 Hash value: 052d65da Hash algo: sha1 Hash value: 667279961227aca8dc2d57bcab1d9b42d268361e Verifying Hash Integrity ... crc32+ sha1+ OK Booting using the fdt blob at 0x462be2b8 Uncompressing Kernel Image Loading Device Tree to 000000004f7f1000, end 000000004f7f878e ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.4.246 (netcore@fa113052593d) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r0-6318ac1d8)) #0 SMP Tue Aug 27 01:22:23 2024 [ 0.000000] Machine model: MediaTek MT7981 RFB [ 0.000000] earlycon: uart8250 at MMIO32 0x0000000011002000 (options '') [ 0.000000] printk: bootconsole [uart8250] enabled [ 0.000000] On node 0 totalpages: 64512 [ 0.000000] DMA32 zone: 1024 pages used for memmap [ 0.000000] DMA32 zone: 0 pages reserved [ 0.000000] DMA32 zone: 64512 pages, LIFO batch:15 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] percpu: Embedded 20 pages/cpu s43736 r8192 d29992 u81920 [ 0.000000] pcpu-alloc: s43736 r8192 d29992 u81920 alloc=20*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] CPU features: kernel page table isolation disabled by kernel configuration [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 63488 [ 0.000000] Kernel command line: console=ttyS0,115200n1 loglevel=8 earlycon=uart8250,mmio32,0x11002000 boot_param.reserve_rootfs_data ubi.rootfs_volume=rootfs boot_param.boot_kernel_part=kernel boot_param.boot_rootfs_part=rootfs boot_param.upgrade_kernel_part=kernel2 boot_param.upgrade_rootfs_part=rootfs2 boot_param.env_part=u-boot-env boot_param.rootfs_data_part=rootfs_data boot_param.boot_image_slot=0 boot_param.upgrade_image_slot=1 boot_param.dual_boot [ 0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 231296K/258048K available (6014K kernel code, 444K rwdata, 1648K rodata, 384K init, 229K bss, 26752K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: CONFIG_RCU_FANOUT set to non-default value of 32. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 640 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: 16 PPIs implemented [ 0.000000] GICv3: no VLPI support, no direct LPI support [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000 [ 0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns [ 0.000004] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns [ 0.008196] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=13000) [ 0.018517] pid_max: default: 32768 minimum: 301 [ 0.023217] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.030477] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.038906] ASID allocator initialised with 65536 entries [ 0.044401] rcu: Hierarchical SRCU implementation. [ 0.049502] smp: Bringing up secondary CPUs ... [ 0.054341] Detected VIPT I-cache on CPU1 [ 0.054361] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000 [ 0.054383] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.054439] smp: Brought up 1 node, 2 CPUs [ 0.076041] SMP: Total of 2 processors activated. [ 0.080767] CPU features: detected: 32-bit EL0 Support [ 0.085928] CPU features: detected: CRC32 instructions [ 0.091188] CPU: All CPU(s) started at EL2 [ 0.095309] alternatives: patching kernel code [ 0.101918] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.111732] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.118623] pinctrl core: initialized pinctrl subsystem [ 0.124260] NET: Registered protocol family 16 [ 0.128956] DMA: preallocated 256 KiB pool for atomic allocations [ 0.136141] printk: console [pstore-1] enabled [ 0.140612] pstore: Registered ramoops as persistent store backend [ 0.146825] ramoops: using 0x60000@0x4e790000, ecc: 0 [ 0.163663] cryptd: max_cpu_qlen set to 1000 [ 0.170432] rbus 18000000.wbsys: PCI host bridge to bus 0000:00 [ 0.176421] pci_bus 0000:00: root bus resource [mem 0x18000000-0x18ffffff] [ 0.183337] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.188852] pci_bus 0000:00: scanning bus [ 0.192894] pci 0000:00:00.0: [14c3:7981] type 00 class 0x000280 [ 0.198942] pci 0000:00:00.0: reg 0x10: [mem 0x18000000-0x1800000f 64bit] [ 0.205768] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x0000000f] [ 0.212069] pci 0000:00:00.0: reg 0x1c: [mem 0x00000000-0x0000000f] [ 0.218370] pci 0000:00:00.0: reg 0x20: [mem 0x00000000-0x0000000f] [ 0.224671] pci 0000:00:00.0: reg 0x24: [mem 0x00000000-0x0000000f] [ 0.231823] pci_bus 0000:00: fixups for bus [ 0.236037] pci_bus 0000:00: bus scan returning with max=00 [ 0.241966] clocksource: Switched to clocksource arch_sys_counter [ 0.248631] thermal_sys: Registered thermal governor 'fair_share' [ 0.248636] thermal_sys: Registered thermal governor 'bang_bang' [ 0.254775] thermal_sys: Registered thermal governor 'step_wise' [ 0.260812] thermal_sys: Registered thermal governor 'user_space' [ 0.266847] thermal_sys: Registered thermal governor 'power_allocator' [ 0.273201] NET: Registered protocol family 2 [ 0.284239] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.291834] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.300329] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.308130] TCP bind hash table entries: 2048 (order: 3, 32768 bytes, linear) [ 0.315324] TCP: Hash tables configured (established 2048 bind 2048) [ 0.321775] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.328348] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.335445] NET: Registered protocol family 1 [ 0.339839] NET: Registered protocol family 44 [ 0.344316] PCI: CLS 0 bytes, default 64 [ 0.348482] WY Debug Initialized [ 0.352224] workingset: timestamp_bits=62 max_order=16 bucket_order=0 [ 0.361277] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.367160] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.389914] phy [email protected]: type_sw - reg 0x218, index 0 [ 0.406396] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 0.413512] printk: console [ttyS0] disabled [ 0.437932] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 12, base_baud = 2500000) is a ST16650V2 [ 0.447146] printk: console [ttyS0] enabled [ 0.447146] printk: console [ttyS0] enabled [ 0.455510] printk: bootconsole [uart8250] disabled [ 0.455510] printk: bootconsole [uart8250] disabled [ 0.465763] offset is 4 valid_mask:0000000000000000 ret:0 [ 0.471178] Success on request gpio 4 [ 0.474842] offset is 7 valid_mask:0000000000000000 ret:0 [ 0.480239] Success on request gpio 7 [ 0.483900] offset is 5 valid_mask:0000000000000000 ret:0 [ 0.489296] Success on request gpio 5 [ 0.492960] offset is 8 valid_mask:0000000000000000 ret:0 [ 0.498356] Success on request gpio 8 [ 0.503133] mtk_rng trng@1020f000: registered RNG driver [ 0.503174] random: crng init done [ 0.508632] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.520158] loop: module loaded [ 0.523433] mediatek,mt2701-ice_debug ice_debug: get dbg_sel clock fail: -2 [ 0.530399] mediatek,mt2701-ice_debug: probe of ice_debug failed with error -2 [ 0.538310] mt7981-pinctrl 11d00000.pinctrl: pin_config_set op failed for pin 19 [ 0.545707] mtk-spi 1100a000.spi: Error applying setting, reverse things back [ 0.553307] spi-nand spi0.0: Failed to calibrate SPI-NAND (err = -22) [ 0.559844] spi-nand spi0.0: GigaDevice SPI NAND was found. [ 0.565423] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64 [ 0.575390] Update mtk eth 00000000fe983007,base 000000008d7ee0f1,name is (null) [ 0.582998] [mtk_hw_init] reset_lock:0, force:0 [ 0.587548] [mtk_hw_init] execute fe cold reset [ 0.603086] mtk_soc_eth 15100000.ethernet: MDC is running on 2500000 Hz [ 0.630233] offset is 39 valid_mask:0000000000000000 ret:0 [ 0.635885] mtk_soc_eth 15100000.ethernet: generated random MAC address 92:83:c5:a4:a0:69 [ 0.644345] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc011600000, irq 79 [ 0.653424] mtk_soc_eth 15100000.ethernet: generated random MAC address c2:b0:33:7f:0a:f0 [ 0.661866] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc011600000, irq 79 [ 0.670912] (unnamed net_device) (dummy): netif_napi_add() called with weight 256 [ 0.678572] i2c /dev entries driver [ 0.682953] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0) [ 0.691015] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0 [ 0.704237] Initializing XFRM netlink socket [ 0.708892] NET: Registered protocol family 10 [ 0.713892] Segment Routing with IPv6 [ 0.717649] NET: Registered protocol family 17 [ 0.722129] Bridge firewalling registered [ 0.726211] 8021q: 802.1Q VLAN Support v1.8 [ 0.739543] nmbm nmbm_spim_nand: Signature found at block 1023 [0x07fe0000] [ 0.747415] nmbm nmbm_spim_nand: First info table with writecount 0 found in block 960 [ 0.758012] nmbm nmbm_spim_nand: Second info table with writecount 0 found in block 963 [ 0.766017] nmbm nmbm_spim_nand: NMBM has been successfully attached [ 0.772590] 5 fixed-partitions partitions found on MTD device nmbm_spim_nand [ 0.779637] Creating 5 MTD partitions on "nmbm_spim_nand": [ 0.785118] 0x000000000000-0x000000100000 : "BL2" [ 0.789993] 0x000000100000-0x000000180000 : "u-boot-env" [ 0.795435] 0x000000180000-0x000000380000 : "Factory" [ 0.800612] 0x000000380000-0x000000580000 : "FIP" [ 0.805445] 0x000000580000-0x000007800000 : "ubi" [ 0.810571] offset is 39 valid_mask:0000000000000000 ret:0 [ 1.038390] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:00] driver [MediaTek MT7531 PHY] [ 1.057043] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:01] driver [MediaTek MT7531 PHY] [ 1.075674] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:02] driver [MediaTek MT7531 PHY] [ 1.094327] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:03] driver [MediaTek MT7531 PHY] [ 1.103896] mt7530 mdio-bus:1f: configuring for fixed/2500base-x link mode [ 1.110971] DSA: tree 0 setup [ 1.111221] mt7530 mdio-bus:1f: Link is Up - 2.5Gbps/Full - flow control rx/tx [ 1.113932] mt7530-nl: genl_register_family_with_ops [ 1.114330] UBI: auto-attach mtd5 [ 1.129527] ubi0: attaching mtd5 [ 1.503030] ubi0: scanning is finished [ 1.512444] ubi0: attached mtd5 (name "ubi", size 114 MiB) [ 1.517946] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 1.524813] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 1.531591] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 1.538541] ubi0: good PEBs: 916, bad PEBs: 0, corrupted PEBs: 0 [ 1.544537] ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128 [ 1.551749] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1724721743 [ 1.560868] ubi0: available PEBs: 450, total reserved PEBs: 466, PEBs reserved for bad PEB handling: 19 [ 1.570255] ubi0: background thread "ubi_bgt0d" started, PID 625 [ 1.570666] block ubiblock0_5: created from ubi0:5(rootfs_ext) [ 1.582714] block ubiblock0_4: created from ubi0:4(rootfs) [ 1.588229] ubiblock: device ubiblock0_4 (rootfs) set to be root filesystem [ 1.597108] VFS: Mounted root (squashfs filesystem) readonly on device 254:1. [ 1.604449] Freeing unused kernel memory: 384K [ 1.611994] Run /sbin/init as init process [ 1.790385] init: Console is alive [ 1.793921] init: - watchdog - [ 2.189638] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 2.220868] conninfra@(mtk_conninfra_drv_init:644) Before platform_driver_register [ 2.228566] Get Index(0-TOP_MISC_BASE) phy_addr(0x11d10000) vir_addr=(0xffffffc01098d000) size=(0x1000) [ 2.237960] Get Index(1-TOPRGU_BASE) phy_addr(0x1001c000) vir_addr=(0xffffffc010995000) size=(0x1000) [ 2.247171] Get Index(2-GPIO_BASE) phy_addr(0x11d00000) vir_addr=(0xffffffc01099d000) size=(0x1000) [ 2.256207] Get Index(3-IOCFG_TR_BASE) phy_addr(0x11f00000) vir_addr=(0xffffffc0109a5000) size=(0x1000) [ 2.265590] Get Index(4-IOCFG_TL_BASE) phy_addr(0x11f10000) vir_addr=(0xffffffc0109ad000) size=(0x1000) [ 2.274975] Get Index(5-INFRACFG_AO_BASE) phy_addr(0x10003000) vir_addr=(0xffffffc0109b5000) size=(0x1000) [ 2.284618] Get Index(6-CONN_INFRA_CFG_BASE) phy_addr(0x18001000) vir_addr=(0xffffffc0109b7000) size=(0x1000) [ 2.294521] Get Index(7-CONN_INFRA_SYSRAM_BASE) phy_addr(0x18050000) vir_addr=(0xffffffc0109b9000) size=(0x1000) [ 2.304686] Get Index(8-CONN_INFRA_CLKGEN_ON_TOP_BASE) phy_addr(0x18009000) vir_addr=(0xffffffc0109fe000) size=(0x1000) [ 2.315456] Get Index(9-CONN_HOST_CSR_TOP_BASE) phy_addr(0x18060000) vir_addr=(0xffffffc010c0d000) size=(0x1000) [ 2.325619] Get Index(10-CONN_INFRA_BUS_CR_BASE) phy_addr(0x1800e000) vir_addr=(0xffffffc010c0f000) size=(0x1000) [ 2.335868] Get Index(11-CONN_INFRA_RGU_BASE) phy_addr(0x18000000) vir_addr=(0xffffffc010c11000) size=(0x1000) [ 2.345856] Get Index(12-CONN_WT_SLP_CTL_REG_BASE) phy_addr(0x18005000) vir_addr=(0xffffffc010c13000) size=(0x1000) [ 2.356280] Get Index(13-INST2_CONN_WT_SLP_CTL_REG_BASE) phy_addr(0x18085000) vir_addr=(0xffffffc010c15000) size=(0x1000) [ 2.367225] Get Index(14-CONN_RF_SPI_MST_REG_BASE) phy_addr(0x18004000) vir_addr=(0xffffffc010c17000) size=(0x1000) [ 2.377652] Get Index(15-INST2_CONN_RF_SPI_MST_REG_BASE) phy_addr(0x18084000) vir_addr=(0xffffffc010c19000) size=(0x1000) [ 2.388598] Get Index(16-CONN_SEMAPHORE_BASE) phy_addr(0x18070000) vir_addr=(0xffffffc010d50000) size=(0x10000) [ 2.398674] Get Index(17-CONN_AFE_CTL_BASE) phy_addr(0x18003000) vir_addr=(0xffffffc010c1b000) size=(0x1000) [ 2.408490] Get Index(18-CONN_AFE_CTL_2ND_BASE) phy_addr(0x18083000) vir_addr=(0xffffffc010c1d000) size=(0x1000) [ 2.418653] Get Index(19-WF_TOP_SLPPROT_ON_BASE) phy_addr(0x184c0000) vir_addr=(0xffffffc010d70000) size=(0x10000) [ 2.428990] Get Index(20-WF_TOP_CFG_BASE) phy_addr(0x184b0000) vir_addr=(0xffffffc010c1f000) size=(0x1000) [ 2.438631] Get Index(21-WF_MCU_CONFIG_LS_BASE) phy_addr(0x184f0000) vir_addr=(0xffffffc010c21000) size=(0x1000) [ 2.448793] Get Index(22-WF_MCU_BUS_CR_BASE) phy_addr(0x18400000) vir_addr=(0xffffffc010c23000) size=(0x1000) [ 2.458696] Get Index(23-WF_MCUSYS_INFRA_BUS_FULL_U_DEBUG_CTRL_AO_BASE) phy_addr(0x18500000) vir_addr=(0xffffffc010c25000) size=(0x1000) [ 2.470941] Get Index(24-WF_TOP_CFG_ON_BASE) phy_addr(0x184c0000) vir_addr=(0xffffffc010d90000) size=(0x10000) [ 2.480931] conninfra@(consys_plt_hw_init:162) adie_cfg_type = 1, one_adie_dbdc = 1 [ 2.488584] [emi_mng_init] gConEmiPhyBase = [0x47c80000] size = [0x100000] fw size = [0x100000] ops=[0000000049a49974] [ 2.499358] conninfra@(mtk_conninfra_drv_init:650) After platform_driver_register [ 2.507243] ConnInfra Dev: init (0) [ 2.512200] conninfra@(_consys_polling_chipid_int:306) Read CONNSYS HW IP version successfully! (0x020900

SHA-256 93ac313a0e15953cb2512f91669a1a71bbf19c9b4ca06ee3d947231d435022f9

mediatek: add support for netis NX31 · Raccolto

Documentazione ufficiale · Commit Git locale · Verificato: 2026-11-13

URL della fonte originale: https://github.com/openwrt/openwrt/commit/d8002cb627edcbef27dedf9768a45ab0435ac55e ↗

Autore: Mikhail Zhilkin

Licenza: Licenza non verificata

Estratto fuori rete

mediatek: add support for netis NX31

This PR adds support for netis NX31 router.

Specification
-------------
- SoC       : MediaTek MT7981BA dual-core ARM Cortex-A53 1.3 GHz
- RAM       : 256 MiB DDR3
- Flash     : SPI-NAND 128 MiB (ESMT)
- WLAN      : MediaTek MT7976CN dual-band WiFi 6
  - 2.4 GHz : b/g/n/ax, MIMO 2x2
  - 5 GHz   : a/n/ac/ax, MIMO 2x2
- Ethernet  : 10/100/1000 Mbps x3 (LAN, MediaTek MT7531AE)
              10/100/1000 Mbps x1 (WAN, SoC internal phy)
- USB       : No
- Buttons   : Mesh, Reset
- LEDs      : 1x Power (blue), unmanaged
              1x Status (blue), gpio-controlled
              1x WiFi 2.4 GHz (blue), gpio-controlled
              1x WiFi 5 GHz (blue), gpio-controlled
              3x LAN activity (blue), switch-controlled
              1x WAN activity (blue), gpio-controlled
- Power     : 12 VDC, 1 A

Installation
------------
1. Connect to the router using ssh (user: admin, pass: web interface
   password)
2. Make mtd backup:
   cat /dev/mtd0 | gzip -1 -c > /tmp/mtd0_spi0.0.bin.gz
   cat /dev/mtd1 | gzip -1 -c > /tmp/mtd1_BL2.bin.gz
   cat /dev/mtd2 | gzip -1 -c > /tmp/mtd2_u-boot-env.bin.gz
   cat /dev/mtd3 | gzip -1 -c > /tmp/mtd3_Factory.bin.gz
   cat /dev/mtd4 | gzip -1 -c > /tmp/mtd4_FIP.bin.gz
   cat /dev/mtd5 | gzip -1 -c > /tmp/mtd5_ubi.bin.gz
3. Download mtd backup from the /tmp dir of the router to your PC using
   scp protocol
4. Upload OpenWrt 'bl31-uboot.fip', 'preloader.bin' images to the /tmp
   dir of the router using scp protocol
5. Write FIP and BL2 (replace bootloader):
   mtd write /tmp/openwrt-mediatek-filogic-netis_nx31-bl31-uboot.fip FIP
   mtd write /tmp/openwrt-mediatek-filogic-netis_nx31-preloader.bin BL2
6. Place OpenWrt
   'openwrt-mediatek-filogic-netis_nx31-initramfs-recovery.itb' image on
   the tftp server (IP: 192.168.1.254)
7. Erase 'ubi' partition and reboot the router:
   mtd erase ubi
   reboot
8. U-Boot automatically boot OpenWrt recovery image from tftp server to
   the RAM
9. Upload OpenWrt 'sysupgrade.itb' image to the /tmp dir of the router
   (IP: 192.168.1.1) using scp protocol
10. Connect to the router using ssh and run:
    sysupgrade -n openwrt-mediatek-filogic-netis_nx31-squashfs-sysupgrade.itb

Return to stock
---------------
1. Unpack stock BL2 and FIP partitions backup
2. Upload stock BL2 and FIP partitions backup to the /tmp dir of the
   router using scp protocol
3. Connect to the router using ssh and run:
   apk update && apk add kmod-mtd-rw
   insmod mtd-rw i_want_a_brick=1
   mtd unlock BL2
   mtd unlock FIP
4. Restore backup:
   mtd write /tmp/mtd4_FIP.bin FIP
   mtd write /tmp/mtd1_BL2.bin BL2
5. Erase ubi and reboot:
   mtd erase ubi
   reboot
6. Power off the router
7. Press Reset button and power on the router. Release the button after
   ~10 sec
8. Navigate to U-Boot recovery web server (http://192.168.1.1/) and
   upload the OEM firmware

Recovery
--------
1. Place OpenWrt
   'openwrt-mediatek-filogic-netis_nx31-initramfs-recovery.itb' image on
   the tftp server (IP: 192.168.1.254)
2. Press “Reset” button and power on the router. After ~10 sec release
   the button.
3. Use OpenWrt initramfs system for recovery

MAC addresses
-------------
+---------+-------------------+-----------+
|         | MAC               | Algorithm |
+---------+-------------------+-----------+
| LAN     | dc:xx:xx:d1:xx:18 | label     |
| WAN     | dc:xx:xx:d1:xx:1a | label+2   |
| WLAN 2g | de:xx:xx:11:xx:19 |           |
| WLAN 5g | de:xx:xx:71:xx:19 |           |
+---------+-------------------+-----------+
The LAN MAC was found in 'Factory', 0x1fef20
The WAN MAC was found in 'Factory', 0x1fef26
The WLAN 2g/5g MAC prototype was found in 'Factory', 0x4

Signed-off-by: Mikhail Zhilkin <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18324
Signed-off-by: Hauke Mehrtens <[email protected]>

SHA-256 845ca8e2829074afdf897abb5932cb6aabed0ff8ac77de53477d9b09e47c9a39

https://www.bing.com/search?q=%22netis%22+%22nx31%22+specifications+manufacturer · Guida non disponibile. Manca una procedura verificata per questo dispositivo.

Cronologia delle ricerche · Cattura del browser · Verificato: 2026-11-11

URL della fonte originale: https://www.bing.com/search?q=%22netis%22+%22nx31%22+specifications+manufacturer ↗

Licenza: Licenza non verificata

Estratto fuori rete

SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

https://www.bing.com/search?q=%22netis%22+%22nx31%22+stock+firmware+restore+unbrick · Guida non disponibile. Manca una procedura verificata per questo dispositivo.

Cronologia delle ricerche · Cattura del browser · Verificato: 2026-11-11

URL della fonte originale: https://www.bing.com/search?q=%22netis%22+%22nx31%22+stock+firmware+restore+unbrick ↗

Licenza: Licenza non verificata

Estratto fuori rete

SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

[OpenWrt Wiki] Installing OpenWrt via TFTP · Raccolto

Documentazione ufficiale · Cattura del browser · Verificato: 2026-11-11

URL della fonte originale: https://openwrt.org/docs/guide-user/installation/generic.flashing.tftp ↗

Scoperto da: https://openwrt.org/toh/asus/rt-ax59u?s%5B%5D=asus&s%5B%5D=firmware&s%5B%5D=router ↗

Licenza: CC BY-SA 4.0 ↗

Estratto fuori rete

Table of Contents 
Installing OpenWrt via TFTP
Bootloader contains TFTP client
Mikrotik RouterBoards
Example1
Example2
tftpd server on Mac OS X Lion
Bootloader contains TFTP server
Tips
Linux/BSD
MacOS X
Windows
Troubleshooting
File Permissions
Installing OpenWrt via TFTP

Go back to generic.flashing

TFTP is a very simple protocol; simple enough to be implemented in small boot loaders. The basic idea is as follows:

Router is powered on
Bootloader prepares startup of firmware code
For a few seconds it initializes the wired lan ports
This doesn't happen instantly but a short time during startup/boot
The network settings are not always the same as OpenWrt's defaults
It then either:
Tries to connect to a TFTP server on a predetermined IP address to download a firmware image, OR
Listens for incoming TFTP client requests to upload a new flash image
Behavior thereafter varies by boot loader
See Bootloader functionality for more details about the bootloader

Warning!
This section describes actions that might damage your device or firmware. Proceed with care!

You must determine whether your hardware's bootloader has a TFTP client or server to understand which section below applies to your device.

Consult your specific model's OpenWrt Wiki devicepage for details on necessary settings, IP addresses to use, and the TFTP type offered if any.

Bootloader contains TFTP client

—>Setting up a TFTP server for TFTP Recovery/Install

Important Information!
TFTP server & client tools (based on the TFTP protocol) employ no access controls while allowing light-weight file transfer between networked devices.
Do not leave TFTP services running longer than needed and use a firewall to restrict access to the local subnet.

If your device is of the type that has a boot loader with a TFTP client that tries to download an image in recovery mode, then you must run a TFTP server to host the new firmware. Detailed instructions are given on the Setting up a TFTP server for TFTP Recovery/Install wiki page.

Mikrotik RouterBoards

 Move this section showing how to configure a TFTP server to tftpserver

RouterBoards have a TFTP and DHCP clients running in their RouterBoot bootloader. See : Common Procedures for Mikrotik RouterBoard for details.

Bash script to set static IP address, run DHCP server and run TFTP server (exemple for Mikrotik).

Note: Don't forget to change USER, NETDEV, IP/DHCP IP-range and file name/folder path for your needs.

#/bin/bash
USER=user
NETDEV=enp1s0
ip address flush dev $NETDEV
ip address add 10.1.1.10/24 dev $NETDEV
dnsmasq -i $NETDEV --dhcp-range=10.1.1.50,10.1.1.100 \
--dhcp-boot=openwrt-ar71xx-mikrotik-vmlinux-initramfs.elf \
--enable-tftp --tftp-root=/home/$USER/openwrt -d -u $USER -p0 -K --log-dhcp --bootp-dynamic
Copy
Example1

 Move this section showing how to configure a TFTP server to tftpserver

For example the bootloader implementation of the DIR-300 redboot contains a TFTP client. Two steps: First you install and start a TFTP server (or daemon) on your host. Example:

sudo apt install tftpd-hpa tftp-hpa
sudo cp ~/uboot/arch/arm/boot/uboot.img /srv/tftp/
Copy

Then put the image(s) to be flashed in the <root directory> of this software (you may be required to do this as root). Possible directories can be

/srv/tftp
/var/lib/tftpboot old location

Tip: The path where the file should be copied may differ based on your Linux version. Try running:

ps -ef | grep tftp
root    2424    2286 ?     00:07:28 /usr/sbin/in.tftpd --listen --user tftp --address 0.0.0.0:69 --secure /var/lib/tftpboot
Copy

The directory after --secure is the actual directory where you should copy the file, i.e. /var/lib/tftpboot

You can test the server:

tftp localhost
tftp> get uboot.img
tftp> quit
# now compare the downloaded image file with the original
cmp /srv/tftp/uboot.img uboot.img
# no output other then a prompt means it worked correctly
Copy

Connect to the bootloader, and tell it to get the images on your harddisk via its TFTP client (in case of the DIR-300 you obtain a connection via telnet on the non-default port 9000). Example:

telnet 192.168.20.81 9000
Redboot> load uboot.img
go
Copy

After successful installation of OpenWrt, do not forget to deactivate the TFTP server again!

Example2

 Move this section showing how to configure a TFTP server to tftpserver

In case of the xxx Step 3 from Example 1 above is not applicable. There is no console to login to, the bootloader will automatically try to get a firmware over TFTP from a pre-configured IP address at every boot.

tftpd server on Mac OS X Lion

 Move this section showing how to configure a TFTP server to tftpserver

//Note: TftpServer.app places a pleasing GUI on top of the native OSX tftpd. There's a writeup of using TftpServer.app at tftpserver. If you prefer to use the command-line, read on... //

OS X Lion comes with a tftpd but its disabled by default. Like most services in OS X, tftpd is controlled by launchctl. The configuration with which the daemon is lauched is in /System/Library/LaunchDaemons/tftp.plist and the the identifier is com.apple.tftpd

before you make changes to the config run:

sudo launchctl unload -F /System/Library/LaunchDaemons/tftp.plist
Copy

then:

sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist
Copy

to stop tftpd run:

  sudo launchctl stop com.apple.tftpd
Copy

to start tftpd run:

sudo launchctl start com.apple.tftpd
Copy

Here is an example config file that will work:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
  	<key>Label</key>
  	<string>com.apple.tftpd</string>
  	<key>ProgramArguments</key>
  	<array>
  		<string>/usr/libexec/tftpd</string>
  		<string>-l</string>
  		<string>-s</string>
  		<string>/private/tftpboot</string>
  	</array>
  	<key>inetdCompatibility</key>
  	<dict>
  		<key>Wait</key>
  		<true/>
  	</dict>
  	<key>InitGroups</key>
  	<true/>
  	<key>Sockets</key>
  	<dict>
  		<key>Listeners</key>
  		<dict>
  			<key>SockServiceName</key>
  			<string>tftp</string>
  			<key>SockType</key>
  			<string>dgram</string>
  		</dict>
  	</dict>
  </dict>
</plist>
Copy

Differences from the default include removing this, to enable the service:

  <key>Disabled</key>
  <true/>
Copy

Add this to the ProgramArguments array to make it log to /var/log/syslog.log

  <string>-l</string>
Copy

Place the OpenWrt image file you want to serve in: /private/tftpboot

Notice that even after running launchctl start com.apple.tftpd you will not see tftpd running when executing ps aux | grep tftpd because of the way launchctl works. tftpd is in fact not running but launchctl will launch it as soon as it is required.

In some cases, when the output on the serial console is grabbled you can still act on faith and execute the following commands, which will work in most cases:

setenv ipaddr 192.168.1.1
setenv serverip 192.168.1.100
tftpboot 0x80000000 openwrt-xxx-generic-xxx-squashfs-factory.bin
erase 0x9f020000 +0x332004
cp.b 0x80000000 0x9f020000 0x332004
boot.m 0x9f020000
Copy
tftpd on MacOS 10.4 "Tiger"

 Move this section showing how to configure a TFTP server to tftpserver

tftpd works out-of-the-box also on the old 10.4. Maybe the tftp dir is not yet created but this is just a mkdir. Get a root shell and issue these commands:

bash-4.2$ sudo bash
Password:
bash-4.2# mkdir -p /private/tftpboot/
bash-4.2# cp /path/to/openwrt-image /private/tftpboot/
bash-4.2# launchctl load -F /System/Library/LaunchDaemons/tftp.plist 
bash-4.2# ps axu|grep ftp
root     23494   0.0  0.0    27696    152  ??  Ss    4:34PM   0:00.00 launchctl load -F /System/Library/LaunchDaemons/tftp.plist
root     23496   0.0  0.0    38604      4  p3  R+    4:34PM   0:00.00 grep ftp
bash-4.2# launchctl start com.apple.tftpd
bash-4.2# ps axu|grep ftp
root     23494   0.0  0.0    27696    152  ??  Ss    4:34PM   0:00.00 launchctl load -F /System/Library/LaunchDaemons/tftp.plist
root     23498   0.0  0.0    27244    464  ??  Ss    4:34PM   0:00.01 /usr/libexec/launchproxy /usr/libexec/tftpd -i /private/tftpboot
root     23500   0.0  0.0    38604      4  p3  R+    4:34PM   0:00.00 grep ftp
bash-4.2# tftp 192.168.100.72   ### just testing
tftp> get openwrt-ar71xx-generic-hornet-ub-squashfs-sysupgrade.bin
Received 7270950 bytes in 2.7 seconds
tftp>
Copy
Bootloader contains TFTP server

The basic procedure of using a tftp client to upload a new firmware to your router:

Unplug the power to your router
Plug the Ethernet connection from your computer (acting as tftp client) into a LAN port on your model. See your model's OpenWrt wiki devicepage for details on which port to use
Start your tftp client on your computer
Give it the router's address (specific to model and bootloader, see your model's wiki page)
Set mode to octet/binary
Tell the client to resend the file until it succeeds
“put” the file
Plug-in your router while having the tftp client running and constantly probing for a connection
The tftp client will receive an ack from the bootloader and starts sending the firmware
Tips
 Please be patient, the reflashing occurs after the firmware has been transferred. In most cases the router will automatically reboot itself. Some models do not reboot so wait at least 15 minutes before power cycling them.
 Note that the bootloader usually does not use the IP address or MAC address stored in nvram, it will revert to a bootloader default instead. See your model's wiki documentation for specifics.
 Put a hub or switch between the router and the computer, this will make sure that the local computer link is up before the boot_wait period is passed. This is a requirement to make TFTP work on computers where the local link is brought up too late and is usually simpler than trying to force the link to stay up instead.
On routers with a DMZ LED, OpenWrt will light the DMZ LED while booting, after the bootup scripts are finished it will turn off the DMZ LED.

The TFTP commands vary across different implementations. Here are some examples:

Linux/BSD

The network link must be up and established during power up. One way to ensure this happens is to use a switch or hub in-between your computer and the device you are flashing as this will leave the link established when you power off the device.

Another option is to disable network manager in Linux (or use a distro/LiveCD that doesn't have it). Some commands that may disable it (depends on the distribution of Linux used):

/etc/init.d/networking stop
/etc/init.d/network stop
/etc/init.d/NetworkManager stop
service networking stop
service network stop
service NetworkManager stop
systemctl stop NetworkManager
Preparation Steps
Configure a static IP to match your *bootloaders* network
ip address add ipv4.x.y.z/24 dev eth0
See your device model's OpenWrt wiki device page for specific settings
Preconfigure an ARP entry to increase your changes of catching the TFTP window
arp -s ipv4.x.y.1 02:aa:bb:cc:dd:20
Check your device model's OpenWrt wiki devicepage for correct IP and MAC addresses
Using atftp

Click to display ⇲ 

Using netkit's tftp

Click to display ⇲ 

Using curl

Click to display ⇲ 

using tftpd-hpa

A detailed guide for beginners to tftpd-hda

MacOS X

On Mac OS X, you should be able to flash the router with the command line tftp client, which behaves identically to netkit's tftp above.

Some people have had problems with the command line tftp client, however, and recommend using MacTFTP Client instead:

Download, install, and open MacTFTP
Choose Send
Address: Your bootloaders IP address
Choose the openwrt-xxx-x.x-xxx.bin file
Click on start while applying power to the WRT54G

Many Macs will disable the Ethernet card when the router is powered off and will take too long to re-enable the card, causing the TFTP transfer to fail with an “Invalid Password” error. Many people have had success if they manually configure their network card (in the “Ethernet” tab of “Built-in Ethernet” in System Preferences' Network panel) to:

Configure: Manual (Advanced)
Speed: 10 BaseT/UTP
Duplex: full-duplex

Alternatively, you can connect the router to the Mac via a hub or switch; see the troubleshooting section for more information.

Windows

There are multiple tftp clients that you can choose from.

TFTP command line client short Instructions
Open a command window (cmd.exe) as administrator
Install the Windows tftp client:
Dism /online /Enable-Feature /FeatureName:TFTP /All
Copy
Upload the new firmware file to the router:
tftp -i //<bootloader IP tftp server address>// PUT OpenWrt-gs-code.bin
Copy
Now you may plug in the router (unplug it first if it was plugged).

Note that some bootloaders do not respond to ICMP ping.

Plug in your Windows network interface into the appropriate port on the device you will be flashing
Configure a static IP for your wired Ethernet interface to an appropriate IP address on the same subnet as your bootloader
Example: Your bootloader has an IP of 192.0.2.1 (netmask of 255.255.255.0), so your Windows network configuration would use 192.0.2.2/24
See your device's OpenWrt wiki devicepage for specific settings that the router expects
Open an elevated command prompt
Start, Run, “cmd” on Windows 2000,XP,2003
Start, search on “cmd”, ctrl+shift+enter on Vista, 7, 2008, etc
arp -s <bootloader's ip address> <bootloaders mac address> <your Windows static IP address>
Copy
Assists in avoiding delay in reaching tftp server on device
Windows MAC addresses use dashes instead of colons (ex: 00-00-00-00-00-00)
Windows 7 and other similar versions may require:
netsh interface ipv4 add neighbors "Local Area Connection" <bootloaders ip address> <bootloaders mac address>
Copy
Disable Windows media sensing (shouldn't be necessary if you have a switch in the middle)
netsh interface ipv4 set global dhcpmediasense=disabled
netsh interface ipv6 set global dhcpmediasense=disabled
Copy
Disable Windows firewall and any other firewalls on your client machine (Most host firewalls do not block outbound traffic)
Unplug your router
Run your tftp program (chosen above)
Plug in router immediately after tftp program begins put attempts
Flash usually takes a few minutes. See your device's OpenWrt wiki devicepage for specifics
You will probably want to re-enable Windows media sensing and revert your other network changes
GUI TFTP clients
DD-WRT tftp GUI
Server is the IP address of your bootloader tftp server
Password is typically blank
Select the firmware file
Set retries to 20 or more (most of the time you get it in 3)
Click on Upgrade and it will constantly retry until it gets it
Windows 2000 and Windows XP and later have a built-in TFTP client that can be used to flash with OpenWrt firmware.
Troubleshooting

Don't forget about your firewall settings, if you use one. It is best to run the “put” command and then immediately apply power to the router, since the upload window is extremely short and very early in boot.

TFTP Error	Reason
Code pattern is incorrect	The firmware image you're uploading was intended for a different model.
Invalid Password	The firmware has booted and you're connected to a password protected tftp server contained in the firmware, not the bootloader's tftp server.
Timeout	Ping to verify the router is online
Try a different tftp client (some are known not to work properly)
Timeout	Ping to the router works
NetworkManager (Linux) may still be running causing autosense. Try again with manual configuration.

Some machines will disable the ethernet when the router is powered off and not enable it until after the router has been powered on for a few seconds. If you're consistantly getting “Invalid Password” failures try connecting your computer and the router to a hub or switch. Doing so will keep the link up and prevent the computer from disabling its interface while the router is off.

Before you go searching for a hub to keep your link live, try setting your TCP/IP setting to a static IP (192.168.1.10; 255.255.255.0; 192.168.1.1 [gateway]) method instead of DHCP.

 If you can flash your router and after that it says “Boot program checksum is invalid” or “Invalid boot block on disk” on serial console try a different tftp client - atftp works well. This occurs with some netkit tftp packages and big firmwares.

Example

 would this be better to just exist in specific model's wiki pages?

 should we create a page to list models with tftp support, noting which ones need the reset button trick?

On many routers, including the Asus WL-500g Premium v1 that I use, you flash an image by disconnecting power, press and hold down the reset button, and connect the power again. Wait a few seconds and the PWR LED will start to blink. Release the reset button. The device will now have a TFTP server running on 192.168.1.1.

Note that many TP-Link models are reported to support the same trick, including the TL-WR740Nv4, TL-WDR4300v1, TL-WDR3600v1, TL-WR842NDv1, TL-WR841NDv8, TL-WR841Nv11, TL-WR841Nv12, TL-MR3020v1, TL-MR3220v2, TL-MR3420v2, TL-WR940Nv2, TL-WR941NDv5, TL-WR1042NDv1 and possibly any other TP-Link model that has a recent firmware upgrade from the manufacturer. For a summary and ongoing experiments, see: http://bkil.blogspot.com/2014/12/hidden-tftp-of-tp-link-routers.html

You’ll have to use a Ethernet cable at this point. Connect it to LAN1-LAN4, not WAN. Configure your local machine on the 192.168.1.x/24 network, for example as 192.168.1.42. The router will use 192.168.1.1.

$ tftp 192.168.1.1
tftp> trace
Packet tracing on.
tftp> binary
tftp> put openwrt-brcm-2.4-squashfs.trx
sent WRQ <file=openwrt-brcm-2.4-squashfs.trx, mode=octet>
received ACK <block=0>
sent DATA <block=1, 512 bytes>
received ACK <block=1>
sent DATA <block=2, 512 bytes>
received ACK <block=2>
sent DATA <block=3, 512 bytes>
received ACK <block=3>
sent DATA <block=4, 512 bytes>
...
received ACK <block=4742>
sent DATA <block=4743, 512 bytes>
received ACK <block=4743>
sent DATA <block=4744, 512 bytes>
received ACK <block=4744>
sent DATA <block=4745, 0 bytes>
received ACK <block=4745>
Sent 2428928 bytes in 6.2 seconds
tftp> quit
$
Copy

Wait one minute and restart the box by disconnecting and reconnecting power. Some documentations claim that the device should restart by itself but I have never seen this happen, no matter how long I wait.

File Permissions

Check if your TFTP Server has sufficient access rights to files or directories. U-Boots TFTP Client / tftpboot can complain with:

## Error: 'Access violation' (2), starting again!
Copy

SHA-256 62e639c026c2b35a1ad3200f0b9ba4fbbed9fe81fa716bf39494df5862a033e9

OpenWrt ToH · netis NX31 · Raccolto

Documentazione ufficiale · Cattura del browser · Verificato: 2026-11-11

URL della fonte originale: https://openwrt.org/toh.json ↗

Licenza: CC BY-SA 4.0 ↗

Estratto fuori rete

{"Device ID":"netis:netis_nx31"}
{"Bootloader":"U-Boot"}
{"Brand":"netis"}
{"CPU":"MediaTek MT7981B"}
{"CPU Cores_numcores":"2"}
{"CPU MHz":"1300"}
{"Device Page":"toh:netis:nx31"}
{"Ethernet 100M ports":"-"}
{"Ethernet 1Gbit ports":"4"}
{"Ethernet 2.5Gbit ports":"-"}
{"Firmware OEM Stock URL":"https://www.netisru.com/support/downinfo.html?id=31"}
{"Firmware OpenWrt Install URL":["https://downloads.openwrt.org/releases/24.10.5/targets/mediatek/filogic/openwrt-24.10.5-mediatek-filogic-netis_nx31-initramfs-recovery.itb"]}
{"Firmware OpenWrt Upgrade URL":["https://downloads.openwrt.org/releases/24.10.5/targets/mediatek/filogic/openwrt-24.10.5-mediatek-filogic-netis_nx31-squashfs-sysupgrade.itb"]}
{"Firmware OpenWrt snapshot Install URL":["https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-netis_nx31-initramfs-recovery.itb"]}
{"Firmware OpenWrt snapshot Upgrade URL":["https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-netis_nx31-squashfs-sysupgrade.itb"]}
{"Flash MB":["128NAND"]}
{"Model":"NX31"}
{"OEM Device Homepage URL":"https://www.netisru.com/products/NX31.html"}
{"Power Supply":"12 VDC, 1A"}
{"RAM MB":"256"}
{"Serial":"Yes"}
{"Serial connection parameters":"115200 / 8N1"}
{"Serial connection voltage":"3.3"}
{"Supported Current Rel":"25.12.5"}
{"Supported Since Commit":"https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=d8002cb627edcbef27dedf9768a45ab0435ac55e"}
{"Supported Since Rel":"24.10.1"}
{"USB ports":["-"]}
{"WLAN 2.4GHz":"b/g/n/ax"}
{"WLAN 5.0GHz":"a/n/ac/ax"}
{"WLAN 6.0GHz":"-"}

SHA-256 c3b6344cc2ca1ddcf5a55f85a6df832286e5c66cca615986a3f1cc55c20ed9a6

[OpenWrt Wiki] netis NX31 · Raccolto

Documentazione ufficiale · Cattura del browser · Verificato: 2026-11-11

URL della fonte originale: https://openwrt.org/toh/netis/nx31?s%5B%5D=open&s%5B%5D=point ↗

Licenza: CC BY-SA 4.0 ↗

Estratto fuori rete

Table of Contents 
netis NX31
Supported Versions
Experimental Versions
Hardware Highlights
Installation
Backup
OpenWrt installation
Update BL2 (optional, from OpenWrt)
Flash Layout
OEM easy installation
OEM installation using the TFTP method
Upgrading OpenWrt
LuCI Web Upgrade Process
Terminal Upgrade Process
Return to stock
Debricking
OpenWrt U-Boot
mtkuartboot
Failsafe mode
Basic configuration
Specific Configuration
Network interfaces
Switch Ports (for VLANs)
Buttons
Hardware
Info
Photos
Opening the case
Serial
JTAG
Bootloader mods
Hardware mods
Bootlogs
OEM bootlog
OpenWrt bootlog
Notes
Tags
netis NX31

The netis NX31 is a WiFi 6 AX3000 router. It supports two 802.11ax streams on both 2.4GHz@40MHz and 5GHz@160MHz for a combined 3000Mbps wireless speed.

Supported Versions

Experimental Versions

None at this time.

Hardware Highlights

Installation

→ Install OpenWrt (generic explanation)

Backup

1. Connect to the router using ssh (user: admin, pass: web interface password)

2. Make mtd backup:

cat /dev/mtd0 | gzip -1 -c > /tmp/mtd0_spi0.0.bin.gz
cat /dev/mtd1 | gzip -1 -c > /tmp/mtd1_BL2.bin.gz
cat /dev/mtd2 | gzip -1 -c > /tmp/mtd2_u-boot-env.bin.gz
cat /dev/mtd3 | gzip -1 -c > /tmp/mtd3_Factory.bin.gz
cat /dev/mtd4 | gzip -1 -c > /tmp/mtd4_FIP.bin.gz
cat /dev/mtd5 | gzip -1 -c > /tmp/mtd5_ubi.bin.gz
Copy

3. Download mtd backup from the /tmp dir of the router to your PC using scp protocol (for example, you can use WinSCP for Windows)

OpenWrt installation

Warning!

This section describes actions that might damage your device or firmware. Proceed with care!

1. Download OpenWrt images for this device from https://downloads.openwrt.org/ (choose release you need)

2. Connect to the router using ssh (user: admin, pass: web interface password)

3. Upload OpenWrt bl31-uboot.fip, preloader.bin images to the /tmp dir of the router using scp protocol

4. Write FIP and BL2 (replace bootloader):

mtd write /tmp/openwrt-mediatek-filogic-netis_nx31-bl31-uboot.fip FIP
mtd write /tmp/openwrt-mediatek-filogic-netis_nx31-preloader.bin BL2
Copy

Don't worry if the second command can't write BL2. You can update BL2 later. See Update BL2 (from OpenWrt).

5. Place OpenWrt openwrt-mediatek-filogic-netis_nx31-initramfs-recovery.itb image on the tftp server (for example, you can use tftpd64 for Windows) with IP 192.168.1.254

6. Erase ubi partition and reboot the router:

mtd erase ubi
reboot
Copy

7. U-Boot automatically boot OpenWrt recovery image from tftp server to the RAM

8. Upload OpenWrt sysupgrade.itb image to the /tmp dir of the router (IP: 192.168.1.1) using scp protocol

9. Connect to the router using ssh and run:

sysupgrade -n /tmp/openwrt-mediatek-filogic-netis_nx31-squashfs-sysupgrade.itb
Copy
Update BL2 (optional, from OpenWrt)

Warning!

This section describes actions that might damage your device or firmware. Proceed with care!

1. Connect to the router using ssh and install kmod-mtd-rw kernel module

OpenWrt newer than 24.10:

apk update && apk add kmod-mtd-rw
Copy

OpenWrt 24.10:

opkg update && opkg install kmod-mtd-rw
Copy

2. Run in ssh shell:

insmod mtd-rw i_want_a_brick=1
mtd unlock BL2
Copy

3. Upload OpenWrt preloader.bin image to the /tmp dir of the router using scp protocol

4. Write BL2:

mtd write /tmp/openwrt-mediatek-filogic-netis_nx31-preloader.bin BL2
Copy

5. Reboot the router:

reboot
Copy
Flash Layout

OpenWrt:

Start	End	Label
0x0	0x100000	BL2
0x100000	0x180000	u-boot-env (unused)
0x180000	0x380000	Factory
0x380000	0x580000	FIP
0x580000	0x8000000	ubi
OEM easy installation

None at this time.

OEM installation using the TFTP method

→ generic.flashing.tftp

None at this time.

Upgrading OpenWrt

→ generic.sysupgrade

LuCI Web Upgrade Process
Browse to http://192.168.1.1/cgi-bin/luci/admin/system/flash LuCI Upgrade URL
Upload image file for sysupgrade to LuCI
Wait for reboot
Terminal Upgrade Process
sysupgrade
Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
sysupgrade /tmp/xxx.abc
Copy
Return to stock

Warning!

This section describes actions that might damage your device or firmware. Proceed with care!

1. Unpack stock BL2 and FIP partitions backup

2. Upload stock BL2 and FIP partitions backup to the /tmp dir of the router using scp protocol

3. Connect to the router using ssh and run:

OpenWrt newer than 24.10:

apk update && apk add kmod-mtd-rw
Copy

OpenWrt 24.10:

opkg update && opkg install kmod-mtd-rw
Copy

Then:

insmod mtd-rw i_want_a_brick=1
mtd unlock BL2
mtd unlock FIP
Copy

4. Restore backup:

mtd write /tmp/mtd4_FIP.bin FIP
mtd write /tmp/mtd1_BL2.bin BL2
Copy

5. Erase ubi and reboot:

mtd erase ubi
reboot
Copy

6. Power off the router

7. Press Reset button and power on the router. Release the button after ~10 sec

8. Navigate to U-Boot recovery web server (http://192.168.1.1/) and upload the OEM firmware

Debricking

→ generic.debrick

OpenWrt U-Boot

1. Place OpenWrt openwrt-mediatek-filogic-netis_nx31-initramfs-recovery.itb image on the tftp server (for example, you can use tftpd64 for Windows) with IP 192.168.1.254

2. Press “Reset” button and power on the router. After ~10 sec release the button.

3. Use OpenWrt initramfs system for recovery

mtkuartboot

Use mtk_uartboot and UART connection if BL2 and/or FIP is destroyed. https://github.com/981213/mtk_uartboot

Failsafe mode

→ failsafe_and_factory_reset

Basic configuration

→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

Specific Configuration
Network interfaces

The default network configuration is:

Interface Name	Description	Default configuration
br-lan	LAN & WiFi	192.168.1.1/24
phy0	WiFi	Disabled, br-lan
phy1	WiFi	Disabled, br-lan
Switch Ports (for VLANs)
Port	Switch port
Internet (WAN)	eth1
LAN 1	3
LAN 2	2
LAN 3	1
Buttons

→ hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

netis NX31 has the following buttons:

BUTTON	Event
Reset	reset
Mesh	Wireless killswitch
Hardware
Info

Photos

Front:

Back:

Bottom label:

Opening the case

Warning!

This section describes actions that might damage your device or firmware. Proceed with care!

→ Warranty

The screws are located on the bottom. There are also clips around the edge of the case. You will need to try open, using, for example, a plastic card.

Main PCB:
https://www.netisru.com/review/info.html?id=9

Serial

→ port.serial general information about the serial port, serial port cable, etc.

Warning!

This section describes actions that might damage your device or firmware. Proceed with care!

To access UART, you need to unscrew the radiator plate:

Don't connect VDD (+3.3 V) pin!

Serial connection parameters
for netis NX31	115200, 8N1, 3.3V
JTAG

→ port.jtag general information about the JTAG port, JTAG cable, etc.

Bootloader mods

→ bootloader

Hardware mods

None so far.

Bootlogs
OEM bootlog

F0: 102B 0000

FA: 1040 0000

FA: 1040 0000 [0200]

F9: 0000 0000

V0: 0000 0000 [0001]

00: 0000 0000

BP: 2400 0041 [0000]

G0: 1190 0000

EC: 0000 0000 [1000]

T0: 0000 024F [010F]

Jump to BL

NOTICE:  BL2: v2.7(release):030963a55-dirty
NOTICE:  BL2: Built : 12:52:13, Jul 25 2024
NOTICE:  WDT: disabled
NOTICE:  EMI: Using DDR3 settings

dump toprgu registers data: 
1001c000 | 00000000 0000ffe0 00000000 00000000
1001c010 | 00000fff 00000000 00f00000 00000000
1001c020 | 00000000 00000000 00000000 00000000
1001c030 | 003c0003 003c0003 00000000 00000000
1001c040 | 00000000 00000000 00000000 00000000
1001c050 | 00000000 00000000 00000000 00000000
1001c060 | 00000000 00000000 00000000 00000000
1001c070 | 00000000 00000000 00000000 00000000
1001c080 | 00000000 00000000 00000000 00000000

dump drm registers data: 
1001d000 | 00000000 00000000 00000000 00000000
1001d010 | 00000000 00000000 00000000 00000000
1001d020 | 00000000 00000000 00000000 00000000
1001d030 | 00a083f1 000003ff 00100000 00000000
1001d040 | 00000000 00000000 00020303 000000ff
1001d050 | 00000000 00000000 00000000 00000000
1001d060 | 00000002 00000000 00000000 00000000
drm: 500 = 0x8 
[DDR Reserve] ddr reserve mode not be enabled yet
DDR RESERVE Success 0
[EMI] ComboMCP not ready, using default setting
BYTE_swap:0 
BYTE_swap:0 
Window Sum 552, worse bit 0, min window 68
Window Sum 532, worse bit 8, min window 64
Window Sum 400, worse bit 4, min window 48
Window Sum 362, worse bit 11, min window 42
Window Sum 408, worse bit 1, min window 48
Window Sum 374, worse bit 12, min window 44
Window Sum 414, worse bit 1, min window 50
Window Sum 380, worse bit 13, min window 44
Window Sum 416, worse bit 1, min window 50
Window Sum 384, worse bit 13, min window 44
Window Sum 392, worse bit 11, min window 46
Window Sum 396, worse bit 13, min window 46
Window Sum 404, worse bit 11, min window 48
NOTICE:  EMI: Detected DRAM size: 256MB
NOTICE:  EMI: complex R/W mem test passed
NOTICE:  CPU: MT7981 (1300MHz)
NOTICE:  SPI_NAND parses attributes from parameter page.
NOTICE:  SPI_NAND Detected ID 0xc8
NOTICE:  Page size 2048, Block size 131072, size 134217728
NOTICE:  Initializing NMBM ...
NOTICE:  Signature found at block 1023 [0x07fe0000]
NOTICE:  First info table with writecount 0 found in block 960
NOTICE:  Second info table with writecount 0 found in block 963
NOTICE:  NMBM has been successfully attached in read-only mode
NOTICE:  BL2: Booting BL31
NOTICE:  BL31: v2.7(release):030963a55-dirty
NOTICE:  BL31: Built : 12:52:16, Jul 25 2024
NOTICE:  Hello BL31!!!

U-Boot 2022.10 (Jul 25 2024 - 12:43:55 +0800)

CPU:   MediaTek MT7981
Model: mt7981-rfb
DRAM:  256 MiB
Core:  32 devices, 12 uclasses, devicetree: separate

Initializing NMBM ...
spi-nand: spi_nand spi_nand@0: GigaDevice SPI NAND was found.
spi-nand: spi_nand spi_nand@0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
Could not find a valid device for nmbm0
Signature found at block 1023 [0x07fe0000]
First info table with writecount 0 found in block 960
Second info table with writecount 0 found in block 963
NMBM has been successfully attached 

Loading Environment from UBI... ubi0: attaching mtd6
ubi0: scanning is finished
### drivers/mtd/ubi/build.c:1016:ubi_attach_mtd_dev ubi_name: autoresize_vol_id:-1
ubi0: attached mtd6 (name "ubi", size 114 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 916, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1724721743
ubi0: available PEBs: 450, total reserved PEBs: 466, PEBs reserved for bad PEB handling: 19
Read 524288 bytes from volume u-boot-env to 000000004f77e240
OK
In:    serial@11002000
Out:   serial@11002000
Err:   serial@11002000
led_init:requesting GPIO4 ok!
led_init:requesting GPIO8 ok!
led_init:requesting GPIO5 ok!
Net:   eth0: ethernet@15100000
net_ip is zero!! Forced set our IP address to 192.168.1.1

*Upgrade Prerequisites:
Set our mac to 01:00:5e:00:00:c8
Set upgrade dest ip to 224.0.0.200
our ip is 192.168.1.1
Load data at 0x46000000

*Upgrade start:
Multicast Upgrade Timeout...
udp_loop: multi_upgrade recv data failed.
[?25l*** U-Boot Boot Menu ***Press UP/DOWN to move, ENTER to select, ESC/CTRL+C to quit1. Startup system (Default)2. Upgrade firmware3. Upgrade ATF BL24. Upgrade ATF FIP5. Upgrade single image6. Load image0. U-Boot consoleHit any key to stop autoboot: 4 Hit any key to stop autoboot: 3 Hit any key to stop autoboot: 2 Hit any key to stop autoboot: 1 [?25hrun press_key_check 
UBI partition 'ubi' already selected
Trying to boot from image slot 0
Read 64 bytes from volume kernel to 0000000046000000
Read 2895903 bytes from volume kernel to 0000000046000000
## Checking hash(es) for FIT Image at 46000000 ...
   Hash(es) for Image 0 (kernel-1): crc32+ sha1+ 
   Hash(es) for Image 1 (fdt-1): crc32+ sha1+ 
Read 48 bytes from volume rootfs to 00000000462c3020
Read 14850294 bytes from volume rootfs to 00000000462c3020
   Hash(es) for rootfs: crc32+ sha1+ 
Firmware integrity verification passed
## Loading kernel from FIT Image at 46000000 ...
   Using 'config-1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM64 OpenWrt Linux-5.4.246
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x460000e8
     Data Size:    2875523 Bytes = 2.7 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x43080000
     Entry Point:  0x43080000
     Hash algo:    crc32
     Hash value:   9954e795
     Hash algo:    sha1
     Hash value:   75a7a4fc2e6ae795bb97149a8caa9066d16b5797
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 46000000 ...
   Using 'config-1' configuration
   Trying 'fdt-1' fdt subimage
     Description:  ARM64 OpenWrt mt7981-tele-spim-nand-rfb device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x462be2b8
     Data Size:    18319 Bytes = 17.9 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   052d65da
     Hash algo:    sha1
     Hash value:   667279961227aca8dc2d57bcab1d9b42d268361e
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x462be2b8
   Uncompressing Kernel Image
   Loading Device Tree to 000000004f7f1000, end 000000004f7f878e ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.246 (netcore@fa113052593d) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r0-6318ac1d8)) #0 SMP Tue Aug 27 01:22:23 2024
[    0.000000] Machine model: MediaTek MT7981 RFB
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000011002000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] On node 0 totalpages: 64512
[    0.000000]   DMA32 zone: 1024 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 64512 pages, LIFO batch:15
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 20 pages/cpu s43736 r8192 d29992 u81920
[    0.000000] pcpu-alloc: s43736 r8192 d29992 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 63488
[    0.000000] Kernel command line: console=ttyS0,115200n1 loglevel=8 earlycon=uart8250,mmio32,0x11002000 boot_param.reserve_rootfs_data ubi.rootfs_volume=rootfs boot_param.boot_kernel_part=kernel boot_param.boot_rootfs_part=rootfs boot_param.upgrade_kernel_part=kernel2 boot_param.upgrade_rootfs_part=rootfs2 boot_param.env_part=u-boot-env boot_param.rootfs_data_part=rootfs_data boot_param.boot_image_slot=0 boot_param.upgrade_image_slot=1 boot_param.dual_boot
[    0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 231296K/258048K available (6014K kernel code, 444K rwdata, 1648K rodata, 384K init, 229K bss, 26752K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	CONFIG_RCU_FANOUT set to non-default value of 32.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 640 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[    0.000004] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.008196] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=13000)
[    0.018517] pid_max: default: 32768 minimum: 301
[    0.023217] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.030477] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.038906] ASID allocator initialised with 65536 entries
[    0.044401] rcu: Hierarchical SRCU implementation.
[    0.049502] smp: Bringing up secondary CPUs ...
[    0.054341] Detected VIPT I-cache on CPU1
[    0.054361] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.054383] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.054439] smp: Brought up 1 node, 2 CPUs
[    0.076041] SMP: Total of 2 processors activated.
[    0.080767] CPU features: detected: 32-bit EL0 Support
[    0.085928] CPU features: detected: CRC32 instructions
[    0.091188] CPU: All CPU(s) started at EL2
[    0.095309] alternatives: patching kernel code
[    0.101918] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.111732] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.118623] pinctrl core: initialized pinctrl subsystem
[    0.124260] NET: Registered protocol family 16
[    0.128956] DMA: preallocated 256 KiB pool for atomic allocations
[    0.136141] printk: console [pstore-1] enabled
[    0.140612] pstore: Registered ramoops as persistent store backend
[    0.146825] ramoops: using 0x60000@0x4e790000, ecc: 0
[    0.163663] cryptd: max_cpu_qlen set to 1000
[    0.170432] rbus 18000000.wbsys: PCI host bridge to bus 0000:00
[    0.176421] pci_bus 0000:00: root bus resource [mem 0x18000000-0x18ffffff]
[    0.183337] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.188852] pci_bus 0000:00: scanning bus
[    0.192894] pci 0000:00:00.0: [14c3:7981] type 00 class 0x000280
[    0.198942] pci 0000:00:00.0: reg 0x10: [mem 0x18000000-0x1800000f 64bit]
[    0.205768] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x0000000f]
[    0.212069] pci 0000:00:00.0: reg 0x1c: [mem 0x00000000-0x0000000f]
[    0.218370] pci 0000:00:00.0: reg 0x20: [mem 0x00000000-0x0000000f]
[    0.224671] pci 0000:00:00.0: reg 0x24: [mem 0x00000000-0x0000000f]
[    0.231823] pci_bus 0000:00: fixups for bus
[    0.236037] pci_bus 0000:00: bus scan returning with max=00
[    0.241966] clocksource: Switched to clocksource arch_sys_counter
[    0.248631] thermal_sys: Registered thermal governor 'fair_share'
[    0.248636] thermal_sys: Registered thermal governor 'bang_bang'
[    0.254775] thermal_sys: Registered thermal governor 'step_wise'
[    0.260812] thermal_sys: Registered thermal governor 'user_space'
[    0.266847] thermal_sys: Registered thermal governor 'power_allocator'
[    0.273201] NET: Registered protocol family 2
[    0.284239] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.291834] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.300329] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.308130] TCP bind hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.315324] TCP: Hash tables configured (established 2048 bind 2048)
[    0.321775] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.328348] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.335445] NET: Registered protocol family 1
[    0.339839] NET: Registered protocol family 44
[    0.344316] PCI: CLS 0 bytes, default 64
[    0.348482] WY Debug Initialized
[    0.352224] workingset: timestamp_bits=62 max_order=16 bucket_order=0
[    0.361277] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.367160] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.389914] phy [email protected]: type_sw - reg 0x218, index 0
[    0.406396] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.413512] printk: console [ttyS0] disabled
[    0.437932] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 12, base_baud = 2500000) is a ST16650V2
[    0.447146] printk: console [ttyS0] enabled
[    0.447146] printk: console [ttyS0] enabled
[    0.455510] printk: bootconsole [uart8250] disabled
[    0.455510] printk: bootconsole [uart8250] disabled
[    0.465763] offset is 4 valid_mask:0000000000000000 ret:0
[    0.471178] Success on request gpio 4
[    0.474842] offset is 7 valid_mask:0000000000000000 ret:0
[    0.480239] Success on request gpio 7
[    0.483900] offset is 5 valid_mask:0000000000000000 ret:0
[    0.489296] Success on request gpio 5
[    0.492960] offset is 8 valid_mask:0000000000000000 ret:0
[    0.498356] Success on request gpio 8
[    0.503133] mtk_rng trng@1020f000: registered RNG driver
[    0.503174] random: crng init done
[    0.508632] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.520158] loop: module loaded
[    0.523433] mediatek,mt2701-ice_debug ice_debug: get dbg_sel clock fail: -2
[    0.530399] mediatek,mt2701-ice_debug: probe of ice_debug failed with error -2
[    0.538310] mt7981-pinctrl 11d00000.pinctrl: pin_config_set op failed for pin 19
[    0.545707] mtk-spi 1100a000.spi: Error applying setting, reverse things back
[    0.553307] spi-nand spi0.0: Failed to calibrate SPI-NAND (err = -22)
[    0.559844] spi-nand spi0.0: GigaDevice SPI NAND was found.
[    0.565423] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.575390] Update mtk eth 00000000fe983007,base 000000008d7ee0f1,name is (null)
[    0.582998] [mtk_hw_init] reset_lock:0, force:0
[    0.587548] [mtk_hw_init] execute fe cold reset
[    0.603086] mtk_soc_eth 15100000.ethernet: MDC is running on 2500000 Hz
[    0.630233] offset is 39 valid_mask:0000000000000000 ret:0
[    0.635885] mtk_soc_eth 15100000.ethernet: generated random MAC address 92:83:c5:a4:a0:69
[    0.644345] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc011600000, irq 79
[    0.653424] mtk_soc_eth 15100000.ethernet: generated random MAC address c2:b0:33:7f:0a:f0
[    0.661866] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc011600000, irq 79
[    0.670912] (unnamed net_device) (dummy): netif_napi_add() called with weight 256
[    0.678572] i2c /dev entries driver
[    0.682953] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    0.691015] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[    0.704237] Initializing XFRM netlink socket
[    0.708892] NET: Registered protocol family 10
[    0.713892] Segment Routing with IPv6
[    0.717649] NET: Registered protocol family 17
[    0.722129] Bridge firewalling registered
[    0.726211] 8021q: 802.1Q VLAN Support v1.8
[    0.739543] nmbm nmbm_spim_nand: Signature found at block 1023 [0x07fe0000]
[    0.747415] nmbm nmbm_spim_nand: First info table with writecount 0 found in block 960
[    0.758012] nmbm nmbm_spim_nand: Second info table with writecount 0 found in block 963
[    0.766017] nmbm nmbm_spim_nand: NMBM has been successfully attached 
[    0.772590] 5 fixed-partitions partitions found on MTD device nmbm_spim_nand
[    0.779637] Creating 5 MTD partitions on "nmbm_spim_nand":
[    0.785118] 0x000000000000-0x000000100000 : "BL2"
[    0.789993] 0x000000100000-0x000000180000 : "u-boot-env"
[    0.795435] 0x000000180000-0x000000380000 : "Factory"
[    0.800612] 0x000000380000-0x000000580000 : "FIP"
[    0.805445] 0x000000580000-0x000007800000 : "ubi"
[    0.810571] offset is 39 valid_mask:0000000000000000 ret:0
[    1.038390] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:00] driver [MediaTek MT7531 PHY]
[    1.057043] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:01] driver [MediaTek MT7531 PHY]
[    1.075674] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:02] driver [MediaTek MT7531 PHY]
[    1.094327] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:03] driver [MediaTek MT7531 PHY]
[    1.103896] mt7530 mdio-bus:1f: configuring for fixed/2500base-x link mode
[    1.110971] DSA: tree 0 setup
[    1.111221] mt7530 mdio-bus:1f: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    1.113932] mt7530-nl: genl_register_family_with_ops 
[    1.114330] UBI: auto-attach mtd5
[    1.129527] ubi0: attaching mtd5
[    1.503030] ubi0: scanning is finished
[    1.512444] ubi0: attached mtd5 (name "ubi", size 114 MiB)
[    1.517946] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.524813] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.531591] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.538541] ubi0: good PEBs: 916, bad PEBs: 0, corrupted PEBs: 0
[    1.544537] ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128
[    1.551749] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1724721743
[    1.560868] ubi0: available PEBs: 450, total reserved PEBs: 466, PEBs reserved for bad PEB handling: 19
[    1.570255] ubi0: background thread "ubi_bgt0d" started, PID 625
[    1.570666] block ubiblock0_5: created from ubi0:5(rootfs_ext)
[    1.582714] block ubiblock0_4: created from ubi0:4(rootfs)
[    1.588229] ubiblock: device ubiblock0_4 (rootfs) set to be root filesystem
[    1.597108] VFS: Mounted root (squashfs filesystem) readonly on device 254:1.
[    1.604449] Freeing unused kernel memory: 384K
[    1.611994] Run /sbin/init as init process
[    1.790385] init: Console is alive
[    1.793921] init: - watchdog -
[    2.189638] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.220868] conninfra@(mtk_conninfra_drv_init:644) Before platform_driver_register
[    2.228566] Get Index(0-TOP_MISC_BASE) phy_addr(0x11d10000) vir_addr=(0xffffffc01098d000) size=(0x1000)
[    2.237960] Get Index(1-TOPRGU_BASE) phy_addr(0x1001c000) vir_addr=(0xffffffc010995000) size=(0x1000)
[    2.247171] Get Index(2-GPIO_BASE) phy_addr(0x11d00000) vir_addr=(0xffffffc01099d000) size=(0x1000)
[    2.256207] Get Index(3-IOCFG_TR_BASE) phy_addr(0x11f00000) vir_addr=(0xffffffc0109a5000) size=(0x1000)
[    2.265590] Get Index(4-IOCFG_TL_BASE) phy_addr(0x11f10000) vir_addr=(0xffffffc0109ad000) size=(0x1000)
[    2.274975] Get Index(5-INFRACFG_AO_BASE) phy_addr(0x10003000) vir_addr=(0xffffffc0109b5000) size=(0x1000)
[    2.284618] Get Index(6-CONN_INFRA_CFG_BASE) phy_addr(0x18001000) vir_addr=(0xffffffc0109b7000) size=(0x1000)
[    2.294521] Get Index(7-CONN_INFRA_SYSRAM_BASE) phy_addr(0x18050000) vir_addr=(0xffffffc0109b9000) size=(0x1000)
[    2.304686] Get Index(8-CONN_INFRA_CLKGEN_ON_TOP_BASE) phy_addr(0x18009000) vir_addr=(0xffffffc0109fe000) size=(0x1000)
[    2.315456] Get Index(9-CONN_HOST_CSR_TOP_BASE) phy_addr(0x18060000) vir_addr=(0xffffffc010c0d000) size=(0x1000)
[    2.325619] Get Index(10-CONN_INFRA_BUS_CR_BASE) phy_addr(0x1800e000) vir_addr=(0xffffffc010c0f000) size=(0x1000)
[    2.335868] Get Index(11-CONN_INFRA_RGU_BASE) phy_addr(0x18000000) vir_addr=(0xffffffc010c11000) size=(0x1000)
[    2.345856] Get Index(12-CONN_WT_SLP_CTL_REG_BASE) phy_addr(0x18005000) vir_addr=(0xffffffc010c13000) size=(0x1000)
[    2.356280] Get Index(13-INST2_CONN_WT_SLP_CTL_REG_BASE) phy_addr(0x18085000) vir_addr=(0xffffffc010c15000) size=(0x1000)
[    2.367225] Get Index(14-CONN_RF_SPI_MST_REG_BASE) phy_addr(0x18004000) vir_addr=(0xffffffc010c17000) size=(0x1000)
[    2.377652] Get Index(15-INST2_CONN_RF_SPI_MST_REG_BASE) phy_addr(0x18084000) vir_addr=(0xffffffc010c19000) size=(0x1000)
[    2.388598] Get Index(16-CONN_SEMAPHORE_BASE) phy_addr(0x18070000) vir_addr=(0xffffffc010d50000) size=(0x10000)
[    2.398674] Get Index(17-CONN_AFE_CTL_BASE) phy_addr(0x18003000) vir_addr=(0xffffffc010c1b000) size=(0x1000)
[    2.408490] Get Index(18-CONN_AFE_CTL_2ND_BASE) phy_addr(0x18083000) vir_addr=(0xffffffc010c1d000) size=(0x1000)
[    2.418653] Get Index(19-WF_TOP_SLPPROT_ON_BASE) phy_addr(0x184c0000) vir_addr=(0xffffffc010d70000) size=(0x10000)
[    2.428990] Get Index(20-WF_TOP_CFG_BASE) phy_addr(0x184b0000) vir_addr=(0xffffffc010c1f000) size=(0x1000)
[    2.438631] Get Index(21-WF_MCU_CONFIG_LS_BASE) phy_addr(0x184f0000) vir_addr=(0xffffffc010c21000) size=(0x1000)
[    2.448793] Get Index(22-WF_MCU_BUS_CR_BASE) phy_addr(0x18400000) vir_addr=(0xffffffc010c23000) size=(0x1000)
[    2.458696] Get Index(23-WF_MCUSYS_INFRA_BUS_FULL_U_DEBUG_CTRL_AO_BASE) phy_addr(0x18500000) vir_addr=(0xffffffc010c25000) size=(0x1000)
[    2.470941] Get Index(24-WF_TOP_CFG_ON_BASE) phy_addr(0x184c0000) vir_addr=(0xffffffc010d90000) size=(0x10000)
[    2.480931] conninfra@(consys_plt_hw_init:162) adie_cfg_type = 1, one_adie_dbdc = 1
[    2.488584] [emi_mng_init] gConEmiPhyBase = [0x47c80000] size = [0x100000] fw size = [0x100000] ops=[0000000049a49974]
[    2.499358] conninfra@(mtk_conninfra_drv_init:650) After platform_driver_register
[    2.507243] ConnInfra Dev: init (0)
[    2.5

SHA-256 7a981f59a8b39f0cc03a1989c4ed37b5eec40b3c4d67ae58951c85a4ec4d32f4

https://www.bing.com/search?q=%22netis%22+%22NX31%22+OpenWrt+installation+backup+recovery · Guida non disponibile. Manca una procedura verificata per questo dispositivo.

Cronologia delle ricerche · Cattura del browser · Verificato: 2026-11-11

URL della fonte originale: https://www.bing.com/search?q=%22netis%22+%22NX31%22+OpenWrt+installation+backup+recovery ↗

Licenza: Licenza non verificata

Estratto fuori rete

SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

NX31 | AX3000 Wireless Dual Band WiFi6 Router · Raccolto

Sito web produttore · Cattura del browser · Verificato: 2026-11-11

URL della fonte originale: https://www.netisru.com/products/NX31.html ↗

Scoperto da: https://openwrt.org/toh.json ↗

Licenza: Licenza non verificata

Estratto fuori rete

Для дома
Для бизнеса
Для провайдеров
Поддержка
О нас
NX31
Обзор
|
Cпецификация
|
Скачать
NX31
Роутер netis NX31 Wi-Fi 6 AX3000 гигабитный двухдиапазонный с поддержкой Easy Mesh и Wireguard
КУПИТЬ
Двухдиапазонный Wi-Fi 6: оснащен новейшей беспроводной технологией, Wi-Fi 6, обеспечивающей более высокую скорость, большую пропускную способность и снижение нагрузки на сеть.
Скорость нового поколения  до 3000 Мбит/с: наслаждайтесь плавной потоковой передачей, загрузкой и играми без буферизации благодаря скорости Wi-Fi  до 3,0 Гбит/с.
Подключайте больше устройств: технология Wi-Fi 6 передает больше данных на большее количество устройств с помощью революционной технологии OFDMA при одновременном снижении задержки.
Мощный процессор: двухъядерный процессор с частотой 1.3  ГГц (Cortex A9) обеспечивает бесперебойную связь между вашим маршрутизатором и всеми подключенными устройствами.
Обширное покры

SHA-256 84329448d12f0df017fb329b61c1833821e74a26bd3413bbc9dc13320c55379a

https://www.bing.com/search?q=%22netis%22+%22nx31%22+OpenWrt+installation+backup+recovery · Guida non disponibile. Manca una procedura verificata per questo dispositivo.

Cronologia delle ricerche · Cattura del browser · Verificato: 2026-11-11

URL della fonte originale: https://www.bing.com/search?q=%22netis%22+%22nx31%22+OpenWrt+installation+backup+recovery ↗

Licenza: Licenza non verificata

Estratto fuori rete

SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

[OpenWrt Wiki] Upgrading OpenWrt firmware using LuCI and CLI · Raccolto

Documentazione ufficiale · Cattura del browser · Verificato: 2026-11-11

URL della fonte originale: https://openwrt.org/docs/guide-user/installation/generic.sysupgrade ↗

Scoperto da: https://openwrt.org/toh/acer/predator_vero_w6m?s%5B%5D=825%2A&s%5B%5D=dir%2A&s%5B%5D=link%2A ↗

Licenza: CC BY-SA 4.0 ↗

Estratto fuori rete

Table of Contents 
Upgrading OpenWrt firmware using LuCI and CLI
How the OpenWrt upgrade works
Upgrade steps
1. Prepare
2. Upgrade
3. Post Install Configuration, Setup or Restore
Preparing for upgrade
Can you keep settings?
Will you need to revert?
Configure your backup
Downloading the OpenWrt upgrade image
Upgrade procedure
For LuCI-based upgrades
Command-line instructions
Extras
Verify the new OS version
Upgrade installed packages
Reinstall user-installed packages
Configure user-installed packages
Upgrading OpenWrt firmware using LuCI and CLI

See also:

Comparing options to upgrade firmware
OpenWrt flash Layout
Upgrading OpenWrt firmware using CLI
Upgrading OpenWrt firmware using LuCI
Keep Settings and Upgrade Compatibility
Saving/restoring user-installed packages
How the OpenWrt upgrade works

An OpenWrt sysupgrade will replace the entire current OpenWrt installation with a new version. This includes the Linux kernel and SquashFS/ext4/ubifs/JFFS2/other OS partition/s. This is NOT the same as a first time installation (factory).

Sysupgrade via LuCI or CLI works by optionally saving specified configuration files, wiping the entire file system, installing the new version of OpenWrt and then restoring back the saved configuration files. This means that any parts of the file system that are not specifically saved will be lost.

In particular, any manually installed software packages you may have installed after the initial OpenWrt installation have to be reinstalled after an OpenWrt upgrade. That way everything will match, e.g. the updated Linux kernel and any installed kernel modules.

Any configuration files or data files placed in locations not specifically listed as being preserved below will also be lost in an OpenWrt upgrade. Be sure to check any files you have added or customized from a default OpenWrt install to back up these items before an upgrade.

IMPORTANT: Most of the upgrade procedure can be automated by using the attended.sysupgrade service. Attended sysupgrade will request the build of custom image including all your currently installed packages from a central server, download it when ready, and install it keeping your settings. The service can be accessed from LuCI by installing the `luci-app-attendedsysupgrade` package, or from the shell with the `auc` package. Note that you can upgrade systems using attended sysupgrade via LuCI even if they are not connected to the internet, as long as your browser has internet access.

See this howto about extroot procedure.

For Dual Firmware Devices please consult your device page for additional information.

By compiling your own custom image with an OpenWrt buildroot or generating with the imagebuilder, it is possible to remove the need to perform many of the steps above.

Upgrade steps
1. Prepare

The first part of the upgrade process is to prepare for the upgrade.

Setup for data migration ( keep settings ) and additional sysupgrade.conf entries
Export / save installed package list / manifest
Obtain / verify new installation sysupgrade image (and current / known good one to revert to)

This includes documenting programs and settings that will need to be re-installed or restored after the upgrade, locating and downloading the correct OpenWrt upgrade image for your hardware.

When it is possible to 'keep settings' sysupgrade will automatically preserve much of the OpenWrt OS configuration by saving and then restoring configuration files in specific common locations (including /etc/config). This will preserve things like OpenWrt network settings, Wi-Fi settings, the device hostname, and so on. Some data files and directories for additional services will need to be configured manually.

2. Upgrade

Next is the actual upgrade. The two common upgrade methods to perform the upgrade are:

LuCI web interface System → Backup / Flash Firmware → “Flash new firmware image”
Command-line using sysupgrade command over console or ssh

Both use the same ...sysupgrade.bin/img.gz file (more below).

3. Post Install Configuration, Setup or Restore

After the OS upgrade, there are usually some additional configuration steps required to;

Re-install additional packages not part of the base OpenWrt install
Configure new OpenWrt functionality or to
Update configuration files to reflect new settings or updated packages

Please see the section below with more details.

Preparing for upgrade
Can you keep settings?

See also: Upgrade compatibility

Most of the time you can, jumping several versions, downgrading, if the release notes or upgrade message informs you it's not possible, then you will need to plan ahead of time and factor in the time and information required to re-apply some or most of your previous configuration manually.

It is worthwhile not keeping settings once every 12-16 months
Trying to get around the advice to start with new settings when needed can result in odd issues that can be difficult to troubleshoot
Will you need to revert?

A time may come when you attempt an upgrade and for whatever reason it is unsuccessful. Contingency planning is a good skill for anything in IT.

Have you made a backup of your current settings? (for restoration to same or earlier OS versions)
Do you have a copy of your current (pre-upgrade) OS version if you need to re-install? (both factory and sysupgrade or even vendor firmware may be required)
Do you have a spare device in case things go pear shaped or you need much more time than expected?
Configure your backup

Follow Backup and restore, or skip this section if you do not want to preserve existing configuration.

Downloading the OpenWrt upgrade image
Getting the right image

In most cases, platforms that support sysupgrade, have a downloadable image labelled ...-sysupgrade.bin ...

Images labelled “factory” or otherwise are generally not intended to be installed via an existing OpenWrt web interface.
FIRMWARE SELECTOR https://firmware-selector.openwrt.org/
SEARCH USING MODEL: Table of Hardware: Firmware downloads
OFFICIAL DOWNLOAD PAGE: https://downloads.openwrt.org/releases/
OpenWrt on x86

For x86, use the same image you used for your initial installation of OpenWrt as the sysupgrade image as well (that is, there is no “factory” versus “sysupgrade” variant in contrast to most embedded devices). So, if you installed OpenWrt x86-64 openwrt-version-number-x86-64-combined-ext4.img.gz, you need to choose same image to do a sysupgrade; if you installed Openwrt with openwrt-version-number-x86-64-combined-squashfs.img.gz, you need that image to do a firmware upgrade.

Notes

WARNING: Double check you have the exact model number and in some cases country... If in any doubt about compatibility, read instructions on your device page thoroughly. If your are still unsure ask on the Forum.

NOTE: Keep a copy of images you use, you never know if you may need them again and that may be difficult if your internet is down! If you do not have current version of your system image download it from https://firmware-selector.openwrt.org/ prior to performing upgrade. You can check which version you use using luci main page or command line:

ubus call system board
Copy
Finding out which x86 image was used during installation

If system images used during initial instalation were deleted or lost and you forgot which image you used during installation, here is how you can check it.

Generic x86 system images come either in squashfs (RO) or ext4 (RW) flavour, first check file system type which you have on your device.

root@OpenWRT:~# df -T
Copy

sample output from x86 OpenWRT installation using squashfs file system:

Filesystem           Type       1K-blocks      Used Available Use% Mounted on
/dev/root            squashfs        4352      4352         0 100% /rom
tmpfs                tmpfs        1928268        84   1928184   0% /tmp
/dev/loop0           ext4       117464126     13802 112445660   0% /overlay
overlayfs:/overlay   overlay    117464126     13802 112445660   0% /
/dev/sda1            vfat           16334      6274     10060  38% /boot
/dev/sda1            vfat           16334      6274     10060  38% /boot
tmpfs                tmpfs            512         0       512   0% /dev
Copy

sample output from x86 OpenWRT installation using ext4 file system:

Filesystem           Type       1K-blocks      Used Available Use% Mounted on
/dev/root            ext4        30845052    321868  30506800   1% /
tmpfs                tmpfs        3912440      1596   3910844   0% /tmp
/dev/sda1            vfat           16334      6274     10060  38% /boot
/dev/sda1            vfat           16334      6274     10060  38% /boot
tmpfs                tmpfs            512         0       512   0% /dev
Copy

Now check if you used -efi system image. If the output of the command below is no such file or directory you used a openwrt-XX.XX.X-x86-64-generic-ext4-combined.img.gz system image. If the folder existst and is populated you used a openwrt-XX.XX.X-x86-64-generic-ext4-combined-efi.img.gz system image.

root@OpenWRT:~# ls /sys/firmware/efi
ls: /sys/firmware/efi: No such file or directory
Copy
Upgrade procedure
For LuCI-based upgrades

See also: Upgrading OpenWrt firmware using LuCI

Download the desired upgrade file to your PC using a web browser
Proceed to the LuCI upgrade procedure, below
Web interface instructions
Navigate to LuCI → System → Backup / Flash Firmware → Actions: Flash new firmware image.
Click Choose File button to select firmware image.
Click Flash image... to upload firmware image.
Verify firmware image checksum and proceed.
Wait until the router comes back online.
Command-line instructions

OpenWrt provides sysupgrade utility for firmware upgrade procedure.

See CLI instructions page below:
Upgrading OpenWrt firmware using CLI
For a streamlined assisted upgrade from the command line install and use owut.
For sysupgrade cli based upgrades
Download the desired upgrade file to the local /tmp RAM drive on your OpenWrt system. The /tmp directory is stored in RAM (using tmpfs), not in the permanent flash storage.
# example downloading the OpenWrt 15.05 upgrade image for a TP-LINK TL-WR1043ND ver. 1.x router
cd /tmp
wget http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/openwrt-15.05-ar71xx-generic-tl-wr1043nd-v1-squashfs-sysupgrade.bin
 
# check the integrity of the image file via md5sums (older images)
wget http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/md5sums
md5sum -c md5sums 2> /dev/null | grep OK
 
# check the integrity of the image file via sha256sums
wget http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/sha256sums
sha256sum -c sha256sums 2> /dev/null | grep OK
 
# the desired result is that the downloaded firmware filename is listed with "OK" afterwards
 
####################################################
# Initiate sysupgrade with your desired options
# by default ( no -n ) settings are kept
####################################################
sysupgrade -v /tmp/openwrt-15.05-ar71xx-generic-tl-wr1043nd-v1-squashfs-sysupgrade.bin
Copy

NOTE: see extras at end of page for low memory device workarounds

Extras
Verify the new OS version
In LuCI, go to Status > Overview to verify you are running the new OpenWrt release
In SSH, the login banner has the release information
Upgrade installed packages

Follow: Upgrading packages

After the initial update, it is good to check for any updated packages released after the base OS firmware image was built. Note that on a device with only 4MB of NVRAM, these updates may not fit – check free space first with df -h / and ensure there is at least 600KB or so free.

Reinstall user-installed packages

See also: Preserving packages

After a successful upgrade, you will need to reinstall all previously installed and saved packages.

Configure user-installed packages

See also: Comparing configurations

The new package installations will have installed new, default versions of package configuration files. If existing configuration files are in place, opkg displays a warning about this and saves the new configuration file versions under /etc/config/*-opkg filenames.

The new package-provided config files should be compared with your older customized files to merge in any new options or changes of syntax. The diff tool is helpful for this.

SHA-256 8a669bd4b354a3e808f95709f146c4b1a580be9c27a5993c4e61b9e865b07682

NX31 | AX3000 Wireless Dual Band WiFi6 Router · Raccolto

Sito web produttore · Cattura del browser · Verificato: 2026-11-11

URL della fonte originale: https://www.netisru.com/support/downinfo.html?id=31 ↗

Scoperto da: https://openwrt.org/toh.json ↗

Licenza: Licenza non verificata

Estratto fuori rete

Для дома
Для бизнеса
Для провайдеров
Поддержка
О нас
Загрузки
Часто Задаваемые Вопросы
Видео
Форма запроса технической поддержки
Каталог
GPL Code
Приложение
Скачать для NX31
Роутер netis NX31 Wi-Fi 6 AX3000 гигабитный двухдиапазонный с поддержкой Easy Mesh и Wireguard
Прошивки
Часто Задаваемые Вопросы
Приложение
NX31
Роутер netis NX31 Wi-Fi 6 AX3000 гигабитный двухдиапазонный с поддержкой Easy Mesh и Wireguard
Прошивки
Выберите аппаратную версию:
Все
V1
V4
netis-NX31-V4.0.250829.151908.bin
Дата публикации: 04-09-2025
Размер файла:
Скачать
Добавлен ручной ввод параметров Captive Portal,  другие изменения и дополнения.
netis-NX31-V4.0.250322.143107
Дата публикации: 31-03-2025
Размер файла:
Скачать
Поддержка WireGuard  сервера и клиента для защищенных подключений
netis-NX31-V4.0.241217.164335
Дата публикации: 28-12-2024
Размер файла:
Скачать
Улучшена локализация

Другие улучшения и дополнен

SHA-256 37c4598773d52ab567569dd2c3c72cfe791e5d0637c1fa5e98f9c7f36fe3e756

[OpenWrt Wiki] Installing OpenWrt · Raccolto

Documentazione ufficiale · Cattura del browser · Verificato: 2026-11-11

URL della fonte originale: https://openwrt.org/docs/guide-user/installation/generic.flashing ↗

Scoperto da: https://deviceways.org/devices/alwaylink-m10k43 ↗

Licenza: CC BY-SA 4.0 ↗

Estratto fuori rete

Table of Contents 
Installing OpenWrt
Four Installation Methods
Method 1: via OEM firmware
Method 2: via Bootloader and an Ethernet port
Method 3: via Bootloader and Serial port
Method 4: via JTAG
Install a ramdisk-image into main memory
Installation Checklist
Installing OpenWrt

The installation of OpenWrt is device specific. These device specific procedures should be found in the wiki. See Table of Hardware for available procedures. If your device is not listed, information in this Howto may be helpful.

Warning!
This section describes actions that might damage your device or firmware. Proceed with care!

 If your attempt to install OpenWrt fails, please view generic.debrick for fixes.

 This HOWTO is VERY generic. You cannot use it in most situations, as you have to adapt values and other parts for specific hardware. Please look at the supported hardware page for device-specific documentation.

In most circumstances; you have three options:

Option 1: install OpenWrt onto the router's non-volatile memory
Option 2: install OpenWrt onto the RAM
Option 3: boot OpenWrt over the network (netbooting is not supported by all bootloaders).
Four Installation Methods

There are four ways to install OpenWrt on a device:

Method 1: via OEM firmware

Open the WebUI of the OEM firmware with your web browser and install the OpenWrt factory firmware image file using the “Firmware Upgrade” option. Your device should reboot with OpenWrt installed.

NOTE: Sometimes the OEM firmware will only allow you to flash your device with a specific firmware file. If that is the case, you will not be able to install OpenWrt using this method. However, for some devices the build bots prepare tagged builds such that they are compliant with the firmwares from the manufacturer. This should be documented on the device specific page for your model.

Method 2: via Bootloader and an Ethernet port

Most, if not all bootloaders provide built-in functionality for this purpose. Some use a TFTP-client, others a TFTP-server, others a FTP-client, some an FTP-server, some a web server and some use the XMODEM-protocol.

Before proceeding you need to determine the following:

a) the preset IP address of the bootloader (not necessarily identical to the IP address the device has after it has booted the original firmware!)
b) the protocol and whether the bootloader acts as client or as server
c) the correct port number (if not default)
d) the interface you need to connect to
e) a user name and login password (if necessary)
f) the time window you have after starting the device to obtain a connection

Once you know all of the above parameters, you may proceed.

Install the appropriate software on your PC (i.e. if the bootloader uses an FTP-server, you need a FTP-client).
Read the appropriate manual page ie: tftp, tftpd, ftp, ncftp, ftpd, pure-ftpd, etc ...
Configure a static IP address for your PC interface in the same IP address block as pre-configured in the bootloader.
Connect your PC to the device.
Power cycle the device.
Connect to the bootloader using the software you chose
Install the OpenWrt firmware file.
Do not overwrite or alter the bootloader until explicitly instructed to do so!

NOTES: Sometimes even the bootloader prevents you from flashing a non-OEM firmware. If you have a short time window, the connection between your computer and device needs to be established quickly. To make this as quick possible, you can disable auto-negotiation on your NIC and/or disable media sensing.

Specific Howtos
generic.flashing.tftp
generic.flashing.ftp
generic.flashing.xmodem
Method 3: via Bootloader and Serial port
data info of mentioned items (b) to (f) inside above Method-2.
generic.flashing.serial
Method 4: via JTAG
port.jtag
Install a ramdisk-image into main memory

This step shows you howto upload a new ramdisk image to the device. The existing firmware on the flash remains unchanged! You require a working serial cable to do the ramdisk upload.

specifically select the RAMDISK option to make OpenWrt Buildroot create a ramdisk-image for you to upload
connect an ethernet cable between your computer and one of the LAN ports (doesn't matter which, just so long as it's not the WAN port) of the WNDR3700.
connect your serial cable to the header on the WNDR3700 and set your local terminal program (eg. minicom) to
115200 bps 8N1
no software flow control
no hardware flow control.
set your computer's ethernet port to use the IP address 192.168.0.10/24
set up a TFTP server on your local computer to respond to requests on the 192.168.0.10 interface. Make sure that the ramdisk image (openwrt-ar71xx-uImage-lzma.bin) is in the directory used by the TFTP server.
Fix the header for the ramdisk image so that it's recognized by the u-Boot firmware. Use the wndr3700.c program that was posted by *aorlinsk* on the forums here http://aorlinsk2.free.fr/openwrt/wndr3700/ and run it from the TFTP server's data directory. I've also reproduced the code here just in case:
./wndr3700 openwrt-ar71xx-uImage-lzma.bin openwrt-fixed.out
Copy
power up the board. When it gets to the message asking you to press any key to interrupt the normal bootup sequence, press a key on the serial console (or just hold down the enter key from first bootup until you get to a prompt):
enter the following into the serial console:
setenv ipaddr 192.168.0.1
setenv serverip 192.168.0.10
setenv bootargs 'board=WNDR3700'
tftpboot 80800000 openwrt-fixed.out
bootm
Copy

(if you forget the bootargs piece below, the board will boot and look normal, but it won't be able to bring up any of the network interfaces!)

The system should boot!

Concrete examples: wnr2000, ...

Don't forget to consult the other Generic Basic Howtos for OpenWrt

Installation Checklist

This checklist cannot and does not completely cover all the ways you can install OpenWrt.

** Pre-Installation **

Say hello in #openwrt channel at OFTC.
Make sure that the router has currently stock/original firmware installed.
Configure your computer to use static IP address.
Connect to the router with wire, not WiFi.
Do your own research and read all the resources about installing OpenWrt on your router:
FAQ before installation
Table of Hardware
OpenWrt forum
Print or save those pages for offline reading:
First login
Failsafe
(optional) Backup flash of your router.

Installation

Reboot router.
Download OpenWrt image in proper location.
In case of upgrading existing OpenWrt system, the proper location is RAM (usually /tmp).
Verify MD5 checksum of the OpenWrt image you downloaded.
Make sure that there is at least as much free RAM as the size of OpenWrt image you have downloaded.

Post-Installation

Do First login and set root password.
Backup flash of your router.
Make yourself comfortable with the Failsafe mode.
Configure your device

SHA-256 a658b6634af540937f4ca736f099988fa029d9a3d7d9c4cf5d3e763df5cba3ca

OpenWrt ToH: netis NX31 · Originale snapshot

Documentazione ufficiale · Bundled snapshot

URL della fonte originale: https://openwrt.org/toh.json ↗

Licenza: Licenza non verificata

Estratto fuori rete

{
  "deviceId": "netis:netis_nx31",
  "brand": "netis",
  "model": "NX31",
  "version": null,
  "hardware": {
    "cpu": "MediaTek MT7981B",
    "chipsetKey": "MT7981B",
    "cores": 2.0,
    "clockMhz": 1300.0,
    "ramMb": 256.0,
    "ramRaw": "256",
    "flash": [
      {
        "capacityMb": 128.0,
        "type": "nand"
      }
    ],
    "ethernetPorts": {
      "fastEthernet": null,
      "gbe": 4.0,
      "gbe2_5": null,
      "gbe5": null,
      "gbe10": null
    },
    "wifiGeneration": 6,
    "wifi2_4": "b/g/n/ax",
    "wifi5": "a/n/ac/ax",
    "wifi6": "-",
    "wifiChipsets": [
      "MediaTek MT7976CN"
    ],
    "wifiDriver": [
      "mt76"
    ],
    "modem": null,
    "usb": [
      "-"
    ],
    "bootloader": "U-Boot"
  },
  "support": {
    "currentRelease": "25.12.5",
    "sinceRelease": "24.10.1",
    "installationMethods": [
      "see devicepage"
    ],
    "recoveryMethods": [
      "see devicepage"
    ],
    "unsupportedFunctions": null,
    "installationWarnings": "Change U-Boot to OpenWrt U-Boot",
    "recoveryWarnings": "OpenWrt U-Boot tftp recovery"
  }
}

SHA-256 06dfebdf8ed905934011ca37e08abf6a63c0e9c3115ca16ea6956930514ec37c

https://www.bing.com/search?q=%22netis%22+%22NX31%22+stock+firmware+restore+unbrick · Guida non disponibile. Manca una procedura verificata per questo dispositivo.

Cronologia delle ricerche · Cattura del browser · Verificato: 2026-11-11

URL della fonte originale: https://www.bing.com/search?q=%22netis%22+%22NX31%22+stock+firmware+restore+unbrick ↗

Licenza: Licenza non verificata

Estratto fuori rete

SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

OpenWrt Firmware Selector · Raccolto

Discussione comunitaria · Cattura del browser · Verificato: 2026-11-11

URL della fonte originale: https://firmware-selector.openwrt.org/?id=netis_nx31&target=mediatek%2Ffilogic&version=24.10.5 ↗

Licenza: Licenza non verificata

Estratto fuori rete

العربية (Arabic)
Asturianu (Asturian)
български (Bulgarian)
বাংলা (Bengali)
Català (Catalan)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Ελληνικά (Greek)
English
Español (Spanish)
فارسی (Persian)
Suomalainen (Finnish)
Pilipino (Filipino)
Français (French)
Gaeilge (Irish)
Galego (Galician)
हिंदी (Hindi)
Magyar (Hungarian)
Bahasa Indonesia (Indonesian)
Italiano (Italian)
日本語 (Japanese)
ქართული (Georgian)
한국어 (Korean)
Laotian (ພາສາລາວ)
Lietuvių (Lithuanian)
Latviešu (Latvian)
മലയാളം (Malayalam)
मराठी (Marathi)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese)
Português do Brasil (Brazilian Portuguese)
Română (Romanian)
Русский (Russian)
Žemaitiu kalba (Samogitian)
Српски (Serbian)
Srpski (Serbian)
Slovenčina (Slovak)
Svenska (Swedish)
தமிழ் (Tamil)
แบบไทย (Thai)
తెలుగు (Telugu)
Türkçe (Turkish)
Українська (Ukrainian)
Tiếng Việt (Vietnamese)
简体中文 (Chinese Simplified)
繁體中文 (Chinese Traditional)
Failed to fetch
Download OpenWrt Firmware for your Device

Type the name or model of your device, then select a stable build or the nightly "snapshot" build.

All Downloads | Feedback | OFS v5.1.0-5-ga8576e1b

SHA-256 f0c70ef74a56bea7b193ab702ac7eaab542dd803b5115783159257e0b152d453

https://www.bing.com/search?q=%22netis%22+%22NX31%22+specifications+manufacturer · Guida non disponibile. Manca una procedura verificata per questo dispositivo.

Cronologia delle ricerche · Cattura del browser · Verificato: 2026-11-11

URL della fonte originale: https://www.bing.com/search?q=%22netis%22+%22NX31%22+specifications+manufacturer ↗

Licenza: Licenza non verificata

Estratto fuori rete

SHA-256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Riscontri e fonti

Prove WireGuard

Riferimento SoC · bassa fiducia369–381Mbps

MT7981 · 7 campioni

Non misurato su questa variante hardware esatta.

Kernel, firmware, clock, firewall e test tomologia cambiano risultati. Questo intervallo osservato in un piccolo campione non è una previsione o una garanzia.

I campioni di origine · Dati e metodologia
Mostra i campioni della famiglia (9)

Testo originale (lingua originale)

  • CMCC RAX3000M · 369 Mbps · OpenWRT 23.05.2 / 5.15.137
  • 360 T7 · 369 Mbps · OpenWRT 23.05.0 / 5.15.134
  • GL-iNet MT3000 · 369 Mbps · GL 5.4.211 / 5.10.0
  • Xiaomi AX3000T · 371 Mbps · OpenWrt Snapshot / 6.1.82
  • OpenWrt One · 375 Mbps · OpenWrt Snapshot / 6.6.43
  • Cudy TR3000 v1 · 377 Mbps · OpenWrt 24.10.0 / 6.6.73
  • Routerich AX3000 · 381 Mbps · OpenWRT 23.05.2 / 5.15.137
  • Viettel NR3053 · 404 Mbps · ImmortalWrt 25.12-SNAPSHOT / 6.12.110 · Overclocked 1.64Ghz
  • Routerich AX3000 · 559 Mbps · OpenWRT 24.10.2 / 6.6.93 · OC to 2.24GHz

Sorgente collegata

Riscontri e fonti

netis:netis_nx31 · 2026-11-27. Collegato alla fonte non significa verificato in modo indipendente.

Fonte dell’immagine ↗

Fonte del logo ↗ · Logos Apps · netis · rasterized · Vedi fonte per diritti e licenza

Metadati riesaminati

cpu · Verificato · 2026-11-11
Record originale: "MediaTek MT7981B"
Valore rivisto: "MediaTek MT7981B"

cores · Verificato · 2026-11-11
Record originale: 2
Valore rivisto: 2

flash · Verificato · 2026-11-13
Record originale: [{"type":"nand","capacityMb":128}]
Valore rivisto: [{"type":"nand","capacityMb":128}]

Sorgente collegata ↗

ramMb · Verificato · 2026-11-11
Record originale: 256
Valore rivisto: 256

Sorgente collegata ↗

wifi5 · Verificato · 2026-11-11
Record originale: "a/n/ac/ax"
Valore rivisto: "a/n/ac/ax"

serial · Verificato · 2026-11-11
Record originale:
Valore rivisto: "Yes"

wifi24 · Verificato · 2026-11-11
Record originale: "b/g/n/ax"
Valore rivisto: "b/g/n/ax"

clockMhz · Verificato · 2026-11-11
Record originale: 1300
Valore rivisto: 1300

bootloader · Verificato · 2026-11-11
Record originale: "U-Boot"
Valore rivisto: "U-Boot"

powerSupply · Verificato · 2026-11-11
Record originale:
Valore rivisto: "12 VDC, 1A"

serialVoltage · Verificato · 2026-11-11
Record originale:
Valore rivisto: "3.3"

serialParameters · Verificato · 2026-11-11
Record originale:
Valore rivisto: "115200 / 8N1"

links.stockFirmware · Verificato · 2026-11-11
Record originale: ["https://www.netisru.com/support/downinfo.html?id=31"]
Valore rivisto: ["https://www.netisru.com/support/downinfo.html?id=31"]

manufacturer.productUrls · Verificato · 2026-11-11
Record originale:
Valore rivisto: ["https://www.netisru.com/products/NX31.html"]

links.firmwareSnapshotInstall · Verificato · 2026-11-11
Record originale: ["https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-netis_nx31-initramfs-recovery.itb"]
Valore rivisto: ["https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-netis_nx31-initramfs-recovery.itb"]

links.firmwareSnapshotUpgrade · Verificato · 2026-11-11
Record originale: ["https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-netis_nx31-squashfs-sysupgrade.itb"]
Valore rivisto: ["https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-netis_nx31-squashfs-sysupgrade.itb"]

Record sorgente originale · tutti i campi conservati

Testo originale (lingua originale)

{
  "CPU": "MediaTek MT7981B",
  "JTAG": null,
  "VLAN": "Yes",
  "Brand": "netis",
  "FCCID": [
    "https://fcc.io/T58NX31R"
  ],
  "GPIOs": null,
  "Model": "NX31",
  "Modem": "-",
  "RAM MB": "256",
  "Serial": "Yes",
  "Switch": "MediaTek MT7531",
  "Target": "mediatek",
  "CPU MHz": "1300",
  "Outdoor": "No",
  "Picture": [
    "media:netis:nx31.jpg"
  ],
  "Version": null,
  "Comments": null,
  "Flash MB": [
    "128NAND"
  ],
  "Bluetooth": "-",
  "Device ID": "netis:netis_nx31",
  "LED count": "8",
  "SFP ports": "-",
  "Subtarget": "filogic",
  "USB ports": [
    "-"
  ],
  "Bootloader": "U-Boot",
  "Git search": [
    "NX31"
  ],
  "SATA ports": "-",
  "SFP+ ports": "-",
  "Audio ports": [
    "-"
  ],
  "Device Page": "toh:netis:nx31",
  "Device Type": "WiFi Router",
  "Phone ports": [
    "-"
  ],
  "Video ports": [
    "-"
  ],
  "WLAN 2.4GHz": "b/g/n/ax",
  "WLAN 5.0GHz": "a/n/ac/ax",
  "WLAN 6.0GHz": "-",
  "WLAN driver": [
    "mt76"
  ],
  "Availability": "Available 2025",
  "Button count": "2",
  "Forum search": [
    "NX31"
  ],
  "Power Supply": "12 VDC, 1A",
  "WLAN 60.0GHz": "-",
  "WikiDevi URL": null,
  "WLAN Comments": "MIMO 2x2",
  "WLAN Hardware": [
    "MediaTek MT7976CN"
  ],
  "Where available": "wildberries.ru",
  "Comment recovery": "OpenWrt U-Boot tftp recovery",
  "Comments AV ports": null,
  "CPU CoresNumcores": "2",
  "Recovery method(s)": [
    "see devicepage"
  ],
  "Detachable Antennas": "-",
  "Ethernet 100M ports": "-",
  "Supported Since Rel": "24.10.1",
  "Comment installation": "Change U-Boot to OpenWrt U-Boot",
  "Ethernet 1Gbit ports": "4",
  "Ethernet 5Gbit ports": "-",
  "OWrt Forum Topic URL": null,
  "Package architecture": "aarch64_cortex-a53",
  "Ethernet 10Gbit ports": "-",
  "Supported Current Rel": "25.12.6",
  "Unsupported Functions": null,
  "Comments network ports": null,
  "Ethernet 2.5Gbit ports": "-",
  "Firmware OEM Stock URL": "https://www.netisru.com/support/downinfo.html?id=31",
  "Installation method(s)": [
    "see devicepage"
  ],
  "Supported Since Commit": "https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=d8002cb627edcbef27dedf9768a45ab0435ac55e",
  "Comments USB SATA ports": "-",
  "OEM Device Homepage URL": "https://www.netisru.com/products/NX31.html",
  "Serial connection voltage": "3.3",
  "Firmware OpenWrt Install URL": [
    "https://downloads.openwrt.org/releases/24.10.6/targets/mediatek/filogic/openwrt-24.10.6-mediatek-filogic-netis_nx31-initramfs-recovery.itb"
  ],
  "Firmware OpenWrt Upgrade URL": [
    "https://downloads.openwrt.org/releases/24.10.6/targets/mediatek/filogic/openwrt-24.10.6-mediatek-filogic-netis_nx31-squashfs-sysupgrade.itb"
  ],
  "Serial connection parameters": "115200 / 8N1",
  "Firmware OpenWrt snapshot Install URL": [
    "https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-netis_nx31-initramfs-recovery.itb"
  ],
  "Firmware OpenWrt snapshot Upgrade URL": [
    "https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-netis_nx31-squashfs-sysupgrade.itb"
  ]
}
Collegamenti firmware importati · non verificati

Gli URL grezzi possono essere stantii, malformati o directory. Utilizzare la pagina ufficiale del dispositivo e il selettore per verificare l'immagine.

{
  "forum": [],
  "openwrtWiki": "https://openwrt.org/toh/netis/nx31",
  "purchaseUrls": [],
  "stockFirmware": [
    "https://www.netisru.com/support/downinfo.html?id=31"
  ],
  "firmwareInstall": [
    "https://downloads.openwrt.org/releases/24.10.6/targets/mediatek/filogic/openwrt-24.10.6-mediatek-filogic-netis_nx31-initramfs-recovery.itb"
  ],
  "firmwareUpgrade": [
    "https://downloads.openwrt.org/releases/24.10.6/targets/mediatek/filogic/openwrt-24.10.6-mediatek-filogic-netis_nx31-squashfs-sysupgrade.itb"
  ],
  "firmwareSnapshotInstall": [
    "https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-netis_nx31-initramfs-recovery.itb"
  ],
  "firmwareSnapshotUpgrade": [
    "https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/openwrt-mediatek-filogic-netis_nx31-squashfs-sysupgrade.itb"
  ],
  "vendorHardwareDatasheet": []
}

Dispositivi simili

Articoli correlati

Commenti