1

Temat: Xiaomi Router 3G - Problem z LEDE

Witam

Mam router R3G od października ubiegłego roku, oprogramowanie zmienione na lede bo potrzebowałem go do LTE.

Obecnie nie mogę sobie z nim poradzić. Instalowałem oprogramowanie z:
http://dl.eko.one.pl/luci/openwrt-18.06/ramips/mt7621/

Router co jakiś czas się zawiesza, wifi znika. Do panelu nie da się dostać, dioda czasami miga na pomarańczo później zmienia kolor na niebieski. Pomaga tylko restart przez odcięcie zasilania. Co jakiś czas to wraca.

Po zmianie na LEDE 18 RC1 lub RC2 z oficjalnego zródła:
https://downloads.openwrt.org/releases/

Router działa lepiej nie zawiesza się jest stabilniej, natomiast obserwuje coś znacznie wkurzającego. Po wyciągnięciu wtyczki zasilania(lub np. zanik zasilania) nie da się już dostać do panelu, nawet na czystym oprogramowaniu, wyświetla się komunikat o nieprawidłowym loginie lub haśle, hasło nie zostało zmieniane(nawet jest bez hasła)

To coś z moim routerem jest nie tak? bo wygląda mi to na uszkodzony flash(nie zapisuje niektórych danych), system aktualizowany od początku lede przez pliki mir3g-squashfs-sysupgrade.tar

2

Odp: Xiaomi Router 3G - Problem z LEDE

Przywróć ustawienia domyślnie, ustaw to co potrzebujesz, zapisz i używaj. Jak zacznie się coś dziać - zaloguj się przez ssh o pokaż wynik logread.

Co do gui - często/gęsto zezwalasz na przeglądarce zapamiętanie hasła i usera? Bo może je odczytać z innych formularzy id podstawić jest w gui bo pola jakoś nie nazywają się specjalnie unikatowo. Próbowałeś wpisywać login/pass z ręki?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Xiaomi Router 3G - Problem z LEDE

Cezary napisał/a:

Przywróć ustawienia domyślnie, ustaw to co potrzebujesz, zapisz i używaj. Jak zacznie się coś dziać - zaloguj się przez ssh o pokaż wynik logread.

Co do gui - często/gęsto zezwalasz na przeglądarce zapamiętanie hasła i usera? Bo może je odczytać z innych formularzy id podstawić jest w gui bo pola jakoś nie nazywają się specjalnie unikatowo. Próbowałeś wpisywać login/pass z ręki?

Ustawienia mnie nie ratują mogę je odtworzyć w podstawowej wersji w jakieś 10min. Problem jest ja chce coś zmienić, np. jakąś pierdołkę. Router ma w innej adresacji bez włączonego dhcp i w tym jest problem, że i tak musiałbym go podpinać pod komputer.

