26

Odp: Xaiomi MiWifi Router 3G Problem z internetem

jace699 napisał/a:
Cezary napisał/a:

Jeszcze raz - rozszerzenie nie ma kompletnie znaczenia.

Jeżeli go uwaliłeś to powrót to właśnie reanimacja przez kabel szeregowy. Nie wyrzucaj go, jeżeli masz się go pozbyć to wezmę go od ciebie po kosztach przesyłki.

to może podeślij mi łączenie pinów kabla szeregowego i ewentualnie jaki ma być ten j-tag do odtrupienia tego nowego routera.
bo dopiero co przyszedł z Chin i żadnej pociechy z niego nie miałem.
wszystko było by dobrze gdyby działał na nim internet to nie robiłbym żadnych cudów ale w oryginale działał a na pieknym lucj 19.07 nie?
takie rzeczy się nie zdarzają.

Z mojej batalii wiem tyle, że jak dioda świeci na czerwono, to on częściowo wstaje z kernela, na tyle że da się wgrać stockowe firmware. Spróbuj pobrać http://bigota.miwifi.com/xiaoqiang/rom/ … 25.122.bin. Następnie zmień mu nazwę na "miwifi.bin", wrzuć go bezpośrednio na pendrive z fat32. Podepnij pena do routera, zrestartuj zasilanie, poczekaj około 1m i wciśnij na chwilę przycisk "reset". Jeżeli po paru chwilach dioda zacznie mrugać na pomarańczowo, to powinien się sflashować.

27

Odp: Xaiomi MiWifi Router 3G Problem z internetem

m-r-x napisał/a:

Jedyne co zaobserwowałem w przewijających się logach konsoli szeregowej, że miał problem ze spójnością (consistency)

Pokażesz te logi?

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

28

Odp: Xaiomi MiWifi Router 3G Problem z internetem

Cezary napisał/a:
m-r-x napisał/a:

Jedyne co zaobserwowałem w przewijających się logach konsoli szeregowej, że miał problem ze spójnością (consistency)

Pokażesz te logi?

Niestety nie posiadam, nie zachowałem okna z bootloopa. Za parę dni spróbuję ponownie, tym razem włączę zapis logów w putty wink

PS. Chyba że możesz zaproponować lepszy sposób?

29

Odp: Xaiomi MiWifi Router 3G Problem z internetem

Nie ma lepszego sposobu.

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

30 (edytowany przez jace699 2019-08-16 17:47:25)

Odp: Xaiomi MiWifi Router 3G Problem z internetem

@Cezary
Witam rozebrałem mojego Xaiomi 3 G, wlutowałem piny, podłączyłem urządzenie usb - serial port, piny gnd - gnd, tx-rx, rx-tx,
użyłem programu Tera term w którym port ustawiłem na 115200,drugi klawisz podczas bootowania, serwer ustawiony na 192.168.31.100 jak w opisie ale problem mam jak wgrać ten plki kernel0.bin.
Umieszczam go w programie Tera Term robię send długo wysyła i nic się nie dzieje.
Umieszczam go np: na dysku d i nazwa kernel0.bin ale nie wiem i nigdzie nie znalazłem instrukcji jaką komendę mam podać w Tera Term ażeby ten program wgrał mi ten plik kernel0.bin.
Proszę mi łopatologicznie napisać jak mam to zrobić ponieważ z komend w Tera Term czy Putty jestem zielony a bez tego niestety nie wgram tego pliku.
Rozumiem że jak kernel0.bin już uda mi się wgrać to wyłączam na chwilę router podłączam pendrive z MiWifi.bin trzymam reset włączam a po chwili już wgra się oryginał Xaiomi.
Cezary z góry dziękuję za szybką odpowiedź ponieważ czekam nie wiem jak wgrać  kernel0.bin jaka komenda w Putty lub Tera Term.
ps: dostaję taką komendę:  TIMEOUT_COUNT=10,Load address: 0x80100000
wpisuję np: d:/ kernel0.bin a później mam:
Loading: T T T
i czekam w nieskończoność

