|
顶上去,请大神赐教
板子的DTS文件中pinctrl和ethernet部分的定义如下
- pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "i2c", "uart2", "uart3";
- ralink,function = "gpio";
- };
- };
- };
- ethernet@1e100000 {
- status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
- ralink,port-map = "llllw";
- port@5 {
- status = "okay";
- ralink,fixed-link = <1000 1 1 1>;
- phy-mode = "rgmii";
- };
- mdio-bus {
- status = "okay";
- phy0: ethernet-phy@0 {
- reg = <0>;
- phy-mode = "rgmii";
- qca,ar8327-initvals = <
- 0x00004 0x06800000 /* PAD0_MODE */
- >;
- };
- };
- };
复制代码
下面是启动信息,有看到mdio-bus有探测到了,根据参考网上的帖子,好像还要加载qca8337的驱动,用的是ar8216.ko,但是在menuconfig -- Kernel modules -- Network Devices 里面只有kmod-atl1(Atheros L1 Gigabit Ethernet support)之类的,怎么找到这个驱动。
- Xtal Mode=3 OCP Ratio=1/3
- Flash component: SPI Flash
- Date:Mar 22 2019 Time:16:14:21
- ============================================
- 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 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.
- 0
-
- 3: System Boot system code via Flash.
- ## Booting image at bfc50000 ...
- Image Name: MIPS OpenWrt Linux-3.18.45
- Image Type: MIPS Linux Kernel Image (lzma compressed)
- Data Size: 1200389 Bytes = 1.1 MB
- Load Address: 80001000
- Entry Point: 80001000
- Verifying Checksum ... OK
- Uncompressing Kernel Image ... OK
- No initrd
- ## Transferring control to Linux (at address 80001000) ...
- ## Giving linux memsize in MB, 256
- Starting kernel ...
- [ 0.000000] Linux version 3.18.45 (xmrd@xmrd) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r1074) ) #10 SMP Mon May 27 16:46:17 CST 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 SN3100
- [ 0.000000] Determined physical RAM map:
- [ 0.000000] memory: 08000000 [url=home.php?mod=space&uid=162986]@[/url] 00000000 (usable)
- [ 0.000000] Initrd not found or empty - disabling initrd
- [ 0.000000] Zone ranges:
- [ 0.000000] Normal [mem 0x00000000-0x07ffffff]
- [ 0.000000] HighMem empty
- [ 0.000000] Movable zone start for each node
- [ 0.000000] Early memory node ranges
- [ 0.000000] node 0: [mem 0x00000000-0x07ffffff]
- [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
- [ 0.000000] Detected 3 available secondary CPU(s)
- [ 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] PERCPU: Embedded 9 pages/cpu @8110b000 s5696 r8192 d22976 u36864
- [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
- [ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
- [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
- [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
- [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
- [ 0.000000] Writing ErrCtl register=00000700
- [ 0.000000] Readback ErrCtl register=00000700
- [ 0.000000] Memory: 125896K/131072K available (2704K kernel code, 140K rwdata, 524K rodata, 204K init, 228K bss, 5176K reserved, 0K highmem)
- [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
- [ 0.000000] Hierarchical RCU implementation.
- [ 0.000000] NR_IRQS:256
- [ 0.000000] gic: revision 3.0
- [ 0.000000] CPU Clock: 880MHz
- [ 0.000000] Calibrating delay loop... 577.53 BogoMIPS (lpj=2887680)
- [ 0.050000] pid_max: default: 32768 minimum: 301
- [ 0.060000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.080000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- [ 0.080000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- [ 0.080000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- [ 0.080000] CPU1 revision is: 0001992f (MIPS 1004Kc)
- [ 0.170000] Synchronize counters for CPU 1: done.
- [ 0.180000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- [ 0.180000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- [ 0.180000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- [ 0.190000] CPU2 revision is: 0001992f (MIPS 1004Kc)
- [ 0.280000] Synchronize counters for CPU 2: done.
- [ 0.290000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- [ 0.290000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- [ 0.290000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- [ 0.290000] CPU3 revision is: 0001992f (MIPS 1004Kc)
- [ 0.380000] Synchronize counters for CPU 3: done.
- [ 0.390000] Brought up 4 CPUs
- [ 0.400000] pinctrl core: initialized pinctrl subsystem
- [ 0.410000] NET: Registered protocol family 16
- [ 0.420000] pull PCIe RST: RALINK_RSTCTRL = 4000000
- [ 0.720000] release PCIe RST: RALINK_RSTCTRL = 7000000
- [ 0.730000] ***** Xtal 40MHz *****
- [ 0.730000] release PCIe RST: RALINK_RSTCTRL = 7000000
- [ 0.740000] Port 0 N_FTS = 1b102800
- [ 0.740000] Port 1 N_FTS = 1b102800
- [ 0.750000] Port 2 N_FTS = 1b102800
- [ 1.880000] PCIE0 no card, disable it(RST&CLK)
- [ 1.890000] PCIE1 no card, disable it(RST&CLK)
- [ 1.890000] PCIE2 no card, disable it(RST&CLK)
- [ 1.930000] mt7621_gpio 1e000600.gpio: registering 32 gpios
- [ 1.940000] mt7621_gpio 1e000600.gpio: registering 32 gpios
- [ 1.950000] mt7621_gpio 1e000600.gpio: registering 32 gpios
- [ 1.960000] Switched to clocksource MIPS
- [ 1.970000] NET: Registered protocol family 2
- [ 1.980000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
- [ 2.000000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
- [ 2.010000] TCP: Hash tables configured (established 1024 bind 1024)
- [ 2.020000] TCP: reno registered
- [ 2.030000] UDP hash table entries: 256 (order: 1, 8192 bytes)
- [ 2.040000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
- [ 2.050000] NET: Registered protocol family 1
- [ 2.060000] futex hash table entries: 1024 (order: 4, 65536 bytes)
- [ 2.080000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
- [ 2.090000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
- [ 2.110000] msgmni has been set to 245
- [ 2.120000] io scheduler noop registered
- [ 2.130000] io scheduler deadline registered (default)
- [ 2.140000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
- [ 2.150000] console [ttyS0] disabled
- [ 2.160000] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 34, base_baud = 3125000) is a 16550A
- [ 2.180000] console [ttyS0] enabled
- [ 2.180000] console [ttyS0] enabled
- [ 2.190000] bootconsole [early0] disabled
- [ 2.190000] bootconsole [early0] disabled
- [ 2.210000] spi-mt7621 1e000b00.spi: sys_freq: 50000000
- [ 2.220000] m25p80 spi32766.0: found mx25l12805d, expected w25q128
- [ 2.230000] m25p80 spi32766.0: mx25l12805d (16384 Kbytes)
- [ 2.240000] m25p80 spi32766.0: using chunked io
- [ 2.250000] 5 ofpart partitions found on MTD device spi32766.0
- [ 2.260000] Creating 5 MTD partitions on "spi32766.0":
- [ 2.270000] 0x000000000000-0x000000030000 : "u-boot"
- [ 2.290000] 0x000000030000-0x000000040000 : "u-boot-env"
- [ 2.300000] 0x000000040000-0x000000050000 : "factory"
- [ 2.310000] 0x000000050000-0x000000c00000 : "firmware"
- [ 2.360000] 2 uimage-fw partitions found on MTD device firmware
- [ 2.370000] 0x000000050000-0x000000175145 : "kernel"
- [ 2.380000] 0x000000175145-0x000000c00000 : "rootfs"
- [ 2.390000] mtd: device 5 (rootfs) set to be root filesystem
- [ 2.400000] 1 squashfs-split partitions found on MTD device rootfs
- [ 2.410000] 0x000000740000-0x000000c00000 : "rootfs_data"
- [ 2.420000] 0x000000c00000-0x000001000000 : "data"
- [ 2.430000] rt2880-pinmux pinctrl: invalid group "rgmii1" for function "rgmii"
- [ 2.450000] netif_napi_add() called with weight 128 on device eth%d
- [ 2.470000] change HW-TRAP to 0x17ccf
- [ 2.480000] ralink_soc_eth 1e100000.ethernet: generated random MAC address d2:ce:39:55:5e:ce
- [ 2.500000] libphy: mdio: probed
- [ 2.520000] ralink_soc_eth 1e100000.ethernet: loaded mt7530 driver
- [ 2.530000] ralink_soc_eth 1e100000.ethernet eth0: ralink at 0xbe100000, irq 11
- [ 2.540000] mt7621_wdt 1e000100.wdt: Initialized
- [ 2.550000] TCP: cubic registered
- [ 2.560000] NET: Registered protocol family 17
- [ 2.570000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
- [ 2.590000] 8021q: 802.1Q VLAN Support v1.8
- [ 2.610000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
- [ 2.620000] Freeing unused kernel memory: 204K (8034d000 - 80380000)
- [ 2.760000] random: nonblocking pool is initialized
- [ 3.720000] init: Console is alive
- [ 3.720000] init: - watchdog -
- [ 4.810000] usbcore: registered new interface driver usbfs
- [ 4.820000] usbcore: registered new interface driver hub
- [ 4.830000] usbcore: registered new device driver usb
- [ 4.870000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 4.890000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 4.910000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 4.930000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 4.950000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 4.970000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 4.990000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.010000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.030000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.050000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.110000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.130000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.150000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.170000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.190000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.210000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.230000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.250000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.270000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.290000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.440000] xhci-hcd xhci-hcd: xHCI Host Controller
- [ 5.450000] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 1
- [ 5.460000] xhci-hcd xhci-hcd: irq 30, io mem 0x1e1c0000
- [ 5.470000] hub 1-0:1.0: USB hub found
- [ 5.480000] hub 1-0:1.0: 2 ports detected
- [ 5.490000] xhci-hcd xhci-hcd: xHCI Host Controller
- [ 5.500000] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 2
- [ 5.510000] hub 2-0:1.0: USB hub found
- [ 5.520000] hub 2-0:1.0: 1 port detected
- [ 5.730000] init: - preinit -
- Press the [f] key and hit [enter] to enter failsafe mode
- Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
- [ 8.400000] ralink_soc_eth 1e100000.ethernet eth0: port 2 link up
- [ 9.220000] jffs2: notice: (336) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
- [ 9.250000] mount_root: switching to jffs2 overlay
- [ 9.290000] procd: - early -
- [ 9.290000] procd: - watchdog -
- [ 10.040000] procd: - ubus -
- [ 11.050000] procd: - init -
- [ 11.640000] NET: Registered protocol family 10
- [ 11.650000] ip6_tables: (C) 2000-2006 Netfilter Core Team
- [ 11.670000] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68
- [ 11.690000] Backport generated by backports.git backports-20151218-0-g2f58d9d
- [ 11.810000] ip_tables: (C) 2000-2006 Netfilter Core Team
- [ 11.820000] nf_conntrack version 0.5.0 (1970 buckets, 7880 max)
- [ 11.970000] xt_time: kernel timezone is -0000
- [ 11.980000] PPP generic driver version 2.4.2
- [ 11.990000] NET: Registered protocol family 24
- ===================================================================
- MT7621 stage1 code 10:33:55 (ASIC)
- CPU=500000000 HZ BUS=166666666 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: 0x7, 1/0 = 553/471 1D000000
- PLL3 FB_DL: 0xd, 1/0 = 579/445 35000000
- PLL4 FB_DL: 0xd, 1/0 = 525/499 35000000
- do DDR setting..[01F40000]
- 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 0 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]=00001D1E
- ==================================================================
- 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 9 10 12 9 11 10 9 8 10
- 10 | 10 10 9 11 9 10
- --------------------------------------
- ==================================================================
- 2.dqs window
- x=pass dqs delay value (min~max)center
- y=0-7bit DQ of every group
- input delay:DQS0 =30 DQS1 = 29
- ==================================================================
- bit DQS0 bit DQS1
- 0 (1~56)28 8 (1~55)28
- 1 (1~56)28 9 (1~56)28
- 2 (1~55)28 10 (1~56)28
- 3 (1~56)28 11 (1~52)26
- 4 (1~56)28 12 (1~55)28
- 5 (1~59)30 13 (1~56)28
- 6 (1~58)29 14 (1~58)29
- 7 (1~59)30 15 (0~55)27
- ==================================================================
- 3.dq delay value last
- ==================================================================
- bit| 0 1 2 3 4 5 6 7 8 9
- --------------------------------------
- 0 | 12 11 12 14 11 11 11 9 9 11
- 10 | 11 13 10 12 9 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 = 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=500000000 HZ BUS=166666666 HZ
- ===================================================================
- U-Boot 1.1.3 (Mar 22 2019 - 16:14:21)
- Board: Ralink APSoC DRAM: 256 MB
- relocate_code Pointer at: 8ffb8000
- Config XHCI 40M PLL
- flash manufacture id: c2, device id 20 18
- find flash: MX25L12805D
- *** Warning - bad CRC, using default environment
- ============================================
- Ralink UBoot Version: 4.3.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: SPI Flash
- Date:Mar 22 2019 Time:16:14:21
- ============================================
- 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 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.
- 0
-
- 3: System Boot system code via Flash.
- ## Booting image at bfc50000 ...
- Image Name: MIPS OpenWrt Linux-3.18.45
- Image Type: MIPS Linux Kernel Image (lzma compressed)
- Data Size: 1200389 Bytes = 1.1 MB
- Load Address: 80001000
- Entry Point: 80001000
- Verifying Checksum ... OK
- Uncompressing Kernel Image ... OK
- No initrd
- ## Transferring control to Linux (at address 80001000) ...
- ## Giving linux memsize in MB, 256
- Starting kernel ...
- [ 0.000000] Linux version 3.18.45 (xmrd@xmrd) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r1074) ) #10 SMP Mon May 27 16:46:17 CST 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 SN3100
- [ 0.000000] Determined physical RAM map:
- [ 0.000000] memory: 08000000 @ 00000000 (usable)
- [ 0.000000] Initrd not found or empty - disabling initrd
- [ 0.000000] Zone ranges:
- [ 0.000000] Normal [mem 0x00000000-0x07ffffff]
- [ 0.000000] HighMem empty
- [ 0.000000] Movable zone start for each node
- [ 0.000000] Early memory node ranges
- [ 0.000000] node 0: [mem 0x00000000-0x07ffffff]
- [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
- [ 0.000000] Detected 3 available secondary CPU(s)
- [ 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] PERCPU: Embedded 9 pages/cpu @8110b000 s5696 r8192 d22976 u36864
- [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
- [ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
- [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
- [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
- [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
- [ 0.000000] Writing ErrCtl register=00000708
- [ 0.000000] Readback ErrCtl register=00000708
- [ 0.000000] Memory: 125896K/131072K available (2704K kernel code, 140K rwdata, 524K rodata, 204K init, 228K bss, 5176K reserved, 0K highmem)
- [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
- [ 0.000000] Hierarchical RCU implementation.
- [ 0.000000] NR_IRQS:256
- [ 0.000000] gic: revision 3.0
- [ 0.000000] CPU Clock: 880MHz
- [ 0.000000] Calibrating delay loop... 577.53 BogoMIPS (lpj=2887680)
- [ 0.060000] pid_max: default: 32768 minimum: 301
- [ 0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.080000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.090000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- [ 0.090000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- [ 0.090000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- [ 0.090000] CPU1 revision is: 0001992f (MIPS 1004Kc)
- [ 0.180000] Synchronize counters for CPU 1: done.
- [ 0.190000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- [ 0.190000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- [ 0.190000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- [ 0.200000] CPU2 revision is: 0001992f (MIPS 1004Kc)
- [ 0.290000] Synchronize counters for CPU 2: done.
- [ 0.300000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- [ 0.300000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- [ 0.300000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- [ 0.300000] CPU3 revision is: 0001992f (MIPS 1004Kc)
- [ 0.390000] Synchronize counters for CPU 3: done.
- [ 0.400000] Brought up 4 CPUs
- [ 0.410000] pinctrl core: initialized pinctrl subsystem
- [ 0.420000] NET: Registered protocol family 16
- [ 0.430000] pull PCIe RST: RALINK_RSTCTRL = 4000000
- [ 0.730000] release PCIe RST: RALINK_RSTCTRL = 7000000
- [ 0.740000] ***** Xtal 40MHz *****
- [ 0.740000] release PCIe RST: RALINK_RSTCTRL = 7000000
- [ 0.750000] Port 0 N_FTS = 1b102800
- [ 0.750000] Port 1 N_FTS = 1b102800
- [ 0.760000] Port 2 N_FTS = 1b102800
- [ 1.890000] PCIE0 no card, disable it(RST&CLK)
- [ 1.900000] PCIE1 no card, disable it(RST&CLK)
- [ 1.900000] PCIE2 no card, disable it(RST&CLK)
- [ 1.940000] mt7621_gpio 1e000600.gpio: registering 32 gpios
- [ 1.950000] mt7621_gpio 1e000600.gpio: registering 32 gpios
- [ 1.960000] mt7621_gpio 1e000600.gpio: registering 32 gpios
- [ 1.970000] Switched to clocksource MIPS
- [ 1.980000] NET: Registered protocol family 2
- [ 1.990000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
- [ 2.010000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
- [ 2.020000] TCP: Hash tables configured (established 1024 bind 1024)
- [ 2.030000] TCP: reno registered
- [ 2.040000] UDP hash table entries: 256 (order: 1, 8192 bytes)
- [ 2.050000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
- [ 2.060000] NET: Registered protocol family 1
- [ 2.070000] futex hash table entries: 1024 (order: 4, 65536 bytes)
- [ 2.090000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
- [ 2.110000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
- [ 2.130000] msgmni has been set to 245
- [ 2.130000] io scheduler noop registered
- [ 2.140000] io scheduler deadline registered (default)
- [ 2.150000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
- [ 2.160000] console [ttyS0] disabled
- [ 2.170000] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 34, base_baud = 3125000) is a 16550A
- [ 2.190000] console [ttyS0] enabled
- [ 2.190000] console [ttyS0] enabled
- [ 2.200000] bootconsole [early0] disabled
- [ 2.200000] bootconsole [early0] disabled
- [ 2.220000] spi-mt7621 1e000b00.spi: sys_freq: 50000000
- [ 2.230000] m25p80 spi32766.0: found mx25l12805d, expected w25q128
- [ 2.240000] m25p80 spi32766.0: mx25l12805d (16384 Kbytes)
- [ 2.260000] m25p80 spi32766.0: using chunked io
- [ 2.260000] 5 ofpart partitions found on MTD device spi32766.0
- [ 2.280000] Creating 5 MTD partitions on "spi32766.0":
- [ 2.290000] 0x000000000000-0x000000030000 : "u-boot"
- [ 2.300000] 0x000000030000-0x000000040000 : "u-boot-env"
- [ 2.310000] 0x000000040000-0x000000050000 : "factory"
- [ 2.320000] 0x000000050000-0x000000c00000 : "firmware"
- [ 2.370000] 2 uimage-fw partitions found on MTD device firmware
- [ 2.380000] 0x000000050000-0x000000175145 : "kernel"
- [ 2.390000] 0x000000175145-0x000000c00000 : "rootfs"
- [ 2.400000] mtd: device 5 (rootfs) set to be root filesystem
- [ 2.410000] 1 squashfs-split partitions found on MTD device rootfs
- [ 2.430000] 0x000000740000-0x000000c00000 : "rootfs_data"
- [ 2.440000] 0x000000c00000-0x000001000000 : "data"
- [ 2.450000] rt2880-pinmux pinctrl: invalid group "rgmii1" for function "rgmii"
- [ 2.460000] netif_napi_add() called with weight 128 on device eth%d
- [ 2.490000] change HW-TRAP to 0x17ccf
- [ 2.500000] ralink_soc_eth 1e100000.ethernet: generated random MAC address 2e:83:f4:ba:6e:c0
- [ 2.510000] libphy: mdio: probed
- [ 2.530000] ralink_soc_eth 1e100000.ethernet: loaded mt7530 driver
- [ 2.540000] ralink_soc_eth 1e100000.ethernet eth0: ralink at 0xbe100000, irq 11
- [ 2.560000] mt7621_wdt 1e000100.wdt: Initialized
- [ 2.570000] TCP: cubic registered
- [ 2.580000] NET: Registered protocol family 17
- [ 2.580000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
- [ 2.610000] 8021q: 802.1Q VLAN Support v1.8
- [ 2.630000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
- [ 2.640000] Freeing unused kernel memory: 204K (8034d000 - 80380000)
- [ 2.710000] random: nonblocking pool is initialized
- [ 3.760000] init: Console is alive
- [ 3.760000] init: - watchdog -
- [ 4.850000] usbcore: registered new interface driver usbfs
- [ 4.860000] usbcore: registered new interface driver hub
- [ 4.870000] usbcore: registered new device driver usb
- [ 4.910000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 4.930000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 4.950000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 4.970000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 4.990000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.010000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.030000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.050000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.070000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.090000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.150000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.170000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.190000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.210000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.230000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.250000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.270000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.290000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.310000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.330000] FM_OUT value: u4FmOut = 0(0x00000000)
- [ 5.480000] xhci-hcd xhci-hcd: xHCI Host Controller
- [ 5.490000] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 1
- [ 5.500000] xhci-hcd xhci-hcd: irq 30, io mem 0x1e1c0000
- [ 5.510000] hub 1-0:1.0: USB hub found
- [ 5.520000] hub 1-0:1.0: 2 ports detected
- [ 5.530000] xhci-hcd xhci-hcd: xHCI Host Controller
- [ 5.540000] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 2
- [ 5.550000] hub 2-0:1.0: USB hub found
- [ 5.560000] hub 2-0:1.0: 1 port detected
- [ 5.770000] init: - preinit -
- Press the [f] key and hit [enter] to enter failsafe mode
- Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
- [ 8.770000] ralink_soc_eth 1e100000.ethernet eth0: port 2 link up
- [ 9.270000] jffs2: notice: (337) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
- [ 9.310000] mount_root: switching to jffs2 overlay
- [ 9.390000] procd: - early -
- [ 9.390000] procd: - watchdog -
- [ 10.160000] procd: - ubus -
- [ 11.170000] procd: - init -
- [ 11.760000] NET: Registered protocol family 10
- [ 11.770000] ip6_tables: (C) 2000-2006 Netfilter Core Team
- [ 11.790000] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68
- [ 11.810000] Backport generated by backports.git backports-20151218-0-g2f58d9d
- [ 11.930000] ip_tables: (C) 2000-2006 Netfilter Core Team
- [ 11.950000] nf_conntrack version 0.5.0 (1970 buckets, 7880 max)
- [ 12.120000] xt_time: kernel timezone is -0000
- [ 12.130000] PPP generic driver version 2.4.2
- [ 12.140000] NET: Registered protocol family 24
- ?
复制代码
|
|