Tak login i hasło się zapisują w przeglądarce próbowałem w trybie incognito czy gościa też nie mogę się dostać. Wpisywałem też ręcznie. W twojej kompilacji jak nie mam hasła to mogę wpisać dowolne i tak się dostanę. Próbowałem też zmienić hasło(a raczej je ustawić w trybie failsafe ale otrzymywałem jakiś błąd.

Sprawdzę później te wyniki z logread, a z której wersji lede ci chodzi, czy może podać z obu ?

4

Odp: Xiaomi Router 3G - Problem z LEDE

Nie, nie chcę żebyś odtwarzał jakiekolwiek ustawienia. Domyślnie, ustaw to co niezbędne i tyle, tak ma chodzić. Bo często się okazuje że właśnie przez przywracanie poprzednich ustawień coś się krzaczy.

Obojętnie z której, ale nie logread po wgraniu systemu. Dopiero jak coś się zacznie dziać i oczywiście nie resetuj routera. Bo trzeba zobaczy czy i co się w logach odłożyło.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Xiaomi Router 3G - Problem z LEDE

Więc tak zainstalowałem lede z oficjalnego źródła za pomocą failsafe wykonałem reboot z pozycji konsoli, zresetowałem zasilanie za pomocą innej przeglądarki wszedłem do konfiguracji routera, teraz działa na każdej przeglądarce. Wydaje się ze to rozwiązało ten problem.

Postanowił sprawdzić jeszcze lede z dl.eko.one.pl, zainstalowałem wykonałem reboot skonfigurowałem i zostawiłem tak. Miałem problem z połączeniem wifi na telefonie ale najprawdopodobniej to wina telefonu. Wszystko wydawało się ok, aż do dziś problem wrócił, router wpadł chyba w pętle bootowania bo niema do niego dostępu przez WWW czy SSH, miga jedynie niebieska dioda lub zamienia się z żółtą.
Jak to wygląda można zobaczyć na filmie:
https://drive.google.com/file/d/1vk3MU8 … sp=sharing

6 (edytowany przez Cezary 2018-08-10 11:21:05)

Odp: Xiaomi Router 3G - Problem z LEDE

Zdradzisz mi co w ogóle wgrałeś skoro u mnie na dl.eko.one.pl NIE MA  obrazu LEDE dla Xiaomi 3G?
Mam tylko obrazy OpenWrt 18.06, a one normalnie działają na moim xiaomi cały czas.

Teraz aby zdiagnozować co się dzieje musisz pokazać logi w konsoli, przez podłączy interfejs szeregowy do routera.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7 (edytowany przez Uknow 2018-08-10 16:10:04)

Odp: Xiaomi Router 3G - Problem z LEDE

Kwestia przyzwyczajenie, obecnie(po zjednoczeniu OpenWRT z LEDE) więcej LEDE w OpenWRT niż samego OpenWRT. Obraz z pierwszego postu.

Logi z konsoli UART: (są tu 2 restarty, chyba tyle powinno wystarczyć)

U-Boot 1.1.3 (Apr 17 2017 - 17:00:02)


Board: Ralink APSoC DRAM:  256 MB

Power on memory test. Memory size= 256 MB...OK!

relocate_code Pointer at: 8ffac000


Config XHCI 40M PLL 

***********************

Watchdog Reset Occurred

***********************

Allocate 16 byte aligned buffer: 8ffdffd0

Enable NFI Clock

# MTK NAND # : Use HW ECC

NAND ID [C8 D1 80 95 42]

Device not found, ID: c8d1

Not Support this Device! 

chip_mode=00000001

Support this Device in MTK table! c8d1 

select_chip

[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16

Signature matched and data read!

load_fact_bbt success 1023

load fact bbt success

[mtk_nand] probe successfully!

mtd->writesize=2048 mtd->oobsize=64,    mtd->erasesize=131072  devinfo.iowidth=8

..============================================ 

Ralink UBoot Version: 5.0.0.0

-------------------------------------------- 

ASIC MT7621A DualCore (MAC to MT7530 Mode)

DRAM_CONF_FROM: Auto-Detection 

DRAM_TYPE: DDR3 

DRAM bus: 16 bit

Xtal Mode=5 OCP Ratio=1/4

Flash component: NAND Flash

Date:Apr 17 2017  Time:17:00:02

============================================ 

icache: sets:256, ways:4, linesz:32 ,total:32768

dcache: sets:256, ways:4, linesz:32 ,total:32768 


 ##### The CPU freq = 880 MHZ #### 

 estimate memory size =256 Mbytes

#Reset_MT7530

set LAN/WAN LWLLL


Please choose the operation: 

   1: Load system code to SDRAM via TFTP. 

   2: Load system code then write to Flash via TFTP. 

   3: Boot system code via Flash (default).

   4: Entr boot command line interface.

   7: Load Boot Loader code then write to Flash via Serial. 

   9: Load Boot Loader code then write to Flash via TFTP. 

 4  3  2  1  0 

Booting System 2

..Erasing NAND Flash...

ranand_erase: start:80000, len:20000 

.Writing to NAND Flash...

done

   

3: System Boot system code via Flash.

## Booting image at bc600000 ...

   Image Name:   MIPS OpenWrt Linux-4.14.48

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    1935163 Bytes =  1.8 MB

   Load Address: 80001000

   Entry Point:  80001000

..............................   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

commandline uart_en=0 factory_mode=0 usb_u3=0

No initrd

## Transferring control to Linux (at address 80001000) ...

## Giving linux memsize in MB, 256


Starting kernel ...


[    0.000000] Linux version 4.14.48 (cezary@eko.one.pl) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6984-fa0275b)) #0 SMP Thu Jun 14 19:47:54 2018
[    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 bytes
[    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 start_kernel+0x90/0x4ac with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu @81210000 s26256 r8192 d22896 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    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=00044cc0
[    0.000000] Readback ErrCtl register=00044cc0
[    0.000000] Memory: 253212K/262144K available (4596K kernel code, 239K rwdata, 1012K rodata, 220K init, 275K bss, 8932K 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: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000010] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.007811] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.073967] pid_max: default: 32768 minimum: 301
[    0.078737] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.085244] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.093947] Hierarchical SRCU implementation.
[    0.099013] smp: Bringing up secondary CPUs ...
[    0.104133] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.104142] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.104155] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.104295] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.163754] Synchronize counters for CPU 1: done.
[    0.198256] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.198264] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.198272] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.198344] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.254817] Synchronize counters for CPU 2: done.
[    0.285209] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.285217] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.285225] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.285302] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.339996] Synchronize counters for CPU 3: done.
[    0.369854] smp: Brought up 1 node, 4 CPUs
[    0.377525] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.387312] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.393610] pinctrl core: initialized pinctrl subsystem
[    0.399428] NET: Registered protocol family 16
[    0.414525] pull PCIe RST: RALINK_RSTCTRL = 4000000
[    0.719683] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.724730] ***** Xtal 40MHz *****
[    0.728087] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.733185] Port 0 N_FTS = 1b105000
[    0.736657] Port 1 N_FTS = 1b105000
[    0.740098] Port 2 N_FTS = 1b102800
[    1.895177] PCIE2 no card, disable it(RST&CLK)
[    1.899534]  -> 21007f2
[    1.901941] PCIE0 enabled
[    1.904530] PCIE1 enabled
[    1.907135] PCI host bridge /pcie@1e140000 ranges:
[    1.911911]  MEM 0x0000000060000000..0x000000006fffffff
[    1.917063]   IO 0x000000001e160000..0x000000001e16ffff
[    1.922265] PCI coherence region base: 0x8fc35cf0, mask/settings: 0x60000000
[    1.938188] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.944093] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.949856] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.956897] PCI host bridge to bus 0000:00
[    1.960921] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.967784] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    1.973613] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.980370] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.990114] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.996665] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.003537] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.010134] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.017023] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.023774] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[    2.030493] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
[    2.037685] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[    2.044416] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[    2.051178] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[    2.057889] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.062830] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.069553] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
[    2.076836] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
[    2.083979] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.088923] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
[    2.095641] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff pref]
[    2.104090] clocksource: Switched to clocksource GIC
[    2.110575] NET: Registered protocol family 2
[    2.115734] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    2.122628] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    2.129058] TCP: Hash tables configured (established 2048 bind 2048)
[    2.135462] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.141226] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.147721] NET: Registered protocol family 1
[    2.384048] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.390533] Crashlog allocated RAM at address 0x3f00000
[    2.395871] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    2.408321] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.414126] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.424890] random: fast init done
[    2.430382] io scheduler noop registered
[    2.434255] io scheduler deadline registered (default)
[    2.439884] gpio-export gpio_export: 1 gpio(s) exported
[    2.445947] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    2.455685] console [ttyS0] disabled
[    2.459229] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[    2.468284] console [ttyS0] enabled
[    2.468284] console [ttyS0] enabled
[    2.475159] bootconsole [early0] disabled
[    2.475159] bootconsole [early0] disabled
[    2.484100] cacheinfo: Failed to find cpu0 device node
[    2.489223] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.496086] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    2.503174] Allocate 16 byte aligned buffer: 80627ef0
[    2.508235] Enable NFI Clock
[    2.511102] # MTK NAND # : Use HW ECC
[    2.514778] Device not found, ID: c8d1
[    2.518504] Not Support this Device! 

