Temat: Xiaomi miwifi 3g - cegła

Hej
Niedziela:
Xiaomi miwifi działał poniżej 3 lat. Obraził sie i przestał.
Firmware openwrt od Cezarego, ostatnia aktualizacja w okolicach kwietnia/maja.

Objawy po dostarczeniu zasilania:
Żółta dioda led
Po dłuższej chwili mrugnięcie niebieską diodą led
Brak migania na portach ethernet po wpięciu drugiego urządzenia sieciowego.

Log z uart:

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

===================================================================
                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 ===
PLL3 FB_DL: 0x7, 1/0 = 591/433 1D000000
PLL2 FB_DL: 0xa, 1/0 = 720/304 29000000
PLL4 FB_DL: 0xe, 1/0 = 694/330 39000000
do DDR setting..[00320381]
Apply DDR3 Setting...(use customer AC)
          0    8   16   24   32   40   48   56   64   72   80   88   96  104  11                                                                                        2  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    1
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                                                                                            0    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]=00001E1D
==================================================================
                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 |    10 7 7 9 7 7 8 6 5 5
10 |    7 9 7 10 7 9
--------------------------------------

==================================================================
2.dqs window
x=pass dqs delay value (min~max)center
y=0-7bit DQ of every group
input delay:DQS0 =29 DQS1 = 30
==================================================================
bit     DQS0     bit      DQS1
0  (1~58)29  8  (0~56)28
1  (1~56)28  9  (1~58)29
2  (1~56)28  10  (1~58)29
3  (1~57)29  11  (2~57)29
4  (1~57)29  12  (1~57)29
5  (1~58)29  13  (1~58)29
6  (1~58)29  14  (1~60)30
7  (1~58)29  15  (1~58)29
==================================================================
3.dq delay value last
==================================================================
bit|    0  1  2  3  4  5  6  7  8   9
--------------------------------------
0 |    10 8 8 9 7 7 8 6 7 6
10 |    8 10 8 11 7 10
==================================================================
==================================================================
     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 = ffff0080
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 (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
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.                     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.171
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1873549 Bytes =  1.8 MB
   Load Address: 80001000
   Entry Point:  80001000
.............................   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
commandline uart_en=1 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.171 (cezary@eko.one.pl) (gcc version 7.5.0 (Op                                                                                        enWrt GCC 7.5.0 r10707-75d11f665c)) #0 SMP Mon Feb 24 13:20:14 2020
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Xiaomi Mi Router 3G
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 10000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 byt                                                                                        es
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] random: get_random_bytes called from 0x80575744 with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu s26224 r8192 d22928 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,j                                                                                        ffs2
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Writing ErrCtl register=0000082b
[    0.000000] Readback ErrCtl register=0000082b
[    0.000000] Memory: 252460K/262144K available (4746K kernel code, 241K rwdata                                                                                        , 588K rodata, 1260K init, 255K bss, 9684K 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: 0xcaf478ab                                                                                        b4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_i                                                                                        dle_ns: 4343773742 ns
[    0.000010] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 48806                                                                                        45118ns
[    0.007814] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.073981] pid_max: default: 32768 minimum: 301
[    0.078754] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.085263] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.094093] Hierarchical SRCU implementation.
[    0.099254] smp: Bringing up secondary CPUs ...
[    0.107288] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.107297] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 byt                                                                                        es
[    0.107309] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.107445] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.164003] Synchronize counters for CPU 1: done.
[    0.201416] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.201425] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 byt                                                                                        es
[    0.201432] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.201503] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.255154] Synchronize counters for CPU 2: done.
[    0.288449] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.288457] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 byt                                                                                        es
[    0.288464] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.288540] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.340335] Synchronize counters for CPU 3: done.
[    0.370195] smp: Brought up 1 node, 4 CPUs
[    0.378082] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                                        x_idle_ns: 19112604462750000 ns
[    0.387877] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.394181] pinctrl core: initialized pinctrl subsystem
[    0.400879] NET: Registered protocol family 16
[    0.412222] pull PCIe RST: RALINK_RSTCTRL = 4000000
[    0.717544] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.722588] ***** Xtal 40MHz *****
[    0.725948] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.731047] Port 0 N_FTS = 1b102800
[    0.734522] Port 1 N_FTS = 1b102800
[    0.737955] Port 2 N_FTS = 1b102800
[    1.893199] PCIE2 no card, disable it(RST&CLK)
[    1.897561]  -> 21007f2
[    1.899961] PCIE0 enabled
[    1.902554] PCIE1 enabled
[    1.905157] PCI host bridge /pcie@1e140000 ranges:
[    1.909937]  MEM 0x0000000060000000..0x000000006fffffff
[    1.915093]   IO 0x000000001e160000..0x000000001e16ffff
[    1.920289] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
[    1.936586] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.942421] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.948144] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.955825] PCI host bridge to bus 0000:00
[    1.959861] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.966700] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    1.972551] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.979304] pci_bus 0000:00: No busn resource found for root bus, will use [b                                                                                        us 00-ff]
[    1.987999] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), rec                                                                                        onfiguring
[    1.995925] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), rec                                                                                        onfiguring
[    2.005236] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.011772] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.018664] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.025243] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.032139] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.038892] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[    2.045624] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref                                                                                        ]
[    2.052804] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[    2.059535] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[    2.066299] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[    2.073006] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.077945] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.084684] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bi                                                                                        t]
[    2.091955] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref                                                                                        ]
[    2.099099] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.104036] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
[    2.110766] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff pref                                                                                        ]
[    2.119469] clocksource: Switched to clocksource GIC
[    2.125816] NET: Registered protocol family 2
[    2.130975] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    2.137865] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    2.144287] TCP: Hash tables configured (established 2048 bind 2048)
[    2.150706] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.156474] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.162931] NET: Registered protocol family 1
[    2.399413] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.405809] Crashlog allocated RAM at address 0x3f00000
[    2.411218] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    2.424870] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.424875] random: fast init done
[    2.433986] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT                                                                                        Y) (c) 2001-2006 Red Hat, Inc.
[    2.447325] io scheduler noop registered
[    2.451264] io scheduler deadline registered (default)
[    2.457442] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    2.467445] console [ttyS0] disabled
[    2.471081] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud                                                                                         = 3125000) is a 16550A
[    2.480142] console [ttyS0] enabled
[    2.480142] console [ttyS0] enabled
[    2.487000] bootconsole [early0] disabled
[    2.487000] bootconsole [early0] disabled
[    2.497444] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    2.504609] Enable NFI Clock
[    2.507483] # MTK NAND # : Use HW ECC
[    2.511164] Device not found, ID: c8d1
[    2.514891] Not Support this Device!
[    2.518616] chip_mode=00000001
[    2.521686] Support this Device in MTK table! c8d1
[    2.526635] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    2.533114] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1
[    2.539465] nand: ESMT NAND 128MiB 3,3V 8-bit
[    2.543803] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB siz                                                                                        e: 64
[    2.551367] Scanning device for bad blocks
[    2.700818] 10 fixed-partitions partitions found on MTD device MT7621-NAND
[    2.707660] Creating 10 MTD partitions on "MT7621-NAND":
[    2.712980] 0x000000000000-0x000000080000 : "Bootloader"
[    2.719401] 0x000000080000-0x0000000c0000 : "Config"
[    2.725472] 0x0000000c0000-0x000000100000 : "Bdata"
[    2.731433] 0x000000100000-0x000000140000 : "Factory"
[    2.737496] 0x000000140000-0x000000180000 : "crash"
[    2.743492] 0x000000180000-0x0000001c0000 : "crash_syslog"
[    2.750118] 0x0000001c0000-0x000000200000 : "reserved0"
[    2.756372] 0x000000200000-0x000000600000 : "kernel_stock"
[    2.762989] 0x000000600000-0x000000a00000 : "kernel"
[    2.768988] 0x000000a00000-0x000007f80000 : "ubi"
[    2.775729] [mtk_nand] probe successfully!
[    2.780587] Signature matched and data read!
[    2.784836] load_fact_bbt success 1023
[    2.789357] libphy: Fixed MDIO Bus: probed
[    5.046900] random: crng init done
[   62.799501] INFO: rcu_sched self-detected stall on CPU
[   62.804629]  0-...: (5999 ticks this GP) idle=892/140000000000002/0 softirq=2                                                                                        8/28 fqs=2280
[   62.812935]   (t=6000 jiffies g=-287 c=-288 q=306)
[   62.817710] NMI backtrace for cpu 0
[   62.821184] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.171 #0
[   62.827244] Stack : 00000000 00000000 00000000 80550000 00000000 00000000 000                                                                                        00000 00000000
[   62.835575]         00000000 00000000 00000000 00000000 00000000 00000001 8fc                                                                                        09b88 1cc2824b
[   62.843906]         8fc09c20 00000000 00000000 00003838 00000038 8049ba78 000                                                                                        00007 00000000
[   62.852236]         00000000 80550000 000c87c0 00000000 8fc09b68 00000000 000                                                                                        00000 00000000
[   62.860567]         80552500 8054a0cc 000000e0 80550000 00000000 802ac920 000                                                                                        00000 806b0000
[   62.868898]         ...
[   62.871331] Call Trace:
[   62.871350] [<8049ba78>] 0x8049ba78
[   62.877244] [<802ac920>] 0x802ac920
[   62.880714] [<8000c1a0>] 0x8000c1a0
[   62.884182] [<8000c1a8>] 0x8000c1a8
[   62.887650] [<804848f4>] 0x804848f4
[   62.891118] [<800729e4>] 0x800729e4
[   62.894587] [<8048b904>] 0x8048b904
[   62.898053] [<80008f30>] 0x80008f30
[   62.901523] [<80008f30>] 0x80008f30
[   62.904990] [<8048b9f0>] 0x8048b9f0
[   62.908459] [<80086278>] 0x80086278
[   62.911930] [<800856c8>] 0x800856c8
[   62.915401] [<80088e3c>] 0x80088e3c
[   62.918868] [<80099e10>] 0x80099e10
[   62.922338] [<80099e68>] 0x80099e68
[   62.925807] [<8025a9c0>] 0x8025a9c0
[   62.929274] [<80330b74>] 0x80330b74
[   62.932743] [<80077c04>] 0x80077c04
[   62.936210] [<80079058>] 0x80079058
[   62.939679] [<80078000>] 0x80078000
[   62.943148] [<80073370>] 0x80073370
[   62.946615] [<8025a7a8>] 0x8025a7a8
[   62.950083] [<8025a654>] 0x8025a654
[   62.953551] [<8031db80>] 0x8031db80
[   62.957018] [<8025a814>] 0x8025a814
[   62.960486] [<80073370>] 0x80073370
[   62.963955] [<803186dc>] 0x803186dc
[   62.967422] [<804a273c>] 0x804a273c
[   62.970892] [<80259ed0>] 0x80259ed0
[   62.974362] [<80007488>] 0x80007488
[   62.977835] [<80032f84>] 0x80032f84
[   62.981304] [<8025a7a8>] 0x8025a7a8
[   62.984773] [<804a2814>] 0x804a2814
[   62.988243] [<80032f84>] 0x80032f84
[   62.991712] [<80259ed0>] 0x80259ed0
[   62.995181] [<80007488>] 0x80007488
[   62.998647]