31

Odp: Xaiomi MiWifi Router 3G Problem z internetem

https://openwrt.org/toh/xiaomi/mir3g#us … _interface

Wybrać opcję 2 w uboocie?

Nie wiem gdzie umieszczasz plik w Tera term i po co to robisz. Instrukcja jest inna przecież. nawet widzę że ludzie opisy robią: https://dzone.com/articles/hacking-into … nwrt-firmw

EDIT: na pewno nie d:/ kernel0.bin. Do ładowanie potrzebujesz serwera tftp, w poleceniu podaje się po prostu nazwę pliku beż żadnych d:\ itd.

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

32

Odp: Xaiomi MiWifi Router 3G Problem z internetem

Cezary napisał/a:

https://openwrt.org/toh/xiaomi/mir3g#us … _interface

Wybrać opcję 2 w uboocie?

Nie wiem gdzie umieszczasz plik w Tera term i po co to robisz. Instrukcja jest inna przecież. nawet widzę że ludzie opisy robią: https://dzone.com/articles/hacking-into … nwrt-firmw

EDIT: na pewno nie d:/ kernel0.bin. Do ładowanie potrzebujesz serwera tftp, w poleceniu podaje się po prostu nazwę pliku beż żadnych d:\ itd.

wklejam zrzut z Putty:
Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)
Please Input new ones /or Ctrl-C to discard
        Input device IP (192.168.31.1) ==:192.168.31.1
        Input server IP (192.168.31.100) ==:192.168.31.100
        Input Linux Kernel filename () ==:kernel0.bin

NetTxPacket = 0x8FFE5180

KSEG1ADDR(NetTxPacket) = 0xAFFE5180

NetLoop,call eth_halt !

NetLoop,call eth_init !
Trying Eth0 (10/100-M)

Waitting for RX_DMA_BUSY status Start... done


ETH_STATE_ACTIVE!!
TFTP from server 192.168.31.100; our IP address is 192.168.31.1
Filename 'kernel0.bin'.

TIMEOUT_COUNT=10,Load address: 0x80100000
Loading: T T T T T T T

33

Odp: Xaiomi MiWifi Router 3G Problem z internetem

jace699 napisał/a:
Cezary napisał/a:

https://openwrt.org/toh/xiaomi/mir3g#us … _interface

Wybrać opcję 2 w uboocie?

Nie wiem gdzie umieszczasz plik w Tera term i po co to robisz. Instrukcja jest inna przecież. nawet widzę że ludzie opisy robią: https://dzone.com/articles/hacking-into … nwrt-firmw

EDIT: na pewno nie d:/ kernel0.bin. Do ładowanie potrzebujesz serwera tftp, w poleceniu podaje się po prostu nazwę pliku beż żadnych d:\ itd.

wklejam zrzut z Putty:
Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)
Please Input new ones /or Ctrl-C to discard
        Input device IP (192.168.31.1) ==:192.168.31.1
        Input server IP (192.168.31.100) ==:192.168.31.100
        Input Linux Kernel filename () ==:kernel0.bin

NetTxPacket = 0x8FFE5180

KSEG1ADDR(NetTxPacket) = 0xAFFE5180

NetLoop,call eth_halt !

NetLoop,call eth_init !
Trying Eth0 (10/100-M)

Waitting for RX_DMA_BUSY status Start... done


ETH_STATE_ACTIVE!!
TFTP from server 192.168.31.100; our IP address is 192.168.31.1
Filename 'kernel0.bin'.

TIMEOUT_COUNT=10,Load address: 0x80100000
Loading: T T T T T T T

kabel lan mam też podłączyć?
Pod Wan czy pod port Lan? czy nie ma takiej potrzeby, załatwi to port com na usb?

34

Odp: Xaiomi MiWifi Router 3G Problem z internetem