[    2.522229] chip_mode=00000001
[    2.525288] Support this Device in MTK table! c8d1 

[    2.530236] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    2.536706] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1
[    2.543025] nand: ESMT NAND 128MiB 3,3V 8-bit
[    2.547371] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.554929] Scanning device for bad blocks
[    2.704724] 10 fixed-partitions partitions found on MTD device MT7621-NAND
[    2.711565] Creating 10 MTD partitions on "MT7621-NAND":
[    2.716872] 0x000000000000-0x000000080000 : "Bootloader"
[    2.723270] 0x000000080000-0x0000000c0000 : "Config"
[    2.729234] 0x0000000c0000-0x000000100000 : "Bdata"
[    2.735116] 0x000000100000-0x000000140000 : "Factory"
[    2.741122] 0x000000140000-0x000000180000 : "crash"
[    2.747009] 0x000000180000-0x0000001c0000 : "crash_syslog"
[    2.753448] 0x0000001c0000-0x000000200000 : "reserved0"
[    2.759715] 0x000000200000-0x000000600000 : "kernel_stock"
[    2.766256] 0x000000600000-0x000000a00000 : "kernel"
[    2.772229] 0x000000a00000-0x000007f80000 : "ubi"
[    2.778900] [mtk_nand] probe successfully!
[    2.783718] Signature matched and data read!
[    2.787982] load_fact_bbt success 1023
[    2.792463] libphy: Fixed MDIO Bus: probed
[    2.866641] libphy: mdio: probed
[    4.270251] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.276929] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    4.287490] NET: Registered protocol family 10
[    4.293588] Segment Routing with IPv6
[    4.297406] NET: Registered protocol family 17
[    4.301902] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    4.314812] 8021q: 802.1Q VLAN Support v1.8
[    4.321908] UBI: auto-attach mtd9
[    4.325276] ubi0: attaching mtd9
[    5.438561] ubi0: scanning is finished
[    5.458446] ubi0: attached mtd9 (name "ubi", size 117 MiB)
[    5.463923] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    5.470798] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    5.477567] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    5.484506] ubi0: good PEBs: 940, bad PEBs: 0, corrupted PEBs: 0
[    5.490482] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    5.497681] ubi0: max/mean erase counter: 25/11, WL threshold: 4096, image sequence number: 572975413
[    5.506867] ubi0: available PEBs: 0, total reserved PEBs: 940, PEBs reserved for bad PEB handling: 20
[    5.516075] ubi0: background thread "ubi_bgt0d" started, PID 388
[    5.517840] block ubiblock0_0: created from ubi0:0(rootfs)
[    5.517852] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    5.517868] hctosys: unable to open rtc device (rtc0)
[    5.546557] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    5.554280] Freeing unused kernel memory: 220K
[    5.558716] This architecture does not have kernel memory protection.
[    6.066562] init: Console is alive
[    6.070176] init: - watchdog -
[    6.270686] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[    6.276814] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
[    7.174351] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    7.291264] usbcore: registered new interface driver usbfs
[    7.296894] usbcore: registered new interface driver hub
[    7.302364] usbcore: registered new device driver usb
[    7.333070] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.346237] SCSI subsystem initialized
[    7.353483] ehci-platform: EHCI generic platform driver
[    7.366879] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    7.372213] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    7.384294] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x00210010
[    7.392774] xhci-mtk 1e1c0000.xhci: irq 19, io mem 0x1e1c0000
[    7.399543] hub 1-0:1.0: USB hub found
[    7.403365] hub 1-0:1.0: 2 ports detected
[    7.407942] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    7.413252] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    7.420744] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0  SuperSpeed
[    7.427354] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    7.436267] hub 2-0:1.0: USB hub found
[    7.440082] hub 2-0:1.0: 1 port detected
[    7.449650] usbcore: registered new interface driver usb-storage
[    7.457215] usbcore: registered new interface driver uas
[    7.462761] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    7.474459] init: - preinit -
[    8.247265] 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
[    8.328166] random: procd: uninitialized urandom read (4 bytes read)
[   11.462508] mount_root: loading kmods from internal overlay
[   11.499255] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   11.507780] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   12.067777] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 514
[   12.142121] UBIFS (ubi0:1): recovery needed
[   12.341628] UBIFS (ubi0:1): recovery completed
[   12.346247] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   12.354043] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   12.363999] UBIFS (ubi0:1): FS size: 109707264 bytes (104 MiB, 864 LEBs), journal size 5459968 bytes (5 MiB, 43 LEBs)
[   12.374586] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[   12.381172] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 87F304F3-A16C-4E8C-A471-4CA627C348AC, small LPT model
[   12.393932] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   12.411020] block: extroot: not configured
[   12.464338] UBIFS (ubi0:1): un-mount UBI device 0
[   12.469047] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
[   12.481604] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 517
[   12.631243] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   12.639085] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   12.648979] UBIFS (ubi0:1): FS size: 109707264 bytes (104 MiB, 864 LEBs), journal size 5459968 bytes (5 MiB, 43 LEBs)
[   12.659554] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[   12.666165] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 87F304F3-A16C-4E8C-A471-4CA627C348AC, small LPT model
[   13.037169] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   13.053714] block: extroot: not configured
[   13.107548] mount_root: switching to ubifs overlay
[   13.144572] urandom-seed: Seeding with /etc/urandom.seed
[   13.237143] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[   13.251826] procd: - early -
[   13.254875] procd: - watchdog -
[   13.775282] random: jshn: uninitialized urandom read (4 bytes read)
Failed to connect to ubus
[   13.924348] procd: - watchdog -
[   13.927806] procd: - ubus -
[   13.942986] random: jshn: uninitialized urandom read (4 bytes read)
[   14.060700] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.306546] procd: - init -
Please press Enter to activate this console.
[   14.693813] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.712222] tun: Universal TUN/TAP device driver, 1.6
[   14.721403] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.086082] fuse init (API version 7.26)
[   15.097088] usbcore: registered new interface driver cdc_acm
[   15.102765] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   15.112571] usbcore: registered new interface driver cdc_wdm
[   15.119158] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   15.127202] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   15.136475] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.540006] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[   15.802133] usbcore: registered new interface driver usblp
[   15.814497] usbcore: registered new interface driver usbserial
[   15.820454] usbcore: registered new interface driver usbserial_generic
[   15.827098] usbserial: USB Serial support registered for generic
[   15.845841] xt_time: kernel timezone is -0000
[   15.851820] usbcore: registered new interface driver cdc_ether
[   15.860085] usbcore: registered new interface driver cdc_ncm
[   15.888321] usbcore: registered new interface driver huawei_cdc_ncm
[   16.152987] bus=0x1, slot = 0x0, irq=0xff


