Temat: Mi r3g - brak dostępu.
Witam wszystkich forumowiczów. Piszę tutaj mój pierwszy post i od razu z problemem.
Wgrywałem do mojego Mi r3g OpenWRT, OFW oraz Gargulca za ktymś razem pomyliłem pliki i wgrałem LEDE. Niestety po wgraniu tego ostatniego brak kontaktu z ruterm po LANie oraz USB.
Po podłączeniu poprzez HyperTerminal mam w logu to co poniżej i o dziwo mam dostęp do ruterka. Pytanie do was co dalej?
Boot and Recovery Environment for Embedded Devices
Copyright (C) 2020 HackPascal <hackpascal@gmail.com>
Build date 2020-01-14 [git-b25d507]
Version 1.1 (r1280)
DRAM: 256MB
Platform: MediaTek MT7621A ver 1, eco 3
Board: Xiaomi R3G
Clocks: CPU: 880MHz, DDR: 1200MHz, Bus: 220MHz, Ref: 40MHz
Environment variables @ 00060000 on flash bank 0, size 00020000
Flash: ESMT NAND 128MiB 3.3V 8-bit (128MB) on mt7621-nfi.0
mt7621-nfi.0: Found Fact BBT at block 1023 (offset 0x07fe0000)
rt2880-eth: MAC address from EEPROM is invalid, using default settings.
rt2880-eth: Using MAC address 00:0c:43:00:00:01
eth0: MediaTek MT7530 Gigabit switch
Network started on eth0, inet addr 192.168.1.1, netmask 255.255.255.0
Press any key to interrupt autoboot ... 0
Trying to boot firmware from 0x00200000 in flash bank 0 ...
Reading data into memory ...
U-Boot firmware image header detected.
Image Name: MIPS OpenWrt Linux-4.14.152
Data Size: 1839136 Bytes
Load Address: 80001000
Entry Point: 80001000
Uncompressing data (LZMA) ... done.
Flushing cache ... done.
Starting kernel at 0x80001000...
[ 0.000000] Linux version 4.14.152 (cezary@eko.one.pl) (gcc version 7.3.0 (Op
enWrt GCC 7.3.0 r7902-05c858ff6a)) #0 SMP Sun Nov 17 01:49:52 2019
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is Xiaomi Mi Router 3G
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 10000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] VPE topology {2,2} total 4
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 byt
es
[ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] random: get_random_bytes called from 0x80559744 with crng_init=0
[ 0.000000] percpu: Embedded 14 pages/cpu s26224 r8192 d22928 u57344
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,j
ffs2
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Writing ErrCtl register=00000240
[ 0.000000] Readback ErrCtl register=00000240
[ 0.000000] Memory: 253616K/262144K available (4648K kernel code, 243K rwdata
, 572K rodata, 220K init, 254K bss, 8528K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS: 256
[ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478ab
b4, max_idle_ns: 440795247997 ns
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_i
dle_ns: 4343773742 ns
[ 0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 48806
45118ns
[ 0.007810] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[ 0.073977] pid_max: default: 32768 minimum: 301
[ 0.078747] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.085257] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.094035] Hierarchical SRCU implementation.
[ 0.099190] smp: Bringing up secondary CPUs ...
[ 9.121978] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 9.121987] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 byt
es
[ 9.121998] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 9.122128] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.163936] Synchronize counters for CPU 1: done.
[ 1.406428] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 1.406436] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 byt
es
[ 1.406445] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 1.406516] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.255032] Synchronize counters for CPU 2: done.
[ 0.362256] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.362264] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 byt
es
[ 0.362273] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.362351] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.340207] Synchronize counters for CPU 3: done.
[ 0.370067] smp: Brought up 1 node, 4 CPUs
[ 0.377767] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma
x_idle_ns: 19112604462750000 ns
[ 0.387547] futex hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.393850] pinctrl core: initialized pinctrl subsystem
[ 0.399646] NET: Registered protocol family 16
[ 0.411235] pull PCIe RST: RALINK_RSTCTRL = 0
[ 0.715932] release PCIe RST: RALINK_RSTCTRL = 7000000
[ 0.720981] ***** Xtal 40MHz *****
[ 0.724336] release PCIe RST: RALINK_RSTCTRL = 7000000
[ 0.729431] Port 0 N_FTS = 1b102800
[ 0.732901] Port 1 N_FTS = 1b102800
[ 0.736343] Port 2 N_FTS = 1b102800
[ 1.891503] PCIE2 no card, disable it(RST&CLK)
[ 1.895863] -> 21007f2
[ 1.898264] PCIE0 enabled
[ 1.900856] PCIE1 enabled
[ 1.903462] PCI host bridge /pcie@1e140000 ranges:
[ 1.908236] MEM 0x0000000060000000..0x000000006fffffff
[ 1.913393] IO 0x000000001e160000..0x000000001e16ffff
[ 1.918590] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
[ 1.934710] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.940550] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.946388] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.953402] PCI host bridge to bus 0000:00
[ 1.957480] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 1.964250] pci_bus 0000:00: root bus resource [io 0xffffffff]
[ 1.970136] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 1.976861] pci_bus 0000:00: No busn resource found for root bus, will use [b
us 00-ff]
[ 1.985472] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), rec
onfiguring
[ 1.993376] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), rec
onfiguring
[ 2.002517] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 2.009027] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 2.015994] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[ 2.022509] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[ 2.029437] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[ 2.036157] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[ 2.042915] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref
]
[ 2.050075] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[ 2.056834] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[ 2.063559] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[ 2.070308] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 2.075211] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 2.081975] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bi
t]
[ 2.089217] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref
]
[ 2.096399] pci 0000:00:01.0: PCI bridge to [bus 02]
[ 2.101306] pci 0000:00:01.0: bridge window [mem 0x60100000-0x601fffff]
[ 2.108059] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff pref
]
[ 2.116497] clocksource: Switched to clocksource GIC
[ 2.123040] NET: Registered protocol family 2
[ 2.128077] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 2.134963] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[ 2.141410] TCP: Hash tables configured (established 2048 bind 2048)
[ 2.147816] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 2.153577] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 2.160051] NET: Registered protocol family 1
[ 2.396449] 4 CPUs re-calibrate udelay(lpj = 2924544)
[ 2.402781] Crashlog allocated RAM at address 0x3f00000
[ 2.408163] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[ 2.421857] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.427647] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT
Y) (c) 2001-2006 Red Hat, Inc.
[ 2.439285] random: fast init done
[ 2.444246] io scheduler noop registered
[ 2.448126] io scheduler deadline registered (default)
[ 2.453824] gpio-export gpio_export: 1 gpio(s) exported
[ 2.459789] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 2.469154] console [ttyS0] disabled
[ 2.472705] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud
= 3125000) is a 16550A
[ 2.481757] console [ttyS0] enabled
[ 2.481757] console [ttyS0] enabled
[ 2.488636] bootconsole [early0] disabled
[ 2.488636] bootconsole [early0] disabled
[ 2.498815] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[ 2.505894] Enable NFI Clock
[ 2.508807] # MTK NAND # : Use HW ECC
[ 2.512470] Device found in MTK table, ID: c8d1, EXT_ID: 809540
[ 2.518376] Support this Device in MTK table! c8d1
[ 2.523323] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[ 2.529801] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1
[ 2.536122] nand: ESMT NAND 128MiB 3,3V 8-bit
[ 2.540474] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB siz
e: 64
[ 2.548056] Scanning device for bad blocks
[ 2.695515] 10 fixed-partitions partitions found on MTD device MT7621-NAND
[ 2.702373] Creating 10 MTD partitions on "MT7621-NAND":
[ 2.707694] 0x000000000000-0x000000080000 : "Bootloader"
[ 2.714081] 0x000000080000-0x0000000c0000 : "Config"
[ 2.720063] 0x0000000c0000-0x000000100000 : "Bdata"
[ 2.725925] 0x000000100000-0x000000140000 : "Factory"
[ 2.732021] 0x000000140000-0x000000180000 : "crash"
[ 2.737930] 0x000000180000-0x0000001c0000 : "crash_syslog"
[ 2.744404] 0x0000001c0000-0x000000200000 : "reserved0"
[ 2.750700] 0x000000200000-0x000000600000 : "kernel_stock"
[ 2.757229] 0x000000600000-0x000000a00000 : "kernel"
[ 2.763020] 0x000000a00000-0x000007f80000 : "ubi"
[ 2.769568] [mtk_nand] probe successfully!
[ 2.774377] Signature matched and data read!
[ 2.778657] load_fact_bbt success 1023
[ 2.783042] libphy: Fixed MDIO Bus: probed
[ 2.859039] libphy: mdio: probed
[ 4.262684] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[ 4.269323] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe
100000, irq 20
[ 4.279998] NET: Registered protocol family 10
[ 4.286024] Segment Routing with IPv6
[ 4.289848] NET: Registered protocol family 17
[ 4.294344] bridge: filtering via arp/ip/ip6tables is no longer available by
default. Update your scripts to load br_netfilter if you need this.
[ 4.307258] 8021q: 802.1Q VLAN Support v1.8
[ 4.314293] UBI: auto-attach mtd9
[ 4.317657] ubi0: attaching mtd9
[ 5.101048] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
[ 5.404226] ubi0: scanning is finished
[ 5.423823] ubi0: attached mtd9 (name "ubi", size 117 MiB)
[ 5.429345] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 5.436185] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 5.442956] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 5.449901] ubi0: good PEBs: 940, bad PEBs: 0, corrupted PEBs: 0
[ 5.455877] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 12
8
[ 5.463082] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequ
ence number: 1316886663
[ 5.472187] ubi0: available PEBs: 0, total reserved PEBs: 940, PEBs reserved
for bad PEB handling: 20
[ 5.481401] ubi0: background thread "ubi_bgt0d" started, PID 389
[ 5.483064] block ubiblock0_0: created from ubi0:0(rootfs)
[ 5.492883] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[ 5.499835] hctosys: unable to open rtc device (rtc0)
[ 5.512293] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 5.519925] Freeing unused kernel memory: 220K
[ 5.524359] This architecture does not have kernel memory protection.
[ 6.041472] init: Console is alive
[ 6.045105] init: - watchdog -
[ 6.106830] init: - preinit -
[ 6.826662] mtk_soc_eth 1e100000.ethernet: PPE started
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 10.041070] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 445
[ 10.087631] random: procd: uninitialized urandom read (4 bytes read)
[ 10.114998] UBIFS (ubi0:1): recovery needed
[ 10.298498] UBIFS (ubi0:1): recovery completed
[ 10.303057] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "root
fs_data"
[ 10.310874] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O u
nit sizes: 2048 bytes/2048 bytes
[ 10.320767] UBIFS (ubi0:1): FS size: 112373760 bytes (107 MiB, 885 LEBs), jou
rnal size 5586944 bytes (5 MiB, 44 LEBs)
[ 10.331343] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[ 10.337953] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID A0DE6
F67-AF27-4F6E-AC02-A02AD15A883B, small LPT model
[ 10.354614] mount_root: switching to ubifs overlay
[ 10.382046] urandom-seed: Seeding with /etc/urandom.seed
[ 10.475083] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x8081
8
[ 10.489800] procd: - early -
[ 10.492776] procd: - watchdog -
[ 11.126627] procd: - watchdog -
[ 11.130079] procd: - ubus -
[ 11.190867] random: ubusd: uninitialized urandom read (4 bytes read)
[ 11.199665] random: ubusd: uninitialized urandom read (4 bytes read)
[ 11.206529] random: ubusd: uninitialized urandom read (4 bytes read)
[ 11.213773] procd: - init -
Please press Enter to activate this console.
[ 13.108243] urandom_read: 5 callbacks suppressed
[ 13.108254] random: jshn: uninitialized urandom read (4 bytes read)
[ 18.158720] mtk_soc_eth 1e100000.ethernet: PPE started
[ 18.168093] device eth0 entered promiscuous mode
[ 18.173977] br-lan: port 1(eth0.1) entered blocking state
[ 18.179447] br-lan: port 1(eth0.1) entered disabled state
[ 18.185251] device eth0.1 entered promiscuous mode
[ 18.193324] br-lan: port 1(eth0.1) entered blocking state
[ 18.198788] br-lan: port 1(eth0.1) entered forwarding state
[ 18.204733] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 19.207033] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 29.177334] random: crng init done
BusyBox v1.28.3 () built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 18.06.1, r7258-5eb055306f
-----------------------------------------------------
root@OpenWrt:/#