I teraz:
- musisz mieć serwer tftp pracujący na adresie 192.168.31.100, masz?
- te serwer nie może być za firewallem (windowsowym czy innym), masz?
- musi być plik o nazwie kernel0.bin w głównym katalogu serwera, masz?


Na razie nie może się w ogóle dobić do serwera tftp. Pod lan, i normalnie router podłączony kablem z komputerem z serwerem tftp.

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

35 (edytowany przez jace699 2019-08-16 18:12:32)

Odp: Xaiomi MiWifi Router 3G Problem z internetem

Cezary napisał/a:

I teraz:
- musisz mieć serwer tftp pracujący na adresie 192.168.31.100, masz?
- te serwer nie może być za firewallem (windowsowym czy innym), masz?
- musi być plik o nazwie kernel0.bin w głównym katalogu serwera, masz?


Na razie nie może się w ogóle dobić do serwera tftp. Pod lan, i normalnie router podłączony kablem z komputerem z serwerem tftp.

Główny router teraz to mam Gargoyle 192.168.1.1, stary router TpLink z mała pamięcią, program Tftpd64 nie znajdzie mi innego serwera jak 192.168.1.1 niestety nie wiem jak to zrobić.

36

Odp: Xaiomi MiWifi Router 3G Problem z internetem

tftpd64 TO właśnie to jest serwer tftp i jego masz uzyć. Tylko kliknij na zakładce serwer tftp a nie klient. I odłącz się od tego routera gargoyle, masz być przypięty tylko do router który reanimujesz i do niczego więcej. Nie mieszaj zbytnio na początku.

Ponad to masz ustawić karte sieciową w komputerze na stałe na 192.168.31.100 skoro taki adres wybrałeś/wpisałeś w bootloaderze i taki interfejs masz wybrać w tftpd64.

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

37

Odp: Xaiomi MiWifi Router 3G Problem z internetem

Cezary napisał/a:

tftpd64 TO właśnie to jest serwer tftp i jego masz uzyć. Tylko kliknij na zakładce serwer tftp a nie klient. I odłącz się od tego routera gargoyle, masz być przypięty tylko do router który reanimujesz i do niczego więcej. Nie mieszaj zbytnio na początku.

Ponad to masz ustawić karte sieciową w komputerze na stałe na 192.168.31.100 skoro taki adres wybrałeś/wpisałeś w bootloaderze i taki interfejs masz wybrać w tftpd64.

Dziękuje Cezary poszło

38

Odp: Xaiomi MiWifi Router 3G Problem z internetem

Cezary napisał/a:

Pokażesz te logi?

Użyłem kompilacji którą udostępniłeś wczoraj, tym razem sysupgrade poszło gładko.

root@gargulec:/tmp# sysupgrade -n -F luci-19.07-snapshot-r10324-8bf8de95a2-ramip
s-mt7621-xiaomi_mir3g-squashfs-sysupgrade.bin

Poniżej log z konsoli szeregowej z putty

Performing system upgrade...
Unlocking kernel ...