===================================================================

             MT7621   stage1 code 10:33:11 (ASIC)

             CPU=50000000 HZ BUS=12500000 HZ

==================================================================

Change MPLL source from XTAL to CR...

do MEMPLL setting..

MEMPLL Config : 0x11100000

3PLL mode + External loopback

=== XTAL-40Mhz === DDR-1200Mhz ===

PLL2 FB_DL: 0x4, 1/0 = 622/402 11000000

PLL3 FB_DL: 0xb, 1/0 = 568/456 2D000000

PLL4 FB_DL: 0x10, 1/0 = 532/492 41000000

do DDR setting..[00320381]

Apply DDR3 Setting...(use customer AC)

          0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120

      --------------------------------------------------------------------------------

0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000E:|    0    0    0    0    0    0    0    0    0    0    1    1    1    1    1    1

000F:|    0    0    0    0    1    1    1    1    1    1    1    1    1    1    1    0

0010:|    1    1    1    1    1    1    1    1    1    0    0    0    0    0    0    0

0011:|    1    1    1    1    0    0    0    0    0    0    0    0    0    0    0    0

0012:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0013:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0014:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

rank 0 coarse = 15

rank 0 fine = 72

B:|    0    0    0    0    0    0    0    0    0    0    1    1    1    0    0    0

opt_dle value:11

DRAMC_R0DELDLY[018]=00002121

==================================================================

        RX    DQS perbit delay software calibration 

==================================================================

1.0-15 bit dq delay value

==================================================================

bit|     0  1  2  3  4  5  6  7  8  9

--------------------------------------

0 |    9 5 7 7 5 3 5 4 5 6 

