===================================================================
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: 0xe, 1/0 = 610/414 39000000
PLL4 FB_DL: 0x15, 1/0 = 535/489 55000000
PLL2 FB_DL: 0x1a, 1/0 = 641/383 69000000
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 0 1 1 1 1 1 1 1 1 1 1 0
0010:| 1 1 1 1 1 1 1 1 1 1 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 = 16
rank 0 fine = 40
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 7 7 10 7 7 8 6 5 7
10 | 9 9 8 11 7 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~62)31 8 (0~61)30
1 (3~58)30 9 (1~62)31
2 (0~58)29 10 (1~63)32
3 (1~62)31 11 (1~63)32
4 (1~61)31 12 (1~64)32
5 (1~62)31 13 (1~64)32
6 (1~60)30 14 (1~64)32
7 (2~65)33 15 (1~66)33
==================================================================
3.dq delay value last
==================================================================
bit| 0 1 2 3 4 5 6 7 8 9
--------------------------------------
0 | 11 10 11 12 9 9 11 6 8 9
10 | 10 10 9 12 8 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 (Jul 14 2017 - 15:16:26)
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: 8ffdff50
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [C8 D1 80 95 40]
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:Jul 14 2017 Time:15:16:26
============================================
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
..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.143
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1870641 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.143 (cezary@eko.one.pl) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r10196-c4e727f01c)) #0 SMP Sat Sep 14 15:10:41 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 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,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=000160ce
[ 0.000000] Readback ErrCtl register=000160ce
[ 0.000000] Memory: 253484K/262144K available (4755K kernel code, 237K 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.073980] pid_max: default: 32768 minimum: 301
[ 0.078750] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.085258] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.094069] Hierarchical SRCU implementation.
[ 0.099231] smp: Bringing up secondary CPUs ...
[ 0.107717] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.107726] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.107739] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.107878] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.163984] Synchronize counters for CPU 1: done.
[ 0.201861] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.201869] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.201877] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.201950] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.255148] Synchronize counters for CPU 2: done.
[ 0.288902] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.288910] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.288918] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.288999] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.340336] Synchronize counters for CPU 3: done.
[ 0.370204] smp: Brought up 1 node, 4 CPUs
[ 0.378086] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.387882] futex hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.394190] pinctrl core: initialized pinctrl subsystem
[ 0.400816] NET: Registered protocol family 16
[ 0.411362] pull PCIe RST: RALINK_RSTCTRL = 4000000
[ 0.716628] release PCIe RST: RALINK_RSTCTRL = 7000000
[ 0.721674] ***** Xtal 40MHz *****
[ 0.725033] release PCIe RST: RALINK_RSTCTRL = 7000000
[ 0.730131] Port 0 N_FTS = 1b102800
[ 0.733600] Port 1 N_FTS = 1b102800
[ 0.737040] Port 2 N_FTS = 1b102800
[ 1.892261] PCIE2 no card, disable it(RST&CLK)
[ 1.896623] -> 21007f2
[ 1.899023] PCIE0 enabled
[ 1.901616] PCIE1 enabled
[ 1.904220] PCI host bridge /pcie@1e140000 ranges:
[ 1.908993] MEM 0x0000000060000000..0x000000006fffffff
[ 1.914155] IO 0x000000001e160000..0x000000001e16ffff
[ 1.919350] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
[ 1.935525] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.941344] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.947095] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.954792] PCI host bridge to bus 0000:00
[ 1.958830] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 1.965662] pci_bus 0000:00: root bus resource [io 0xffffffff]
[ 1.971512] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 1.978275] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 1.986937] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.994862] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 2.004191] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 2.010729] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 2.017621] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[ 2.024195] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[ 2.031095] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[ 2.037850] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[ 2.044577] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
[ 2.051759] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[ 2.058492] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[ 2.065246] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[ 2.071964] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 2.076903] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 2.083633] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
[ 2.090909] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
[ 2.098055] pci 0000:00:01.0: PCI bridge to [bus 02]
[ 2.102993] pci 0000:00:01.0: bridge window [mem 0x60100000-0x601fffff]
[ 2.109719] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff pref]
[ 2.118356] clocksource: Switched to clocksource GIC
[ 2.124823] NET: Registered protocol family 2
[ 2.129949] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 2.136837] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[ 2.143258] TCP: Hash tables configured (established 2048 bind 2048)
[ 2.149668] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 2.155428] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 2.161896] NET: Registered protocol family 1
[ 2.398294] 4 CPUs re-calibrate udelay(lpj = 2924544)
[ 2.404787] Crashlog allocated RAM at address 0x3f00000
[ 2.410218] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[ 2.420852] random: fast init done
[ 2.426816] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.432679] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 2.445980] io scheduler noop registered
[ 2.449883] io scheduler deadline registered (default)
[ 2.456033] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 2.465893] console [ttyS0] disabled
[ 2.469489] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[ 2.478482] console [ttyS0] enabled
[ 2.478482] console [ttyS0] enabled
[ 2.485336] bootconsole [early0] disabled
[ 2.485336] bootconsole [early0] disabled
[ 2.495460] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[ 2.502631] Enable NFI Clock
[ 2.505502] # MTK NAND # : Use HW ECC
[ 2.509251] Device found in MTK table, ID: c8d1, EXT_ID: 809540
[ 2.515143] Support this Device in MTK table! c8d1
[ 2.520109] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[ 2.526567] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1
[ 2.532911] nand: ESMT NAND 128MiB 3,3V 8-bit
[ 2.537248] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 2.544815] Scanning device for bad blocks
[ 2.692748] 10 fixed-partitions partitions found on MTD device MT7621-NAND
[ 2.699607] Creating 10 MTD partitions on "MT7621-NAND":
[ 2.704903] 0x000000000000-0x000000080000 : "Bootloader"
[ 2.711402] 0x000000080000-0x0000000c0000 : "Config"
[ 2.717359] 0x0000000c0000-0x000000100000 : "Bdata"
[ 2.723314] 0x000000100000-0x000000140000 : "Factory"
[ 2.729473] 0x000000140000-0x000000180000 : "crash"
[ 2.735385] 0x000000180000-0x0000001c0000 : "crash_syslog"
[ 2.741938] 0x0000001c0000-0x000000200000 : "reserved0"
[ 2.748182] 0x000000200000-0x000000600000 : "kernel_stock"
[ 2.754789] 0x000000600000-0x000000a00000 : "kernel"
[ 2.760872] 0x000000a00000-0x000007f80000 : "ubi"
[ 2.767532] [mtk_nand] probe successfully!
[ 2.772388] Signature matched and data read!
[ 2.776636] load_fact_bbt success 1023
[ 2.781168] libphy: Fixed MDIO Bus: probed
[ 2.850931] libphy: mdio: probed
[ 4.254713] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[ 4.261366] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[ 4.272187] NET: Registered protocol family 10
[ 4.278267] Segment Routing with IPv6
[ 4.282097] NET: Registered protocol family 17
[ 4.286593] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 4.299512] 8021q: 802.1Q VLAN Support v1.8
[ 4.306740] UBI: auto-attach mtd9
[ 4.310136] ubi0: attaching mtd9
[ 5.396829] ubi0: scanning is finished
[ 5.416161] ubi0: attached mtd9 (name "ubi", size 117 MiB)
[ 5.421662] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 5.428517] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 5.435271] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 5.442210] ubi0: good PEBs: 940, bad PEBs: 0, corrupted PEBs: 0
[ 5.448188] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[ 5.455394] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1109189550
[ 5.464495] ubi0: available PEBs: 916, total reserved PEBs: 24, PEBs reserved for bad PEB handling: 20
[ 5.473806] ubi0: background thread "ubi_bgt0d" started, PID 392
[ 5.473826] hctosys: unable to open rtc device (rtc0)
[ 5.485098] usb_vbus: disabling
[ 5.488852] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 5.496301] Please append a correct "root=" boot option; here are the available partitions:
[ 5.504656] 1f00 512 mtdblock0
[ 5.504663] (driver?)
[ 5.511186] 1f01 256 mtdblock1
[ 5.511190] (driver?)
[ 5.517690] 1f02 256 mtdblock2
[ 5.517694] (driver?)
[ 5.524211] 1f03 256 mtdblock3
[ 5.524216] (driver?)
[ 5.530732] 1f04 256 mtdblock4
[ 5.530737] (driver?)
[ 5.537236] 1f05 256 mtdblock5
[ 5.537240] (driver?)
[ 5.543757] 1f06 256 mtdblock6
[ 5.543762] (driver?)
[ 5.550279] 1f07 4096 mtdblock7
[ 5.550284] (driver?)
[ 5.556785] 1f08 4096 mtdblock8
[ 5.556788] (driver?)
[ 5.563305] 1f09 120320 mtdblock9
[ 5.563310] (driver?)
[ 5.569824] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 5.580051] Rebooting in 1 seconds..
Rozumiem, że należy ustawić adres statyczny 192.168.31.1 Mam problem z TFTPD, bo nic się nie dzieje (zapora windows wyłączona, inne karty sieciowe też). Nie mam pojęcia, co należy dokładnie zrobić. Pomożecie tak "łopatologicznie"?