Wiki source code of Openwrt for Linksys EA8100

Last modified by Leon Poon on 2021/07/16 18:40

Show last authors
1 switch0: port 0 = wan, port 1,2,3,4 = lan
2
3 If you brick your router you should be able to recover by soldering the UART pin headers and connecting to the serial. See [[this page for pictures>>doc:Linksys EA8100.WebHome]].
4
5 = 21.02.x =
6
7 Thanks to [[this patch>>https://github.com/openwrt/openwrt/commit/97df795b78dc572ea2ec105ccbf8af27cc4b4d8e]], EA8100 is now supported from openwrt 21.02.
8
9 The 21.02 release is currently at RC3. You can get it from [[openwrt firmware selector>>https://firmware-selector.openwrt.org/?version=21.02.0-rc3&target=ramips%2Fmt7621&id=linksys_ea8100-v1]] page.
10
11 Both 2.4Ghz and 5Ghz wifi are working fine.
12
13 If you are already on 19.07, please do not sysupgrade with 21.02 sysupgrade.bin, because sysupgrade.bin format in 21.02 is not supported by 19.07 sysupgrade utility.
14
15 21.02 images:
16
17 {{code language="none"}}
18 openwrt-21.02.0-rc3-ramips-mt7621-linksys_ea8100-v1-initramfs-kernel.bin: u-boot legacy uImage, MIPS OpenWrt Linux-5.4.124, Linux/MIPS, OS Kernel Image (Not compressed), 4912189 bytes, Sun Jun 13 22:02:19 2021, Load Address: 0x80001000, Entry Point: 0x80001000, Header CRC: 0x9C4276B9, Data CRC: 0xBC5373AC
19 openwrt-21.02.0-rc3-ramips-mt7621-linksys_ea8100-v1-squashfs-factory.bin: u-boot legacy uImage, MIPS OpenWrt Linux-5.4.124, Linux/MIPS, OS Kernel Image (Not compressed), 2357363 bytes, Sun Jun 13 22:02:19 2021, Load Address: 0x80001000, Entry Point: 0x80001000, Header CRC: 0xAC8B8E31, Data CRC: 0xC42A191A
20 openwrt-21.02.0-rc3-ramips-mt7621-linksys_ea8100-v1-squashfs-sysupgrade.bin: POSIX tar archive (GNU)
21 {{/code}}
22
23 (% class="wikigeneratedid" %)
24 19.07:
25
26 {{code language="none"}}
27 openwrt-ramips-mt7621-ea8100-initramfs-factory.img: u-boot legacy uImage, MIPS OpenWrt Linux-4.14.221, Linux/MIPS, OS Kernel Image (lzma), 5049994 bytes, Mon Feb 15 15:22:37 2021, Load Address: 0x80001000, Entry Point: 0x80001000, Header CRC: 0x9EAE22DC, Data CRC: 0x739C919A
28 openwrt-ramips-mt7621-ea8100-initramfs-kernel.bin: u-boot legacy uImage, MIPS OpenWrt Linux-4.14.221, Linux/MIPS, OS Kernel Image (lzma), 5049994 bytes, Mon Feb 15 15:22:37 2021, Load Address: 0x80001000, Entry Point: 0x80001000, Header CRC: 0x9EAE22DC, Data CRC: 0x739C919A
29 openwrt-ramips-mt7621-ea8100-squashfs-factory.img: u-boot legacy uImage, MIPS OpenWrt Linux-4.14.221, Linux/MIPS, OS Kernel Image (lzma), 2012291 bytes, Mon Feb 15 15:22:37 2021, Load Address: 0x80001000, Entry Point: 0x80001000, Header CRC: 0xD210527A, Data CRC: 0x404E16F6
30 openwrt-ramips-mt7621-ea8100-squashfs-sysupgrade.bin: u-boot legacy uImage, MIPS OpenWrt Linux-4.14.221, Linux/MIPS, OS Kernel Image (lzma), 2012291 bytes, Mon Feb 15 15:22:37 2021, Load Address: 0x80001000, Entry Point: 0x80001000, Header CRC: 0xD210527A, Data CRC: 0x404E16F6
31 {{/code}}
32
33 Flashing 21.02 squashfs-sysupgrade.bin using sysupgrade in 19.07 will soft brick your router. (Sysupgrade will likely reject the image anyway, and you will have to use force flag if you really want to do it.)
34
35 If you insist, force flashing the 21.02 squashfs-factory.bin should allow you to succeed in the upgrade. (Not tested.)
36
37 = 19.07.x =
38
39 Openwrt 19.07.7 for EA8100 is here!
40
41 Since [[19.07.03>>https://www.codepowered.com/openwrt/v19.07.3/linksys_ea8100/]], as of 19.07.07:
42
43 * Wifi (5Ghz) seem to work at 30-40MB/s with a MacBook Pro.
44 * **Known issue**: 2.4Ghz wifi performance is really bad. You probably want to disable 2.4Ghz wifi.
45
46 UPDATED 2020-12-10 the 19.07.04 and later builds now includes LuCi!
47
48 (% class="box warningmessage" %)
49 (((
50 Always use a PC connected to the device via wired ethernet for flashing firmwares.
51 )))
52
53 Follow these instructions:
54
55 1. Download ##[[initramfs-factory.img>>https://www.codepowered.com/openwrt/v19.07.7/bin/targets/ramips/mt7621/openwrt-ramips-mt7621-ea8100-initramfs-factory.img]]## and ##[[squashfs-sysupgrade.bin>>https://www.codepowered.com/openwrt/v19.07.7/bin/targets/ramips/mt7621/openwrt-ramips-mt7621-ea8100-squashfs-sysupgrade.bin||style="background-color: rgb(255, 255, 255);"]]##
56 1. Access Linksys UI (default [[http:~~/~~/192.168.10.1/>>http://192.168.10.1/]]). Flash **##initramfs-factory.img##**. It will reboot.
57 1. Wait for Openwrt to boot so that you get to LuCi at [[http:~~/~~/192.168.1.1/>>http://192.168.1.1/]]. You might need to restart your PC so that it gets a ##192.168.1.x## address from openwrt. Once you get LuCI, do NOT configure yet! It's not ready.
58 1. Flash **##squashfs-sysupgrade.bin##** via LuCi
59 1. Wait for it to reboot. Now you can configure!
60
61 For kernel modules, replace the relevant link in your ##/etc/opkg/distfeeds.conf(% class="small" %) (%%)##with this:
62
63 {{code language="none"}}
64 src/gz openwrt_core https://www.codepowered.com/openwrt/v19.07.7/bin/targets/ramips/mt7621/packages
65 {{/code}}
66
67 If you are on my 18.x below, sysupgrading to a 19.07 image will not work. You have to manually mtd write the 19.07 "kernel-initramfs.bin" into the nand and boot/log into it (192.168.1.1), then sysupgrade.
68
69 Sysupgrade from 19.07.x to another 19.07.y will work. You can also upgrade via LuCI.
70
71 {{warning}}
72 Upgrading images will wipe entire firmware partitions! Backup your files/config before sysupgrade. It will reset router ip to 192.168.1.1.
73 {{/warning}}
74
75 --**Images do not contain LuCi! (The build process doesn't include it for some reason I have not yet time to figure out.)** You need to have the **squashfs-sysupgrade.bin** flashed, then install LuCI. (See instructions below.)--
76
77 --The EA8100 contains 2 firmware partitions. Using the Linksys UI will flash openwrt into only one of the 2 partitions. The booting process switches partition every few boots, so if you want to always boot into openwrt then you have to flash openwrt into both partitions.--
78
79 --How to flash if your router currently has stock Linksys firmware:--
80
81 1. --Download the "**openwrt-ramips-mt7621-ea8100-initramfs-kernel-factory.img**" from link above, and flash it via Linksys UI. Wait for it to start to reboot.--
82 1. --Configure your computer to have IP in ##192.168.1.2/255.255.255.0##.--
83 1. --Check that your router booted Openwrt by visiting [[http:~~/~~/192.168.1.1/>>http://192.168.1.1/]]. It is in Openwrt if you see a white screen with message: "Index of /." Do a reboot if you see Linksys UI instead, then check again when it boots. --
84 1. --Download the "**openwrt-ramips-mt7621-ea8100-squashfs-sysupgrade.bin**" from link above, and upload it into ##/tmp## in the router via SFTP. You can use [[winscp>>doc:How to WinSCP.WebHome]] if on Windows. [[root@192.168.1.1>>mailto:root@192.168.1.1]] (No password).--
85 1. --Ssh into [[root@192.168.1.1>>mailto:root@192.168.1.1]] (no password). Use [[putty>>doc:How to Putty.WebHome]] to ssh if you are on Windows.--
86 1. --In the ssh shell run: ##sysupgrade /tmp/openwrt-ramips-mt7621-ea8100-squashfs-sysupgrade.bin##--
87 1. --It automatically reboots after a short while. Log in via SSH again. Check you are online by pinging 8.8.8.8 when in SSH.--
88 1. --Run: ##opkg update##--
89 1. --Run: ##**opkg install luci**##--
90 1. --Access LuCI via [[http:~~/~~/192.168.1.1/>>http://192.168.1.1/]]. You can now configure.--
91
92 = 18.x =
93
94 9bebafcb5dfe37f25285fa18fb8bfe7b68011267 (with wifi support) Download:
95
96 * [[initramfs-kernel.bin>>attach:openwrt-ramips-mt7621-linksys_ea8100-initramfs-kernel-9bebafcb5dfe37f25285fa18fb8bfe7b68011267.bin]]
97 * [[squashfs-sysupgrade.bin>>attach:openwrt-ramips-mt7621-linksys_ea8100-squashfs-sysupgrade-9bebafcb5dfe37f25285fa18fb8bfe7b68011267.bin]] (accepted as upgrade in factory UI)
98
99 Note that sysupgrade to a newer image is not likely to work.
100
101 (% border="1" cellpadding="0" cellspacing="0" style="margin-right:auto; width:auto" %)
102 |[[image:1567332570723-651.png]]
103
104 Dmesg:
105
106 {{code language="plain"}}
107 3: Boot system code via Flash (default).
108 4: Entr boot command line interface.
109 7: Load Boot Loader code then write to Flash via Serial.
110 9: Load Boot Loader code then write to Flash via TFTP. 4
111 You choosed 2
112 0
113
114
115 2: System Load Linux Kernel then write to Flash via TFTP.
116 Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)
117 Please Input new ones /or Ctrl-C to discard
118 Input device IP () ==:
119 Input server IP () ==:
120 Input Linux Kernel filename (openwrt-ramips-mt7621-linksys_ea8100-initramfs-kernel.bin) ==:openwrt-ramips-mt7621-linksys_ea8100-squashfs-sysupgrade.bin
121 which kernel partition to update (1/2/3=both) (2) ==:3
122
123 NetTxPacket = 0x8FFE3200
124
125 KSEG1ADDR(NetTxPacket) = 0xAFFE3200
126
127 NetLoop,call eth_halt !
128
129 NetLoop,call eth_init !
130 Trying Eth0 (10/100-M)
131
132 Waitting for RX_DMA_BUSY status Start... done
133
134
135 ETH_STATE_ACTIVE!!
136 TFTP from server ; our IP address is
137 Filename 'openwrt-ramips-mt7621-linksys_ea8100-squashfs-sysupgrade.bin'.
138
139 TIMEOUT_COUNT=10,Load address: 0x80100000
140 Loading: Got ARP REPLY, set server/gtwy eth addr ()
141 Got it
142 #################################################################
143 #################################################################
144 #################################################################
145 #################################################################
146 #################################################################
147 #################################################################
148 #################################################################
149 #################################################################
150 #################################################################
151 #################################################################
152 #################################################################
153 #################################################################
154 #################################################################
155 #################################################################
156 #################################################################
157 #################################################################
158 #################################################################
159 ################################################
160 done
161 Bytes transferred = 5898496 (5a0100 hex)
162 LoadAddr=80100000 NetBootFileXferSize= 005a0100
163 ranand_erase: start:180000, len:20000
164 ..ranand_erase: start:1a0000, len:20000
165 ..ranand_erase: start:1c0000, len:20000
166 ...
167 .(5192)offs=7471104 piece=0 piece_size=256 rc=0
168 Done!
169 ranand_erase: start:2980000, len:20000
170 ..ranand_erase: start:29a0000, len:20000
171 ..ranand_erase: start:29c0000, len:20000
172 ...
173 .(5192)offs=49676288 piece=0 piece_size=256 rc=0
174 Done!
175 ## Booting image at bc180000 ...
176 Image Name: MIPS OpenWrt Linux-4.14.141
177 Image Type: MIPS Linux Kernel Image (lzma compressed)
178 Data Size: 2010110 Bytes = 1.9 MB
179 Load Address: 80001000
180 Entry Point: 80001000
181 ............................... Verifying Checksum ... OK
182 Uncompressing Kernel Image ... OK
183 No initrd
184 ## Transferring control to Linux (at address 80001000) ...
185 ## Giving linux memsize in MB, 256
186
187 Starting kernel ...
188
189 [ 0.000000] Linux version 4.14.141 () (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r10942-9bebafcb5d)) #0 SMP Sun Sep 1 06:04:50 2019
190 [ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
191 [ 0.000000] bootconsole [early0] enabled
192 [ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
193 [ 0.000000] MIPS: machine is Linksys EA8100
194 [ 0.000000] Determined physical RAM map:
195 [ 0.000000] memory: 10000000 @ 00000000 (usable)
196 [ 0.000000] Initrd not found or empty - disabling initrd
197 [ 0.000000] VPE topology {2,2} total 4
198 [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
199 [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
200 [ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
201 [ 0.000000] Zone ranges:
202 [ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff]
203 [ 0.000000] HighMem empty
204 [ 0.000000] Movable zone start for each node
205 [ 0.000000] Early memory node ranges
206 [ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff]
207 [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
208 [ 0.000000] random: get_random_bytes called from start_kernel+0x9c/0x4d8 with crng_init=0
209 [ 0.000000] percpu: Embedded 14 pages/cpu s26064 r8192 d23088 u57344
210 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960
211 [ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
212 [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
213 [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
214 [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
215 [ 0.000000] Writing ErrCtl register=0002c420
216 [ 0.000000] Readback ErrCtl register=0002c420
217 [ 0.000000] Memory: 251700K/262144K available (4796K kernel code, 251K rwdata, 1040K rodata, 1260K init, 254K bss, 10444K reserved, 0K cma-reserved, 0K highmem)
218 [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
219 [ 0.000000] Hierarchical RCU implementation.
220 [ 0.000000] NR_IRQS: 256
221 [ 0.000000] CPU Clock: 880MHz
222 [ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
223 [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
224 [ 0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
225 [ 0.007802] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
226 [ 0.073969] pid_max: default: 32768 minimum: 301
227 [ 0.078775] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
228 [ 0.085284] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
229 [ 0.094340] Hierarchical SRCU implementation.
230 [ 0.099495] smp: Bringing up secondary CPUs ...
231 [ 0.114811] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
232 [ 0.114820] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
233 [ 0.114831] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
234 [ 0.114963] CPU1 revision is: 0001992f (MIPS 1004Kc)
235 [ 0.164211] Synchronize counters for CPU 1: done.
236 [ 0.208189] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
237 [ 0.208197] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
238 [ 0.208206] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
239 [ 0.208284] CPU2 revision is: 0001992f (MIPS 1004Kc)
240 [ 0.255179] Synchronize counters for CPU 2: done.
241 [ 0.295789] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
242 [ 0.295797] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
243 [ 0.295805] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
244 [ 0.295885] CPU3 revision is: 0001992f (MIPS 1004Kc)
245 [ 0.340367] Synchronize counters for CPU 3: done.
246 [ 0.370232] smp: Brought up 1 node, 4 CPUs
247 [ 0.378204] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
248 [ 0.388001] futex hash table entries: 1024 (order: 3, 32768 bytes)
249 [ 0.394408] pinctrl core: initialized pinctrl subsystem
250 [ 0.401009] NET: Registered protocol family 16
251 [ 0.415266] pull PCIe RST: RALINK_RSTCTRL = 4000000
252 [ 0.720548] release PCIe RST: RALINK_RSTCTRL = 7000000
253 [ 0.725598] ***** Xtal 40MHz *****
254 [ 0.728952] release PCIe RST: RALINK_RSTCTRL = 7000000
255 [ 0.734049] Port 0 N_FTS = 1b102800
256 [ 0.737517] Port 1 N_FTS = 1b102800
257 [ 0.740963] Port 2 N_FTS = 1b102800
258 [ 1.896358] PCIE2 no card, disable it(RST&CLK)
259 [ 1.900719] -> 21007f2
260 [ 1.903123] PCIE0 enabled
261 [ 1.905712] PCIE1 enabled
262 [ 1.908316] PCI host bridge /pcie@1e140000 ranges:
263 [ 1.913096] MEM 0x0000000060000000..0x000000006fffffff
264 [ 1.918245] IO 0x000000001e160000..0x000000001e16ffff
265 [ 1.923451] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
266 [ 1.939415] mt7621_gpio 1e000600.gpio: registering 32 gpios
267 [ 1.945254] mt7621_gpio 1e000600.gpio: registering 32 gpios
268 [ 1.950961] mt7621_gpio 1e000600.gpio: registering 32 gpios
269 [ 1.958178] PCI host bridge to bus 0000:00
270 [ 1.962213] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
271 [ 1.969068] pci_bus 0000:00: root bus resource [io 0xffffffff]
272 [ 1.974896] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
273 [ 1.981655] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
274 [ 1.990318] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
275 [ 1.998262] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
276 [ 2.007510] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
277 [ 2.014070] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
278 [ 2.020937] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
279 [ 2.027521] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
280 [ 2.034415] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
281 [ 2.041173] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
282 [ 2.047897] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
283 [ 2.054657] pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
284 [ 2.061377] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
285 [ 2.068661] pci 0000:00:00.0: PCI bridge to [bus 01]
286 [ 2.073551] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
287 [ 2.080327] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
288 [ 2.087559] pci 0000:00:01.0: PCI bridge to [bus 02]
289 [ 2.092502] pci 0000:00:01.0: bridge window [mem 0x60100000-0x601fffff]
290 [ 2.100582] clocksource: Switched to clocksource GIC
291 [ 2.107275] NET: Registered protocol family 2
292 [ 2.112196] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
293 [ 2.119081] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
294 [ 2.125539] TCP: Hash tables configured (established 2048 bind 2048)
295 [ 2.131955] UDP hash table entries: 256 (order: 1, 8192 bytes)
296 [ 2.137713] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
297 [ 2.144212] NET: Registered protocol family 1
298 [ 2.380532] 4 CPUs re-calibrate udelay(lpj = 2924544)
299 [ 2.387039] Crashlog allocated RAM at address 0x3f00000
300 [ 2.392460] workingset: timestamp_bits=14 max_order=16 bucket_order=2
301 [ 2.408000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
302 [ 2.413806] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
303 [ 2.425815] random: fast init done
304 [ 2.430745] io scheduler noop registered
305 [ 2.434579] io scheduler deadline registered (default)
306 [ 2.440747] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
307 [ 2.448257] console [ttyS0] disabled
308 [ 2.451855] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
309 [ 2.460836] console [ttyS0] enabled
310 [ 2.460836] console [ttyS0] enabled
311 [ 2.467691] bootconsole [early0] disabled
312 [ 2.467691] bootconsole [early0] disabled
313 [ 2.477567] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
314 [ 2.484816] Enable NFI Clock
315 [ 2.487689] # MTK NAND # : Use HW ECC
316 [ 2.491382] Device not found, ID: c2f1
317 [ 2.495110] Not Support this Device!
318 [ 2.498835] chip_mode=00000001
319 [ 2.501893] Support this Device in MTK table! c2f1
320 [ 2.506840] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
321 [ 2.513320] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
322 [ 2.519642] nand: Macronix NAND 128MiB 3,3V 8-bit
323 [ 2.524347] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
324 [ 2.531927] Scanning device for bad blocks
325 [ 2.819771] 7 fixed-partitions partitions found on MTD device MT7621-NAND
326 [ 2.826546] Creating 7 MTD partitions on "MT7621-NAND":
327 [ 2.831774] 0x000000000000-0x000000080000 : "uboot"
328 [ 2.837706] 0x000000080000-0x0000000c0000 : "uboot_env"
329 [ 2.843891] 0x0000000c0000-0x000000100000 : "factory"
330 [ 2.849892] 0x000000100000-0x000000140000 : "s_env"
331 [ 2.855720] 0x000000140000-0x000000180000 : "devinfo"
332 [ 2.861732] 0x000000180000-0x000002980000 : "firmware1"
333 [ 2.870032] 0x000002980000-0x000005180000 : "firmware2"
334 [ 2.877154] 1 uboot-env-boot_part partitions found on MTD device firmware2
335 [ 2.884061] 0x000002980000-0x000005180000 : "firmware"
336 [ 3.438509] 2 uimage-fw partitions found on MTD device firmware
337 [ 3.444473] 0x000002980000-0x000002b80000 : "kernel"
338 [ 3.450603] 0x000002b80000-0x000005180000 : "ubi"
339 [ 3.456742] [mtk_nand] probe successfully!
340 [ 3.461570] Signature matched and data read!
341 [ 3.465818] load_fact_bbt success 1023
342 [ 3.470276] libphy: Fixed MDIO Bus: probed
343 [ 3.542951] mtd_read_prop_mac: find prop "hw_mac_addr" in devinfo(max 0x40000) from 0x0
344 [ 3.550970] mtd_read_prop_mac: hw_mac_addr=
345 [ 3.556774] libphy: mdio: probed
346 [ 4.961009] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
347 [ 4.967662] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
348 [ 4.978262] NET: Registered protocol family 10
349 [ 4.984286] Segment Routing with IPv6
350 [ 4.988020] NET: Registered protocol family 17
351 [ 4.992556] 8021q: 802.1Q VLAN Support v1.8
352 [ 4.999621] UBI: auto-attach mtd9
353 [ 5.003015] ubi0: attaching mtd9
354 [ 5.033798] UBI: EOF marker found, PEBs from 25 will be erased
355 [ 5.039967] ubi0: scanning is finished
356 [ 5.081872] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 258 LEBs
357 [ 5.089203] ubi0: attached mtd9 (name "ubi", size 38 MiB)
358 [ 5.094644] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
359 [ 5.101543] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
360 [ 5.108298] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
361 [ 5.115245] ubi0: good PEBs: 297, bad PEBs: 7, corrupted PEBs: 0
362 [ 5.121247] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
363 [ 5.128436] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number:
364 [ 5.137541] ubi0: available PEBs: 0, total reserved PEBs: 297, PEBs reserved for bad PEB handling: 13
365 [ 5.146764] ubi0: background thread "ubi_bgt0d" started, PID 378
366 [ 5.148847] block ubiblock0_0: created from ubi0:0(rootfs)
367 [ 5.158262] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
368 [ 5.165234] hctosys: unable to open rtc device (rtc0)
369 [ 5.183831] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
370 [ 5.195491] Freeing unused kernel memory: 1260K
371 [ 5.200022] This architecture does not have kernel memory protection.
372 [ 5.783744] init: Console is alive
373 [ 5.787378] init: - watchdog -
374 [ 6.295000] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
375 [ 6.502425] kmodloader: loading kernel modules from /etc/modules-boot.d/*
376 [ 6.591413] usbcore: registered new interface driver usbfs
377 [ 6.596966] usbcore: registered new interface driver hub
378 [ 6.602453] usbcore: registered new device driver usb
379 [ 6.615285] SCSI subsystem initialized
380 [ 6.626976] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
381 [ 6.635689] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
382 [ 6.644627] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
383 [ 6.649947] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
384 [ 6.660739] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
385 [ 6.669906] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
386 [ 6.676639] hub 1-0:1.0: USB hub found
387 [ 6.680467] hub 1-0:1.0: 2 ports detected
388 [ 6.685052] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
389 [ 6.690366] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
390 [ 6.697886] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
391 [ 6.704507] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
392 [ 6.713446] hub 2-0:1.0: USB hub found
393 [ 6.717275] hub 2-0:1.0: 1 port detected
394 [ 6.727313] usbcore: registered new interface driver usb-storage
395 [ 6.733578] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
396 [ 6.750877] init: - preinit -
397 [ 7.180814] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
398 [ 7.212805] random: procd: uninitialized urandom read (4 bytes read)
399 [ 7.212971] usb-storage 2-1:1.0: USB Mass Storage device detected
400 [ 7.225920] scsi host0: usb-storage 2-1:1.0
401 [ 7.366240] mtk_soc_eth 1e100000.ethernet: PPE started
402 Press the [f] key and hit [enter] to enter failsafe mode
403 Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
404 [ 10.582466] UBIFS (ubi0:1): default file-system created
405 [ 10.589130] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 496
406 [ 10.700430] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
407 [ 10.708276] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
408 [ 10.718161] UBIFS (ubi0:1): FS size: 31490048 bytes (30 MiB, 248 LEBs), journal size 1523712 bytes (1 MiB, 12 LEBs)
409 [ 10.728565] UBIFS (ubi0:1): reserved for root: 1487352 bytes (1452 KiB)
410 [ 10.735166] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID , small LPT model
411 [ 10.749347] mount_root: overlay filesystem has not been fully initialized yet
412 [ 10.756981] mount_root: switching to ubifs overlay
413 [ 10.781065] urandom-seed: Seed file not found (/etc/urandom.seed)
414 [ 10.861172] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
415 [ 10.876085] procd: - early -
416 [ 10.879061] procd: - watchdog -
417 [ 11.550737] procd: - watchdog -
418 [ 11.554202] procd: - ubus -
419 [ 11.583502] random: ubusd: uninitialized urandom read (4 bytes read)
420 [ 11.611421] random: ubusd: uninitialized urandom read (4 bytes read)
421 [ 11.618117] random: ubusd: uninitialized urandom read (4 bytes read)
422 [ 11.625387] procd: - init -
423 Please press Enter to activate this console.
424 [ 12.046531] kmodloader: loading kernel modules from /etc/modules.d/*
425 [ 12.057746] ip6_tables: (C) 2000-2006 Netfilter Core Team
426 [ 12.069204] Loading modules backported from Linux version v5.3-rc4-0-gd45331b00ddb
427 [ 12.076775] Backport generated by backports.git v5.3-rc4-1-0-g4ec72687
428 [ 12.085114] ip_tables: (C) 2000-2006 Netfilter Core Team
429 [ 12.096731] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
430 [ 12.127574] urngd: v1.0.0 started.
431 [ 12.145053] xt_time: kernel timezone is -0000
432 [ 12.214244] bus=0x1, slot = 0x0, irq=0x0
433 [ 12.218201] PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
434 [ 12.241178] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
435 [ 12.241178]
436 [ 12.266469] random: crng init done
437 [ 12.269877] random: 6 urandom warning(s) missed due to ratelimiting
438 [ 12.456236] mt7615e 0000:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20190103180756
439 [ 12.471995] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20181207140436
440 +ýýrýýýýýýýbus=0x2, slot = 0x1, irq=0x0
441 [ 20.131310] PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
442 [ 20.161193] mt7615e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
443 [ 20.161193]
444 [ 20.185604] mt7615e 0000:02:00.0: N9 Firmware Version: _reserved_, Build Time: 20190103180756
445 [ 20.200746] mt7615e 0000:02:00.0: CR4 Firmware Version: _reserved_, Build Time: 20181207140436
446 [ 27.852570] PPP generic driver version 2.4.2
447 [ 27.858358] NET: Registered protocol family 24
448 [ 27.866716] kmodloader: done loading kernel modules from /etc/modules.d/*
449 [ 41.276638] mtk_soc_eth 1e100000.ethernet: PPE started
450 [ 41.287935] br-lan: port 1(eth0.2) entered blocking state
451 [ 41.293420] br-lan: port 1(eth0.2) entered disabled state
452 [ 41.299522] device eth0.2 entered promiscuous mode
453 [ 41.304484] device eth0 entered promiscuous mode
454 [ 41.311947] br-lan: port 1(eth0.2) entered blocking state
455 [ 41.317384] br-lan: port 1(eth0.2) entered forwarding state
456 [ 41.323511] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
457 [ 42.321086] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
458
459
460
461 BusyBox v1.31.0 () built-in shell (ash)
462
463 _______ ________ __
464 | |.-----.-----.-----.| | | |.----.| |_
465 | - || _ | -__| || | | || _|| _|
466 |_______|| __|_____|__|__||________||__| |____|
467 |__| W I R E L E S S F R E E D O M
468 -----------------------------------------------------
469 OpenWrt SNAPSHOT, r10942-9bebafcb5d
470 -----------------------------------------------------
471 === WARNING! =====================================
472 There is no root password defined on this device!
473 Use the "passwd" command to set up a new password
474 in order to prevent unauthorized SSH logins.
475 --------------------------------------------------
476 root@OpenWrt:/# ifconfig -a
477 br-lan Link encap:Ethernet HWaddr
478 inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
479 inet6 addr: fde0:62db:5134::1/60 Scope:Global
480 inet6 addr: fe80::/64 Scope:Link
481 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
482 RX packets:41 errors:0 dropped:0 overruns:0 frame:0
483 TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
484 collisions:0 txqueuelen:1000
485 RX bytes:8012 (7.8 KiB) TX bytes:2126 (2.0 KiB)
486
487 eth0 Link encap:Ethernet HWaddr
488 inet6 addr: fe80::/64 Scope:Link
489 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
490 RX packets:102 errors:0 dropped:0 overruns:0 frame:0
491 TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
492 collisions:0 txqueuelen:1000
493 RX bytes:19418 (18.9 KiB) TX bytes:8199 (8.0 KiB)
494 Interrupt:21
495
496 eth0.1 Link encap:Ethernet HWaddr
497 inet6 addr: fe80::/64 Scope:Link
498 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
499 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
500 TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
501 collisions:0 txqueuelen:1000
502 RX bytes:0 (0.0 B) TX bytes:3368 (3.2 KiB)
503
504 eth0.2 Link encap:Ethernet HWaddr
505 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
506 RX packets:41 errors:0 dropped:0 overruns:0 frame:0
507 TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
508 collisions:0 txqueuelen:1000
509 RX bytes:8012 (7.8 KiB) TX bytes:2126 (2.0 KiB)
510
511 lo Link encap:Local Loopback
512 inet addr:127.0.0.1 Mask:255.0.0.0
513 inet6 addr: ::1/128 Scope:Host
514 UP LOOPBACK RUNNING MTU:65536 Metric:1
515 RX packets:28 errors:0 dropped:0 overruns:0 frame:0
516 TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
517 collisions:0 txqueuelen:1000
518 RX bytes:1904 (1.8 KiB) TX bytes:1904 (1.8 KiB)
519
520 wlan0 Link encap:Ethernet HWaddr
521 BROADCAST MULTICAST MTU:1500 Metric:1
522 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
523 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
524 collisions:0 txqueuelen:1000
525 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
526
527 wlan1 Link encap:Ethernet HWaddr
528 BROADCAST MULTICAST MTU:1500 Metric:1
529 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
530 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
531 collisions:0 txqueuelen:1000
532 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
533
534 root@OpenWrt:/# ls -l
535 drwxr-xr-x 2 root root 778 Sep 1 06:04 bin
536 drwxr-xr-x 4 root root 1300 Sep 1 06:05 dev
537 drwxr-xr-x 1 root root 512 Sep 1 06:05 etc
538 -rwxr-xr-x 1 root root 78 Dec 30 2018 init
539 drwxr-xr-x 11 root root 426 Sep 1 06:04 lib
540 drwxr-xr-x 2 root root 3 Sep 1 06:04 mnt
541 drwxr-xr-x 4 root root 360 Sep 1 06:05 overlay
542 dr-xr-xr-x 73 root root 0 Jan 1 1970 proc
543 drwxr-xr-x 16 root root 223 Sep 1 06:04 rom
544 drwxr-xr-x 2 root root 3 Sep 1 06:04 root
545 drwxr-xr-x 2 root root 822 Sep 1 06:04 sbin
546 dr-xr-xr-x 11 root root 0 Jan 1 1970 sys
547 drwxrwxrwt 15 root root 380 Sep 1 06:05 tmp
548 drwxr-xr-x 7 root root 89 Sep 1 06:04 usr
549 lrwxrwxrwx 1 root root 3 Sep 1 06:04 var -> tmp
550 drwxr-xr-x 2 root root 3 Sep 1 06:04 www
551 root@OpenWrt:/# ps
552 PID USER VSZ STAT COMMAND
553 1 root 1576 S /sbin/procd
554 2 root 0 SW [kthreadd]
555 3 root 0 IW [kworker/0:0]
556 4 root 0 IW< [kworker/0:0H]
557 5 root 0 IW [kworker/u8:0]
558 6 root 0 IW< [mm_percpu_wq]
559 7 root 0 SW [ksoftirqd/0]
560 8 root 0 IW [rcu_sched]
561 9 root 0 IW [rcu_bh]
562 10 root 0 SW [migration/0]
563 11 root 0 SW [cpuhp/0]
564 12 root 0 SW [cpuhp/1]
565 13 root 0 SW [migration/1]
566 14 root 0 SW [ksoftirqd/1]
567 16 root 0 IW< [kworker/1:0H]
568 17 root 0 SW [cpuhp/2]
569 18 root 0 SW [migration/2]
570 19 root 0 SW [ksoftirqd/2]
571 21 root 0 IW< [kworker/2:0H]
572 22 root 0 SW [cpuhp/3]
573 23 root 0 SW [migration/3]
574 24 root 0 SW [ksoftirqd/3]
575 25 root 0 IW [kworker/3:0]
576 26 root 0 IW< [kworker/3:0H]
577 27 root 0 IW< [netns]
578 41 root 0 IW [kworker/u8:3]
579 68 root 0 IW [kworker/3:1]
580 69 root 0 IW [kworker/2:1]
581 138 root 0 IW [kworker/1:1]
582 139 root 0 SW [oom_reaper]
583 140 root 0 IW< [writeback]
584 142 root 0 SW [kcompactd0]
585 143 root 0 IW< [crypto]
586 145 root 0 IW< [kblockd]
587 175 root 0 IW< [watchdogd]
588 199 root 0 SW [kswapd0]
589 268 root 0 IW< [pencrypt]
590 270 root 0 IW< [pdecrypt]
591 366 root 0 IW< [ipv6_addrconf]
592 378 root 0 SW [ubi_bgt0d]
593 383 root 0 IW< [kworker/0:1H]
594 384 root 0 IW< [kworker/2:1H]
595 385 root 0 IW [kworker/2:2]
596 386 root 0 IW< [kworker/3:1H]
597 389 root 0 IW< [kworker/1:1H]
598 429 root 0 IW [kworker/0:2]
599 437 root 0 IW [kworker/1:2]
600 453 root 0 SW [scsi_eh_0]
601 454 root 0 IW< [scsi_tmf_0]
602 455 root 0 SW [usb-storage]
603 496 root 0 SW [ubifs_bgt0_1]
604 573 root 1220 S /sbin/ubusd
605 574 root 1220 S /bin/ash --login
606 591 root 1028 S /sbin/urngd
607 660 root 0 IW< [cfg80211]
608 1012 root 1248 S /sbin/logd -S 64
609 1074 dnsmasq 1344 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c
610 1111 root 1080 S /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p
611 1168 root 1700 S /sbin/netifd
612 1204 root 1448 S /usr/sbin/odhcpd
613 1360 root 1212 S udhcpc -p /var/run/udhcpc-eth0.1.pid -s /lib/netifd/
614 1361 root 1052 S odhcp6c -s /lib/netifd/dhcpv6.script -P0 -t120 eth0.
615 1391 root 1212 S< /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 0.
616 1720 root 1212 R ps
617 root@OpenWrt:/etc# ping www.google.co
618 PING www.google.co (): 56 data bytes
619 64 bytes from : seq=0 ttl=52 time=4.718 ms
620 ^C
621 --- www.google.co ping statistics ---
622 1 packets transmitted, 1 packets received, 0% packet loss
623 round-trip min/avg/max = 4.718/4.718/4.718 ms
624 root@OpenWrt:/etc# ping www.google.com
625 PING www.google.com (): 56 data bytes
626 64 bytes from : seq=0 ttl=47 time=4.927 ms
627 64 bytes from : seq=1 ttl=47 time=4.687 ms
628 ^C
629 --- www.google.com ping statistics ---
630 2 packets transmitted, 2 packets received, 0% packet loss
631 round-trip min/avg/max = 4.687/4.807/4.927 ms
632 root@OpenWrt:/etc# opkg update
633 Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages/Packages.gz
634 Updated list of available packages in /var/opkg-lists/openwrt_core
635 Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages/Packages.sig
636 Signature check passed.
637 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.gz
638 Updated list of available packages in /var/opkg-lists/openwrt_base
639 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.sig
640 Signature check passed.
641 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.gz
642 Updated list of available packages in /var/opkg-lists/openwrt_luci
643 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.sig
644 Signature check passed.
645 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.gz
646 Updated list of available packages in /var/opkg-lists/openwrt_packages
647 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.sig
648 Signature check passed.
649 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.gz
650 Updated list of available packages in /var/opkg-lists/openwrt_routing
651 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.sig
652 Signature check passed.
653 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.gz
654 Updated list of available packages in /var/opkg-lists/openwrt_telephony
655 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.sig
656 Signature check passed.
657 root@OpenWrt:/etc# opkg install luci
658 Installing luci (git-19.241.65047-dffe9ca-1) to root...
659 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci_git-19.241.65047-dffe9ca-1_all.ipk
660 Installing uhttpd (2019-08-17-6b03f960-3) to root...
661 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/uhttpd_2019-08-17-6b03f960-3_mipsel_24kc.ipk
662 Installing liblua5.1.5 (5.1.5-5) to root...
663 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/liblua5.1.5_5.1.5-5_mipsel_24kc.ipk
664 Installing lua (5.1.5-5) to root...
665 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/lua_5.1.5-5_mipsel_24kc.ipk
666 Installing luci-lib-nixio (git-19.241.65047-dffe9ca-1) to root...
667 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-lib-nixio_git-19.241.65047-dffe9ca-1_mipsel_24kc.ipk
668 Installing luci-lib-ip (git-19.241.65047-dffe9ca-1) to root...
669 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-lib-ip_git-19.241.65047-dffe9ca-1_mipsel_24kc.ipk
670 Installing rpcd (2019-06-05-89bfaa42-3) to root...
671 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/rpcd_2019-06-05-89bfaa42-3_mipsel_24kc.ipk
672 Installing libubus-lua (2018-10-06-221ce7e7-1) to root...
673 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/libubus-lua_2018-10-06-221ce7e7-1_mipsel_24kc.ipk
674 Installing luci-lib-jsonc (git-19.241.65047-dffe9ca-1) to root...
675 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-lib-jsonc_git-19.241.65047-dffe9ca-1_mipsel_24kc.ipk
676 Installing liblucihttp0 (2019-07-05-a34a17d5-1) to root...
677 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/liblucihttp0_2019-07-05-a34a17d5-1_mipsel_24kc.ipk
678 Installing liblucihttp-lua (2019-07-05-a34a17d5-1) to root...
679 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/liblucihttp-lua_2019-07-05-a34a17d5-1_mipsel_24kc.ipk
680 Installing luci-base (git-19.241.65047-dffe9ca-1) to root...
681 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-base_git-19.241.65047-dffe9ca-1_mipsel_24kc.ipk
682 Installing libiwinfo-lua (2019-08-28-a9f95570-1) to root...
683 Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages/libiwinfo-lua_2019-08-28-a9f95570-1_mipsel_24kc.ipk
684 Installing luci-mod-status (git-19.241.65047-dffe9ca-1) to root...
685 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-mod-status_git-19.241.65047-dffe9ca-1_mipsel_24kc.ipk
686 Installing luci-mod-system (git-19.241.65047-dffe9ca-1) to root...
687 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-mod-system_git-19.241.65047-dffe9ca-1_all.ipk
688 Installing luci-mod-network (git-19.241.65047-dffe9ca-1) to root...
689 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-mod-network_git-19.241.65047-dffe9ca-1_all.ipk
690 Installing luci-mod-admin-full (git-19.241.65047-dffe9ca-1) to root...
691 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-mod-admin-full_git-19.241.65047-dffe9ca-1_all.ipk
692 Installing luci-theme-bootstrap (git-19.241.65047-dffe9ca-1) to root...
693 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-theme-bootstrap_git-19.241.65047-dffe9ca-1_all.ipk
694 Installing luci-app-firewall (git-19.241.65047-dffe9ca-1) to root...
695 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-app-firewall_git-19.241.65047-dffe9ca-1_all.ipk
696 Installing luci-app-opkg (git-19.241.65047-dffe9ca-1) to root...
697 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-app-opkg_git-19.241.65047-dffe9ca-1_all.ipk
698 Installing luci-proto-ppp (git-19.241.65047-dffe9ca-1) to root...
699 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-proto-ppp_git-19.241.65047-dffe9ca-1_all.ipk
700 Installing luci-proto-ipv6 (git-19.241.65047-dffe9ca-1) to root...
701 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-proto-ipv6_git-19.241.65047-dffe9ca-1_all.ipk
702 Installing rpcd-mod-rrdns (20170710) to root...
703 Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/rpcd-mod-rrdns_20170710_mipsel_24kc.ipk
704 Configuring liblucihttp0.
705 Configuring luci-app-opkg.
706 Configuring rpcd.
707 Configuring liblua5.1.5.
708 Configuring luci-lib-ip.
709 Configuring libubus-lua.
710 Configuring libiwinfo-lua.
711 Configuring lua.
712 Configuring luci-lib-nixio.
713 Configuring luci-lib-jsonc.
714 Configuring liblucihttp-lua.
715 Configuring luci-base.
716 Configuring luci-mod-system.
717 Configuring luci-theme-bootstrap.
718 Configuring luci-mod-status.
719 Configuring luci-app-firewall.
720 Configuring luci-proto-ppp.
721 Configuring luci-mod-network.
722 Configuring luci-mod-admin-full.
723 Configuring luci-proto-ipv6.
724 Configuring uhttpd.
725 Configuring rpcd-mod-rrdns.
726 Configuring luci.
727 root@OpenWrt:/etc# df -h
728 Filesystem Size Used Available Use% Mounted on
729 /dev/root 2.8M 2.8M 0 100% /rom
730 tmpfs 123.5M 764.0K 122.8M 1% /tmp
731 /dev/ubi0_1 27.1M 1.4M 24.3M 5% /overlay
732 overlayfs:/overlay 27.1M 1.4M 24.3M 5% /
733 tmpfs 512.0K 0 512.0K 0% /dev
734 root@OpenWrt:/etc# [ 2075.963720] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
735 [ 2075.973245] br-lan: port 2(wlan0) entered blocking state
736 [ 2075.978551] br-lan: port 2(wlan0) entered disabled state
737 [ 2075.984368] device wlan0 entered promiscuous mode
738 [ 2087.165173] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
739 [ 2087.171890] br-lan: port 2(wlan0) entered blocking state
740 [ 2087.177194] br-lan: port 2(wlan0) entered forwarding state
741 [ 2096.494533] device wlan0 left promiscuous mode
742 [ 2096.499322] br-lan: port 2(wlan0) entered disabled state
743 [ 2097.382887] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
744 [ 2097.393568] br-lan: port 2(wlan0) entered blocking state
745 [ 2097.398924] br-lan: port 2(wlan0) entered disabled state
746 [ 2097.404922] device wlan0 entered promiscuous mode
747 [ 2097.409972] br-lan: port 2(wlan0) entered blocking state
748 [ 2097.415296] br-lan: port 2(wlan0) entered forwarding state
749 [ 2097.749351] br-lan: port 2(wlan0) entered disabled state
750 [ 2107.953875] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
751 [ 2107.960561] br-lan: port 2(wlan0) entered blocking state
752 [ 2107.965861] br-lan: port 2(wlan0) entered forwarding state
753 [ 2117.964353] device wlan0 left promiscuous mode
754 [ 2117.969130] br-lan: port 2(wlan0) entered disabled state
755 [ 2118.782586] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
756 [ 2118.792816] br-lan: port 2(wlan0) entered blocking state
757 [ 2118.798173] br-lan: port 2(wlan0) entered disabled state
758 [ 2118.804171] device wlan0 entered promiscuous mode
759 [ 2118.809362] br-lan: port 2(wlan0) entered blocking state
760 [ 2118.814692] br-lan: port 2(wlan0) entered forwarding state
761 [ 2119.189273] br-lan: port 2(wlan0) entered disabled state
762 [ 2130.258107] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
763 [ 2130.264811] br-lan: port 2(wlan0) entered blocking state
764 [ 2130.270163] br-lan: port 2(wlan0) entered forwarding state
765 [ 2245.748473] device wlan0 left promiscuous mode
766 [ 2245.753145] br-lan: port 2(wlan0) entered disabled state
767 [ 2246.536062] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
768 [ 2246.546273] br-lan: port 2(wlan0) entered blocking state
769 [ 2246.551680] br-lan: port 2(wlan0) entered disabled state
770 [ 2246.557667] device wlan0 entered promiscuous mode
771 [ 2246.562855] br-lan: port 2(wlan0) entered blocking state
772 [ 2246.568267] br-lan: port 2(wlan0) entered forwarding state
773 [ 2246.838430] br-lan: port 2(wlan0) entered disabled state
774 [ 2246.948147] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
775 [ 2246.954850] br-lan: port 2(wlan1) entered blocking state
776 [ 2246.960197] br-lan: port 2(wlan1) entered forwarding state
777
778 root@OpenWrt:/etc#
779 root@OpenWrt:/etc# uci show wireless
780 wireless.radio0=wifi-device
781 wireless.radio0.type='mac80211'
782 wireless.radio0.channel='11'
783 wireless.radio0.hwmode='11g'
784 wireless.radio0.path='pci0000:00/0000:00:00.0/0000:01:00.0'
785 wireless.radio0.country='00'
786 wireless.radio0.legacy_rates='1'
787 wireless.radio0.htmode='HT20'
788 wireless.default_radio0=wifi-iface
789 wireless.default_radio0.device='radio0'
790 wireless.default_radio0.network='lan'
791 wireless.default_radio0.mode='ap'
792 wireless.default_radio0.encryption='psk2'
793 wireless.default_radio0.key='qwerty1234'
794 wireless.default_radio0.ssid='asdf'
795 wireless.radio1=wifi-device
796 wireless.radio1.type='mac80211'
797 wireless.radio1.channel='36'
798 wireless.radio1.hwmode='11a'
799 wireless.radio1.path='pci0000:00/0000:00:01.0/0000:02:00.0'
800 wireless.radio1.htmode='VHT80'
801 wireless.radio1.__toggle='Enable'
802 wireless.radio1.country='00'
803 wireless.radio1.legacy_rates='1'
804 wireless.default_radio1=wifi-iface
805 wireless.default_radio1.device='radio1'
806 wireless.default_radio1.network='lan'
807 wireless.default_radio1.mode='ap'
808 wireless.default_radio1.ssid='asdf'
809 wireless.default_radio1.encryption='psk2'
810 wireless.default_radio1.key='qwerty1234'
811 root@OpenWrt:/etc#
812 {{/code}}
813
814 Firmware:
815
816 ./staging_dir/target-mipsel_24kc_glibc/root-ramips/lib/firmware/mediatek/mt7615_rom_patch.bin