10 |    7 7 7 9 6 9 

--------------------------------------



==================================================================

2.dqs window

x=pass dqs delay value (min~max)center 

y=0-7bit DQ of every group

input delay:DQS0 =33 DQS1 = 33

==================================================================

bit    DQS0     bit      DQS1

0  (1~66)33  8  (1~63)32

1  (1~63)32  9  (1~61)31

2  (1~63)32  10  (1~63)32

3  (1~66)33  11  (1~64)32

4  (0~66)33  12  (1~66)33

5  (0~62)31  13  (1~65)33

6  (1~62)31  14  (1~66)33

7  (1~66)33  15  (1~65)33

==================================================================

3.dq delay value last

==================================================================

bit|    0  1  2  3  4  5  6  7  8   9

--------------------------------------

0 |    9 6 8 7 5 5 7 4 6 8 

10 |    8 8 7 9 6 9 

==================================================================

==================================================================

     TX  perbyte calibration 

==================================================================

DQS loop = 15, cmp_err_1 = ffff0000 

dqs_perbyte_dly.last_dqsdly_pass[0]=15,  finish count=1 

dqs_perbyte_dly.last_dqsdly_pass[1]=15,  finish count=2 

DQ loop=15, cmp_err_1 = ffff0000

dqs_perbyte_dly.last_dqdly_pass[0]=15,  finish count=1 

dqs_perbyte_dly.last_dqdly_pass[1]=15,  finish count=2 

byte:0, (DQS,DQ)=(8,8)

byte:1, (DQS,DQ)=(8,8)

20,data:88

[EMI] DRAMC calibration passed




===================================================================

             MT7621   stage1 code done 

             CPU=50000000 HZ BUS=12500000 HZ

===================================================================



U-Boot 1.1.3 (Apr 17 2017 - 17:00:02)


Board: Ralink APSoC DRAM:  256 MB

Power on memory test. Memory size= 256 MB...OK!

relocate_code Pointer at: 8ffac000


Config XHCI 40M PLL 

***********************

Watchdog Reset Occurred

***********************

Allocate 16 byte aligned buffer: 8ffdffd0

Enable NFI Clock

# MTK NAND # : Use HW ECC

NAND ID [C8 D1 80 95 42]

Device not found, ID: c8d1

Not Support this Device! 

chip_mode=00000001

Support this Device in MTK table! c8d1 

select_chip

