Hy ladies and gentlemen
For a Project, i need to build my Os from Buildroot.
I build my Kernel from the sources of the Frank’s git
I used the 6.0-R3.
In the Devicetree, there is the eeprom-data for wifi.
I tried to load the driver two ways :
-Built-in the kernel
-Load as a Module (modprobe).
But same result.
All firmware of Mediatek are presents in the folder /lib/firmware/mediatek/
# modprobe mt7915e
# lsmod
Module Size Used by
mt7915e 143360 0
mt76_connac_lib 53248 1 mt7915e
mt76 81920 2 mt7915e,mt76_connac_lib
# modinfo mt7915e
filename: /lib/modules/6.0.0-rc4-diagbox/kernel/drivers/net/wireless/mediatek/mt76/mt7915/mt7915e.ko
firmware: mediatek/mt7916_rom_patch.bin
firmware: mediatek/mt7916_wm.bin
firmware: mediatek/mt7916_wa.bin
firmware: mediatek/mt7915_rom_patch.bin
firmware: mediatek/mt7915_wm.bin
firmware: mediatek/mt7915_wa.bin
license: Dual BSD/GPL
firmware: mediatek/mt7986_rom_patch_mt7975.bin
firmware: mediatek/mt7986_rom_patch.bin
firmware: mediatek/mt7986_wm_mt7975.bin
firmware: mediatek/mt7986_wm.bin
firmware: mediatek/mt7986_wa.bin
alias: pci:v000014C3d00007906sv*sd*bc*sc*i*
alias: pci:v000014C3d00007915sv*sd*bc*sc*i*
alias: pci:v000014C3d0000790Asv*sd*bc*sc*i*
alias: pci:v000014C3d00007916sv*sd*bc*sc*i*
depends: mt76-connac-lib,mt76
intree: Y
name: mt7915e
vermagic: 6.0.0-rc4-diagbox SMP mod_unload aarch64
parm: wed_enable:bool
If i understand the output of my command modinfo mt7915e; all firmware needed are loaded.
Here the ouput of my dmesg :
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.0.0-rc4-diagbox (root@workstation) (aarch64-linux-gnu-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld (Linaro_Binutils-2019.12) 2.28.2.20170706) #2 SMP Sun Oct 30 17:13:37 CET 2022
[ 0.000000] Machine model: Bananapi BPI-R3
[ 0.000000] earlycon: uart8250 at MMIO32 0x0000000011002000 (options '')
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'wmcpu-reserved@4fc00000': base 0x000000004fc00000, size 1 MiB
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x00000000bfffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x0000000042ffffff]
[ 0.000000] node 0: [mem 0x0000000043000000-0x000000004302ffff]
[ 0.000000] node 0: [mem 0x0000000043030000-0x00000000bfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 27 pages/cpu s70824 r8192 d31576 u110592
[ 0.000000] pcpu-alloc: s70824 r8192 d31576 u110592 alloc=27*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096
[ 0.000000] Kernel command line: board=DiagBox earlycon=uart8250,mmio32,0x11002000 debug=7 initrd=0x48000000,550M
[ 0.000000] Unknown kernel command line parameters "board=DiagBox", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 1469836K/2097152K available (12992K kernel code, 2096K rwdata, 4020K rodata, 3712K init, 419K bss, 627316K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 640 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: GICv3 features: 16 PPIs
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[ 0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[ 0.008246] Console: colour dummy device 80x25
[ 0.012712] printk: console [tty0] enabled
[ 0.016826] printk: bootconsole [uart8250] disabled
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.0.0-rc4-diagbox (root@workstation) (aarch64-linux-gnu-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld (Linaro_Binutils-2019.12) 2.28.2.20170706) #2 SMP Sun Oct 30 17:13:37 CET 2022
[ 0.000000] Machine model: Bananapi BPI-R3
[ 0.000000] earlycon: uart8250 at MMIO32 0x0000000011002000 (options '')
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'wmcpu-reserved@4fc00000': base 0x000000004fc00000, size 1 MiB
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x00000000bfffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x0000000042ffffff]
[ 0.000000] node 0: [mem 0x0000000043000000-0x000000004302ffff]
[ 0.000000] node 0: [mem 0x0000000043030000-0x00000000bfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 27 pages/cpu s70824 r8192 d31576 u110592
[ 0.000000] pcpu-alloc: s70824 r8192 d31576 u110592 alloc=27*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096
[ 0.000000] Kernel command line: board=DiagBox earlycon=uart8250,mmio32,0x11002000 debug=7 initrd=0x48000000,550M
[ 0.000000] Unknown kernel command line parameters "board=DiagBox", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 1469836K/2097152K available (12992K kernel code, 2096K rwdata, 4020K rodata, 3712K init, 419K bss, 627316K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 640 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: GICv3 features: 16 PPIs
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[ 0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[ 0.008246] Console: colour dummy device 80x25
[ 0.012712] printk: console [tty0] enabled
[ 0.016826] printk: bootconsole [uart8250] disabled
[ 0.021753] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[ 0.021765] pid_max: default: 32768 minimum: 301
[ 0.021855] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.021872] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.022313] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.022570] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.022580] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.022676] rcu: Hierarchical SRCU implementation.
[ 0.022682] rcu: Max phase no-delay instances is 1000.
[ 0.023078] EFI services will not be available.
[ 0.023214] smp: Bringing up secondary CPUs ...
[ 0.023511] Detected VIPT I-cache on CPU1
[ 0.023565] cacheinfo: Unable to detect cache hierarchy for CPU 1
[ 0.023573] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[ 0.023607] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.023929] Detected VIPT I-cache on CPU2
[ 0.023962] cacheinfo: Unable to detect cache hierarchy for CPU 2
[ 0.023967] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[ 0.023980] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.024243] Detected VIPT I-cache on CPU3
[ 0.024272] cacheinfo: Unable to detect cache hierarchy for CPU 3
[ 0.024277] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[ 0.024287] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.024319] smp: Brought up 1 node, 4 CPUs
[ 0.024370] SMP: Total of 4 processors activated.
[ 0.024376] CPU features: detected: 32-bit EL0 Support
[ 0.024382] CPU features: detected: CRC32 instructions
[ 0.024424] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.025985] CPU: All CPU(s) started at EL2
[ 0.026001] alternatives: patching kernel code
[ 0.026830] devtmpfs: initialized
[ 0.028516] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.028541] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.028634] pinctrl core: initialized pinctrl subsystem
[ 0.028934] DMI not present or invalid.
[ 0.029340] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.029622] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[ 0.029656] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.029688] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.030079] thermal_sys: Registered thermal governor 'fair_share'
[ 0.030083] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.030090] thermal_sys: Registered thermal governor 'step_wise'
[ 0.030095] thermal_sys: Registered thermal governor 'user_space'
[ 0.030191] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.030251] ASID allocator initialised with 65536 entries
[ 0.040828] cryptd: max_cpu_qlen set to 1000
[ 0.041592] iommu: Default domain type: Translated
[ 0.041612] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.041732] SCSI subsystem initialized
[ 0.041834] libata version 3.00 loaded.
[ 0.041934] usbcore: registered new interface driver usbfs
[ 0.041960] usbcore: registered new interface driver hub
[ 0.041983] usbcore: registered new device driver usb
[ 0.042210] i2c-gpio i2c-gpio-0: using lines 427 (SDA) and 428 (SCL)
[ 0.042329] i2c-gpio i2c-gpio-1: using lines 429 (SDA) and 430 (SCL)
[ 0.042369] pps_core: LinuxPPS API ver. 1 registered
[ 0.042375] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[ 0.042390] PTP clock support registered
[ 0.043099] vgaarb: loaded
[ 0.062401] clocksource: Switched to clocksource arch_sys_counter
[ 0.066477] NET: Registered PF_INET protocol family
[ 0.066684] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.067767] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 0.067819] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.067834] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.067907] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[ 0.068116] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.068215] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.068252] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.068381] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.069070] PCI: CLS 0 bytes, default 64
[ 0.069231] Unpacking initramfs...
[ 0.080664] Initialise system trusted keyrings
[ 0.080806] workingset: timestamp_bits=62 max_order=19 bucket_order=0
[ 0.083365] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.083460] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.105448] Key type asymmetric registered
[ 0.105485] Asymmetric key parser 'x509' registered
[ 0.105593] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.105606] io scheduler mq-deadline registered
[ 0.105613] io scheduler kyber registered
[ 0.143886] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 0.165551] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 116, base_baud = 2500000) is a ST16650V2
[ 0.987596] printk: console [ttyS0] enabled
[ 1.012959] 11003000.serial: ttyS1 at MMIO 0x11003000 (irq = 117, base_baud = 1625000) is a ST16650V2
[ 1.043370] 11004000.serial: ttyS2 at MMIO 0x11004000 (irq = 118, base_baud = 1625000) is a ST16650V2
[ 1.053514] mtk_rng 1020f000.trng: registered RNG driver
[ 1.053573] hwrng: no data available
[ 1.059382] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 1.072366] loop: module loaded
[ 1.077522] spi-nand spi0.0: Winbond SPI NAND was found.
[ 1.082871] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[ 2.295649] Initramfs unpacking failed: invalid magic at start of compressed archive
[ 2.499616] Freeing initrd memory: 563200K
[ 2.519564] 4 fixed-partitions partitions found on MTD device spi0.0
[ 2.525954] Creating 4 MTD partitions on "spi0.0":
[ 2.530734] 0x000000580000-0x000008000000 : "ubi"
[ 2.666681] 0x000000380000-0x000000580000 : "fip"
[ 2.674167] 0x000000080000-0x000000380000 : "reserved"
[ 2.683580] 0x000000000000-0x000000080000 : "bl2"
[ 2.690940] sfp sfp1: Host maximum power 1.0W
[ 2.695935] sfp sfp2: Host maximum power 1.0W
[ 2.701695] tun: Universal TUN/TAP device driver, 1.6
[ 2.718896] (unnamed net_device) (uninitialized): fixed link full duplex 1000Mbps not recognised
[ 2.728362] mtk_soc_eth 15100000.ethernet: generated random MAC address 02:d0:7d:c3:1c:0b
[ 2.736900] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc00b280000, irq 121
[ 2.746085] mtk_soc_eth 15100000.ethernet: generated random MAC address 3a:25:4b:49:20:f3
[ 2.754513] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc00b280000, irq 121
[ 2.763802] PPP generic driver version 2.4.2
[ 2.768212] PPP BSD Compression module registered
[ 2.772944] PPP Deflate Compression module registered
[ 2.777982] NET: Registered PF_PPPOX protocol family
[ 2.782956] PPTP driver version 0.8.5
[ 2.786768] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
[ 2.793864] usbcore: registered new interface driver catc
[ 2.799268] usbcore: registered new interface driver kaweth
[ 2.804831] pegasus: Pegasus/Pegasus II USB Ethernet driver
[ 2.810404] usbcore: registered new interface driver pegasus
[ 2.816068] usbcore: registered new interface driver rtl8150
[ 2.821711] hso: drivers/net/usb/hso.c: Option Wireless
[ 2.826964] usbcore: registered new interface driver hso
[ 2.832281] usbcore: registered new interface driver asix
[ 2.837686] usbcore: registered new interface driver ax88179_178a
[ 2.843790] usbcore: registered new interface driver cdc_ether
[ 2.849622] usbcore: registered new interface driver net1080
[ 2.855288] usbcore: registered new interface driver cdc_subset
[ 2.861205] usbcore: registered new interface driver zaurus
[ 2.866787] usbcore: registered new interface driver ipheth
[ 2.872364] usbcore: registered new interface driver cdc_ncm
[ 2.878029] usbcore: registered new interface driver r8153_ecm
[ 2.884067] usbcore: registered new interface driver usb-storage
[ 2.890243] i2c_dev: i2c /dev entries driver
[ 2.895303] SMCCC: SOC_ID: ID = jep106:0426:7986 Revision = 0x00000000
[ 2.901949] usbcore: registered new interface driver usbhid
[ 2.907553] usbhid: USB HID core driver
[ 2.911583] NET: Registered PF_LLC protocol family
[ 2.916445] ipip: IPv4 and MPLS over IPv4 tunneling driver
[ 2.922264] gre: GRE over IPv4 demultiplexor driver
[ 2.927151] ip_gre: GRE over IPv4 tunneling driver
[ 2.932876] NET: Registered PF_INET6 protocol family
[ 2.952017] Segment Routing with IPv6
[ 2.955091] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.955700] RPL Segment Routing with IPv6
[ 2.965515] mmc0: new high speed SDHC card at address 0001
[ 2.967706] In-situ OAM (IOAM) with IPv6
[ 2.973993] mmcblk0: mmc0:0001 00000 29.8 GiB
[ 2.977113] mip6: Mobile IPv6
[ 2.984882] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.985754] GPT:Primary header thinks Alt. header is not at the end of the disk.
[ 2.991475] ip6_gre: GRE over IPv6 tunneling driver
[ 2.998179] GPT:1 != 62521343
[ 2.998182] GPT:Alternate GPT header not at the end of the disk.
[ 3.004803] NET: Registered PF_PACKET protocol family
[ 3.005993] GPT:1 != 62521343
[ 3.005995] GPT: Use GNU Parted to correct GPT errors.
[ 3.012142] 8021q: 802.1Q VLAN Support v1.8
[ 3.017043] mmcblk0: p1 p2 p3 p4 p5 p6 p7
[ 3.020282] Loading compiled-in X.509 certificates
[ 3.046507] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[ 3.053896] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[ 3.060155] mtk-pcie-gen3 11280000.pcie: MEM 0x0020000000..0x002fffffff -> 0x0020000000
[ 3.282410] mtk-pcie-gen3 11280000.pcie: PCIe link down, current LTSSM state: detect.active (0x1000001)
[ 3.291834] mtk-pcie-gen3: probe of 11280000.pcie failed with error -110
[ 3.335413] mt7530 mdio-bus:1f: no interrupt support
[ 3.366528] mt7530 mdio-bus:1f: configuring for fixed/2500base-x link mode
[ 3.373698] mt7530 mdio-bus:1f: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 3.382897] mt7530 mdio-bus:1f wan (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7531 PHY] (irq=POLL)
[ 3.402753] mt7530 mdio-bus:1f lan0 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=POLL)
[ 3.422409] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=POLL)
[ 3.442044] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=POLL)
[ 3.461692] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7531 PHY] (irq=POLL)
[ 3.472570] device eth0 entered promiscuous mode
[ 3.477218] DSA: tree 0 setup
[ 3.481590] xhci-mtk 11200000.usb: xHCI Host Controller
[ 3.486849] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
[ 3.497236] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000210010
[ 3.506405] xhci-mtk 11200000.usb: irq 125, io mem 0x11200000
[ 3.512221] xhci-mtk 11200000.usb: xHCI Host Controller
[ 3.517443] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
[ 3.524833] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[ 3.532370] hub 1-0:1.0: USB hub found
[ 3.536149] hub 1-0:1.0: 2 ports detected
[ 3.540447] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.548883] hub 2-0:1.0: USB hub found
[ 3.552735] hub 2-0:1.0: 1 port detected
[ 3.557193] printk: console [netcon0] enabled
[ 3.561552] netconsole: network logging started
[ 3.566156] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 3.580918] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 3.590991] Freeing unused kernel memory: 3712K
[ 3.652445] Run /init as init process
[ 3.656108] with arguments:
[ 3.659065] /init
[ 3.661328] with environment:
[ 3.664467] HOME=/
[ 3.666816] TERM=linux
[ 3.669511] board=DiagBox
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Populating /dev using udev: [ 3.744715] udevd[1099]: starting version 3.2.9
[ 3.749702] random: udevd: uninitialized urandom read (16 bytes read)
[ 3.756421] random: udevd: uninitialized urandom read (16 bytes read)
[ 3.763213] random: udevd: uninitialized urandom read (16 bytes read)
[ 3.775896] udevd[1100]: starting eudev-3.2.9
[ 3.855463] mtdblock: MTD device 'ubi' is NAND, please consider using UBI block devices instead.
[ 3.855812] mtdblock: MTD device 'fip' is NAND, please consider using UBI block devices instead.
[ 3.864670] mtdblock: MTD device 'reserved' is NAND, please consider using UBI block devices instead.
[ 3.900655] mtdblock: MTD device 'bl2' is NAND, please consider using UBI block devices instead.
[ 4.004007] sfp sfp1: please wait, module slow to respond
[ 4.012418] usb 1-1: new high-speed USB device number 2 using xhci-mtk
[ 4.193296] hub 1-1:1.0: USB hub found
[ 4.197119] hub 1-1:1.0: 4 ports detected
done
Saving random seed: OK
Starting rngd: OK
Starting system message bus: done
Starting network: OK
Starting ntpd: OK
Starting php-fpm [ 4.612420] usb 1-1.1: new high-speed USB device number 3 using xhci-mtk
done
Starting dropbear sshd: OK
Starting nginx...
[ 7.801459] random: crng init done
[ 7.804890] random: 9 urandom warning(s) missed due to ratelimiting
ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519
Starting sshd: OK
Starting inadyn: SKIPPED
atd: created missing .SEQ file (atjobs will be lost on reboot)
Starting atd: OK
I compared with others on Mediatek MT7986 / Banana Pi BPI-R3 Wifi not working · Issue #702 · openwrt/mt76 · GitHub. In mine, i don’t see :
```
mt7986-wmac 18000000.wmac
```
I tried to put the script firmware.sh in /lib/udev :
#!/bin/sh -e
FIRMWARE_DIRS="/lib/firmware/updates/$(uname -r) /lib/firmware/updates \
/lib/firmware/$(uname -r) /lib/firmware"
err() {
echo "$@" >&2
logger -t "${0##*/}[$$]" "$@" 2>/dev/null || true
}
if [ ! -e /sys$DEVPATH/loading ]; then
err "udev firmware loader misses sysfs directory"
exit 1
fi
for DIR in $FIRMWARE_DIRS; do
[ -e "$DIR/$FIRMWARE" ] || continue
echo 1 > /sys$DEVPATH/loading
cat "$DIR/$FIRMWARE" > /sys$DEVPATH/data
echo 0 > /sys$DEVPATH/loading
exit 0
done
echo -1 > /sys$DEVPATH/loading
err "Cannot find firmware file '$FIRMWARE'"
mkdir -p /dev/.udev/firmware-missing
file=$(echo "$FIRMWARE" | sed 's:/:\\x2f:g')
ln -s -f "$DEVPATH" /dev/.udev/firmware-missing/$file
exit 1
and modify the 50-udev-default.rules to add :
ACTION=="add", SUBSYSTEM=="firmware", RUN+="/lib/udev/firmware.sh"
But i 'm always stuck
Thanks by advance to help me