=================================================================== MT7621 stage1 code 10:33:11 (ASIC) CPU=50000000 HZ BUS=16666666 HZ ================================================================== Change MPLL source from XTAL to CR... do MEMPLL setting.. MEMPLL Config : 0x11100000 3PLL mode + External loopback === XTAL-40Mhz === DDR-1200Mhz === PLL2 FB_DL: 0xa, 1/0 = 594/430 29000000 PLL3 FB_DL: 0xa, 1/0 = 597/427 29000000 PLL4 FB_DL: 0x12, 1/0 = 725/299 49000000 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 1 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 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 1 1 1 0 0 0 0 0 0 opt_dle value:8 DRAMC_R0DELDLY[018]=00001F20 ================================================================== RXDQS 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 10 8 10 7 11 5 1 8 10 | 4 11 6 10 3 8 -------------------------------------- ================================================================== 2.dqs window x=pass dqs delay value (min~max)center y=0-7bit DQ of every group input delay:DQS0 =32 DQS1 = 31 ================================================================== bitDQS0 bit DQS1 0 (1~62)31 8 (1~56)28 1 (1~59)30 9 (0~56)28 2 (1~62)31 10 (1~62)31 3 (0~59)29 11 (1~58)29 4 (1~61)31 12 (1~62)31 5 (1~61)31 13 (1~60)30 6 (1~62)31 14 (1~62)31 7 (0~65)32 15 (0~58)29 ================================================================== 3.dq delay value last ================================================================== bit| 0 1 2 3 4 5 6 7 8 9 -------------------------------------- 0 | 12 9 11 11 11 8 12 5 4 11 10 | 4 13 6 11 3 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 = 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=16666666 HZ =================================================================== U-Boot 1.1.3 (Aug 22 2018 - 14:51:38) Board: Ralink APSoC DRAM: 128 MB relocate_code Pointer at: 87fa8000 Config XHCI 40M PLL Allocate 16 byte aligned buffer: 87fdeeb0 Enable NFI Clock # MTK NAND # : Use HW ECC NAND ID [C2 F1 80 95 02] Device found in MTK table, ID: c2f1, EXT_ID: 809502 Support this Device in MTK table! c2f1 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 .*** Warning - bad CRC, using default environment ============================================ 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=3 OCP Ratio=1/3 Flash component: NAND Flash Date:Aug 22 2018 Time:14:51:38 ============================================ 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 =128 Mbytes #Reset_MT7530 set LAN/WAN LLLLW .. 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. default: 3 1 0 ****************************************** Uboot StandAlone Entry ****************************************** SC_DEBUG: Nand Partition Table Magic Found at 100000. .. *************************************************** Sercomm Boot Version 1.3.0.0, at Aug 22 2018, 14:51:35 *************************************************** Entering Firmware : Everything is OK. Enter NMRP_main 0x0000:XX XX XX XX XX XX Trying Eth0 (10/100-M) Waitting for RX_DMA_BUSY status Start... done ETH_STATE_ACTIVE!! Our ETH MAC: 0x0000:XX XX XX XX XX XX NMRP_FLASH_SIZE_buffer --> 03000000. NMRP:LISTENING Enter NMRP_handle_LISTENING_state ### No NMRP Server found ### check upgrade flag read flag_offs 05400000 flag value 0xff 3: System Boot system code via Flash. 0xbc200000 0xbc000000 0x200000 CLOSE ETH Clear Memory ## Booting image at bc200000 ... Image Name: MIPS OpenWrt Linux-5.4.124 Image Type: MIPS Linux Kernel Image (uncompressed) Data Size: 2357466 Bytes = 2.2 MB Load Address: 80001000 Entry Point: 80001000 .................................... Verifying Checksum ... OK OK No initrd ## Transferring control to Linux (at address 80001000) ... ## Giving linux memsize in MB, 128 Starting kernel ... OpenWrt kernel loader for MIPS based SoC Copyright (C) 2011 Gabor Juhos Decompressing kernel... done! Starting kernel at 80001000... [ 0.000000] Linux version 5.4.124 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16172-2aba3e9784)) #0 SMP Sun Jun 13 22:02:19 2021 [ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3 [ 0.000000] printk: bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc) [ 0.000000] MIPS: machine is Netgear R6260 [ 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-0x0000000007ffffff] [ 0.000000] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] percpu: Embedded 14 pages/cpu s26768 r8192 d22384 u57344 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480 [ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2 [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] Writing ErrCtl register=00000a1d [ 0.000000] Readback ErrCtl register=00000a1d [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 120964K/131072K available (6062K kernel code, 208K rwdata, 744K rodata, 1292K init, 238K bss, 10108K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] NR_IRQS: 256 [ 0.000000] random: get_random_bytes called from 0x806dda3c with crng_init=0 [ 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.000008] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns [ 0.015495] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360) [ 0.055821] pid_max: default: 32768 minimum: 301 [ 0.065162] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.079565] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.097525] rcu: Hierarchical SRCU implementation. [ 0.107596] smp: Bringing up secondary CPUs ... [ 0.881682] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.881693] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.881704] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.881801] CPU1 revision is: 0001992f (MIPS 1004Kc) [ 0.144728] Synchronize counters for CPU 1: done. [ 0.972450] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.972458] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.972466] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.972522] CPU2 revision is: 0001992f (MIPS 1004Kc) [ 0.239108] Synchronize counters for CPU 2: done. [ 1.063783] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 1.063791] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 1.063800] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 1.063858] CPU3 revision is: 0001992f (MIPS 1004Kc) [ 0.326700] Synchronize counters for CPU 3: done. [ 0.386306] smp: Brought up 1 node, 4 CPUs [ 0.398714] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.418006] futex hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.431835] pinctrl core: initialized pinctrl subsystem [ 0.443742] NET: Registered protocol family 16 [ 0.476523] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512 [ 0.497210] clocksource: Switched to clocksource GIC [ 0.508913] NET: Registered protocol family 2 [ 0.517624] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.532644] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.549248] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.564364] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.578362] TCP: Hash tables configured (established 1024 bind 1024) [ 0.591106] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.603998] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.618093] NET: Registered protocol family 1 [ 0.626665] PCI: CLS 0 bytes, default 32 [ 0.725166] 4 CPUs re-calibrate udelay(lpj = 1167360) [ 0.735413] random: fast init done [ 0.736757] workingset: timestamp_bits=14 max_order=15 bucket_order=1 [ 0.766886] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.778371] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.799504] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 0.815894] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.827235] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.838524] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.850377] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.866605] printk: console [ttyS0] disabled [ 0.875065] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A [ 0.892984] printk: console [ttyS0] enabled [ 0.892984] printk: console [ttyS0] enabled [ 0.909539] printk: bootconsole [early0] disabled [ 0.909539] printk: bootconsole [early0] disabled [ 0.930835] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388 [ 0.945792] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1 [ 0.958451] nand: Macronix MX30LF1G18AC [ 0.966090] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 0.981185] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits [ 0.994219] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134 [ 1.008779] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134 [ 1.023338] Scanning device for bad blocks [ 1.447999] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 20993.0 [ 2.343771] 7 fixed-partitions partitions found on MTD device mt7621-nand [ 2.357309] Creating 7 MTD partitions on "mt7621-nand": [ 2.367726] 0x000000000000-0x000000100000 : "u-boot" [ 2.379083] 0x000000100000-0x000000200000 : "SC PART_MAP" [ 2.391092] 0x000000200000-0x000000600000 : "kernel" [ 2.402427] 0x000000600000-0x000002e00000 : "ubi" [ 2.413365] 0x000002e00000-0x000004600000 : "reserved0" [ 2.425394] 0x000004600000-0x000004800000 : "factory" [ 2.436712] 0x000004800000-0x000008000000 : "reserved1" [ 2.450264] libphy: Fixed MDIO Bus: probed [ 2.483613] libphy: mdio: probed [ 2.490291] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module [ 2.506767] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21 [ 2.525615] mt7621-pci 1e140000.pcie: Parsing DT failed [ 2.538931] NET: Registered protocol family 10 [ 2.549360] Segment Routing with IPv6 [ 2.556777] NET: Registered protocol family 17 [ 2.565727] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 2.591798] 8021q: 802.1Q VLAN Support v1.8 [ 2.602765] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module [ 2.625079] libphy: dsa slave smi: probed [ 2.633574] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY] [ 2.651506] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY] [ 2.669502] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY] [ 2.687406] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY] [ 2.705491] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY] [ 2.723273] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode [ 2.740905] DSA: tree 0 setup [ 2.747212] rt2880-pinmux pinctrl: pcie is already enabled [ 2.758185] mt7621-pci 1e140000.pcie: Error applying setting, reverse things back [ 2.773268] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1) [ 2.788203] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0) [ 2.903076] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz [ 2.914198] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz [ 3.025353] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK) [ 3.039227] mt7621-pci 1e140000.pcie: PCIE0 enabled [ 3.048943] mt7621-pci 1e140000.pcie: PCIE1 enabled [ 3.058671] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002 [ 3.077396] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00 [ 3.090086] pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff] [ 3.103785] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] [ 3.117489] pci_bus 0000:00: root bus resource [bus 00-ff] [ 3.128461] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400 [ 3.140469] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 3.152963] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff] [ 3.165526] pci 0000:00:00.0: supports D1 [ 3.173516] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 3.185396] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400 [ 3.197409] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 3.209903] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff] [ 3.222452] pci 0000:00:01.0: supports D1 [ 3.230442] pci 0000:00:01.0: PME# supported from D0 D1 D3hot [ 3.243278] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 3.259251] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 3.275432] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280 [ 3.287467] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit] [ 3.301165] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link) [ 3.330160] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 3.340582] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff] [ 3.352726] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff] [ 3.366258] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff pref] [ 3.380652] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 3.394081] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000 [ 3.406116] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff] [ 3.418742] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold [ 3.432305] pci 0000:00:01.0: PCI bridge to [bus 02-ff] [ 3.442742] pci 0000:00:01.0: bridge window [io 0x0000-0x0fff] [ 3.454886] pci 0000:00:01.0: bridge window [mem 0x00000000-0x000fffff] [ 3.468414] pci 0000:00:01.0: bridge window [mem 0x00000000-0x000fffff pref] [ 3.482812] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02 [ 3.496038] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000] [ 3.509222] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] [ 3.523096] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000] [ 3.536283] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000] [ 3.550162] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff] [ 3.563693] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref] [ 3.578091] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff] [ 3.591622] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref] [ 3.606020] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff] [ 3.619554] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff] [ 3.633084] pci 0000:00:00.0: BAR 7: assigned [io 0x1e160000-0x1e160fff] [ 3.646619] pci 0000:00:01.0: BAR 7: assigned [io 0x1e161000-0x1e161fff] [ 3.660159] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit] [ 3.674744] pci 0000:00:00.0: PCI bridge to [bus 01] [ 3.684637] pci 0000:00:00.0: bridge window [io 0x1e160000-0x1e160fff] [ 3.698170] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 3.711697] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] [ 3.726100] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff] [ 3.739628] pci 0000:00:01.0: PCI bridge to [bus 02] [ 3.749524] pci 0000:00:01.0: bridge window [io 0x1e161000-0x1e161fff] [ 3.763051] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff] [ 3.776578] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref] [ 3.792330] UBI: auto-attach mtd3 [ 3.798993] ubi0: attaching mtd3 [ 3.805783] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off [ 4.167624] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 20993.0 [ 4.182475] ubi0 warning: 0x803b9d1c: error -77 (ECC error) while reading 64 bytes from PEB 280:2048, read only 0 bytes, retry [ 4.205375] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 20993.0 [ 4.220208] ubi0 warning: 0x803b9d1c: error -77 (ECC error) while reading 64 bytes from PEB 280:2048, read only 0 bytes, retry [ 4.243091] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 20993.0 [ 4.257934] ubi0 warning: 0x803b9d1c: error -77 (ECC error) while reading 64 bytes from PEB 280:2048, read only 0 bytes, retry [ 4.280813] mt7621-nand 1e003000.nand: Uncorrectable ECC error at page 20993.0 [ 4.295651] ubi0 error: 0x803b9e1c: error -77 (ECC error) while reading 64 bytes from PEB 280:2048, read 0 bytes [ 4.315921] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.4.124 #0 [ 4.327858] Stack : 00000000 80850000 87f82800 8007dd54 00000000 00000000 00000000 00000000 [ 4.344476] 00000000 00000000 00000000 00000000 00000000 00000001 87c41bc8 c6e00430 [ 4.361091] 87c41c60 00000000 00000000 00000000 00000038 805e5464 342e3520 3432312e [ 4.377708] 00000000 00000000 00000000 0004d211 00000000 87c41ba8 00000000 00000118 [ 4.394323] 02300800 00000000 00000800 00000000 00000003 8035bb7c 00000004 80820004 [ 4.410939] ... [ 4.415793] Call Trace: [ 4.415804] [<8007dd54>] 0x8007dd54 [ 4.427580] [<805e5464>] 0x805e5464 [ 4.434509] [<8035bb7c>] 0x8035bb7c [ 4.441438] [<8000b05c>] 0x8000b05c [ 4.448366] [<8000b064>] 0x8000b064 [ 4.455294] [<806e0000>] 0x806e0000 [ 4.462222] [<805cadf0>] 0x805cadf0 [ 4.469150] [<803b9e1c>] 0x803b9e1c [ 4.476081] [<803b9e24>] 0x803b9e24 [ 4.483009] [<803beb38>] 0x803beb38 [ 4.489939] [<803ba4a0>] 0x803ba4a0 [ 4.496867] [<803b9ae8>] 0x803b9ae8 [ 4.503796] [<803bffa8>] 0x803bffa8 [ 4.510728] [<803b3658>] 0x803b3658 [ 4.517657] [<8007df20>] 0x8007df20 [ 4.524587] [<806f58c8>] 0x806f58c8 [ 4.531517] [<806f558c>] 0x806f558c [ 4.538445] [<806dd1b8>] 0x806dd1b8 [ 4.545373] [<80001530>] 0x80001530 [ 4.552302] [<8004aff8>] 0x8004aff8 [ 4.559233] [<806dde30>] 0x806dde30 [ 4.566162] [<806dd1b8>] 0x806dd1b8 [ 4.573090] [<805e57c8>] 0x805e57c8 [ 4.580019] [<805e57d8>] 0x805e57d8 [ 4.586947] [<805e57c8>] 0x805e57c8 [ 4.593875] [<80006718>] 0x80006718 [ 4.600806] [ 4.604028] UBI assert failed in ubi_io_read at 190 (pid 1) [ 4.615124] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.4.124 #0 [ 4.627059] Stack : 00000000 80850000 87f82800 8007dd54 00000000 00000000 00000000 00000000 [ 4.643674] 00000000 00000000 00000000 00000000 00000000 00000001 87c41bc8 c6e00430 [ 4.660289] 87c41c60 00000000 00000000 00000000 00000038 805e5464 342e3520 3432312e [ 4.676905] 00000000 00000000 00000000 000962d4 00000000 87c41ba8 00000000 00000118 [ 4.693520] 02300800 00000000 00000800 00000000 00000003 8035bb7c 00000004 80820004 [ 4.710136] ... [ 4.714989] Call Trace: [ 4.714996] [<8007dd54>] 0x8007dd54 [ 4.726772] [<805e5464>] 0x805e5464 [ 4.733702] [<8035bb7c>] 0x8035bb7c [ 4.740631] [<8000b05c>] 0x8000b05c [ 4.747560] [<8000b064>] 0x8000b064 [ 4.754487] [<806e0000>] 0x806e0000 [ 4.761413] [<805cadf0>] 0x805cadf0 [ 4.768340] [<8007a7fc>] 0x8007a7fc [ 4.775268] [<803b9e1c>] 0x803b9e1c [ 4.782196] [<803b9e5c>] 0x803b9e5c [ 4.789127] [<803ba4a0>] 0x803ba4a0 [ 4.796054] [<803b9ae8>] 0x803b9ae8 [ 4.802982] [<803bffa8>] 0x803bffa8 [ 4.809914] [<803b3658>] 0x803b3658 [ 4.816841] [<8007df20>] 0x8007df20 [ 4.823770] [<806f58c8>] 0x806f58c8 [ 4.830699] [<806f558c>] 0x806f558c [ 4.837626] [<806dd1b8>] 0x806dd1b8 [ 4.844553] [<80001530>] 0x80001530 [ 4.851481] [<8004aff8>] 0x8004aff8 [ 4.858411] [<806dde30>] 0x806dde30 [ 4.865339] [<806dd1b8>] 0x806dd1b8 [ 4.872265] [<805e57c8>] 0x805e57c8 [ 4.879193] [<805e57d8>] 0x805e57d8 [ 4.886120] [<805e57c8>] 0x805e57c8 [ 4.893046] [<80006718>] 0x80006718 [ 4.899976] [ 4.903306] ubi0 error: 0x803b3a78: failed to attach mtd3, error -5 [ 4.915830] UBI error: cannot attach mtd3 [ 4.923835] hctosys: unable to open rtc device (rtc0) [ 4.934700] /dev/root: Can't open blockdev [ 4.942898] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6 [ 4.957799] Please append a correct "root=" boot option; here are the available partitions: [ 4.974438] 1f00 1024 mtdblock0 [ 4.974442] (driver?) [ 4.987454] 1f01 1024 mtdblock1 [ 4.987457] (driver?) [ 5.000470] 1f02 4096 mtdblock2 [ 5.000473] (driver?) [ 5.013490] 1f03 40960 mtdblock3 [ 5.013493] (driver?) [ 5.026505] 1f04 24576 mtdblock4 [ 5.026508] (driver?) [ 5.039528] 1f05 2048 mtdblock5 [ 5.039532] (driver?) [ 5.052545] 1f06 57344 mtdblock6 [ 5.052548] (driver?) [ 5.065579] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 5.082049] Rebooting in 1 seconds.. =================================================================== MT7621 stage1 code 10:33:11 (ASIC) CPU=50000000 HZ BUS=16666666 HZ ================================================================== Change MPLL source from XTAL to CR... do MEMPLL setting.. MEMPLL Config : 0x11100000 3PLL mode + External loopback === XTAL-40Mhz === DDR-1200Mhz === PLL2 FB_DL: 0xa, 1/0 = 667/357 29000000 PLL3 FB_DL: 0xa, 1/0 = 581/443 29000000 PLL4 FB_DL: 0x11, 1/0 = 552/472 45000000 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 1 1 1 1 1 1 1 1 1 1 1 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 1 1 1 0 0 0 0 0 opt_dle value:9 DRAMC_R0DELDLY[018]=00001F21 ================================================================== RXDQS 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 11 9 10 7 11 6 2 9 10 | 5 11 6 10 3 9 -------------------------------------- ================================================================== 2.dqs window x=pass dqs delay value (min~max)center y=0-7bit DQ of every group input delay:DQS0 =33 DQS1 = 31 ================================================================== bitDQS0 bit DQS1 0 (1~64)32 8 (1~58)29 1 (1~58)29 9 (1~58)29 2 (1~64)32 10 (1~62)31 3 (1~61)31 11 (1~58)29 4 (1~62)31 12 (1~62)31 5 (1~60)30 13 (1~58)29 6 (1~62)31 14 (1~61)31 7 (1~65)33 15 (1~60)30 ================================================================== 3.dq delay value last ================================================================== bit| 0 1 2 3 4 5 6 7 8 9 -------------------------------------- 0 | 12 11 12 11 12 10 13 6 4 11 10 | 5 13 6 12 3 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 = 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=16666666 HZ =================================================================== U-Boot 1.1.3 (Aug 22 2018 - 14:51:38) Board: Ralink APSoC DRAM: 128 MB relocate_code Pointer at: 87fa8000 Config XHCI 40M PLL ****************************** Software System Reset Occurred ****************************** Allocate 16 byte aligned buffer: 87fdeeb0 Enable NFI Clock # MTK NAND # : Use HW ECC NAND ID [C2 F1 80 95 02] Device found in MTK table, ID: c2f1, EXT_ID: 809502 Support this Device in MTK table! c2f1 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 .*** Warning - bad CRC, using default environment ============================================ 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=3 OCP Ratio=1/3 Flash component: NAND Flash Date:Aug 22 2018 Time:14:51:38 ============================================ 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 =128 Mbytes #Reset_MT7530 set LAN/WAN LLLLW .. 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. default: 3 1 0 ****************************************** Uboot StandAlone Entry ****************************************** SC_DEBUG: Nand Partition Table Magic Found at 100000. .. *************************************************** Sercomm Boot Version 1.3.0.0, at Aug 22 2018, 14:51:35 ***************************************************