[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16

Signature matched and data read!

load_fact_bbt success 1023

load fact bbt success

[mtk_nand] probe successfully!

mtd->writesize=2048 mtd->oobsize=64,    mtd->erasesize=131072  devinfo.iowidth=8

..============================================ 

Ralink UBoot Version: 5.0.0.0

-------------------------------------------- 

ASIC MT7621A DualCore (MAC to MT7530 Mode)

DRAM_CONF_FROM: Auto-Detection 

DRAM_TYPE: DDR3 

DRAM bus: 16 bit

Xtal Mode=5 OCP Ratio=1/4

Flash component: NAND Flash

Date:Apr 17 2017  Time:17:00:02

============================================ 

icache: sets:256, ways:4, linesz:32 ,total:32768

dcache: sets:256, ways:4, linesz:32 ,total:32768 


 ##### The CPU freq = 880 MHZ #### 

 estimate memory size =256 Mbytes

#Reset_MT7530

set LAN/WAN LWLLL


Please choose the operation: 

   1: Load system code to SDRAM via TFTP. 

   2: Load system code then write to Flash via TFTP. 

   3: Boot system code via Flash (default).

   4: Entr boot command line interface.

   7: Load Boot Loader code then write to Flash via Serial. 

   9: Load Boot Loader code then write to Flash via TFTP. 

 4  3  2  1  0 

Booting System 2

..Erasing NAND Flash...

ranand_erase: start:80000, len:20000 

.Writing to NAND Flash...

done

   

3: System Boot system code via Flash.

## Booting image at bc600000 ...

   Image Name:   MIPS OpenWrt Linux-4.14.48

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    1935163 Bytes =  1.8 MB

   Load Address: 80001000

   Entry Point:  80001000

..............................   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

commandline uart_en=0 factory_mode=0 usb_u3=0

No initrd

## Transferring control to Linux (at address 80001000) ...

## Giving linux memsize in MB, 256


Starting kernel ...


[    0.000000] Linux version 4.14.48 (cezary@eko.one.pl) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6984-fa0275b)) #0 SMP Thu Jun 14 19:47:54 2018
[    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 bytes
[    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 start_kernel+0x90/0x4ac with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu @81210000 s26256 r8192 d22896 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    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=00044cc0
[    0.000000] Readback ErrCtl register=00044cc0
[    0.000000] Memory: 253212K/262144K available (4596K kernel code, 239K rwdata, 1012K rodata, 220K init, 275K bss, 8932K 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: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000010] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.007811] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.073967] pid_max: default: 32768 minimum: 301
[    0.078736] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.085244] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.093947] Hierarchical SRCU implementation.
[    0.099014] smp: Bringing up secondary CPUs ...
[    0.104135] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.104144] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.104156] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.104297] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.163756] Synchronize counters for CPU 1: done.
[    0.198259] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.198267] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.198275] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.198347] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.254820] Synchronize counters for CPU 2: done.
[    0.285213] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.285221] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.285229] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.285306] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.340000] Synchronize counters for CPU 3: done.
[    0.369857] smp: Brought up 1 node, 4 CPUs
[    0.377524] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.387311] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.393609] pinctrl core: initialized pinctrl subsystem
[    0.399426] NET: Registered protocol family 16
[    0.414520] pull PCIe RST: RALINK_RSTCTRL = 4000000
[    0.719676] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.724722] ***** Xtal 40MHz *****
[    0.728079] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.733177] Port 0 N_FTS = 1b105000
[    0.736643] Port 1 N_FTS = 1b105000
[    0.740090] Port 2 N_FTS = 1b102800
[    1.895168] PCIE2 no card, disable it(RST&CLK)
[    1.899525]  -> 21007f2
[    1.901931] PCIE0 enabled
[    1.904520] PCIE1 enabled
[    1.907126] PCI host bridge /pcie@1e140000 ranges:
[    1.911898]  MEM 0x0000000060000000..0x000000006fffffff
[    1.917054]   IO 0x000000001e160000..0x000000001e16ffff
[    1.922255] PCI coherence region base: 0x8fc35cf0, mask/settings: 0x60000000
[    1.937626] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.943464] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.949163] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.956075] PCI host bridge to bus 0000:00
[    1.960106] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.966963] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    1.972795] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.979551] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.989509] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.996055] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.002933] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.009515] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.016418] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.023169] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[    2.029888] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
[    2.037081] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[    2.043811] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[    2.050571] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[    2.057284] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.062229] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.068956] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
[    2.076230] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
[    2.083369] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.088325] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
[    2.095038] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff pref]
[    2.103587] clocksource: Switched to clocksource GIC
[    2.110054] NET: Registered protocol family 2
[    2.115201] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    2.122086] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    2.128527] TCP: Hash tables configured (established 2048 bind 2048)
[    2.134939] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.140703] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.147179] NET: Registered protocol family 1
[    2.383532] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.389941] Crashlog allocated RAM at address 0x3f00000
[    2.395285] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    2.407694] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.413434] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.426002] random: fast init done
[    2.429783] io scheduler noop registered
[    2.433668] io scheduler deadline registered (default)
[    2.439301] gpio-export gpio_export: 1 gpio(s) exported
[    2.445086] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    2.454245] console [ttyS0] disabled
[    2.457792] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[    2.466821] console [ttyS0] enabled
[    2.466821] console [ttyS0] enabled
[    2.473693] bootconsole [early0] disabled
[    2.473693] bootconsole [early0] disabled
[    2.482523] cacheinfo: Failed to find cpu0 device node
[    2.487684] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.494528] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    2.501610] Allocate 16 byte aligned buffer: 80627ef0
[    2.506742] Enable NFI Clock
[    2.509610] # MTK NAND # : Use HW ECC
[    2.513268] Device not found, ID: c8d1
[    2.517005] Not Support this Device! 

[    2.520734] chip_mode=00000001
[    2.523793] Support this Device in MTK table! c8d1 