Próba wgrania jądra przy użyciu sftp przez bootloadera:
Timeout, porty sieciowe nie są podniesione

1. Warto coś jeszcze sprawdzić przez konsole?
2. Warto coś sprawdzić na płytce?  Bezpiecznik, Ogranicznik prądowy, Często palące sie elementy?

2

Odp: Xiaomi miwifi 3g - cegła

System się wywalił z jakiegoś powodu. Wgraj jeszcze raz przez bootloader.

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

3

Odp: Xiaomi miwifi 3g - cegła

Bootloader podnosi się.
Próba uruchomienia sieci jest nieudana.
Wpięcie drugiej koncówki w port sieciowy nie zmienia stanu portu.
W efekcie tftp nie dostanie nowego kodu.

Widzę opcje wgrania bootloadera serialem (7).
Jest sens szukać jak wrzucić kernel tą rurą?

Z tego co pamiętam, jak router działał nie miał problemu z siecią w bootloaderze.
Na coś warto jeszcze spojrzeć czy od razu oznaczyć urządzenie jako przycisk do papieru?

===================================================================
                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 ===
PLL3 FB_DL: 0x7, 1/0 = 610/414 1D000000
PLL2 FB_DL: 0xa, 1/0 = 719/305 29000000
PLL4 FB_DL: 0xe, 1/0 = 685/339 39000000
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    1
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    0    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]=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 |    10 7 7 9 7 7 8 6 5 5
10 |    7 9 7 9 7 9
--------------------------------------

