|
软重启之后MT7615E加载驱动会出错,求大神帮忙谢谢。断电重启的话能正常加载,wifi也正常。不知道哪里的问题。MT7621+MT7612E 2x2(5g)+MT7615E (2.4G),16MB flash w25q128 128M ddr
[ 15.546597] bus=0x2, slot = 0x1, irq=0x0
[ 15.561682] mt7615e 0000:02:00.0: Firmware is not ready for download //这里会报错
[ 15.574670] mt7615e: probe of 0000:02:00.0 failed with error -5
[ 15.606633] bus=0x1, slot = 0x0, irq=0xff
[ 15.615038] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[ 16.285154] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[ 16.300873] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[ 16.311852] mt76x2e 0000:01:00.0: Build: 1
[ 16.320004] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[ 16.354521] mt76x2e 0000:01:00.0: Firmware running!
[ 16.366818] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
下面是详细的内核日志
[ 0.000000] Linux version 4.14.160 (heng@ubuntu) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r11816-d5ede68)) #0 SMP Thu Dec 26 22:30:57 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 Phicomm K2P
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 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-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] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat 805fc5a0, node_mem_map 81003000
[ 0.000000] Normal zone: 288 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] random: get_random_bytes called from start_kernel+0x9c/0x4d8 with crng_init=0
[ 0.000000] percpu: Embedded 14 pages/cpu s26064 r8192 d23088 u57344
[ 0.000000] pcpu-alloc: s26064 r8192 d23088 u57344 alloc=14*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 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=00044460
[ 0.000000] Readback ErrCtl register=00044460
[ 0.000000] Memory: 121808K/131072K available (4826K kernel code, 254K rwdata, 1052K rodata, 1280K init, 253K bss, 9264K 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.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[ 0.015499] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[ 0.087834] pid_max: default: 32768 minimum: 301
[ 0.097201] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.110224] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.126391] Hierarchical SRCU implementation.
[ 0.135935] smp: Bringing up secondary CPUs ...
[ 0.394458] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.394468] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.394480] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.394621] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.205263] Synchronize counters for CPU 1: done.
[ 0.146258] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.146267] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.146275] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.146351] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.326199] Synchronize counters for CPU 2: done.
[ 0.265295] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.265303] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.265312] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.265392] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.445759] Synchronize counters for CPU 3: done.
[ 0.505372] smp: Brought up 1 node, 4 CPUs
[ 0.517795] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.537284] futex hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.549835] pinctrl core: initialized pinctrl subsystem
[ 0.561547] NET: Registered protocol family 16
[ 0.579465] FPU Affinity set after 11720 emulations
[ 0.580189] pull PCIe RST: RALINK_RSTCTRL = 0
[ 0.889156] release PCIe RST: RALINK_RSTCTRL = 7000000
[ 0.899221] ***** Xtal 40MHz *****
[ 0.905954] release PCIe RST: RALINK_RSTCTRL = 7000000
[ 0.916161] Port 0 N_FTS = 1b105000
[ 0.923059] Port 1 N_FTS = 1b105000
[ 0.929985] Port 2 N_FTS = 1b102800
[ 2.088664] PCIE2 no card, disable it(RST&CLK)
[ 2.097356] -> 21007f2
[ 2.102173] PCIE0 enabled
[ 2.107375] PCIE1 enabled
[ 2.112553] PCI host bridge /pcie@1e140000 ranges:
[ 2.122079] MEM 0x0000000060000000..0x000000006fffffff
[ 2.132439] IO 0x000000001e160000..0x000000001e16ffff
[ 2.142803] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
[ 2.166253] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 2.177581] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 2.188815] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 2.201521] PCI host bridge to bus 0000:00
[ 2.209533] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 2.223197] pci_bus 0000:00: root bus resource [io 0xffffffff]
[ 2.234936] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 2.248412] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 2.264199] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[ 2.264239] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 2.264252] pci 0000:00:00.0: reg 0x14: [mem 0x60300000-0x6030ffff]
[ 2.264316] pci 0000:00:00.0: supports D1
[ 2.264325] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 2.264572] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[ 2.264599] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 2.264613] pci 0000:00:01.0: reg 0x14: [mem 0x60310000-0x6031ffff]
[ 2.264663] pci 0000:00:01.0: supports D1
[ 2.264671] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[ 2.265099] pci 0000:01:00.0: [14c3:7612] type 00 class 0x028000
[ 2.265155] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[ 2.265200] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 2.265310] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[ 2.265530] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 2.265722] pci 0000:02:00.0: [14c3:7615] type 00 class 0x000280
[ 2.265773] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[ 2.266073] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 2.266092] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02
[ 2.266158] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 2.279191] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 2.293000] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[ 2.306132] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[ 2.319961] pci 0000:00:00.0: BAR 14: assigned [mem 0x60000000-0x600fffff]
[ 2.333606] pci 0000:00:00.0: BAR 15: assigned [mem 0x60100000-0x601fffff pref]
[ 2.348123] pci 0000:00:01.0: BAR 14: assigned [mem 0x60200000-0x602fffff]
[ 2.361778] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[ 2.375255] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[ 2.388741] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[ 2.403261] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[ 2.417595] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 2.427422] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 2.440923] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref]
[ 2.455262] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit]
[ 2.469781] pci 0000:00:01.0: PCI bridge to [bus 02]
[ 2.479611] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff]
[ 2.494475] clocksource: Switched to clocksource GIC
[ 2.506230] NET: Registered protocol family 2
[ 2.515545] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 2.529284] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 2.541884] TCP: Hash tables configured (established 1024 bind 1024)
[ 2.554641] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 2.566138] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 2.578808] NET: Registered protocol family 1
[ 2.587397] PCI: CLS 80 bytes, default 32
[ 2.824420] 4 CPUs re-calibrate udelay(lpj = 2924544)
[ 2.835961] Crashlog allocated RAM at address 0x3f00000
[ 2.846516] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 2.868543] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.880051] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 2.901444] random: fast init done
[ 2.909903] io scheduler noop registered
[ 2.917633] io scheduler deadline registered (default)
[ 2.928367] BAR0 at slot 0 = 0
[ 2.934281] bus=0x0, slot = 0x0
[ 2.940866] BAR0 at slot 1 = 0
[ 2.946850] bus=0x0, slot = 0x1
[ 2.953915] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 2.967785] console [ttyS0] disabled
[ 2.974855] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[ 2.992771] console [ttyS0] enabled
[ 3.006564] bootconsole [early0] disabled
[ 3.024392] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[ 3.038752] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[ 3.059174] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 3.068623] 5 fixed-partitions partitions found on MTD device spi0.0
[ 3.081272] Creating 5 MTD partitions on "spi0.0":
[ 3.090828] 0x000000000000-0x000000030000 : "u-boot"
[ 3.101913] 0x000000030000-0x000000040000 : "u-boot-env"
[ 3.113651] 0x000000040000-0x000000050000 : "factory"
[ 3.124940] 0x000000050000-0x0000000a0000 : "permanent_config"
[ 3.137715] 0x0000000a0000-0x000001000000 : "firmware"
[ 3.149364] 2 uimage-fw partitions found on MTD device firmware
[ 3.161203] Creating 2 MTD partitions on "firmware":
[ 3.171100] 0x000000000000-0x0000001ef346 : "kernel"
[ 3.182200] 0x0000001ef346-0x000000f60000 : "rootfs"
[ 3.193175] mtd: device 6 (rootfs) set to be root filesystem
[ 3.204621] 1 squashfs-split partitions found on MTD device rootfs
[ 3.216954] 0x000000b50000-0x000000f60000 : "rootfs_data"
[ 3.229603] libphy: Fixed MDIO Bus: probed
[ 3.306526] libphy: mdio: probed
[ 4.714820] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[ 4.727362] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[ 4.744172] hdlc: HDLC support module revision 1.22
[ 4.756247] NET: Registered protocol family 10
[ 4.766701] Segment Routing with IPv6
[ 4.774066] NET: Registered protocol family 17
[ 4.783029] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 4.808821] 8021q: 802.1Q VLAN Support v1.8
[ 4.819696] hctosys: unable to open rtc device (rtc0)
[ 4.838831] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[ 4.857335] Freeing unused kernel memory: 1280K
[ 4.866385] This architecture does not have kernel memory protection.
[ 5.683335] init: Console is alive
[ 5.690465] init: - watchdog -
[ 6.659559] mtk_soc_eth 1e100000.ethernet eth0: port 4 link up
[ 7.079179] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 7.166630] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 7.184809] init: - preinit -
[ 8.502948] mtk_soc_eth 1e100000.ethernet: PPE started
[ 8.559874] random: procd: uninitialized urandom read (4 bytes read)
[ 12.882595] jffs2: notice: (454) jffs2_build_xattr_subsystem: complete building xattr subsystem, 7 of xdatum (3 unchecked, 4 orphan) and 75 of xref (5 dead, 0 orphan) found.
[ 12.915511] mount_root: switching to jffs2 overlay
[ 13.005092] overlayfs: upper fs does not support tmpfile.
[ 13.023727] urandom-seed: Seeding with /etc/urandom.seed
[ 13.141895] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[ 13.166898] procd: - early -
[ 13.172734] procd: - watchdog -
[ 13.854615] procd: - watchdog -
[ 13.861228] procd: - ubus -
[ 13.925446] random: ubusd: uninitialized urandom read (4 bytes read)
[ 13.951055] random: ubusd: uninitialized urandom read (4 bytes read)
[ 13.964158] random: ubusd: uninitialized urandom read (4 bytes read)
[ 13.977742] procd: - init -
[ 14.434965] random: crng init done
[ 14.441747] random: 5 urandom warning(s) missed due to ratelimiting
[ 15.033190] kmodloader: loading kernel modules from /etc/modules.d/*
[ 15.051228] tun: Universal TUN/TAP device driver, 1.6
[ 15.067988] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 15.085636] Netfilter messages via NETLINK v0.30.
[ 15.097388] ip_set: protocol 6
[ 15.134513] Mirror/redirect action on
[ 15.150044] u32 classifier
[ 15.155588] input device check on
[ 15.162862] Actions configured
[ 15.178567] GACT probability on
[ 15.189147] Simple TC action Loaded
[ 15.199211] urngd: v1.0.1 started.
[ 15.217449] Bridge firewalling registered
[ 15.227015] Loading modules backported from Linux version v5.4-rc8-0-gaf42d3466bdc
[ 15.242165] Backport generated by backports.git v5.4-rc8-1-0-g368e8c51
[ 15.258315] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 15.275296] MRM The MAC Address Re-Mapper is now in the kernel
[ 15.293892] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[ 15.376177] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[ 15.463067] xt_time: kernel timezone is -0000
[ 15.546597] bus=0x2, slot = 0x1, irq=0x0
[ 15.561682] mt7615e 0000:02:00.0: Firmware is not ready for download
[ 15.574670] mt7615e: probe of 0000:02:00.0 failed with error -5
[ 15.606633] bus=0x1, slot = 0x0, irq=0xff
[ 15.615038] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[ 16.285154] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[ 16.300873] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[ 16.311852] mt76x2e 0000:01:00.0: Build: 1
[ 16.320004] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[ 16.354521] mt76x2e 0000:01:00.0: Firmware running!
[ 16.366818] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 16.374733] PPP generic driver version 2.4.2
[ 16.385586] NET: Registered protocol family 24
[ 16.431330] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 23.917374] mtk_soc_eth 1e100000.ethernet: PPE started
[ 23.933456] br-lan: port 1(eth0.2) entered blocking state
[ 23.944343] br-lan: port 1(eth0.2) entered disabled state
[ 23.955768] device eth0.2 entered promiscuous mode
[ 23.965333] device eth0 entered promiscuous mode
[ 23.977884] br-lan: port 1(eth0.2) entered blocking state
[ 23.988716] br-lan: port 1(eth0.2) entered forwarding state
[ 24.000274] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 24.918051] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 27.499259] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 29.725461] wlan1: authenticate with 04:d4:c4:c6:1b:1c
[ 30.527551] wlan1: send auth to 04:d4:c4:c6:1b:1c (try 1/3)
[ 30.547154] wlan1: authenticated
[ 30.564585] wlan1: associate with 04:d4:c4:c6:1b:1c (try 1/3)
[ 30.577314] wlan1: RX AssocResp from 04:d4:c4:c6:1b:1c (capab=0x11 status=0 aid=4)
[ 30.592821] wlan1: associated
[ 30.610280] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 419.716580] bus=0x2, slot = 0x1, irq=0x18
[ 419.729368] mt7615e 0000:02:00.0: Firmware is not ready for download
[ 419.742223] mt7615e: probe of 0000:02:00.0 failed with error -5
|
|