[    2.528741] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    2.535210] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1
[    2.541529] nand: ESMT NAND 128MiB 3,3V 8-bit
[    2.545880] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.553427] Scanning device for bad blocks
[    2.703391] 10 fixed-partitions partitions found on MTD device MT7621-NAND
[    2.710249] Creating 10 MTD partitions on "MT7621-NAND":
[    2.715559] 0x000000000000-0x000000080000 : "Bootloader"
[    2.721791] 0x000000080000-0x0000000c0000 : "Config"
[    2.727603] 0x0000000c0000-0x000000100000 : "Bdata"
[    2.733272] 0x000000100000-0x000000140000 : "Factory"
[    2.739183] 0x000000140000-0x000000180000 : "crash"
[    2.744912] 0x000000180000-0x0000001c0000 : "crash_syslog"
[    2.751188] 0x0000001c0000-0x000000200000 : "reserved0"
[    2.757289] 0x000000200000-0x000000600000 : "kernel_stock"
[    2.763651] 0x000000600000-0x000000a00000 : "kernel"
[    2.769485] 0x000000a00000-0x000007f80000 : "ubi"
[    2.776014] [mtk_nand] probe successfully!
[    2.780833] Signature matched and data read!
[    2.785102] load_fact_bbt success 1023
[    2.789426] libphy: Fixed MDIO Bus: probed
[    2.866127] libphy: mdio: probed
[    4.269738] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.276402] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    4.286913] NET: Registered protocol family 10
[    4.292962] Segment Routing with IPv6
[    4.296799] NET: Registered protocol family 17
[    4.301294] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    4.314212] 8021q: 802.1Q VLAN Support v1.8
[    4.321191] UBI: auto-attach mtd9
[    4.324551] ubi0: attaching mtd9
[    5.438140] ubi0: scanning is finished
[    5.458029] ubi0: attached mtd9 (name "ubi", size 117 MiB)
[    5.463505] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    5.470383] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    5.477171] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    5.484113] ubi0: good PEBs: 940, bad PEBs: 0, corrupted PEBs: 0
[    5.490089] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    5.497289] ubi0: max/mean erase counter: 25/11, WL threshold: 4096, image sequence number: 572975413
[    5.506476] ubi0: available PEBs: 0, total reserved PEBs: 940, PEBs reserved for bad PEB handling: 20
[    5.515682] ubi0: background thread "ubi_bgt0d" started, PID 388
[    5.517464] block ubiblock0_0: created from ubi0:0(rootfs)
[    5.517476] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    5.517492] hctosys: unable to open rtc device (rtc0)
[    5.546179] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    5.553916] Freeing unused kernel memory: 220K
[    5.558353] This architecture does not have kernel memory protection.
[    5.865938] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[    6.065675] init: Console is alive
[    6.069311] init: - watchdog -
[    6.218367] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
[    6.533708] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
[    7.182854] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    7.299761] usbcore: registered new interface driver usbfs
[    7.305385] usbcore: registered new interface driver hub
[    7.310818] usbcore: registered new device driver usb
[    7.340963] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.354106] SCSI subsystem initialized
[    7.361278] ehci-platform: EHCI generic platform driver
[    7.374756] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    7.380089] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    7.393782] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x00210010
[    7.402260] xhci-mtk 1e1c0000.xhci: irq 19, io mem 0x1e1c0000
[    7.409035] hub 1-0:1.0: USB hub found
[    7.412869] hub 1-0:1.0: 2 ports detected
[    7.417446] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    7.422756] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    7.430273] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0  SuperSpeed
[    7.436918] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    7.445844] hub 2-0:1.0: USB hub found
[    7.449658] hub 2-0:1.0: 1 port detected
[    7.459135] usbcore: registered new interface driver usb-storage
[    7.466756] usbcore: registered new interface driver uas
[    7.472323] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    7.483923] init: - preinit -
[    8.268715] 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
[    8.348360] random: procd: uninitialized urandom read (4 bytes read)
[    9.326579] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[   11.481998] mount_root: loading kmods from internal overlay
[   11.518679] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   11.527173] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   12.087305] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 514
[   12.162001] UBIFS (ubi0:1): recovery needed
[   12.361359] UBIFS (ubi0:1): recovery completed
[   12.365975] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   12.373783] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   12.383676] UBIFS (ubi0:1): FS size: 109707264 bytes (104 MiB, 864 LEBs), journal size 5459968 bytes (5 MiB, 43 LEBs)
[   12.394246] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[   12.400832] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 87F304F3-A16C-4E8C-A471-4CA627C348AC, small LPT model
[   12.413623] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   12.430710] block: extroot: not configured
[   12.473821] UBIFS (ubi0:1): un-mount UBI device 0
[   12.478528] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
[   12.490820] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 517
[   12.640102] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   12.647970] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   12.657872] UBIFS (ubi0:1): FS size: 109707264 bytes (104 MiB, 864 LEBs), journal size 5459968 bytes (5 MiB, 43 LEBs)
[   12.668460] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[   12.675067] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 87F304F3-A16C-4E8C-A471-4CA627C348AC, small LPT model
[   13.046392] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   13.062916] block: extroot: not configured
[   13.107056] mount_root: switching to ubifs overlay
[   13.144447] urandom-seed: Seeding with /etc/urandom.seed
[   13.237129] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[   13.251829] procd: - early -
[   13.254838] procd: - watchdog -
[   13.824315] random: jshn: uninitialized urandom read (4 bytes read)
Failed to connect to ubus
[   13.973852] procd: - watchdog -
[   13.977405] procd: - ubus -
[   13.996410] random: jshn: uninitialized urandom read (4 bytes read)
[   14.079428] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.396126] procd: - init -
Please press Enter to activate this console.
[   14.771353] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.790161] tun: Universal TUN/TAP device driver, 1.6
[   14.799065] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.205466] fuse init (API version 7.26)
[   15.216382] usbcore: registered new interface driver cdc_acm
[   15.222050] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   15.231919] usbcore: registered new interface driver cdc_wdm
[   15.238629] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   15.246647] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   15.255776] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.679734] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[   15.941944] usbcore: registered new interface driver usblp
[   15.954372] usbcore: registered new interface driver usbserial
[   15.960324] usbcore: registered new interface driver usbserial_generic
[   15.966965] usbserial: USB Serial support registered for generic
[   15.985635] xt_time: kernel timezone is -0000
[   15.991621] usbcore: registered new interface driver cdc_ether
[   15.999895] usbcore: registered new interface driver cdc_ncm
[   16.027942] usbcore: registered new interface driver huawei_cdc_ncm
[   16.262266] bus=0x1, slot = 0x0, irq=0xff


===================================================================

             MT7621   stage1 code 10:33:11 (ASIC)

             CPU=50000000 HZ BUS=12500000 HZ

==================================================================

Change MPLL source from XTAL to CR...

do MEMPLL setting..

MEMPLL Config : 0x11100000

3PLL mode + External loopback

=== XTAL-40Mhz === DDR-1200Mhz ===

PLL2 FB_DL: 0x4, 1/0 = 547/477 11000000

PLL3 FB_DL: 0xb, 1/0 = 542/482 2D000000