Writing from <stdin> to kernel ...  [ ][e][w][e][w][e][w][e][w][e][w][e][w][e][w][e][w][e][w][e][w][e][w][e][w][e][w][e][w][e][w]    
removing ubiblock0_0
[  582.777924] block ubiblock0_0: released
Volume ID 0, size 45 LEBs (5713920 bytes, 5.4 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
Set volume size to 110596096
Volume ID 1, size 871 LEBs (110596096 bytes, 105.4 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs_data", alignment 1
sysupgrade successful
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
[  586.378075] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  586.384181] reboot: Restarting system


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

             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 ===

PLL4 FB_DL: 0xe, 1/0 = 652/372 39000000

PLL2 FB_DL: 0x13, 1/0 = 554/470 4D000000

PLL3 FB_DL: 0x14, 1/0 = 812/212 51000000

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    1    1

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

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

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

0011:|    1    1    1    0    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 = 64

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

opt_dle value:11

DRAMC_R0DELDLY[018]=00001E1E

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

        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 |    11 7 9 10 7 8 8 7 6 8 

10 |    7 9 9 10 7 11 

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



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

2.dqs window

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

y=0-7bit DQ of every group

input delay:DQS0 =30 DQS1 = 30

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

bit    DQS0     bit      DQS1

0  (2~58)30  8  (1~56)28

1  (1~56)28  9  (1~58)29

2  (2~57)29  10  (1~59)30

3  (1~55)28  11  (1~55)28

4  (1~55)28  12  (3~58)30

5  (1~58)29  13  (1~57)29

6  (1~56)28  14  (1~59)30

7  (1~59)30  15  (1~58)29

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

3.dq delay value last

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

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

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

0 |    11 9 10 12 9 9 10 7 8 9 

10 |    7 11 9 11 7 12 

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

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

     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 = ffff0082

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

DQ loop=14, cmp_err_1 = ffff0000

dqs_perbyte_dly.last_dqdly_pass[0]=14,  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 (May 24 2018 - 02:26:51)


Board: Ralink APSoC DRAM:  256 MB

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

relocate_code Pointer at: 8ffac000


Config XHCI 40M PLL 

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

Software System Reset Occurred

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

Allocate 16 byte aligned buffer: 8ffe1090

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:May 24 2018  Time:02:26:51

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

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

..ranand_erase: start:80000, len:20000 

..Done!

done

   

3: System Boot system code via Flash.

## Booting image at bc600000 ...

   Image Name:   MIPS OpenWrt Linux-4.14.138

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    1870225 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.138 (cezary@eko.one.pl) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r10196-c4e727f01c)) #0 SMP Thu Aug 22 19:19:04 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 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 0x80575744 with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu 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=00010000
[    0.000000] Readback ErrCtl register=00010000
[    0.000000] Memory: 253484K/262144K available (4753K kernel code, 238K rwdata, 584K rodata, 236K init, 254K bss, 8660K 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] CPU Clock: 880MHz
[    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.007816] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.073979] pid_max: default: 32768 minimum: 301
[    0.078752] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.085260] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.094071] Hierarchical SRCU implementation.
[    0.099232] smp: Bringing up secondary CPUs ...
[    0.119488] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.119497] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.119509] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.119651] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.163991] Synchronize counters for CPU 1: done.
[    0.213613] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.213622] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.213629] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.213703] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.255127] Synchronize counters for CPU 2: done.
[    0.300643] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.300651] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.300659] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.300739] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.340316] Synchronize counters for CPU 3: done.
[    0.370178] smp: Brought up 1 node, 4 CPUs
[    0.378064] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.387857] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.394164] pinctrl core: initialized pinctrl subsystem
[    0.400828] NET: Registered protocol family 16
[    0.411296] pull PCIe RST: RALINK_RSTCTRL = 4000000
[    0.716597] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.721644] ***** Xtal 40MHz *****
[    0.725002] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.730099] Port 0 N_FTS = 1b105000
[    0.733570] Port 1 N_FTS = 1b105000
[    0.737009] Port 2 N_FTS = 1b102800
[    1.892367] PCIE2 no card, disable it(RST&CLK)
[    1.896728]  -> 21007f2
[    1.899129] PCIE0 enabled
[    1.901721] PCIE1 enabled
[    1.904326] PCI host bridge /pcie@1e140000 ranges:
[    1.909098]  MEM 0x0000000060000000..0x000000006fffffff
[    1.914259]   IO 0x000000001e160000..0x000000001e16ffff
[    1.919455] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
[    1.935690] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.941514] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.947364] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.954899] PCI host bridge to bus 0000:00
[    1.959006] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.965776] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    1.971665] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.978388] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.988154] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.994667] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.001616] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.008138] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.015082] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.021799] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[    2.028557] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
[    2.035706] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[    2.042465] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[    2.049189] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[    2.055944] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.060851] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.067620] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
[    2.074855] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
[    2.082030] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.086937] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
[    2.093696] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff pref]
[    2.102198] clocksource: Switched to clocksource GIC
[    2.108708] NET: Registered protocol family 2
[    2.113761] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    2.120646] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    2.127102] TCP: Hash tables configured (established 2048 bind 2048)
[    2.133508] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.139268] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.145739] NET: Registered protocol family 1
[    2.382165] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.388653] Crashlog allocated RAM at address 0x3f00000
[    2.394141] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    2.407141] random: fast init done
[    2.411394] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.417169] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.430485] io scheduler noop registered
[    2.434416] io scheduler deadline registered (default)
[    2.440576] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    2.450471] console [ttyS0] disabled
[    2.454049] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    2.463067] console [ttyS0] enabled
[    2.463067] console [ttyS0] enabled
[    2.469919] bootconsole [early0] disabled
[    2.469919] bootconsole [early0] disabled
[    2.478755] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.485903] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    2.493035] Enable NFI Clock
[    2.495906] # MTK NAND # : Use HW ECC
[    2.499566] Device not found, ID: c8d1
[    2.503310] Not Support this Device! 

