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

From version 10.1
edited by Leon Poon
on 2019/09/01 10:09
Change comment: Uploaded new attachment "1567332570723-651.png", version {1}
To version 11.1
edited by Leon Poon
on 2019/09/01 10:13
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -3,31 +3,94 @@
3 3  
4 4  [[https:~~/~~/github.com/LeonPoon/openwrt/compare/master...master-linksys_ea8100>>https://github.com/LeonPoon/openwrt/compare/master...master-linksys_ea8100]]
5 5  
6 -b90086cc98a15a2774382b691f1249f4ad11a1c7 Download (no wifi):
6 +9bebafcb5dfe37f25285fa18fb8bfe7b68011267 (with wifi support) Download:
7 7  
8 -* [[initramfs-kernel.bin>>attach:Linksys EA8100.Openwrt for Linksys EA8100.WebHome@openwrt-ramips-mt7621-ea8100-initramfs-kernel.bin]]
9 -* [[squashfs-sysupgrade.bin>>attach:Linksys EA8100.Openwrt for Linksys EA8100.WebHome@openwrt-ramips-mt7621-ea8100-squashfs-sysupgrade.bin]] (accepted as upgrade in factory UI)
8 +* [[initramfs-kernel.bin>>attach:openwrt-ramips-mt7621-linksys_ea8100-initramfs-kernel-9bebafcb5dfe37f25285fa18fb8bfe7b68011267.bin]]
9 +* [[squashfs-sysupgrade.bin>>attach:openwrt-ramips-mt7621-linksys_ea8100-squashfs-sysupgrade-9bebafcb5dfe37f25285fa18fb8bfe7b68011267.bin]] (accepted as upgrade in factory UI)
10 10  
11 +Note that sysupgrade to a newer image is not likely to work.
12 +
13 +(% border="1" cellpadding="0" cellspacing="0" style="margin-right:auto; width: auto" %)
14 +|[[image:1567332570723-651.png]]
15 +
11 11  Dmesg:
12 12  
13 13  {{code language="plain"}}
14 -check env def auto_recovery no
15 -check env def auto_recovery yes
16 -check env def boot_part 1
17 -check env def boot_part_ready 3
18 -enabled:1, boot_part:2, boot_part_ready:3
19 -..nand read ret = 0x20000
20 -boot_count:1, next_record:4
21 -boot_count:1, next_record:4
19 + 3: Boot system code via Flash (default).
20 + 4: Entr boot command line interface.
21 + 7: Load Boot Loader code then write to Flash via Serial.
22 + 9: Load Boot Loader code then write to Flash via TFTP. 4
23 +You choosed 2
24 + 0
22 22  
23 -3: System Boot system code via Flash.
24 -## Booting image at be980000 ...
25 - Image Name: MIPS OpenWrt Linux-4.14.101
26 +
27 +2: System Load Linux Kernel then write to Flash via TFTP.
28 + Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)
29 + Please Input new ones /or Ctrl-C to discard
30 + Input device IP () ==:
31 + Input server IP () ==:
32 + Input Linux Kernel filename (openwrt-ramips-mt7621-linksys_ea8100-initramfs-kernel.bin) ==:openwrt-ramips-mt7621-linksys_ea8100-squashfs-sysupgrade.bin
33 + which kernel partition to update (1/2/3=both) (2) ==:3
34 +
35 + NetTxPacket = 0x8FFE3200
36 +
37 + KSEG1ADDR(NetTxPacket) = 0xAFFE3200
38 +
39 + NetLoop,call eth_halt !
40 +
41 + NetLoop,call eth_init !
42 +Trying Eth0 (10/100-M)
43 +
44 + Waitting for RX_DMA_BUSY status Start... done
45 +
46 +
47 + ETH_STATE_ACTIVE!!
48 +TFTP from server ; our IP address is
49 +Filename 'openwrt-ramips-mt7621-linksys_ea8100-squashfs-sysupgrade.bin'.
50 +
51 + TIMEOUT_COUNT=10,Load address: 0x80100000
52 +Loading: Got ARP REPLY, set server/gtwy eth addr ()
53 +Got it
54 +#################################################################
55 + #################################################################
56 + #################################################################
57 + #################################################################
58 + #################################################################
59 + #################################################################
60 + #################################################################
61 + #################################################################
62 + #################################################################
63 + #################################################################
64 + #################################################################
65 + #################################################################
66 + #################################################################
67 + #################################################################
68 + #################################################################
69 + #################################################################
70 + #################################################################
71 + ################################################
72 +done
73 +Bytes transferred = 5898496 (5a0100 hex)
74 +LoadAddr=80100000 NetBootFileXferSize= 005a0100
75 +ranand_erase: start:180000, len:20000
76 +..ranand_erase: start:1a0000, len:20000
77 +..ranand_erase: start:1c0000, len:20000
78 +...
79 +.(5192)offs=7471104 piece=0 piece_size=256 rc=0
80 +Done!
81 +ranand_erase: start:2980000, len:20000
82 +..ranand_erase: start:29a0000, len:20000
83 +..ranand_erase: start:29c0000, len:20000
84 +...
85 +.(5192)offs=49676288 piece=0 piece_size=256 rc=0
86 +Done!
87 +## Booting image at bc180000 ...
88 + Image Name: MIPS OpenWrt Linux-4.14.141
26 26   Image Type: MIPS Linux Kernel Image (lzma compressed)
27 - Data Size: 1908285 Bytes = 1.8 MB
90 + Data Size: 2010110 Bytes = 1.9 MB
28 28   Load Address: 80001000
29 29   Entry Point: 80001000
30 -.............................. Verifying Checksum ... OK
93 +............................... Verifying Checksum ... OK
31 31   Uncompressing Kernel Image ... OK
32 32  No initrd
33 33  ## Transferring control to Linux (at address 80001000) ...
... ... @@ -35,7 +35,7 @@
35 35  
36 36  Starting kernel ...
37 37  
38 -[ 0.000000] Linux version 4.14.101 () (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r9033-cbee2131d6)) #0 SMP Sat Feb 16 05:28:27 2019
101 +[ 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
39 39  [ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
40 40  [ 0.000000] bootconsole [early0] enabled
41 41  [ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
... ... @@ -54,16 +54,16 @@
54 54  [ 0.000000] Early memory node ranges
55 55  [ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff]
56 56  [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
57 -[ 0.000000] random: get_random_bytes called from start_kernel+0x90/0x4a4 with crng_init=0
58 -[ 0.000000] percpu: Embedded 14 pages/cpu @8120f000 s26192 r8192 d22960 u57344
59 -[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 65024
120 +[ 0.000000] random: get_random_bytes called from start_kernel+0x9c/0x4d8 with crng_init=0
121 +[ 0.000000] percpu: Embedded 14 pages/cpu s26064 r8192 d23088 u57344
122 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960
60 60  [ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
61 61  [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
62 62  [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
63 63  [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
64 -[ 0.000000] Writing ErrCtl register=0002c42c
65 -[ 0.000000] Readback ErrCtl register=0002c42c
66 -[ 0.000000] Memory: 253304K/262144K available (4502K kernel code, 233K rwdata, 1000K rodata, 268K init, 248K bss, 8840K reserved, 0K cma-reserved, 0K highmem)
127 +[ 0.000000] Writing ErrCtl register=0002c420
128 +[ 0.000000] Readback ErrCtl register=0002c420
129 +[ 0.000000] Memory: 251700K/262144K available (4796K kernel code, 251K rwdata, 1040K rodata, 1260K init, 254K bss, 10444K reserved, 0K cma-reserved, 0K highmem)
67 67  [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
68 68  [ 0.000000] Hierarchical RCU implementation.
69 69  [ 0.000000] NR_IRQS: 256
... ... @@ -71,210 +71,244 @@
71 71  [ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
72 72  [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
73 73  [ 0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
74 -[ 0.007805] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
75 -[ 0.073978] pid_max: default: 32768 minimum: 301
76 -[ 0.078744] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
77 -[ 0.085252] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
78 -[ 0.094034] Hierarchical SRCU implementation.
79 -[ 0.099185] smp: Bringing up secondary CPUs ...
80 -[ 0.109505] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
81 -[ 0.109515] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
82 -[ 0.109526] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
83 -[ 0.109664] CPU1 revision is: 0001992f (MIPS 1004Kc)
84 -[ 0.163934] Synchronize counters for CPU 1: done.
85 -[ 0.203356] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
86 -[ 0.203365] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
87 -[ 0.203372] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
88 -[ 0.203446] CPU2 revision is: 0001992f (MIPS 1004Kc)
89 -[ 0.255085] Synchronize counters for CPU 2: done.
90 -[ 0.290669] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
91 -[ 0.290678] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
92 -[ 0.290686] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
93 -[ 0.290767] CPU3 revision is: 0001992f (MIPS 1004Kc)
94 -[ 0.340270] Synchronize counters for CPU 3: done.
95 -[ 0.370137] smp: Brought up 1 node, 4 CPUs
96 -[ 0.377732] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
97 -[ 0.387523] futex hash table entries: 1024 (order: 3, 32768 bytes)
98 -[ 0.393811] pinctrl core: initialized pinctrl subsystem
99 -[ 0.400270] NET: Registered protocol family 16
100 -[ 0.423063] mt7621_gpio 1e000600.gpio: registering 32 gpios
101 -[ 0.428878] mt7621_gpio 1e000600.gpio: registering 32 gpios
102 -[ 0.434658] mt7621_gpio 1e000600.gpio: registering 32 gpios
103 -[ 0.442956] clocksource: Switched to clocksource GIC
104 -[ 0.449425] NET: Registered protocol family 2
105 -[ 0.454419] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
106 -[ 0.461303] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
107 -[ 0.467778] TCP: Hash tables configured (established 2048 bind 2048)
108 -[ 0.474212] UDP hash table entries: 256 (order: 1, 8192 bytes)
109 -[ 0.479979] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
110 -[ 0.486452] NET: Registered protocol family 1
111 -[ 0.722896] 4 CPUs re-calibrate udelay(lpj = 2924544)
112 -[ 0.729302] Crashlog allocated RAM at address 0x3f00000
113 -[ 0.734701] workingset: timestamp_bits=30 max_order=16 bucket_order=0
114 -[ 0.748195] squashfs: version 4.0 (2009/01/31) Phillip Lougher
115 -[ 0.753975] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
116 -[ 0.765554] random: fast init done
117 -[ 0.770526] io scheduler noop registered
118 -[ 0.774396] io scheduler deadline registered (default)
119 -[ 0.780409] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
120 -[ 0.788106] console [ttyS0] disabled
121 -[ 0.791645] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
122 -[ 0.800653] console [ttyS0] enabled
123 -[ 0.800653] console [ttyS0] enabled
124 -[ 0.807523] bootconsole [early0] disabled
125 -[ 0.807523] bootconsole [early0] disabled
126 -[ 0.816146] cacheinfo: Unable to detect cache hierarchy for CPU 0
127 -[ 0.823038] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
128 -[ 0.830119] Enable NFI Clock
129 -[ 0.833044] # MTK NAND # : Use HW ECC
130 -[ 0.836708] Device not found, ID: c2f1
131 -[ 0.840433] Not Support this Device!
132 -[ 0.844177] chip_mode=00000001
133 -[ 0.847217] Support this Device in MTK table! c2f1
134 -[ 0.852163] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
135 -[ 0.858632] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
136 -[ 0.864966] nand: Macronix NAND 128MiB 3,3V 8-bit
137 -[ 0.869648] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
138 -[ 0.877212] Scanning device for bad blocks
139 -[ 0.898080] Bad eraseblock 71 at 0x0000008e0000
140 -[ 0.967695] Bad eraseblock 349 at 0x000002ba0000
141 -[ 0.978049] Bad eraseblock 374 at 0x000002ec0000
142 -[ 0.987933] Bad eraseblock 397 at 0x0000031a0000
143 -[ 1.006268] Bad eraseblock 456 at 0x000003900000
144 -[ 1.021533] Bad eraseblock 502 at 0x000003ec0000
145 -[ 1.034940] Bad eraseblock 540 at 0x000004380000
146 -[ 1.050681] Bad eraseblock 588 at 0x000004980000
147 -[ 1.107262] Bad eraseblock 810 at 0x000006540000
148 -[ 1.129339] Bad eraseblock 885 at 0x000006ea0000
149 -[ 1.166421] 7 fixed-partitions partitions found on MTD device MT7621-NAND
150 -[ 1.173195] Creating 7 MTD partitions on "MT7621-NAND":
151 -[ 1.178405] 0x000000000000-0x000000080000 : "uboot"
152 -[ 1.184240] 0x000000080000-0x0000000c0000 : "uboot_env"
153 -[ 1.190298] 0x0000000c0000-0x000000100000 : "factory"
154 -[ 1.196219] 0x000000100000-0x000000140000 : "s_env"
155 -[ 1.201900] 0x000000140000-0x000000180000 : "devinfo"
156 -[ 1.207850] 0x000000180000-0x000002980000 : "firmware1"
157 -[ 1.216116] 0x000002980000-0x000005180000 : "firmware2"
158 -[ 1.223224] 1 uboot-env-boot_part partitions found on MTD device firmware2
159 -[ 1.230090] 0x000002980000-0x000005180000 : "firmware"
160 -[ 1.784436] 2 uimage-fw partitions found on MTD device firmware
161 -[ 1.790355] 0x000002980000-0x000002b60000 : "kernel"
162 -[ 1.796251] 0x000002b60000-0x000005180000 : "ubi"
163 -[ 1.802130] [mtk_nand] probe successfully!
164 -[ 1.806957] Signature matched and data read!
165 -[ 1.811205] load_fact_bbt success 1023
166 -[ 1.815701] libphy: Fixed MDIO Bus: probed
167 -[ 1.885315] mtd_read_prop_mac: find prop "hw_mac_addr" in devinfo(max 0x40000) from 0x0
168 -[ 1.893332] mtd_read_prop_mac: hw_mac_addr=XX:YY:ZZ:00:11:33
169 -[ 1.899142] libphy: mdio: probed
170 -[ 3.302014] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
171 -[ 3.308669] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
172 -[ 3.319426] NET: Registered protocol family 10
173 -[ 3.325219] Segment Routing with IPv6
174 -[ 3.328949] NET: Registered protocol family 17
175 -[ 3.333457] 8021q: 802.1Q VLAN Support v1.8
176 -[ 3.340506] UBI: auto-attach mtd9
177 -[ 3.343893] ubi0: attaching mtd9
178 -[ 3.363286] UBI: EOF marker found, PEBs from 15 will be erased
179 -[ 3.369474] ubi0: scanning is finished
180 -[ 3.411360] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 269 LEBs
181 -[ 3.418731] ubi0: attached mtd9 (name "ubi", size 38 MiB)
182 -[ 3.424164] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
183 -[ 3.431006] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
184 -[ 3.437780] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
185 -[ 3.444725] ubi0: good PEBs: 298, bad PEBs: 7, corrupted PEBs: 0
186 -[ 3.450701] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
187 -[ 3.457906] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1203044710
188 -[ 3.467015] ubi0: available PEBs: 0, total reserved PEBs: 298, PEBs reserved for bad PEB handling: 13
189 -[ 3.476230] ubi0: background thread "ubi_bgt0d" started, PID 359
190 -[ 3.477972] block ubiblock0_0: created from ubi0:0(rootfs)
191 -[ 3.487716] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
192 -[ 3.494673] hctosys: unable to open rtc device (rtc0)
193 -[ 3.519930] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
194 -[ 3.527684] Freeing unused kernel memory: 268K
195 -[ 3.532122] This architecture does not have kernel memory protection.
196 -[ 4.017012] init: Console is alive
197 -[ 4.020616] init: - watchdog -
198 -[ 4.354210] kmodloader: loading kernel modules from /etc/modules-boot.d/*
199 -[ 4.443714] usbcore: registered new interface driver usbfs
200 -[ 4.449260] usbcore: registered new interface driver hub
201 -[ 4.454739] usbcore: registered new device driver usb
202 -[ 4.467426] SCSI subsystem initialized
203 -[ 4.480878] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
204 -[ 4.489588] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
205 -[ 4.498507] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
206 -[ 4.503843] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
207 -[ 4.523114] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
208 -[ 4.532283] xhci-mtk 1e1c0000.xhci: irq 19, io mem 0x1e1c0000
209 -[ 4.538971] hub 1-0:1.0: USB hub found
210 -[ 4.542796] hub 1-0:1.0: 2 ports detected
211 -[ 4.547400] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
212 -[ 4.552722] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
213 -[ 4.560210] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
214 -[ 4.560493] mtk_soc_eth 1e100000.ethernet eth0: port 4 link up
215 -[ 4.566816] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
216 -[ 4.581320] hub 2-0:1.0: USB hub found
217 -[ 4.585161] hub 2-0:1.0: 1 port detected
218 -[ 4.593449] usbcore: registered new interface driver usb-storage
219 -[ 4.599693] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
220 -[ 4.623240] init: - preinit -
221 -[ 5.073028] usb 1-2: new high-speed USB device number 2 using xhci-mtk
222 -[ 5.221107] mtk_soc_eth 1e100000.ethernet: PPE started
223 -[ 5.255985] usb-storage 1-2:1.0: USB Mass Storage device detected
224 -[ 5.262845] scsi host0: usb-storage 1-2:1.0
137 +[ 0.007802] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
138 +[ 0.073969] pid_max: default: 32768 minimum: 301
139 +[ 0.078775] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
140 +[ 0.085284] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
141 +[ 0.094340] Hierarchical SRCU implementation.
142 +[ 0.099495] smp: Bringing up secondary CPUs ...
143 +[ 0.114811] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
144 +[ 0.114820] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
145 +[ 0.114831] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
146 +[ 0.114963] CPU1 revision is: 0001992f (MIPS 1004Kc)
147 +[ 0.164211] Synchronize counters for CPU 1: done.
148 +[ 0.208189] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
149 +[ 0.208197] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
150 +[ 0.208206] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
151 +[ 0.208284] CPU2 revision is: 0001992f (MIPS 1004Kc)
152 +[ 0.255179] Synchronize counters for CPU 2: done.
153 +[ 0.295789] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
154 +[ 0.295797] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
155 +[ 0.295805] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
156 +[ 0.295885] CPU3 revision is: 0001992f (MIPS 1004Kc)
157 +[ 0.340367] Synchronize counters for CPU 3: done.
158 +[ 0.370232] smp: Brought up 1 node, 4 CPUs
159 +[ 0.378204] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
160 +[ 0.388001] futex hash table entries: 1024 (order: 3, 32768 bytes)
161 +[ 0.394408] pinctrl core: initialized pinctrl subsystem
162 +[ 0.401009] NET: Registered protocol family 16
163 +[ 0.415266] pull PCIe RST: RALINK_RSTCTRL = 4000000
164 +[ 0.720548] release PCIe RST: RALINK_RSTCTRL = 7000000
165 +[ 0.725598] ***** Xtal 40MHz *****
166 +[ 0.728952] release PCIe RST: RALINK_RSTCTRL = 7000000
167 +[ 0.734049] Port 0 N_FTS = 1b102800
168 +[ 0.737517] Port 1 N_FTS = 1b102800
169 +[ 0.740963] Port 2 N_FTS = 1b102800
170 +[ 1.896358] PCIE2 no card, disable it(RST&CLK)
171 +[ 1.900719] -> 21007f2
172 +[ 1.903123] PCIE0 enabled
173 +[ 1.905712] PCIE1 enabled
174 +[ 1.908316] PCI host bridge /pcie@1e140000 ranges:
175 +[ 1.913096] MEM 0x0000000060000000..0x000000006fffffff
176 +[ 1.918245] IO 0x000000001e160000..0x000000001e16ffff
177 +[ 1.923451] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
178 +[ 1.939415] mt7621_gpio 1e000600.gpio: registering 32 gpios
179 +[ 1.945254] mt7621_gpio 1e000600.gpio: registering 32 gpios
180 +[ 1.950961] mt7621_gpio 1e000600.gpio: registering 32 gpios
181 +[ 1.958178] PCI host bridge to bus 0000:00
182 +[ 1.962213] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
183 +[ 1.969068] pci_bus 0000:00: root bus resource [io 0xffffffff]
184 +[ 1.974896] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
185 +[ 1.981655] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
186 +[ 1.990318] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
187 +[ 1.998262] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
188 +[ 2.007510] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
189 +[ 2.014070] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
190 +[ 2.020937] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
191 +[ 2.027521] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
192 +[ 2.034415] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
193 +[ 2.041173] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
194 +[ 2.047897] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
195 +[ 2.054657] pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
196 +[ 2.061377] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
197 +[ 2.068661] pci 0000:00:00.0: PCI bridge to [bus 01]
198 +[ 2.073551] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
199 +[ 2.080327] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
200 +[ 2.087559] pci 0000:00:01.0: PCI bridge to [bus 02]
201 +[ 2.092502] pci 0000:00:01.0: bridge window [mem 0x60100000-0x601fffff]
202 +[ 2.100582] clocksource: Switched to clocksource GIC
203 +[ 2.107275] NET: Registered protocol family 2
204 +[ 2.112196] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
205 +[ 2.119081] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
206 +[ 2.125539] TCP: Hash tables configured (established 2048 bind 2048)
207 +[ 2.131955] UDP hash table entries: 256 (order: 1, 8192 bytes)
208 +[ 2.137713] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
209 +[ 2.144212] NET: Registered protocol family 1
210 +[ 2.380532] 4 CPUs re-calibrate udelay(lpj = 2924544)
211 +[ 2.387039] Crashlog allocated RAM at address 0x3f00000
212 +[ 2.392460] workingset: timestamp_bits=14 max_order=16 bucket_order=2
213 +[ 2.408000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
214 +[ 2.413806] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
215 +[ 2.425815] random: fast init done
216 +[ 2.430745] io scheduler noop registered
217 +[ 2.434579] io scheduler deadline registered (default)
218 +[ 2.440747] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
219 +[ 2.448257] console [ttyS0] disabled
220 +[ 2.451855] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
221 +[ 2.460836] console [ttyS0] enabled
222 +[ 2.460836] console [ttyS0] enabled
223 +[ 2.467691] bootconsole [early0] disabled
224 +[ 2.467691] bootconsole [early0] disabled
225 +[ 2.477567] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
226 +[ 2.484816] Enable NFI Clock
227 +[ 2.487689] # MTK NAND # : Use HW ECC
228 +[ 2.491382] Device not found, ID: c2f1
229 +[ 2.495110] Not Support this Device!
230 +[ 2.498835] chip_mode=00000001
231 +[ 2.501893] Support this Device in MTK table! c2f1
232 +[ 2.506840] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
233 +[ 2.513320] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
234 +[ 2.519642] nand: Macronix NAND 128MiB 3,3V 8-bit
235 +[ 2.524347] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
236 +[ 2.531927] Scanning device for bad blocks
237 +[ 2.819771] 7 fixed-partitions partitions found on MTD device MT7621-NAND
238 +[ 2.826546] Creating 7 MTD partitions on "MT7621-NAND":
239 +[ 2.831774] 0x000000000000-0x000000080000 : "uboot"
240 +[ 2.837706] 0x000000080000-0x0000000c0000 : "uboot_env"
241 +[ 2.843891] 0x0000000c0000-0x000000100000 : "factory"
242 +[ 2.849892] 0x000000100000-0x000000140000 : "s_env"
243 +[ 2.855720] 0x000000140000-0x000000180000 : "devinfo"
244 +[ 2.861732] 0x000000180000-0x000002980000 : "firmware1"
245 +[ 2.870032] 0x000002980000-0x000005180000 : "firmware2"
246 +[ 2.877154] 1 uboot-env-boot_part partitions found on MTD device firmware2
247 +[ 2.884061] 0x000002980000-0x000005180000 : "firmware"
248 +[ 3.438509] 2 uimage-fw partitions found on MTD device firmware
249 +[ 3.444473] 0x000002980000-0x000002b80000 : "kernel"
250 +[ 3.450603] 0x000002b80000-0x000005180000 : "ubi"
251 +[ 3.456742] [mtk_nand] probe successfully!
252 +[ 3.461570] Signature matched and data read!
253 +[ 3.465818] load_fact_bbt success 1023
254 +[ 3.470276] libphy: Fixed MDIO Bus: probed
255 +[ 3.542951] mtd_read_prop_mac: find prop "hw_mac_addr" in devinfo(max 0x40000) from 0x0
256 +[ 3.550970] mtd_read_prop_mac: hw_mac_addr=
257 +[ 3.556774] libphy: mdio: probed
258 +[ 4.961009] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
259 +[ 4.967662] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
260 +[ 4.978262] NET: Registered protocol family 10
261 +[ 4.984286] Segment Routing with IPv6
262 +[ 4.988020] NET: Registered protocol family 17
263 +[ 4.992556] 8021q: 802.1Q VLAN Support v1.8
264 +[ 4.999621] UBI: auto-attach mtd9
265 +[ 5.003015] ubi0: attaching mtd9
266 +[ 5.033798] UBI: EOF marker found, PEBs from 25 will be erased
267 +[ 5.039967] ubi0: scanning is finished
268 +[ 5.081872] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 258 LEBs
269 +[ 5.089203] ubi0: attached mtd9 (name "ubi", size 38 MiB)
270 +[ 5.094644] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
271 +[ 5.101543] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
272 +[ 5.108298] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
273 +[ 5.115245] ubi0: good PEBs: 297, bad PEBs: 7, corrupted PEBs: 0
274 +[ 5.121247] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
275 +[ 5.128436] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number:
276 +[ 5.137541] ubi0: available PEBs: 0, total reserved PEBs: 297, PEBs reserved for bad PEB handling: 13
277 +[ 5.146764] ubi0: background thread "ubi_bgt0d" started, PID 378
278 +[ 5.148847] block ubiblock0_0: created from ubi0:0(rootfs)
279 +[ 5.158262] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
280 +[ 5.165234] hctosys: unable to open rtc device (rtc0)
281 +[ 5.183831] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
282 +[ 5.195491] Freeing unused kernel memory: 1260K
283 +[ 5.200022] This architecture does not have kernel memory protection.
284 +[ 5.783744] init: Console is alive
285 +[ 5.787378] init: - watchdog -
286 +[ 6.295000] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
287 +[ 6.502425] kmodloader: loading kernel modules from /etc/modules-boot.d/*
288 +[ 6.591413] usbcore: registered new interface driver usbfs
289 +[ 6.596966] usbcore: registered new interface driver hub
290 +[ 6.602453] usbcore: registered new device driver usb
291 +[ 6.615285] SCSI subsystem initialized
292 +[ 6.626976] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
293 +[ 6.635689] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
294 +[ 6.644627] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
295 +[ 6.649947] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
296 +[ 6.660739] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
297 +[ 6.669906] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
298 +[ 6.676639] hub 1-0:1.0: USB hub found
299 +[ 6.680467] hub 1-0:1.0: 2 ports detected
300 +[ 6.685052] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
301 +[ 6.690366] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
302 +[ 6.697886] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
303 +[ 6.704507] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
304 +[ 6.713446] hub 2-0:1.0: USB hub found
305 +[ 6.717275] hub 2-0:1.0: 1 port detected
306 +[ 6.727313] usbcore: registered new interface driver usb-storage
307 +[ 6.733578] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
308 +[ 6.750877] init: - preinit -
309 +[ 7.180814] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
310 +[ 7.212805] random: procd: uninitialized urandom read (4 bytes read)
311 +[ 7.212971] usb-storage 2-1:1.0: USB Mass Storage device detected
312 +[ 7.225920] scsi host0: usb-storage 2-1:1.0
313 +[ 7.366240] mtk_soc_eth 1e100000.ethernet: PPE started
225 225  Press the [f] key and hit [enter] to enter failsafe mode
226 226  Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
227 -[ 5.312718] random: procd: uninitialized urandom read (4 bytes read)
228 -[ 6.273781] scsi 0:0:0:0: Direct-Access SanDisk Ultra Fit 1.00 PQ: 0 ANSI: 6
229 -[ 6.283479] sd 0:0:0:0: [sda] 60063744 512-byte logical blocks: (30.8 GB/28.6 GiB)
230 -[ 6.291556] sd 0:0:0:0: [sda] Write Protect is off
231 -[ 6.297040] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
232 -[ 6.313010] sd 0:0:0:0: [sda] Attached SCSI removable disk
233 -[ 8.450677] UBIFS (ubi0:1): default file-system created
234 -[ 8.457372] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 474
235 -[ 8.568317] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
236 -[ 8.576154] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
237 -[ 8.586040] UBIFS (ubi0:1): FS size: 32886784 bytes (31 MiB, 259 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
238 -[ 8.596442] UBIFS (ubi0:1): reserved for root: 1553323 bytes (1516 KiB)
239 -[ 8.603051] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID D42C5178-C937-4CB4-94EE-0031FFF6550A, small LPT model
240 -[ 8.617248] mount_root: overlay filesystem has not been fully initialized yet
241 -[ 8.624849] mount_root: switching to ubifs overlay
242 -[ 8.647505] urandom-seed: Seed file not found (/etc/urandom.seed)
243 -[ 8.728797] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
244 -[ 8.743450] procd: - early -
245 -[ 8.746426] procd: - watchdog -
246 -[ 9.403107] procd: - watchdog -
247 -[ 9.406559] procd: - ubus -
248 -[ 9.457080] random: ubusd: uninitialized urandom read (4 bytes read)
249 -[ 9.464255] random: ubusd: uninitialized urandom read (4 bytes read)
250 -[ 9.470985] random: ubusd: uninitialized urandom read (4 bytes read)
251 -[ 9.478186] procd: - init -
316 +[ 10.582466] UBIFS (ubi0:1): default file-system created
317 +[ 10.589130] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 496
318 +[ 10.700430] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
319 +[ 10.708276] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
320 +[ 10.718161] UBIFS (ubi0:1): FS size: 31490048 bytes (30 MiB, 248 LEBs), journal size 1523712 bytes (1 MiB, 12 LEBs)
321 +[ 10.728565] UBIFS (ubi0:1): reserved for root: 1487352 bytes (1452 KiB)
322 +[ 10.735166] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID , small LPT model
323 +[ 10.749347] mount_root: overlay filesystem has not been fully initialized yet
324 +[ 10.756981] mount_root: switching to ubifs overlay
325 +[ 10.781065] urandom-seed: Seed file not found (/etc/urandom.seed)
326 +[ 10.861172] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
327 +[ 10.876085] procd: - early -
328 +[ 10.879061] procd: - watchdog -
329 +[ 11.550737] procd: - watchdog -
330 +[ 11.554202] procd: - ubus -
331 +[ 11.583502] random: ubusd: uninitialized urandom read (4 bytes read)
332 +[ 11.611421] random: ubusd: uninitialized urandom read (4 bytes read)
333 +[ 11.618117] random: ubusd: uninitialized urandom read (4 bytes read)
334 +[ 11.625387] procd: - init -
252 252  Please press Enter to activate this console.
253 -[ 9.714720] kmodloader: loading kernel modules from /etc/modules.d/*
254 -[ 9.724486] ip6_tables: (C) 2000-2006 Netfilter Core Team
255 -[ 9.738298] ip_tables: (C) 2000-2006 Netfilter Core Team
256 -[ 9.749820] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
257 -[ 9.790837] xt_time: kernel timezone is -0000
258 -[ 9.801201] PPP generic driver version 2.4.2
259 -[ 9.806822] NET: Registered protocol family 24
260 -[ 9.813785] kmodloader: done loading kernel modules from /etc/modules.d/*
261 -[ 10.951148] urandom_read: 5 callbacks suppressed
262 -[ 10.951161] random: jshn: uninitialized urandom read (4 bytes read)
263 -[ 16.501675] mtk_soc_eth 1e100000.ethernet: PPE started
264 -[ 16.512395] br-lan: port 1(eth0.2) entered blocking state
265 -[ 16.517965] br-lan: port 1(eth0.2) entered disabled state
266 -[ 16.523873] device eth0.2 entered promiscuous mode
267 -[ 16.528744] device eth0 entered promiscuous mode
268 -[ 16.537326] br-lan: port 1(eth0.2) entered blocking state
269 -[ 16.542760] br-lan: port 1(eth0.2) entered forwarding state
270 -[ 16.548768] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
271 -[ 17.553672] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
272 -[ 21.883773] random: crng init done
273 -
336 +[ 12.046531] kmodloader: loading kernel modules from /etc/modules.d/*
337 +[ 12.057746] ip6_tables: (C) 2000-2006 Netfilter Core Team
338 +[ 12.069204] Loading modules backported from Linux version v5.3-rc4-0-gd45331b00ddb
339 +[ 12.076775] Backport generated by backports.git v5.3-rc4-1-0-g4ec72687
340 +[ 12.085114] ip_tables: (C) 2000-2006 Netfilter Core Team
341 +[ 12.096731] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
342 +[ 12.127574] urngd: v1.0.0 started.
343 +[ 12.145053] xt_time: kernel timezone is -0000
344 +[ 12.214244] bus=0x1, slot = 0x0, irq=0x0
345 +[ 12.218201] PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
346 +[ 12.241178] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
347 +[ 12.241178]
348 +[ 12.266469] random: crng init done
349 +[ 12.269877] random: 6 urandom warning(s) missed due to ratelimiting
350 +[ 12.456236] mt7615e 0000:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20190103180756
351 +[ 12.471995] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20181207140436
352 ++ýýrýýýýýýýbus=0x2, slot = 0x1, irq=0x0
353 +[ 20.131310] PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
354 +[ 20.161193] mt7615e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
355 +[ 20.161193]
356 +[ 20.185604] mt7615e 0000:02:00.0: N9 Firmware Version: _reserved_, Build Time: 20190103180756
357 +[ 20.200746] mt7615e 0000:02:00.0: CR4 Firmware Version: _reserved_, Build Time: 20181207140436
358 +[ 27.852570] PPP generic driver version 2.4.2
359 +[ 27.858358] NET: Registered protocol family 24
360 +[ 27.866716] kmodloader: done loading kernel modules from /etc/modules.d/*
361 +[ 41.276638] mtk_soc_eth 1e100000.ethernet: PPE started
362 +[ 41.287935] br-lan: port 1(eth0.2) entered blocking state
363 +[ 41.293420] br-lan: port 1(eth0.2) entered disabled state
364 +[ 41.299522] device eth0.2 entered promiscuous mode
365 +[ 41.304484] device eth0 entered promiscuous mode
366 +[ 41.311947] br-lan: port 1(eth0.2) entered blocking state
367 +[ 41.317384] br-lan: port 1(eth0.2) entered forwarding state
368 +[ 41.323511] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
369 +[ 42.321086] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
274 274  
275 275  
276 -BusyBox v1.30.1 () built-in shell (ash)
277 277  
373 +BusyBox v1.31.0 () built-in shell (ash)
374 +
278 278   _______ ________ __
279 279   | |.-----.-----.-----.| | | |.----.| |_
280 280   | - || _ | -__| || | | || _|| _|
... ... @@ -281,7 +281,7 @@
281 281   |_______|| __|_____|__|__||________||__| |____|
282 282   |__| W I R E L E S S F R E E D O M
283 283   -----------------------------------------------------
284 - OpenWrt SNAPSHOT, r9254+122-3b40121530
381 + OpenWrt SNAPSHOT, r10942-9bebafcb5d
285 285   -----------------------------------------------------
286 286  === WARNING! =====================================
287 287  There is no root password defined on this device!
... ... @@ -288,15 +288,340 @@
288 288  Use the "passwd" command to set up a new password
289 289  in order to prevent unauthorized SSH logins.
290 290  --------------------------------------------------
291 -root@OpenWrt:/# free
292 - total used free shared buff/cache available
293 -Mem: 253572 23256 224316 60 6000 203516
294 -Swap: 0 0 0
295 -root@OpenWrt:/# df -h
388 +root@OpenWrt:/# ifconfig -a
389 +br-lan Link encap:Ethernet HWaddr
390 + inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
391 + inet6 addr: fde0:62db:5134::1/60 Scope:Global
392 + inet6 addr: fe80::/64 Scope:Link
393 + UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
394 + RX packets:41 errors:0 dropped:0 overruns:0 frame:0
395 + TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
396 + collisions:0 txqueuelen:1000
397 + RX bytes:8012 (7.8 KiB) TX bytes:2126 (2.0 KiB)
398 +
399 +eth0 Link encap:Ethernet HWaddr
400 + inet6 addr: fe80::/64 Scope:Link
401 + UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
402 + RX packets:102 errors:0 dropped:0 overruns:0 frame:0
403 + TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
404 + collisions:0 txqueuelen:1000
405 + RX bytes:19418 (18.9 KiB) TX bytes:8199 (8.0 KiB)
406 + Interrupt:21
407 +
408 +eth0.1 Link encap:Ethernet HWaddr
409 + inet6 addr: fe80::/64 Scope:Link
410 + UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
411 + RX packets:0 errors:0 dropped:0 overruns:0 frame:0
412 + TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
413 + collisions:0 txqueuelen:1000
414 + RX bytes:0 (0.0 B) TX bytes:3368 (3.2 KiB)
415 +
416 +eth0.2 Link encap:Ethernet HWaddr
417 + UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
418 + RX packets:41 errors:0 dropped:0 overruns:0 frame:0
419 + TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
420 + collisions:0 txqueuelen:1000
421 + RX bytes:8012 (7.8 KiB) TX bytes:2126 (2.0 KiB)
422 +
423 +lo Link encap:Local Loopback
424 + inet addr:127.0.0.1 Mask:255.0.0.0
425 + inet6 addr: ::1/128 Scope:Host
426 + UP LOOPBACK RUNNING MTU:65536 Metric:1
427 + RX packets:28 errors:0 dropped:0 overruns:0 frame:0
428 + TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
429 + collisions:0 txqueuelen:1000
430 + RX bytes:1904 (1.8 KiB) TX bytes:1904 (1.8 KiB)
431 +
432 +wlan0 Link encap:Ethernet HWaddr
433 + BROADCAST MULTICAST MTU:1500 Metric:1
434 + RX packets:0 errors:0 dropped:0 overruns:0 frame:0
435 + TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
436 + collisions:0 txqueuelen:1000
437 + RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
438 +
439 +wlan1 Link encap:Ethernet HWaddr
440 + BROADCAST MULTICAST MTU:1500 Metric:1
441 + RX packets:0 errors:0 dropped:0 overruns:0 frame:0
442 + TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
443 + collisions:0 txqueuelen:1000
444 + RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
445 +
446 +root@OpenWrt:/# ls -l
447 +drwxr-xr-x 2 root root 778 Sep 1 06:04 bin
448 +drwxr-xr-x 4 root root 1300 Sep 1 06:05 dev
449 +drwxr-xr-x 1 root root 512 Sep 1 06:05 etc
450 +-rwxr-xr-x 1 root root 78 Dec 30 2018 init
451 +drwxr-xr-x 11 root root 426 Sep 1 06:04 lib
452 +drwxr-xr-x 2 root root 3 Sep 1 06:04 mnt
453 +drwxr-xr-x 4 root root 360 Sep 1 06:05 overlay
454 +dr-xr-xr-x 73 root root 0 Jan 1 1970 proc
455 +drwxr-xr-x 16 root root 223 Sep 1 06:04 rom
456 +drwxr-xr-x 2 root root 3 Sep 1 06:04 root
457 +drwxr-xr-x 2 root root 822 Sep 1 06:04 sbin
458 +dr-xr-xr-x 11 root root 0 Jan 1 1970 sys
459 +drwxrwxrwt 15 root root 380 Sep 1 06:05 tmp
460 +drwxr-xr-x 7 root root 89 Sep 1 06:04 usr
461 +lrwxrwxrwx 1 root root 3 Sep 1 06:04 var -> tmp
462 +drwxr-xr-x 2 root root 3 Sep 1 06:04 www
463 +root@OpenWrt:/# ps
464 + PID USER VSZ STAT COMMAND
465 + 1 root 1576 S /sbin/procd
466 + 2 root 0 SW [kthreadd]
467 + 3 root 0 IW [kworker/0:0]
468 + 4 root 0 IW< [kworker/0:0H]
469 + 5 root 0 IW [kworker/u8:0]
470 + 6 root 0 IW< [mm_percpu_wq]
471 + 7 root 0 SW [ksoftirqd/0]
472 + 8 root 0 IW [rcu_sched]
473 + 9 root 0 IW [rcu_bh]
474 + 10 root 0 SW [migration/0]
475 + 11 root 0 SW [cpuhp/0]
476 + 12 root 0 SW [cpuhp/1]
477 + 13 root 0 SW [migration/1]
478 + 14 root 0 SW [ksoftirqd/1]
479 + 16 root 0 IW< [kworker/1:0H]
480 + 17 root 0 SW [cpuhp/2]
481 + 18 root 0 SW [migration/2]
482 + 19 root 0 SW [ksoftirqd/2]
483 + 21 root 0 IW< [kworker/2:0H]
484 + 22 root 0 SW [cpuhp/3]
485 + 23 root 0 SW [migration/3]
486 + 24 root 0 SW [ksoftirqd/3]
487 + 25 root 0 IW [kworker/3:0]
488 + 26 root 0 IW< [kworker/3:0H]
489 + 27 root 0 IW< [netns]
490 + 41 root 0 IW [kworker/u8:3]
491 + 68 root 0 IW [kworker/3:1]
492 + 69 root 0 IW [kworker/2:1]
493 + 138 root 0 IW [kworker/1:1]
494 + 139 root 0 SW [oom_reaper]
495 + 140 root 0 IW< [writeback]
496 + 142 root 0 SW [kcompactd0]
497 + 143 root 0 IW< [crypto]
498 + 145 root 0 IW< [kblockd]
499 + 175 root 0 IW< [watchdogd]
500 + 199 root 0 SW [kswapd0]
501 + 268 root 0 IW< [pencrypt]
502 + 270 root 0 IW< [pdecrypt]
503 + 366 root 0 IW< [ipv6_addrconf]
504 + 378 root 0 SW [ubi_bgt0d]
505 + 383 root 0 IW< [kworker/0:1H]
506 + 384 root 0 IW< [kworker/2:1H]
507 + 385 root 0 IW [kworker/2:2]
508 + 386 root 0 IW< [kworker/3:1H]
509 + 389 root 0 IW< [kworker/1:1H]
510 + 429 root 0 IW [kworker/0:2]
511 + 437 root 0 IW [kworker/1:2]
512 + 453 root 0 SW [scsi_eh_0]
513 + 454 root 0 IW< [scsi_tmf_0]
514 + 455 root 0 SW [usb-storage]
515 + 496 root 0 SW [ubifs_bgt0_1]
516 + 573 root 1220 S /sbin/ubusd
517 + 574 root 1220 S /bin/ash --login
518 + 591 root 1028 S /sbin/urngd
519 + 660 root 0 IW< [cfg80211]
520 + 1012 root 1248 S /sbin/logd -S 64
521 + 1074 dnsmasq 1344 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c
522 + 1111 root 1080 S /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p
523 + 1168 root 1700 S /sbin/netifd
524 + 1204 root 1448 S /usr/sbin/odhcpd
525 + 1360 root 1212 S udhcpc -p /var/run/udhcpc-eth0.1.pid -s /lib/netifd/
526 + 1361 root 1052 S odhcp6c -s /lib/netifd/dhcpv6.script -P0 -t120 eth0.
527 + 1391 root 1212 S< /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 0.
528 + 1720 root 1212 R ps
529 +root@OpenWrt:/etc# ping www.google.co
530 +PING www.google.co (): 56 data bytes
531 +64 bytes from : seq=0 ttl=52 time=4.718 ms
532 +^C
533 +--- www.google.co ping statistics ---
534 +1 packets transmitted, 1 packets received, 0% packet loss
535 +round-trip min/avg/max = 4.718/4.718/4.718 ms
536 +root@OpenWrt:/etc# ping www.google.com
537 +PING www.google.com (): 56 data bytes
538 +64 bytes from : seq=0 ttl=47 time=4.927 ms
539 +64 bytes from : seq=1 ttl=47 time=4.687 ms
540 +^C
541 +--- www.google.com ping statistics ---
542 +2 packets transmitted, 2 packets received, 0% packet loss
543 +round-trip min/avg/max = 4.687/4.807/4.927 ms
544 +root@OpenWrt:/etc# opkg update
545 +Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages/Packages.gz
546 +Updated list of available packages in /var/opkg-lists/openwrt_core
547 +Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages/Packages.sig
548 +Signature check passed.
549 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.gz
550 +Updated list of available packages in /var/opkg-lists/openwrt_base
551 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.sig
552 +Signature check passed.
553 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.gz
554 +Updated list of available packages in /var/opkg-lists/openwrt_luci
555 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.sig
556 +Signature check passed.
557 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.gz
558 +Updated list of available packages in /var/opkg-lists/openwrt_packages
559 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.sig
560 +Signature check passed.
561 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.gz
562 +Updated list of available packages in /var/opkg-lists/openwrt_routing
563 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.sig
564 +Signature check passed.
565 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.gz
566 +Updated list of available packages in /var/opkg-lists/openwrt_telephony
567 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.sig
568 +Signature check passed.
569 +root@OpenWrt:/etc# opkg install luci
570 +Installing luci (git-19.241.65047-dffe9ca-1) to root...
571 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci_git-19.241.65047-dffe9ca-1_all.ipk
572 +Installing uhttpd (2019-08-17-6b03f960-3) to root...
573 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/uhttpd_2019-08-17-6b03f960-3_mipsel_24kc.ipk
574 +Installing liblua5.1.5 (5.1.5-5) to root...
575 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/liblua5.1.5_5.1.5-5_mipsel_24kc.ipk
576 +Installing lua (5.1.5-5) to root...
577 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/lua_5.1.5-5_mipsel_24kc.ipk
578 +Installing luci-lib-nixio (git-19.241.65047-dffe9ca-1) to root...
579 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-lib-nixio_git-19.241.65047-dffe9ca-1_mipsel_24kc.ipk
580 +Installing luci-lib-ip (git-19.241.65047-dffe9ca-1) to root...
581 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-lib-ip_git-19.241.65047-dffe9ca-1_mipsel_24kc.ipk
582 +Installing rpcd (2019-06-05-89bfaa42-3) to root...
583 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/rpcd_2019-06-05-89bfaa42-3_mipsel_24kc.ipk
584 +Installing libubus-lua (2018-10-06-221ce7e7-1) to root...
585 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/libubus-lua_2018-10-06-221ce7e7-1_mipsel_24kc.ipk
586 +Installing luci-lib-jsonc (git-19.241.65047-dffe9ca-1) to root...
587 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-lib-jsonc_git-19.241.65047-dffe9ca-1_mipsel_24kc.ipk
588 +Installing liblucihttp0 (2019-07-05-a34a17d5-1) to root...
589 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/liblucihttp0_2019-07-05-a34a17d5-1_mipsel_24kc.ipk
590 +Installing liblucihttp-lua (2019-07-05-a34a17d5-1) to root...
591 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/liblucihttp-lua_2019-07-05-a34a17d5-1_mipsel_24kc.ipk
592 +Installing luci-base (git-19.241.65047-dffe9ca-1) to root...
593 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-base_git-19.241.65047-dffe9ca-1_mipsel_24kc.ipk
594 +Installing libiwinfo-lua (2019-08-28-a9f95570-1) to root...
595 +Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages/libiwinfo-lua_2019-08-28-a9f95570-1_mipsel_24kc.ipk
596 +Installing luci-mod-status (git-19.241.65047-dffe9ca-1) to root...
597 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-mod-status_git-19.241.65047-dffe9ca-1_mipsel_24kc.ipk
598 +Installing luci-mod-system (git-19.241.65047-dffe9ca-1) to root...
599 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-mod-system_git-19.241.65047-dffe9ca-1_all.ipk
600 +Installing luci-mod-network (git-19.241.65047-dffe9ca-1) to root...
601 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-mod-network_git-19.241.65047-dffe9ca-1_all.ipk
602 +Installing luci-mod-admin-full (git-19.241.65047-dffe9ca-1) to root...
603 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-mod-admin-full_git-19.241.65047-dffe9ca-1_all.ipk
604 +Installing luci-theme-bootstrap (git-19.241.65047-dffe9ca-1) to root...
605 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-theme-bootstrap_git-19.241.65047-dffe9ca-1_all.ipk
606 +Installing luci-app-firewall (git-19.241.65047-dffe9ca-1) to root...
607 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-app-firewall_git-19.241.65047-dffe9ca-1_all.ipk
608 +Installing luci-app-opkg (git-19.241.65047-dffe9ca-1) to root...
609 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-app-opkg_git-19.241.65047-dffe9ca-1_all.ipk
610 +Installing luci-proto-ppp (git-19.241.65047-dffe9ca-1) to root...
611 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-proto-ppp_git-19.241.65047-dffe9ca-1_all.ipk
612 +Installing luci-proto-ipv6 (git-19.241.65047-dffe9ca-1) to root...
613 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-proto-ipv6_git-19.241.65047-dffe9ca-1_all.ipk
614 +Installing rpcd-mod-rrdns (20170710) to root...
615 +Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/rpcd-mod-rrdns_20170710_mipsel_24kc.ipk
616 +Configuring liblucihttp0.
617 +Configuring luci-app-opkg.
618 +Configuring rpcd.
619 +Configuring liblua5.1.5.
620 +Configuring luci-lib-ip.
621 +Configuring libubus-lua.
622 +Configuring libiwinfo-lua.
623 +Configuring lua.
624 +Configuring luci-lib-nixio.
625 +Configuring luci-lib-jsonc.
626 +Configuring liblucihttp-lua.
627 +Configuring luci-base.
628 +Configuring luci-mod-system.
629 +Configuring luci-theme-bootstrap.
630 +Configuring luci-mod-status.
631 +Configuring luci-app-firewall.
632 +Configuring luci-proto-ppp.
633 +Configuring luci-mod-network.
634 +Configuring luci-mod-admin-full.
635 +Configuring luci-proto-ipv6.
636 +Configuring uhttpd.
637 +Configuring rpcd-mod-rrdns.
638 +Configuring luci.
639 +root@OpenWrt:/etc# df -h
296 296  Filesystem Size Used Available Use% Mounted on
297 -/dev/root 1.5M 1.5M 0 100% /rom
298 -tmpfs 123.8M 60.0K 123.8M 0% /tmp
299 -/dev/ubi0_1 28.3M 36.0K 26.8M 0% /overlay
300 -overlayfs:/overlay 28.3M 36.0K 26.8M 0% /
641 +/dev/root 2.8M 2.8M 0 100% /rom
642 +tmpfs 123.5M 764.0K 122.8M 1% /tmp
643 +/dev/ubi0_1 27.1M 1.4M 24.3M 5% /overlay
644 +overlayfs:/overlay 27.1M 1.4M 24.3M 5% /
301 301  tmpfs 512.0K 0 512.0K 0% /dev
646 +root@OpenWrt:/etc# [ 2075.963720] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
647 +[ 2075.973245] br-lan: port 2(wlan0) entered blocking state
648 +[ 2075.978551] br-lan: port 2(wlan0) entered disabled state
649 +[ 2075.984368] device wlan0 entered promiscuous mode
650 +[ 2087.165173] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
651 +[ 2087.171890] br-lan: port 2(wlan0) entered blocking state
652 +[ 2087.177194] br-lan: port 2(wlan0) entered forwarding state
653 +[ 2096.494533] device wlan0 left promiscuous mode
654 +[ 2096.499322] br-lan: port 2(wlan0) entered disabled state
655 +[ 2097.382887] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
656 +[ 2097.393568] br-lan: port 2(wlan0) entered blocking state
657 +[ 2097.398924] br-lan: port 2(wlan0) entered disabled state
658 +[ 2097.404922] device wlan0 entered promiscuous mode
659 +[ 2097.409972] br-lan: port 2(wlan0) entered blocking state
660 +[ 2097.415296] br-lan: port 2(wlan0) entered forwarding state
661 +[ 2097.749351] br-lan: port 2(wlan0) entered disabled state
662 +[ 2107.953875] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
663 +[ 2107.960561] br-lan: port 2(wlan0) entered blocking state
664 +[ 2107.965861] br-lan: port 2(wlan0) entered forwarding state
665 +[ 2117.964353] device wlan0 left promiscuous mode
666 +[ 2117.969130] br-lan: port 2(wlan0) entered disabled state
667 +[ 2118.782586] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
668 +[ 2118.792816] br-lan: port 2(wlan0) entered blocking state
669 +[ 2118.798173] br-lan: port 2(wlan0) entered disabled state
670 +[ 2118.804171] device wlan0 entered promiscuous mode
671 +[ 2118.809362] br-lan: port 2(wlan0) entered blocking state
672 +[ 2118.814692] br-lan: port 2(wlan0) entered forwarding state
673 +[ 2119.189273] br-lan: port 2(wlan0) entered disabled state
674 +[ 2130.258107] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
675 +[ 2130.264811] br-lan: port 2(wlan0) entered blocking state
676 +[ 2130.270163] br-lan: port 2(wlan0) entered forwarding state
677 +[ 2245.748473] device wlan0 left promiscuous mode
678 +[ 2245.753145] br-lan: port 2(wlan0) entered disabled state
679 +[ 2246.536062] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
680 +[ 2246.546273] br-lan: port 2(wlan0) entered blocking state
681 +[ 2246.551680] br-lan: port 2(wlan0) entered disabled state
682 +[ 2246.557667] device wlan0 entered promiscuous mode
683 +[ 2246.562855] br-lan: port 2(wlan0) entered blocking state
684 +[ 2246.568267] br-lan: port 2(wlan0) entered forwarding state
685 +[ 2246.838430] br-lan: port 2(wlan0) entered disabled state
686 +[ 2246.948147] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
687 +[ 2246.954850] br-lan: port 2(wlan1) entered blocking state
688 +[ 2246.960197] br-lan: port 2(wlan1) entered forwarding state
689 +
690 +root@OpenWrt:/etc#
691 +root@OpenWrt:/etc# uci show wireless
692 +wireless.radio0=wifi-device
693 +wireless.radio0.type='mac80211'
694 +wireless.radio0.channel='11'
695 +wireless.radio0.hwmode='11g'
696 +wireless.radio0.path='pci0000:00/0000:00:00.0/0000:01:00.0'
697 +wireless.radio0.country='00'
698 +wireless.radio0.legacy_rates='1'
699 +wireless.radio0.htmode='HT20'
700 +wireless.default_radio0=wifi-iface
701 +wireless.default_radio0.device='radio0'
702 +wireless.default_radio0.network='lan'
703 +wireless.default_radio0.mode='ap'
704 +wireless.default_radio0.encryption='psk2'
705 +wireless.default_radio0.key='qwerty1234'
706 +wireless.default_radio0.ssid='asdf'
707 +wireless.radio1=wifi-device
708 +wireless.radio1.type='mac80211'
709 +wireless.radio1.channel='36'
710 +wireless.radio1.hwmode='11a'
711 +wireless.radio1.path='pci0000:00/0000:00:01.0/0000:02:00.0'
712 +wireless.radio1.htmode='VHT80'
713 +wireless.radio1.__toggle='Enable'
714 +wireless.radio1.country='00'
715 +wireless.radio1.legacy_rates='1'
716 +wireless.default_radio1=wifi-iface
717 +wireless.default_radio1.device='radio1'
718 +wireless.default_radio1.network='lan'
719 +wireless.default_radio1.mode='ap'
720 +wireless.default_radio1.ssid='asdf'
721 +wireless.default_radio1.encryption='psk2'
722 +wireless.default_radio1.key='qwerty1234'
723 +root@OpenWrt:/etc#
302 302  {{/code}}