==================================================================
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  (1~58)29  8  (0~56)28
1  (1~57)29  9  (1~58)29
2  (1~56)28  10  (1~59)30
3  (1~56)28  11  (3~56)29
4  (1~57)29  12  (1~57)29
5  (1~58)29  13  (1~58)29
6  (1~58)29  14  (1~60)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 8 9 11 8 8 9 6 7 6
10 |    7 10 8 10 7 10
==================================================================
==================================================================
     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 = ffff0080
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 (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
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.                                                                                                             1
You choosed 1
                                                                                                                                                                      0


1: System Load Linux to SDRAM via TFTP.
 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 () ==:a

 NetTxPacket = 0x8FFE40C0

 KSEG1ADDR(NetTxPacket) = 0xAFFE40C0

 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 'a'.

 TIMEOUT_COUNT=10,Load address: 0x80a00000
Loading: T T T T T T T T T T
Retry count exceeded; starting again

ArpTimeoutCheck
TFTP from server 192.168.31.100; our IP address is 192.168.31.1
Filename 'a'.

 TIMEOUT_COUNT=10,Load address: 0x80a00000
Loading: T T T T T T T T T T
Retry count exceeded; starting again

ArpTimeoutCheck
TFTP from server 192.168.31.100; our IP address is 192.168.31.1
Filename 'a'.

4

Odp: Xiaomi miwifi 3g - cegła

NIe, zostaw na razie bootloader.

Na pewno masz serwer tftp postawiony na 192.168.31.100? Nie masz firewall, antywirusa itp?

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

5

Odp: Xiaomi miwifi 3g - cegła

Raspbian lite, bez udziwnień.
Interface sieciowy pozostaje "down" po wpięciu kabla ethernetowego.
Nawet nie ma sensu tcpdumpa startować.
Próbowałem wszystkich 3 portów.

6

Odp: Xiaomi miwifi 3g - cegła

No to ostatni test - podłącz go przez jakiś switch. Jeżeli nie zapalą się lampki to raczej upaliłes xiaomi.

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

7

Odp: Xiaomi miwifi 3g - cegła

Ciemno to widzę.

Z dobrych wiadomości Netgear r6220 już do mnie jedzie.
A do tego czasu RPI 3 powinien wytrzymać jako router.

Dziękuję za pomoc.