[    2.507040] chip_mode=00000001
[    2.510078] Support this Device in MTK table! c8d1 

[    2.515037] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    2.521495] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1
[    2.527827] nand: ESMT NAND 128MiB 3,3V 8-bit
[    2.532179] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.539729] Scanning device for bad blocks
[    2.688886] 10 fixed-partitions partitions found on MTD device MT7621-NAND
[    2.695741] Creating 10 MTD partitions on "MT7621-NAND":
[    2.701035] 0x000000000000-0x000000080000 : "Bootloader"
[    2.707318] 0x000000080000-0x0000000c0000 : "Config"
[    2.713161] 0x0000000c0000-0x000000100000 : "Bdata"
[    2.718876] 0x000000100000-0x000000140000 : "Factory"
[    2.724831] 0x000000140000-0x000000180000 : "crash"
[    2.730549] 0x000000180000-0x0000001c0000 : "crash_syslog"
[    2.736943] 0x0000001c0000-0x000000200000 : "reserved0"
[    2.743120] 0x000000200000-0x000000600000 : "kernel_stock"
[    2.749485] 0x000000600000-0x000000a00000 : "kernel"
[    2.755416] 0x000000a00000-0x000007f80000 : "ubi"
[    2.761946] [mtk_nand] probe successfully!
[    2.766779] Signature matched and data read!
[    2.771025] load_fact_bbt success 1023
[    2.775529] libphy: Fixed MDIO Bus: probed
[    2.844770] libphy: mdio: probed
[    4.248352] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.255002] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    4.265722] NET: Registered protocol family 10
[    4.271723] Segment Routing with IPv6
[    4.275512] NET: Registered protocol family 17
[    4.280009] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    4.292923] 8021q: 802.1Q VLAN Support v1.8
[    4.300123] UBI: auto-attach mtd9
[    4.303512] ubi0: attaching mtd9
[    5.390322] ubi0: scanning is finished
[    5.410019] ubi0: attached mtd9 (name "ubi", size 117 MiB)
[    5.415521] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    5.422378] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    5.429132] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    5.436072] ubi0: good PEBs: 940, bad PEBs: 0, corrupted PEBs: 0
[    5.442048] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    5.449250] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1700740608
[    5.458352] ubi0: available PEBs: 0, total reserved PEBs: 940, PEBs reserved for bad PEB handling: 20
[    5.467566] ubi0: background thread "ubi_bgt0d" started, PID 395
[    5.469313] block ubiblock0_0: created from ubi0:0(rootfs)
[    5.479040] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    5.485991] hctosys: unable to open rtc device (rtc0)
[    5.491269] usb_vbus: disabling
[    5.500412] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    5.508093] Freeing unused kernel memory: 236K
[    5.512562] This architecture does not have kernel memory protection.
[    6.065776] init: Console is alive
[    6.069428] init: - watchdog -
[    7.261752] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    7.380685] usbcore: registered new interface driver usbfs
[    7.386296] usbcore: registered new interface driver hub
[    7.391748] usbcore: registered new device driver usb
[    7.420912] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.433691] SCSI subsystem initialized
[    7.440819] ehci-platform: EHCI generic platform driver
[    7.451984] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[    7.461004] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    7.466368] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    7.482340] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[    7.491517] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
[    7.498305] hub 1-0:1.0: USB hub found
[    7.502128] hub 1-0:1.0: 2 ports detected
[    7.506832] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    7.512199] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    7.519664] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0  SuperSpeed
[    7.526276] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    7.535261] hub 2-0:1.0: USB hub found
[    7.539077] hub 2-0:1.0: 1 port detected
[    7.550680] usbcore: registered new interface driver usb-storage
[    7.558236] usbcore: registered new interface driver uas
[    7.563856] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    7.572543] init: - preinit -
[    8.032578] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
[    8.069562] random: procd: uninitialized urandom read (4 bytes read)
[    8.077849] usb-storage 2-1:1.0: USB Mass Storage device detected
[    8.084493] scsi host0: usb-storage 2-1:1.0
[    8.505552] 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
[    9.305374] scsi 0:0:0:0: Direct-Access     ADATA    USB Flash Drive  1100 PQ: 0 ANSI: 6
[    9.315455] sd 0:0:0:0: [sda] 30310400 512-byte logical blocks: (15.5 GB/14.5 GiB)
[    9.323651] sd 0:0:0:0: [sda] Write Protect is off
[    9.329037] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    9.343196]  sda: sda1
[    9.348552] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   11.739541] mount_root: loading kmods from internal overlay
[   11.771846] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   11.779920] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   12.042990] UBIFS (ubi0:1): default file-system created
[   12.049714] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 547
[   12.164058] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   12.171871] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   12.181816] UBIFS (ubi0:1): FS size: 109199360 bytes (104 MiB, 860 LEBs), journal size 5459968 bytes (5 MiB, 43 LEBs)
[   12.192406] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[   12.198993] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 6001D1F2-03D2-41B7-BC09-8C5FB8B3834D, small LPT model
[   12.211772] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   12.218909] block: unable to load configuration (fstab: Entry not found)
[   12.225687] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[   12.232262] block: unable to load configuration (fstab: Entry not found)
[   12.239000] block: attempting to load /etc/config/fstab
[   12.247961] block: unable to load configuration (fstab: Entry not found)
[   12.254745] block: no usable configuration
[   12.297320] UBIFS (ubi0:1): un-mount UBI device 0
[   12.302037] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
[   12.314322] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 550
[   12.427082] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   12.434950] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   12.444865] UBIFS (ubi0:1): FS size: 109199360 bytes (104 MiB, 860 LEBs), journal size 5459968 bytes (5 MiB, 43 LEBs)
[   12.455441] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[   12.462028] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 6001D1F2-03D2-41B7-BC09-8C5FB8B3834D, small LPT model
[   12.674302] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   12.681363] block: unable to load configuration (fstab: Entry not found)
[   12.688194] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[   12.694785] block: unable to load configuration (fstab: Entry not found)
[   12.701533] block: attempting to load /etc/config/fstab
[   12.706862] block: unable to load configuration (fstab: Entry not found)
[   12.713637] block: no usable configuration
[   12.754321] mount_root: overlay filesystem has not been fully initialized yet
[   12.761848] mount_root: switching to ubifs overlay
[   12.799036] urandom-seed: Seed file not found (/etc/urandom.seed)
[   12.873221] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[   12.888328] procd: - early -
[   12.891306] procd: - watchdog -
[   13.552710] random: jshn: uninitialized urandom read (4 bytes read)
Failed to connect to ubus
[   13.662448] procd: - watchdog -
[   13.666050] procd: - ubus -
[   13.767841] random: jshn: uninitialized urandom read (4 bytes read)
[   13.805051] random: ubusd: uninitialized urandom read (4 bytes read)
[   13.891196] procd: - init -
Please press Enter to activate this console.
[   14.329436] urngd: v1.0.0 started.
[   14.449394] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.468832] tun: Universal TUN/TAP device driver, 1.6
[   14.483731] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.499801] fuse init (API version 7.26)
[   14.511786] usbcore: registered new interface driver cdc_acm
[   14.517540] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   14.522475] random: crng init done
[   14.527661] usbcore: registered new interface driver cdc_wdm
[   14.528923] random: 6 urandom warning(s) missed due to ratelimiting
[   14.536450] Loading modules backported from Linux version v4.19.66-0-g893af1c79e42
[   14.548525] Backport generated by backports.git v4.19.66-1-0-g354501da
[   14.557236] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.571864] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[   14.672681] usbcore: registered new interface driver usblp
[   14.685342] usbcore: registered new interface driver usbserial
[   14.691469] usbcore: registered new interface driver usbserial_generic
[   14.698249] usbserial: USB Serial support registered for generic
[   14.709746] wireguard: WireGuard 0.0.20190601 loaded. See www.wireguard.com for information.
[   14.718262] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   14.742613] xt_time: kernel timezone is -0000
[   14.748542] usbcore: registered new interface driver cdc_ether
[   14.756900] usbcore: registered new interface driver cdc_ncm
[   14.794127] usbcore: registered new interface driver huawei_cdc_ncm
[   14.847184] bus=0x1, slot = 0x0, irq=0xff
[   14.851504] mt7603e 0000:01:00.0: ASIC revision: 76030010
[   15.884840] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
[   15.890415] mt7603e 0000:01:00.0: Build Time: 20160107100755
[   15.932199] mt7603e 0000:01:00.0: firmware init done
[   16.121365] bus=0x2, slot = 0x1, irq=0xff
[   16.125754] mt76x2e 0000:02:00.0: ASIC revision: 76120044
[   16.848750] mt76x2e 0000:02:00.0: ROM patch build: 20141115060606a
[   16.858437] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
[   16.863972] mt76x2e 0000:02:00.0: Build: 1
[   16.868050] mt76x2e 0000:02:00.0: Build Time: 201507311614____
[   16.892209] mt76x2e 0000:02:00.0: Firmware running!
[   16.910885] PPP generic driver version 2.4.2
[   16.917035] NET: Registered protocol family 24
[   16.924490] usbcore: registered new interface driver qmi_wwan
[   16.932493] usbcore: registered new interface driver rndis_host
[   16.940223] usbcore: registered new interface driver sierra
[   16.946006] usbserial: USB Serial support registered for Sierra USB modem
[   16.955413] usbcore: registered new interface driver sierra_net
[   16.965449] usbcore: registered new interface driver cdc_mbim
[   16.973057] usbcore: registered new interface driver option
[   16.978864] usbserial: USB Serial support registered for GSM modem (1-port)
[   16.990228] usbcore: registered new interface driver qcserial
[   16.996293] usbserial: USB Serial support registered for Qualcomm USB modem
[   17.003700] kmodloader: done loading kernel modules from /etc/modules.d/*
[   33.644726] mtk_soc_eth 1e100000.ethernet: PPE started
[   33.654414] device eth0 entered promiscuous mode
[   33.659689] br-lan: port 1(eth0.1) entered blocking state
[   33.665351] br-lan: port 1(eth0.1) entered disabled state
[   33.671488] device eth0.1 entered promiscuous mode
[   33.679786] br-lan: port 1(eth0.1) entered blocking state
[   33.685231] br-lan: port 1(eth0.1) entered forwarding state
[   33.691501] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   34.642945] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

39

Odp: Xaiomi MiWifi Router 3G Problem z internetem

To że działa to ja wiem. Pokaż logi z tego z czym miałeś właśnie problem.

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

40

Odp: Xaiomi MiWifi Router 3G Problem z internetem

Zabrałem się za mir3g ponownie. Pomimo powrotu do stockowego firmware i przejściu całej procedury instalacji openwrt (r10270), nie udało mi się zreprodukować mojego problemu.

Dzięki