PLL4 FB_DL: 0x10, 1/0 = 663/361 41000000

do DDR setting..[00320381]

Apply DDR3 Setting...(use customer AC)

          0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120

      --------------------------------------------------------------------------------

0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000E:|    0    0    0    0    0    0    0    0    0    1    1    1    1    1    1    1

000F:|    0    0    0    0    1    1    1    1    1    1    1    1    1    1    1    0

0010:|    1    1    1    1    1    1    1    1    1    0    0    0    0    0    0    0

0011:|    1    1    1    1    0    0    0    0    0    0    0    0    0    0    0    0

0012:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0013:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0014:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

rank 0 coarse = 15

rank 0 fine = 72

B:|    0    0    0    0    0    0    0    0    0    0    1    1    1    0    0    0

opt_dle value:11

DRAMC_R0DELDLY[018]=00002122

==================================================================

        RX    DQS perbit delay software calibration 

==================================================================

1.0-15 bit dq delay value

==================================================================

bit|     0  1  2  3  4  5  6  7  8  9

--------------------------------------

0 |    9 5 7 7 6 4 5 4 5 6 

10 |    7 7 7 9 6 9 

--------------------------------------



==================================================================

2.dqs window

x=pass dqs delay value (min~max)center 

y=0-7bit DQ of every group

input delay:DQS0 =34 DQS1 = 33

==================================================================

bit    DQS0     bit      DQS1

0  (1~66)33  8  (1~64)32

1  (1~62)31  9  (1~62)31

2  (1~63)32  10  (1~63)32

3  (1~66)33  11  (1~64)32

4  (1~67)34  12  (1~65)33

5  (0~65)32  13  (1~65)33

6  (0~62)31  14  (1~65)33

7  (1~66)33  15  (1~66)33

==================================================================

3.dq delay value last

==================================================================

bit|    0  1  2  3  4  5  6  7  8   9

--------------------------------------

0 |    10 8 9 8 6 6 8 5 6 8 

10 |    8 8 7 9 6 9 

==================================================================

==================================================================

     TX  perbyte calibration 

==================================================================

DQS loop = 15, cmp_err_1 = ffff0000 

dqs_perbyte_dly.last_dqsdly_pass[0]=15,  finish count=1 

dqs_perbyte_dly.last_dqsdly_pass[1]=15,  finish count=2 

DQ loop=15, cmp_err_1 = ffff0000

dqs_perbyte_dly.last_dqdly_pass[0]=15,  finish count=1 

dqs_perbyte_dly.last_dqdly_pass[1]=15,  finish count=2 

byte:0, (DQS,DQ)=(8,8)

byte:1, (DQS,DQ)=(8,8)

20,data:88

[EMI] DRAMC calibration passed




===================================================================

             MT7621   stage1 code done 

             CPU=50000000 HZ BUS=12500000 HZ

===================================================================



U-Boot 1.1.3 (Apr 17 2017 - 17:00:02)


Board: Ralink APSoC DRAM:  256 MB

Power on memory test. Memory size= 256 MB...OK!

relocate_code Pointer at: 8ffac000


Config XHCI 40M PLL 

***********************

Watchdog Reset Occurred

***********************

Allocate 16 byte aligned buffer: 8ffdffd0

Enable NFI Clock

# MTK NAND # : Use HW ECC

NAND ID [C8 D1 80 95 42]

Device not found, ID: c8d1

Not Support this Device! 

chip_mode=00000001

Support this Device in MTK table! c8d1 

select_chip

[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16

Signature matched and data read!

load_fact_bbt success 1023

load fact bbt success

[mtk_nand] probe successfully!

mtd->writesize=2048 mtd->oobsize=64,    mtd->erasesize=131072  devinfo.iowidth=8

..============================================ 

Ralink UBoot Version: 5.0.0.0

8

Odp: Xiaomi Router 3G - Problem z LEDE

Nie potrafię Ci pomóc. Wygląda na to że się resetuje cyklicznie po prostu, pewnie coś związanego z tym przerwaniem, ale dlaczego - nie wiem.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9

Odp: Xiaomi Router 3G - Problem z LEDE

A masz coś w porcie USB - bo wydaje się że tak.

10 (edytowany przez Uknow 2018-08-21 21:38:41)

Odp: Xiaomi Router 3G - Problem z LEDE

@kofec nie miałem/nie mam nic pod usb

Przesiadłem się na OpenWrt 18.06.0

Dzisiaj WiFi 2.4 i 5GHz przestało działać, niestety nie mogę się dostać po SSH czy przez SCP nie pamiętam czy wcześniej było ok i nie przypominam sobie aby była gdzieś opcja wyłączenia SSH.

Co dziwne LAN działa i można się dostać przez www, udało mi się zrobić kopie logów nie wiem czy coś w nich jest.

Logi systemowe oraz Logi jądra:
https://docs.google.com/document/d/12IR … Z4ZpvGsbX8

EDIT: 22:36
Po kliknięciu wyłącz przy wifi www przestało działać ale zaczęło SSH

Wyniki z polecania logread
https://docs.google.com/document/d/1Inv … MtVI-tSUTo