[R2] Need help with Debian 10 and MT7615 PCIe card

Yay! Using 5.10-wifi branch, I am able to get both the onboard wifi and the mt7615 PCIe card to be recognized! Here is the dmesg output in relation to the mt7615:

root@bananapi:~# dmesg | grep mt76
[   11.446311] mt7615e 0000:01:00.0: enabling device (0140 -> 0142)
[   11.486746] mt7615e 0000:01:00.0: Firmware is not ready for download
[   11.609846] mt7615e 0000:01:00.0 wlp1s0: renamed from wlan0
root@bananapi:~# 

EDIT: Thank you for helping me, Frank!

This should also work in 5.10-rc and maybe 5.9-main…my card is recognized in 5.4-main too…

But in your log i don’t see normal (n9,cr4) firmware is loaded and wonder why it comes up

Btw have you any process trying to access the card before init is done (hostapd,ip config)?

No, all the messages in dmesg come up before the login prompt via USB-to-TTL cable.

Rewrote the SD card yet again and updated the kernel built from the 5.9-main branch.

root@bpi-r2:~# dmesg | grep mt76
[   13.639708] mt7615e 0000:01:00.0: enabling device (0140 -> 0142)
[   13.704288] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   13.757789] mt7615e 0000:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[   13.795044] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20181207140436
[   13.913698] mt7615e 0000:01:00.0 wlp1s0: renamed from wlan0
root@bpi-r2:~# 

But a reboot a few minutes after seeing these messages results in this:

root@bananapi:~# dmesg | grep mt76
[   11.487844] mt7615e 0000:01:00.0: enabling device (0140 -> 0142)
[   11.522232] mt7615e 0000:01:00.0: Firmware is not ready for download
[   11.805216] mt7615e 0000:01:00.0 wlp1s0: renamed from wlan0
root@bananapi:~#

Getting kinda irritated with this… Shouldn’t I see the N9 and CR4 firmware load each restart?

UPDATE: Disabled hostapd service and rebooted. Same message as 2nd dmesg…

UPDATE 2: Powered off the R2 and booted it up about 5 minutes later. Firmware did load during the system messages…

i’m too, i guess you should see it on every boot…do you have compiled mt7615 as module?? 11/13 sec looks a bit early for filesystem ready

Yeah, I’ve still got mt7615 compiled as a module. Here is my complete dmesg output:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.9.0-bpi-r2-main (doug@Doug-PC) (arm-linux-gnueabihf-gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.30) #1 SMP Tue Nov 24 15:45:06 CST 2020
[    0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Bananapi BPI-R2
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] [WMT-CONSYS-HW][W]reserve_memory_consys_fn: name: consys-reserve-memory, base: 0xffe00000, size: 0x100000
[    0.000000] OF: reserved mem: initialized node consys-reserve-memory, compatible id mediatek,consys-reserve-memory
[    0.000000] cma: Reserved 64 MiB at 0xfb800000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x00000000a07fffff]
[    0.000000]   HighMem  [mem 0x00000000a0800000-0x00000000ffffefff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000ffdfffff]
[    0.000000]   node   0: [mem 0x00000000fff00000-0x00000000ffffefff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffefff]
[    0.000000] On node 0 totalpages: 524031
[    0.000000]   Normal zone: 1170 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 133120 pages, LIFO batch:31
[    0.000000]   HighMem zone: 390911 pages, LIFO batch:63
[    0.000000] percpu: Embedded 20 pages/cpu s51212 r8192 d22516 u81920
[    0.000000] pcpu-alloc: s51212 r8192 d22516 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 522861
[    0.000000] Kernel command line: board=bpi-r2 earlyprintk console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait vmalloc=496M debug=7 initcall_debug=0 video=1920x1080 console=tty1 fbcon=map:0 drm.debug=0x7
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1989880K/2096124K available (13312K kernel code, 1338K rwdata, 4804K rodata, 1024K init, 590K bss, 40708K reserved, 65536K cma-reserved, 1498108K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 42158 entries in 83 pages
[    0.000000] ftrace: allocated 83 pages with 4 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[    0.000000] 	Rude variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x384/0x538 with crng_init=0
[    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.000006] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.008061] Switching to timer-based delay loop, resolution 76ns
[    0.014282] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 147020034397 ns
[    0.023566] sched_clock: 32 bits at 13MHz, resolution 76ns, wraps every 165191050201ns
[    0.032074] Console: colour dummy device 80x30
[    0.036548] printk: console [tty1] enabled
[    0.040673] printk: bootconsole [earlycon0] disabled
[    0.045718] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.045742] pid_max: default: 32768 minimum: 301
[    0.045941] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.045963] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.046909] CPU: Testing write buffer coherency: ok
[    0.047252] CPU0: update cpu_capacity 1024
[    0.047271] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.047933] Setting up static identity map for 0x80100000 - 0x80100060
[    0.048086] rcu: Hierarchical SRCU implementation.
[    0.049529] smp: Bringing up secondary CPUs ...
[    0.050147] CPU1: update cpu_capacity 1024
[    0.050155] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.050885] CPU2: update cpu_capacity 1024
[    0.050893] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.051576] CPU3: update cpu_capacity 1024
[    0.051583] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.051700] smp: Brought up 1 node, 4 CPUs
[    0.051769] SMP: Total of 4 processors activated (104.00 BogoMIPS).
[    0.051782] CPU: All CPU(s) started in SVC mode.
[    0.052587] devtmpfs: initialized
[    0.060758] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 3
[    0.061317] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.061359] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.064105] xor: measuring software checksum speed
[    0.155863]    arm4regs  :  1288.800 MB/sec
[    0.255931]    8regs     :   898.000 MB/sec
[    0.355995]    32regs    :   921.600 MB/sec
[    0.456065]    neon      :  1300.800 MB/sec
[    0.456080] xor: using function: neon (1300.800 MB/sec)
[    0.456107] pinctrl core: initialized pinctrl subsystem
[    0.457062] NET: Registered protocol family 16
[    0.459183] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.460392] thermal_sys: Registered thermal governor 'step_wise'
[    0.460975] No ATAGs?
[    0.461159] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.461185] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.553168] gpiochip_find_base: found new base at 232
[    0.553756] gpio gpiochip0: (1000b000.pinctrl): added GPIO chardev (254:0)
[    0.553876] gpio gpiochip0: registered GPIOs 232 to 511 on 1000b000.pinctrl
[    0.553904] gpio gpiochip0: (1000b000.pinctrl): created GPIO range 0->279 ==> 1000b000.pinctrl PIN 0->279
[    0.746395] raid6: neonx8   gen()   806 MB/s
[    0.916506] raid6: neonx8   xor()   598 MB/s
[    1.086638] raid6: neonx4   gen()   870 MB/s
[    1.256758] raid6: neonx4   xor()   638 MB/s
[    1.426866] raid6: neonx2   gen()   939 MB/s
[    1.596977] raid6: neonx2   xor()   672 MB/s
[    1.767120] raid6: neonx1   gen()   842 MB/s
[    1.937231] raid6: neonx1   xor()   582 MB/s
[    2.107379] raid6: int32x8  gen()   250 MB/s
[    2.277499] raid6: int32x8  xor()   156 MB/s
[    2.447638] raid6: int32x4  gen()   259 MB/s
[    2.617701] raid6: int32x4  xor()   187 MB/s
[    2.787861] raid6: int32x2  gen()   331 MB/s
[    2.957946] raid6: int32x2  xor()   191 MB/s
[    3.128097] raid6: int32x1  gen()   324 MB/s
[    3.298203] raid6: int32x1  xor()   177 MB/s
[    3.298218] raid6: using algorithm neonx2 gen() 939 MB/s
[    3.298232] raid6: .... xor() 672 MB/s, rmw enabled
[    3.298247] raid6: using neon recovery algorithm
[    3.298828] reg-fixed-voltage regulator-1p8v: GPIO lookup for consumer (null)
[    3.298859] reg-fixed-voltage regulator-1p8v: using device tree for GPIO lookup
[    3.298903] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/regulator-1p8v[0]'
[    3.298937] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-1p8v[0]'
[    3.298963] reg-fixed-voltage regulator-1p8v: using lookup tables for GPIO lookup
[    3.298987] reg-fixed-voltage regulator-1p8v: No GPIO consumer (null) found
[    3.299325] reg-fixed-voltage regulator-3p3v: GPIO lookup for consumer (null)
[    3.299352] reg-fixed-voltage regulator-3p3v: using device tree for GPIO lookup
[    3.299386] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/regulator-3p3v[0]'
[    3.299419] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-3p3v[0]'
[    3.299444] reg-fixed-voltage regulator-3p3v: using lookup tables for GPIO lookup
[    3.299467] reg-fixed-voltage regulator-3p3v: No GPIO consumer (null) found
[    3.299772] reg-fixed-voltage regulator-5v: GPIO lookup for consumer (null)
[    3.299796] reg-fixed-voltage regulator-5v: using device tree for GPIO lookup
[    3.299829] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/regulator-5v[0]'
[    3.299863] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-5v[0]'
[    3.299888] reg-fixed-voltage regulator-5v: using lookup tables for GPIO lookup
[    3.299910] reg-fixed-voltage regulator-5v: No GPIO consumer (null) found
[    3.300174] reg-fixed-voltage fixedregulator@0: GPIO lookup for consumer (null)
[    3.300200] reg-fixed-voltage fixedregulator@0: using device tree for GPIO lookup
[    3.300234] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/fixedregulator@0[0]'
[    3.300267] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@0[0]'
[    3.300292] reg-fixed-voltage fixedregulator@0: using lookup tables for GPIO lookup
[    3.300314] reg-fixed-voltage fixedregulator@0: No GPIO consumer (null) found
[    3.300566] iommu: Default domain type: Translated 
[    3.301262] platform 15004000.jpegdec: Adding to iommu group 0
[    3.301362] platform 14007000.ovl: Adding to iommu group 1
[    3.301437] platform 14008000.rdma: Adding to iommu group 2
[    3.301516] platform 14009000.wdma: Adding to iommu group 3
[    3.301602] platform 14012000.rdma: Adding to iommu group 4
[    3.305462] vgaarb: loaded
[    3.305978] SCSI subsystem initialized
[    3.306267] libata version 3.00 loaded.
[    3.306529] usbcore: registered new interface driver usbfs
[    3.306591] usbcore: registered new interface driver hub
[    3.306677] usbcore: registered new device driver usb
[    3.306782] mc: Linux media interface: v0.10
[    3.306840] videodev: Linux video capture interface: v2.00
[    3.307708] mediatek,efuse 10206000.efuse: GPIO lookup for consumer wp
[    3.307739] mediatek,efuse 10206000.efuse: using device tree for GPIO lookup
[    3.307780] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/efuse@10206000[0]'
[    3.307815] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/efuse@10206000[0]'
[    3.307844] mediatek,efuse 10206000.efuse: using lookup tables for GPIO lookup
[    3.307867] mediatek,efuse 10206000.efuse: No GPIO consumer wp found
[    3.308356] Advanced Linux Sound Architecture Driver Initialized.
[    3.309061] Bluetooth: Core ver 2.22
[    3.309139] NET: Registered protocol family 31
[    3.309158] Bluetooth: HCI device and connection manager initialized
[    3.309184] Bluetooth: HCI socket layer initialized
[    3.309203] Bluetooth: L2CAP socket layer initialized
[    3.309233] Bluetooth: SCO socket layer initialized
[    3.310090] clocksource: Switched to clocksource arch_sys_counter
[    4.283564] NET: Registered protocol family 2
[    4.284429] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    4.284486] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    4.284547] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    4.284617] TCP: Hash tables configured (established 4096 bind 4096)
[    4.284763] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    4.284814] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    4.285050] NET: Registered protocol family 1
[    4.285726] RPC: Registered named UNIX socket transport module.
[    4.285755] RPC: Registered udp transport module.
[    4.285770] RPC: Registered tcp transport module.
[    4.285783] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    4.286376] PCI: CLS 0 bytes, default 64
[    4.287463] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    4.289296] Initialise system trusted keyrings
[    4.289578] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    4.297254] NFS: Registering the id_resolver key type
[    4.297315] Key type id_resolver registered
[    4.297330] Key type id_legacy registered
[    4.297465] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    4.403220] async_tx: api initialized (async)
[    4.403261] Key type asymmetric registered
[    4.403277] Asymmetric key parser 'x509' registered
[    4.403362] bounce: pool size: 64 pages
[    4.403426] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    4.403450] io scheduler mq-deadline registered
[    4.403465] io scheduler kyber registered
[    4.406334] mediatek-hdmi-phy 10209100.phy: Using default TX DRV impedance: 4.2k/36
[    4.476075] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    4.478312] printk: console [ttyS0] disabled
[    4.478362] mt6577-uart 11004000.serial: GPIO lookup for consumer rs485-term
[    4.478383] mt6577-uart 11004000.serial: using device tree for GPIO lookup
[    4.478427] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/serial@11004000[0]'
[    4.478463] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/serial@11004000[0]'
[    4.478493] mt6577-uart 11004000.serial: using lookup tables for GPIO lookup
[    4.478514] mt6577-uart 11004000.serial: No GPIO consumer rs485-term found
[    4.498699] 11004000.serial: ttyS0 at MMIO 0x11004000 (irq = 30, base_baud = 1625000) is a ST16650V2
[    5.726505] printk: console [ttyS0] enabled
[    5.732032] mt6577-uart 11002000.serial: GPIO lookup for consumer rs485-term
[    5.739099] mt6577-uart 11002000.serial: using device tree for GPIO lookup
[    5.746033] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/serial@11002000[0]'
[    5.755828] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/serial@11002000[0]'
[    5.765521] mt6577-uart 11002000.serial: using lookup tables for GPIO lookup
[    5.772595] mt6577-uart 11002000.serial: No GPIO consumer rs485-term found
[    5.799630] 11002000.serial: ttyS1 at MMIO 0x11002000 (irq = 31, base_baud = 1625000) is a ST16650V2
[    5.810171] mt6577-uart 11003000.serial: GPIO lookup for consumer rs485-term
[    5.817239] mt6577-uart 11003000.serial: using device tree for GPIO lookup
[    5.824183] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/serial@11003000[0]'
[    5.833961] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/serial@11003000[0]'
[    5.843645] mt6577-uart 11003000.serial: using lookup tables for GPIO lookup
[    5.850711] mt6577-uart 11003000.serial: No GPIO consumer rs485-term found
[    5.877735] 11003000.serial: ttyS2 at MMIO 0x11003000 (irq = 32, base_baud = 1625000) is a ST16650V2
[    5.888407] mtk_rng 1020f000.rng: registered RNG driver
[    5.888548] random: fast init done
[    5.894112] [drm:drm_core_init] Initialized
[    5.897285] random: crng init done
[    5.905855] mediatek-drm mediatek-drm.1.auto: Adding component match for /ovl@14007000
[    5.913881] mediatek-drm mediatek-drm.1.auto: Adding component match for /rdma@14008000
[    5.921990] mediatek-drm mediatek-drm.1.auto: Adding component match for /color@1400b000
[    5.930173] mediatek-drm mediatek-drm.1.auto: Adding component match for /rdma@14012000
[    5.938209] mediatek-drm mediatek-drm.1.auto: Adding component match for /dpi@14014000
[    5.947062] mediatek-mipi-tx 10010000.mipi-dphy: can't get nvmem_cell_get, ignore it
[    5.957576] [drm] hdmi-audio-codec driver bound to HDMI
[    5.973120] loop: module loaded
[    5.976505] [WMT-DETECT][I]wmt_detect_driver_init:driver(major 154) installed success
[    5.984442] [SDIO-DETECT][I]sdio_detect_init:sdio_register_driver() ret=0
[    5.991467] MTK-BTIF[E]hal_btif_clk_get_and_prepare(284):[CCF]clk_btif=cac0aab9
[    5.998797] MTK-BTIF[E]hal_btif_clk_get_and_prepare(290):[CCF]clk_btif_apdma=ccc677d8
[    6.010530] mt6323-regulator mt6323-regulator: Chip ID = 0x2023
[    6.026367] Uniform Multi-Platform E-IDE driver
[    6.031063] ide-gd driver 1.18
[    6.035019] mdio_bus fixed-0: GPIO lookup for consumer reset
[    6.040770] mdio_bus fixed-0: using lookup tables for GPIO lookup
[    6.046871] mdio_bus fixed-0: No GPIO consumer reset found
[    6.052411] libphy: Fixed MDIO Bus: probed
[    6.079652] of_get_named_gpiod_flags: can't parse 'link-gpios' property of node '/ethernet@1b100000/mac@0/fixed-link[0]'
[    6.090593] of_get_named_gpiod_flags: can't parse 'link-gpio' property of node '/ethernet@1b100000/mac@0/fixed-link[0]'
[    6.102235] mdio_bus mdio-bus: GPIO lookup for consumer reset
[    6.107994] mdio_bus mdio-bus: using device tree for GPIO lookup
[    6.114067] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ethernet@1b100000/mdio-bus[0]'
[    6.124372] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ethernet@1b100000/mdio-bus[0]'
[    6.134574] mdio_bus mdio-bus: using lookup tables for GPIO lookup
[    6.140773] mdio_bus mdio-bus: No GPIO consumer reset found
[    6.146348] libphy: mdio: probed
[    6.150318] mt7530 mdio-bus:00: GPIO lookup for consumer reset
[    6.156163] mt7530 mdio-bus:00: using device tree for GPIO lookup
[    6.162352] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ethernet@1b100000/mdio-bus/switch@0[0]' - status (0)
[    6.174152] gpio gpiochip0: Persistence not supported for GPIO 33
[    6.181282] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xe14c0000, irq 48
[    6.191672] xhci-mtk 1a1c0000.usb: xHCI Host Controller
[    6.196975] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 1
[    6.207932] xhci-mtk 1a1c0000.usb: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[    6.217113] xhci-mtk 1a1c0000.usb: irq 45, io mem 0x1a1c0000
[    6.223998] hub 1-0:1.0: USB hub found
[    6.227821] hub 1-0:1.0: 1 port detected
[    6.232282] xhci-mtk 1a1c0000.usb: xHCI Host Controller
[    6.237533] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 2
[    6.244972] xhci-mtk 1a1c0000.usb: Host supports USB 3.0 SuperSpeed
[    6.251363] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.260290] hub 2-0:1.0: USB hub found
[    6.264106] hub 2-0:1.0: 1 port detected
[    6.269811] xhci-mtk 1a240000.usb: xHCI Host Controller
[    6.275106] xhci-mtk 1a240000.usb: new USB bus registered, assigned bus number 3
[    6.285921] xhci-mtk 1a240000.usb: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[    6.295099] xhci-mtk 1a240000.usb: irq 46, io mem 0x1a240000
[    6.301948] hub 3-0:1.0: USB hub found
[    6.305767] hub 3-0:1.0: 1 port detected
[    6.310215] xhci-mtk 1a240000.usb: xHCI Host Controller
[    6.315464] xhci-mtk 1a240000.usb: new USB bus registered, assigned bus number 4
[    6.322919] xhci-mtk 1a240000.usb: Host supports USB 3.0 SuperSpeed
[    6.329305] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.338220] hub 4-0:1.0: USB hub found
[    6.342202] hub 4-0:1.0: 1 port detected
[    6.347339] usbcore: registered new interface driver usb-storage
[    6.353851] mousedev: PS/2 mouse device common for all mice
[    6.361264] mt6397-rtc mt6323-rtc: registered as rtc0
[    6.366398] mt6397-rtc mt6323-rtc: setting system clock to 2020-11-26T14:41:33 UTC (1606401693)
[    6.377547] Registered IR keymap rc-empty
[    6.381761] rc rc0: mtk_cir as /devices/platform/10013000.cir/rc/rc0
[    6.388362] rc rc0: lirc_dev: driver mtk_cir registered at minor = 0, raw IR receiver, no transmitter
[    6.397811] input: mtk_cir as /devices/platform/10013000.cir/rc/rc0/input0
[    6.405225] mtk_cir 10013000.cir: Initialized MT7623 IR driver, sample period = 46us
[    6.414183] mtk-jpeg 15004000.jpegdec: decoder device registered as /dev/video3 (81,0)
[    6.423090] mtk-thermal 1100b000.thermal: Device not calibrated, using default calibration values
[    6.433706] mtk-wdt 10007000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    6.442624] device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialised: [email protected]
[    6.451562] device-mapper: multipath round-robin: version 1.2.0 loaded
[    6.458106] device-mapper: multipath queue-length: version 0.2.0 loaded
[    6.464764] device-mapper: multipath service-time: version 0.3.0 loaded
[    6.471454] device-mapper: raid: Loading target version 1.15.1
[    6.477904] cpu cpu0: dummy supplies not allowed for exclusive requests
[    6.487026] mtk-msdc 11240000.mmc: GPIO lookup for consumer cd
[    6.492915] mtk-msdc 11240000.mmc: using device tree for GPIO lookup
[    6.499313] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/mmc@11240000[0]' - status (0)
[    6.508856] gpio gpiochip0: Persistence not supported for GPIO 261
[    6.515079] mtk-msdc 11240000.mmc: Got CD GPIO
[    6.519529] mtk-msdc 11240000.mmc: GPIO lookup for consumer wp
[    6.525385] mtk-msdc 11240000.mmc: using device tree for GPIO lookup
[    6.531773] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/mmc@11240000[0]'
[    6.540594] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/mmc@11240000[0]'
[    6.549305] mtk-msdc 11240000.mmc: using lookup tables for GPIO lookup
[    6.555848] mtk-msdc 11240000.mmc: No GPIO consumer wp found
[    6.589071] mtk-msdc 11230000.mmc: GPIO lookup for consumer wp
[    6.594964] mtk-msdc 11230000.mmc: using device tree for GPIO lookup
[    6.601377] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/mmc@11230000[0]'
[    6.610204] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/mmc@11230000[0]'
[    6.618916] mtk-msdc 11230000.mmc: using lookup tables for GPIO lookup
[    6.625465] mtk-msdc 11230000.mmc: No GPIO consumer wp found
[    6.658884] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/blue[0]' - status (0)
[    6.668005] gpio gpiochip0: Persistence not supported for GPIO 240
[    6.674247] gpio-472 (?): no flags found for gpios
[    6.679231] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/green[0]' - status (0)
[    6.688354] gpio gpiochip0: Persistence not supported for GPIO 241
[    6.694568] gpio-473 (?): no flags found for gpios
[    6.699533] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/red[0]' - status (0)
[    6.708475] gpio gpiochip0: Persistence not supported for GPIO 239
[    6.714708] gpio-471 (?): no flags found for gpios
[    6.719534] mmc0: host does not support reading read-only switch, assuming write-enable
[    6.725407] hid: raw HID events driver (C) Jiri Kosina
[    6.732990] usbcore: registered new interface driver usbhid
[    6.738589] usbhid: USB HID core driver
[    6.742501] mmc0: new high speed SDHC card at address 59b4
[    6.744451] mtk-iommu-v1 10205000.mmsys_iommu: bound 14010000.larb (ops mtk_smi_larb_component_ops)
[    6.749391] mmcblk0: mmc0:59b4 SDU1  14.7 GiB 
[    6.757128] mtk-iommu-v1 10205000.mmsys_iommu: bound 16010000.larb (ops mtk_smi_larb_component_ops)
[    6.770719] mtk-iommu-v1 10205000.mmsys_iommu: bound 15001000.larb (ops mtk_smi_larb_component_ops)
[    6.783114]  mmcblk0: p1 p2
[    6.784039] drop_monitor: Initializing network drop monitor service
[    6.793117] NET: Registered protocol family 10
[    6.798818] Segment Routing with IPv6
[    6.802629] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    6.809253] NET: Registered protocol family 17
[    6.814498] NET: Registered protocol family 41
[    6.819095] 8021q: 802.1Q VLAN Support v1.8
[    6.823999] ThumbEE CPU extension supported.
[    6.828288] Registering SWP/SWPB emulation handler
[    6.833241] Loading compiled-in X.509 certificates
[    6.860275] mtk-pcie 1a140000.pcie: host bridge /pcie@1a140000 ranges:
[    6.866860] mtk-pcie 1a140000.pcie:       IO 0x001a160000..0x001a16ffff -> 0x001a160000
[    6.874927] mtk-pcie 1a140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0060000000
[    6.935532] mmc1: new high speed MMC card at address 0001
[    6.942282] mmcblk1: mmc1:0001 8GTF4R 7.28 GiB 
[    6.947636] mmcblk1boot0: mmc1:0001 8GTF4R partition 1 4.00 MiB
[    6.954414] mmcblk1boot1: mmc1:0001 8GTF4R partition 2 4.00 MiB
[    6.960684] mmcblk1rpmb: mmc1:0001 8GTF4R partition 3 512 KiB, chardev (245:0)
[    6.970503]  mmcblk1:
[    6.997479] mtk-pcie 1a140000.pcie: PCI host bridge to bus 0000:00
[    7.003725] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.009221] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x1a160000-0x1a16ffff])
[    7.018738] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    7.025685] pci 0000:00:00.0: [14c3:0801] type 01 class 0x060400
[    7.031737] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    7.038081] pci 0000:00:00.0: supports D1
[    7.042113] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    7.048363] pci 0000:00:01.0: [14c3:0801] type 01 class 0x060400
[    7.054441] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    7.060796] pci 0000:00:01.0: supports D1
[    7.064812] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    7.073523] PCI: bus0: Fast back to back transfers disabled
[    7.079116] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.087157] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.095404] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
[    7.101465] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    7.132866] PCI: bus1: Fast back to back transfers disabled
[    7.138461] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    7.145342] pci 0000:02:00.0: [1b21:0611] type 00 class 0x010185
[    7.151408] pci 0000:02:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    7.158462] pci 0000:02:00.0: reg 0x10: [io  size 0x0008]
[    7.163890] pci 0000:02:00.0: reg 0x14: initial BAR value 0x00000000 invalid
[    7.170956] pci 0000:02:00.0: reg 0x14: [io  size 0x0004]
[    7.176365] pci 0000:02:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    7.183429] pci 0000:02:00.0: reg 0x18: [io  size 0x0008]
[    7.188838] pci 0000:02:00.0: reg 0x1c: initial BAR value 0x00000000 invalid
[    7.195902] pci 0000:02:00.0: reg 0x1c: [io  size 0x0004]
[    7.201323] pci 0000:02:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    7.208376] pci 0000:02:00.0: reg 0x20: [io  size 0x0010]
[    7.213801] pci 0000:02:00.0: reg 0x24: [mem 0x00000000-0x000001ff]
[    7.220093] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    7.252861] PCI: bus2: Fast back to back transfers disabled
[    7.258457] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    7.265155] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    7.271976] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[    7.278771] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
[    7.286017] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[    7.292827] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[    7.299622] pci 0000:00:01.0: BAR 7: assigned [io  0x1000-0x1fff]
[    7.305742] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    7.313085] pci 0000:00:00.0: PCI bridge to [bus 01]
[    7.318056] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    7.324874] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
[    7.332118] pci 0000:02:00.0: BAR 5: assigned [mem 0x60100000-0x601001ff]
[    7.338915] pci 0000:02:00.0: BAR 4: assigned [io  0x1000-0x100f]
[    7.345030] pci 0000:02:00.0: BAR 0: assigned [io  0x1010-0x1017]
[    7.351145] pci 0000:02:00.0: BAR 2: assigned [io  0x1018-0x101f]
[    7.357247] pci 0000:02:00.0: BAR 1: assigned [io  0x1020-0x1023]
[    7.363361] pci 0000:02:00.0: BAR 3: assigned [io  0x1024-0x1027]
[    7.369462] pci 0000:00:01.0: PCI bridge to [bus 02]
[    7.374444] pci 0000:00:01.0:   bridge window [io  0x1000-0x1fff]
[    7.380557] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
[    7.387350] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff pref]
[    7.394818] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[    7.401187] pcieport 0000:00:00.0: PME: Signaling with IRQ 250
[    7.407404] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    7.413712] pcieport 0000:00:01.0: PME: Signaling with IRQ 75
[    7.419926] ahci 0000:02:00.0: version 3.0
[    7.424090] ahci 0000:02:00.0: enabling device (0140 -> 0143)
[    7.429980] ahci 0000:02:00.0: SSS flag set, parallel bus scan disabled
[    7.436680] ahci 0000:02:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl IDE mode
[    7.444711] ahci 0000:02:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part ccc sxs 
[    7.454962] scsi host0: ahci
[    7.458628] scsi host1: ahci
[    7.461869] ata1: SATA max UDMA/133 abar m512@0x60100000 port 0x60100100 irq 75
[    7.469193] ata2: SATA max UDMA/133 abar m512@0x60100000 port 0x60100180 irq 75
[    7.477469] mediatek-dpi 14014000.dpi: Found bridge node: /hdmi@14015000
[    7.484515] mediatek-drm mediatek-drm.1.auto: bound 14007000.ovl (ops mtk_disp_ovl_component_ops)
[    7.493464] mediatek-drm mediatek-drm.1.auto: bound 14008000.rdma (ops mtk_disp_rdma_component_ops)
[    7.502539] mediatek-drm mediatek-drm.1.auto: bound 1400b000.color (ops mtk_disp_color_component_ops)
[    7.511797] mediatek-drm mediatek-drm.1.auto: bound 14012000.rdma (ops mtk_disp_rdma_component_ops)
[    7.520902] [drm:drm_connector_init] cmdline mode for connector HDMI-A-1  1920x1080@60Hz
[    7.529010] mediatek-drm mediatek-drm.1.auto: bound 14014000.dpi (ops mtk_dpi_component_ops)
[    7.537552] mediatek-drm mediatek-drm.1.auto: Not creating crtc 1 because component 9 is disabled or missing
[    7.547885] [drm:drm_minor_register] 
[    7.551619] [drm:drm_minor_register] 
[    7.555632] [drm:drm_minor_register] new minor registered 0
[    7.561399] [drm:drm_sysfs_connector_add] adding "HDMI-A-1" to sysfs
[    7.567823] [drm:drm_sysfs_hotplug_event] generating hotplug event
[    7.574051] [drm] Initialized mediatek 1.0.0 20150513 for mediatek-drm.1.auto on minor 0
[    7.582182] [drm:drm_client_modeset_probe] 
[    7.586374] [drm:drm_mode_object_get] OBJ ID: 32 (2)
[    7.591361] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1]
[    7.598859] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1] status updated from unknown to disconnected
[    7.610186] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1] disconnected
[    7.618813] [drm:drm_client_modeset_probe] No connectors reported connected with modes
[    7.626753] [drm:drm_client_modeset_probe] connector 32 enabled? no
[    7.633037] [drm:drm_client_modeset_probe] Not using firmware configuration
[    7.640007] [drm:drm_client_modeset_probe] picking CRTCs for 4096x4096 config
[    7.647164] [drm:drm_mode_object_put.part.0] OBJ ID: 32 (2)
[    7.652759] mediatek-drm mediatek-drm.1.auto: [drm:__drm_fb_helper_initial_config_and_unlock] test CRTC 0 primary plane
[    7.663563] mediatek-drm mediatek-drm.1.auto: [drm] Cannot find any crtc or sizes
[    7.671729] mt7530 mdio-bus:00: GPIO lookup for consumer reset
[    7.677577] mt7530 mdio-bus:00: using device tree for GPIO lookup
[    7.683751] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ethernet@1b100000/mdio-bus/switch@0[0]' - status (0)
[    7.695551] gpio gpiochip0: Persistence not supported for GPIO 33
[    7.701802] [drm:drm_sysfs_hotplug_event] generating hotplug event
[    7.708054] [drm:drm_client_modeset_probe] 
[    7.712306] [drm:drm_mode_object_get] OBJ ID: 32 (2)
[    7.717288] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1]
[    7.724811] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1] disconnected
[    7.733455] [drm:drm_client_modeset_probe] No connectors reported connected with modes
[    7.741399] [drm:drm_client_modeset_probe] connector 32 enabled? no
[    7.747675] [drm:drm_client_modeset_probe] Not using firmware configuration
[    7.754658] [drm:drm_client_modeset_probe] picking CRTCs for 4096x4096 config
[    7.761817] [drm:drm_mode_object_put.part.0] OBJ ID: 32 (2)
[    7.767403] mediatek-drm mediatek-drm.1.auto: [drm:__drm_fb_helper_initial_config_and_unlock] test CRTC 0 primary plane
[    7.778218] mediatek-drm mediatek-drm.1.auto: [drm] Cannot find any crtc or sizes
[    7.785727] mediatek-drm mediatek-drm.1.auto: [drm:drm_client_dev_hotplug] fbdev: ret=0
[    7.801186] mdio_bus dsa-0.0: GPIO lookup for consumer reset
[    7.801534] ata1: SATA link down (SStatus 0 SControl 300)
[    7.806860] mdio_bus dsa-0.0: using lookup tables for GPIO lookup
[    7.818413] mdio_bus dsa-0.0: No GPIO consumer reset found
[    7.824601] mdio_bus dsa-0.0:00: GPIO lookup for consumer reset
[    7.830570] mdio_bus dsa-0.0:00: using lookup tables for GPIO lookup
[    7.836931] mdio_bus dsa-0.0:00: No GPIO consumer reset found
[    7.843350] mdio_bus dsa-0.0:01: GPIO lookup for consumer reset
[    7.849288] mdio_bus dsa-0.0:01: using lookup tables for GPIO lookup
[    7.855678] mdio_bus dsa-0.0:01: No GPIO consumer reset found
[    7.862052] mdio_bus dsa-0.0:02: GPIO lookup for consumer reset
[    7.867990] mdio_bus dsa-0.0:02: using lookup tables for GPIO lookup
[    7.874379] mdio_bus dsa-0.0:02: No GPIO consumer reset found
[    7.880754] mdio_bus dsa-0.0:03: GPIO lookup for consumer reset
[    7.886691] mdio_bus dsa-0.0:03: using lookup tables for GPIO lookup
[    7.893082] mdio_bus dsa-0.0:03: No GPIO consumer reset found
[    7.899411] mdio_bus dsa-0.0:04: GPIO lookup for consumer reset
[    7.905372] mdio_bus dsa-0.0:04: using lookup tables for GPIO lookup
[    7.911746] mdio_bus dsa-0.0:04: No GPIO consumer reset found
[    7.917626] libphy: dsa slave smi: probed
[    7.922545] mt7530 mdio-bus:00 wan (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY] (irq=POLL)
[    7.933074] mt7530 mdio-bus:00 lan0 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY] (irq=POLL)
[    7.943631] mt7530 mdio-bus:00 lan1 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY] (irq=POLL)
[    7.954194] mt7530 mdio-bus:00 lan2 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY] (irq=POLL)
[    7.964776] mt7530 mdio-bus:00 lan3 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY] (irq=POLL)
[    7.975336] of_get_named_gpiod_flags: can't parse 'link-gpios' property of node '/ethernet@1b100000/mdio-bus/switch@0/ports/port@6/fixed-link[0]'
[    7.988452] of_get_named_gpiod_flags: can't parse 'link-gpio' property of node '/ethernet@1b100000/mdio-bus/switch@0/ports/port@6/fixed-link[0]'
[    8.001658] mt7530 mdio-bus:00: configuring for fixed/trgmii link mode
[    8.011371] mt7530 mdio-bus:00: Link is Up - 1Gbps/Full - flow control rx/tx
[    8.019061] DSA: tree 0 setup
[    8.022953] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    8.033970] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    8.041041] ALSA device list:
[    8.044019]   No soundcards found.
[    8.047686] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    8.056352] cfg80211: failed to load regulatory.db
[    8.151446] ata2: SATA link down (SStatus 0 SControl 300)
[    8.156934] md: Waiting for all devices to be available before autodetect
[    8.163752] md: If you don't use raid, use raid=noautodetect
[    8.169413] md: Autodetecting RAID arrays.
[    8.173521] md: autorun ...
[    8.176313] md: ... autorun DONE.
[    8.191687] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    8.199869] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    8.215030] devtmpfs: mounted
[    8.221413] Freeing unused kernel memory: 1024K
[    8.226282] Run /sbin/init as init process
[    8.230422]   with arguments:
[    8.233392]     /sbin/init
[    8.236097]   with environment:
[    8.239236]     HOME=/
[    8.241622]     TERM=linux
[    8.244329]     board=bpi-r2
[    8.857892] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    8.883978] systemd[1]: Detected architecture arm.
[    8.945368] systemd[1]: Set hostname to <bananapi>.
[    9.627934] systemd[1]: Listening on Syslog Socket.
[    9.634095] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    9.645036] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    9.652570] systemd[1]: Listening on fsck to fsckd communication Socket.
[    9.660140] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    9.668553] systemd[1]: Reached target Swap.
[    9.673340] systemd[1]: Reached target Remote File Systems.
[    9.990534] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[   10.335013] systemd-journald[164]: Received request to flush runtime journal from PID 1
[   10.684164] input: mtk-pmic-keys as /devices/platform/1000d000.pwrap/1000d000.pwrap:mt6323/mtk-pmic-keys/input/input1
[   10.907490] lima 13040000.gpu: mmu gpmmu dte write test fail
[   10.920248] lima: probe of 13040000.gpu failed with error -5
[   11.516333] mt7615e 0000:01:00.0: enabling device (0140 -> 0142)
[   11.544679] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   11.596329] mt7615e 0000:01:00.0: Firmware is not ready for download
[   11.748682] mt7615e 0000:01:00.0 wlp1s0: renamed from wlan0
[   16.110764] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/trgmii link mode
[   16.119084] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   16.128677] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   16.196354] mt7530 mdio-bus:00 lan0: configuring for phy/gmii link mode
[   16.203606] 8021q: adding VLAN 0 to HW filter on device lan0
[   16.261887] device eth0 entered promiscuous mode
[   16.872263] [WMT-DETECT][I]wmt_detect_open:open major 154 minor 0 (pid 354)
[   16.872292] [WMT-DETECT][I]wmt_detect_unlocked_ioctl:cmd (-2147191037),arg(0)
[   16.872355] [WMT-DETECT][I]wmt_detect_unlocked_ioctl:cmd (1074034433),arg(30243)
[   16.872360] set current consys chipid (0x7623)
[   16.872368] [WMT-DETECT][I]wmt_detect_unlocked_ioctl:cmd (-2147191036),arg(30243)
[   16.872373] [WMT-MOD-INIT][I]do_common_drv_init:start to do common driver init, chipid:0x00007623
[   17.021682] [WMT-CONF][E]wmt_conf_parse_pair(323):unknown field 'mt6620.defAnt'.
[   17.021695] [WMT-CONF][E]wmt_conf_parse_pair(323):unknown field 'mt6628.defAnt'.
[   17.021703] [WMT-CONF][E]wmt_conf_parse_pair(323):unknown field 'mt6630.defAnt'.
[   17.024657] [WMT-MOD-INIT][I]do_common_drv_init:finish common driver init
[   17.024674] [WCN-MOD-INIT][E]do_connectivity_driver_init(58):do common driver init failed, ret:-1
[   17.024680] [WLAN-MOD-INIT][I]do_wlan_drv_init:start to do wlan module init 0x7623
[   17.026400] [MTK-WIFI] WIFI_init: mtk_wmt_WIFI_chrdev driver(major 155) installed.
[   17.026412] [WLAN-MOD-INIT][I]do_wlan_drv_init:WMT-WIFI char dev init, ret:0
[   17.027318] [WLAN-MOD-INIT][I]do_wlan_drv_init:WLAN-GEN2 driver init, ret:0
[   17.027326] [WLAN-MOD-INIT][I]do_wlan_drv_init:finish wlan module init
[   17.028101] [WMT-DETECT][I]wmt_detect_close:close major 154 minor 0 (pid 354)
[   20.224794] [WMT-CORE][E]opfunc_hif_conf(874):WMT-CORE: WMT HIF info added
[   20.225101] vcn18: mode operation not allowed
[   20.226926] [WMT-CONSYS-HW][E]mtk_wcn_consys_hw_reg_ctrl(290):Read CONSYS chipId(0xfffff093)
[   20.320476] [WMT-CONF][E]wmt_conf_parse_pair(323):unknown field 'mt6620.defAnt'.
[   20.320489] [WMT-CONF][E]wmt_conf_parse_pair(323):unknown field 'mt6628.defAnt'.
[   20.320497] [WMT-CONF][E]wmt_conf_parse_pair(323):unknown field 'mt6630.defAnt'.
[   20.340710] mt7530 mdio-bus:00 lan0: Link is Up - 1Gbps/Full - flow control rx/tx
[   20.340752] IPv6: ADDRCONF(NETDEV_CHANGE): lan0: link becomes ready
[   21.000185] [STP] mtk_wcn_stp_psm_enable:[W] STP Not Ready, Dont do Sleep/Wakeup
[   25.175463] [MTK-WIFI] WIFI_open: WIFI_open: major 155 minor 0 (pid 334)
[   25.175542] [MTK-WIFI] WIFI_write: WIFI_write A

[   25.229904] kalFirmwareImageMapping firmware size 225840
[   26.296742] [MTK-WIFI] register_set_p2p_mode_handler: (pid 357) register set p2p mode handler 77efc4c4
[   26.296917] [MTK-WIFI] WIFI_write: WMT turn on WIFI success!
[   26.301904] [MTK-WIFI] WIFI_write: Set wlan mode 0 --> 1
[   26.301969] [MTK-WIFI] WIFI_close: WIFI_close: major 155 minor 0 (pid 334)
[   28.523669] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.524007] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.524277] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.524536] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.524826] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.525115] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.525412] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.525690] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.525966] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.526243] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.526526] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.526986] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0xc0000000 
[   28.529212] IPv6: ADDRCONF(NETDEV_CHANGE): ap0: link becomes ready
[   38.260201] vdd_fixed_vgpu: disabling
[   38.260240] vusb: disabling
[   38.260257] vmc: disabling
[   38.260272] vmch: disabling
[   38.260284] vgp1: disabling
[   38.260314] vcamaf: disabling

Sorry about the excessive length…

I guess it doesn’t matter if the firmware is loaded at each boot, as long as it is loaded at power-on… Haven’t tested to see if I can connect to it yet, but I’m working on it…

BTW, I also enabled the on-board wifi…

I see you use 5.9.0…afair there was a driver-own issue (i saw it only with mt7622, but this uses same driver)…because of this i have updated my 5.9-mt76eeprom to 5.9.3. I do not see the driver own message in your log, but the driver own is directly before the firmware_load function where your message appears…normally on driver own problem the load_firmware should not be called because of return…but maybe it is not completely finished/blocked

So could you try current 5.9-mt76eeprom tree?

Finished compiling using 5.9-mt76eeprom tree. Here is the results of dmesg:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.9.3-bpi-r2-mt76eeprom (doug@Doug-PC) (arm-linux-gnueabihf-gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.30) #2 SMP Thu Nov 26 17:05:17 CST 2020
[    0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Bananapi BPI-R2
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] [WMT-CONSYS-HW][W]reserve_memory_consys_fn: name: consys-reserve-memory, base: 0xffe00000, size: 0x100000
[    0.000000] OF: reserved mem: initialized node consys-reserve-memory, compatible id mediatek,consys-reserve-memory
[    0.000000] cma: Reserved 64 MiB at 0xfb800000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x00000000a07fffff]
[    0.000000]   HighMem  [mem 0x00000000a0800000-0x00000000ffffefff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000ffdfffff]
[    0.000000]   node   0: [mem 0x00000000fff00000-0x00000000ffffefff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffefff]
[    0.000000] On node 0 totalpages: 524031
[    0.000000]   Normal zone: 1170 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 133120 pages, LIFO batch:31
[    0.000000]   HighMem zone: 390911 pages, LIFO batch:63
[    0.000000] percpu: Embedded 20 pages/cpu s51212 r8192 d22516 u81920
[    0.000000] pcpu-alloc: s51212 r8192 d22516 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 522861
[    0.000000] Kernel command line: board=bpi-r2 earlyprintk console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait vmalloc=496M debug=7 initcall_debug=0 video=1920x1080 console=tty1 fbcon=map:0 drm.debug=0x7
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1989880K/2096124K available (13312K kernel code, 1338K rwdata, 4848K rodata, 1024K init, 590K bss, 40708K reserved, 65536K cma-reserved, 1498108K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 42172 entries in 83 pages
[    0.000000] ftrace: allocated 83 pages with 4 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[    0.000000] 	Rude variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x384/0x53c with crng_init=0
[    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.000006] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.008060] Switching to timer-based delay loop, resolution 76ns
[    0.014280] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 147020034397 ns
[    0.023562] sched_clock: 32 bits at 13MHz, resolution 76ns, wraps every 165191050201ns
[    0.032066] Console: colour dummy device 80x30
[    0.036539] printk: console [tty1] enabled
[    0.040663] printk: bootconsole [earlycon0] disabled
[    0.045711] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.045734] pid_max: default: 32768 minimum: 301
[    0.045933] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.045954] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.046886] CPU: Testing write buffer coherency: ok
[    0.047231] CPU0: update cpu_capacity 1024
[    0.047251] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.047922] Setting up static identity map for 0x80100000 - 0x80100060
[    0.048077] rcu: Hierarchical SRCU implementation.
[    0.049540] smp: Bringing up secondary CPUs ...
[    0.050166] CPU1: update cpu_capacity 1024
[    0.050175] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.050910] CPU2: update cpu_capacity 1024
[    0.050918] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.051611] CPU3: update cpu_capacity 1024
[    0.051618] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.051745] smp: Brought up 1 node, 4 CPUs
[    0.051807] SMP: Total of 4 processors activated (104.00 BogoMIPS).
[    0.051818] CPU: All CPU(s) started in SVC mode.
[    0.052625] devtmpfs: initialized
[    0.060654] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 3
[    0.061230] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.061269] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.064022] xor: measuring software checksum speed
[    0.155860]    arm4regs  :  1288.800 MB/sec
[    0.255930]    8regs     :   898.000 MB/sec
[    0.355996]    32regs    :   921.600 MB/sec
[    0.456068]    neon      :  1300.800 MB/sec
[    0.456082] xor: using function: neon (1300.800 MB/sec)
[    0.456107] pinctrl core: initialized pinctrl subsystem
[    0.457065] NET: Registered protocol family 16
[    0.459170] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.460346] thermal_sys: Registered thermal governor 'step_wise'
[    0.460915] No ATAGs?
[    0.461105] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.461129] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.553776] gpiochip_find_base: found new base at 232
[    0.554358] gpio gpiochip0: (1000b000.pinctrl): added GPIO chardev (254:0)
[    0.554474] gpio gpiochip0: registered GPIOs 232 to 511 on 1000b000.pinctrl
[    0.554502] gpio gpiochip0: (1000b000.pinctrl): created GPIO range 0->279 ==> 1000b000.pinctrl PIN 0->279
[    0.746475] raid6: neonx8   gen()   805 MB/s
[    0.916568] raid6: neonx8   xor()   598 MB/s
[    1.086686] raid6: neonx4   gen()   870 MB/s
[    1.256829] raid6: neonx4   xor()   638 MB/s
[    1.426967] raid6: neonx2   gen()   939 MB/s
[    1.597080] raid6: neonx2   xor()   672 MB/s
[    1.767204] raid6: neonx1   gen()   842 MB/s
[    1.937327] raid6: neonx1   xor()   582 MB/s
[    2.107484] raid6: int32x8  gen()   250 MB/s
[    2.277608] raid6: int32x8  xor()   156 MB/s
[    2.447772] raid6: int32x4  gen()   259 MB/s
[    2.617821] raid6: int32x4  xor()   187 MB/s
[    2.787997] raid6: int32x2  gen()   332 MB/s
[    2.958078] raid6: int32x2  xor()   191 MB/s
[    3.128239] raid6: int32x1  gen()   324 MB/s
[    3.298344] raid6: int32x1  xor()   177 MB/s
[    3.298360] raid6: using algorithm neonx2 gen() 939 MB/s
[    3.298373] raid6: .... xor() 672 MB/s, rmw enabled
[    3.298386] raid6: using neon recovery algorithm
[    3.298969] reg-fixed-voltage regulator-1p8v: GPIO lookup for consumer (null)
[    3.298996] reg-fixed-voltage regulator-1p8v: using device tree for GPIO lookup
[    3.299038] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/regulator-1p8v[0]'
[    3.299070] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-1p8v[0]'
[    3.299095] reg-fixed-voltage regulator-1p8v: using lookup tables for GPIO lookup
[    3.299117] reg-fixed-voltage regulator-1p8v: No GPIO consumer (null) found
[    3.299450] reg-fixed-voltage regulator-3p3v: GPIO lookup for consumer (null)
[    3.299474] reg-fixed-voltage regulator-3p3v: using device tree for GPIO lookup
[    3.299508] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/regulator-3p3v[0]'
[    3.299540] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-3p3v[0]'
[    3.299564] reg-fixed-voltage regulator-3p3v: using lookup tables for GPIO lookup
[    3.299585] reg-fixed-voltage regulator-3p3v: No GPIO consumer (null) found
[    3.299886] reg-fixed-voltage regulator-5v: GPIO lookup for consumer (null)
[    3.299910] reg-fixed-voltage regulator-5v: using device tree for GPIO lookup
[    3.299939] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/regulator-5v[0]'
[    3.299970] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/regulator-5v[0]'
[    3.299994] reg-fixed-voltage regulator-5v: using lookup tables for GPIO lookup
[    3.300015] reg-fixed-voltage regulator-5v: No GPIO consumer (null) found
[    3.300275] reg-fixed-voltage fixedregulator@0: GPIO lookup for consumer (null)
[    3.300298] reg-fixed-voltage fixedregulator@0: using device tree for GPIO lookup
[    3.300331] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/fixedregulator@0[0]'
[    3.300362] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@0[0]'
[    3.300386] reg-fixed-voltage fixedregulator@0: using lookup tables for GPIO lookup
[    3.300407] reg-fixed-voltage fixedregulator@0: No GPIO consumer (null) found
[    3.300647] iommu: Default domain type: Translated 
[    3.301335] platform 15004000.jpegdec: Adding to iommu group 0
[    3.301429] platform 14007000.ovl: Adding to iommu group 1
[    3.301502] platform 14008000.rdma: Adding to iommu group 2
[    3.301584] platform 14009000.wdma: Adding to iommu group 3
[    3.301667] platform 14012000.rdma: Adding to iommu group 4
[    3.305700] vgaarb: loaded
[    3.306215] SCSI subsystem initialized
[    3.306508] libata version 3.00 loaded.
[    3.306766] usbcore: registered new interface driver usbfs
[    3.306827] usbcore: registered new interface driver hub
[    3.306915] usbcore: registered new device driver usb
[    3.307027] mc: Linux media interface: v0.10
[    3.307079] videodev: Linux video capture interface: v2.00
[    3.307940] mediatek,efuse 10206000.efuse: GPIO lookup for consumer wp
[    3.307970] mediatek,efuse 10206000.efuse: using device tree for GPIO lookup
[    3.308011] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/efuse@10206000[0]'
[    3.308043] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/efuse@10206000[0]'
[    3.308070] mediatek,efuse 10206000.efuse: using lookup tables for GPIO lookup
[    3.308091] mediatek,efuse 10206000.efuse: No GPIO consumer wp found
[    3.308566] Advanced Linux Sound Architecture Driver Initialized.
[    3.309247] Bluetooth: Core ver 2.22
[    3.309325] NET: Registered protocol family 31
[    3.309341] Bluetooth: HCI device and connection manager initialized
[    3.309364] Bluetooth: HCI socket layer initialized
[    3.309381] Bluetooth: L2CAP socket layer initialized
[    3.309409] Bluetooth: SCO socket layer initialized
[    3.310255] clocksource: Switched to clocksource arch_sys_counter
[    4.265914] NET: Registered protocol family 2
[    4.266759] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    4.266815] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    4.266874] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    4.266943] TCP: Hash tables configured (established 4096 bind 4096)
[    4.267081] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    4.267132] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    4.267366] NET: Registered protocol family 1
[    4.268019] RPC: Registered named UNIX socket transport module.
[    4.268047] RPC: Registered udp transport module.
[    4.268060] RPC: Registered tcp transport module.
[    4.268072] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    4.268643] PCI: CLS 0 bytes, default 64
[    4.269716] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    4.271617] Initialise system trusted keyrings
[    4.271904] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    4.279472] NFS: Registering the id_resolver key type
[    4.279533] Key type id_resolver registered
[    4.279548] Key type id_legacy registered
[    4.279680] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    4.382534] async_tx: api initialized (async)
[    4.382573] Key type asymmetric registered
[    4.382588] Asymmetric key parser 'x509' registered
[    4.382674] bounce: pool size: 64 pages
[    4.382737] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    4.382759] io scheduler mq-deadline registered
[    4.382772] io scheduler kyber registered
[    4.385606] mediatek-hdmi-phy 10209100.phy: Using default TX DRV impedance: 4.2k/36
[    4.453325] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    4.455491] printk: console [ttyS0] disabled
[    4.455539] mt6577-uart 11004000.serial: GPIO lookup for consumer rs485-term
[    4.455559] mt6577-uart 11004000.serial: using device tree for GPIO lookup
[    4.455602] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/serial@11004000[0]'
[    4.455636] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/serial@11004000[0]'
[    4.455663] mt6577-uart 11004000.serial: using lookup tables for GPIO lookup
[    4.455682] mt6577-uart 11004000.serial: No GPIO consumer rs485-term found
[    4.475874] 11004000.serial: ttyS0 at MMIO 0x11004000 (irq = 30, base_baud = 1625000) is a ST16650V2
[    5.704171] printk: console [ttyS0] enabled
[    5.709661] mt6577-uart 11002000.serial: GPIO lookup for consumer rs485-term
[    5.716755] mt6577-uart 11002000.serial: using device tree for GPIO lookup
[    5.723692] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/serial@11002000[0]'
[    5.733482] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/serial@11002000[0]'
[    5.743168] mt6577-uart 11002000.serial: using lookup tables for GPIO lookup
[    5.750234] mt6577-uart 11002000.serial: No GPIO consumer rs485-term found
[    5.777276] 11002000.serial: ttyS1 at MMIO 0x11002000 (irq = 31, base_baud = 1625000) is a ST16650V2
[    5.787751] mt6577-uart 11003000.serial: GPIO lookup for consumer rs485-term
[    5.794850] mt6577-uart 11003000.serial: using device tree for GPIO lookup
[    5.801785] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/serial@11003000[0]'
[    5.811564] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/serial@11003000[0]'
[    5.821241] mt6577-uart 11003000.serial: using lookup tables for GPIO lookup
[    5.828298] mt6577-uart 11003000.serial: No GPIO consumer rs485-term found
[    5.855333] 11003000.serial: ttyS2 at MMIO 0x11003000 (irq = 32, base_baud = 1625000) is a ST16650V2
[    5.865983] mtk_rng 1020f000.rng: registered RNG driver
[    5.866122] random: fast init done
[    5.871685] [drm:drm_core_init] Initialized
[    5.874863] random: crng init done
[    5.883470] mediatek-drm mediatek-drm.1.auto: Adding component match for /ovl@14007000
[    5.891475] mediatek-drm mediatek-drm.1.auto: Adding component match for /rdma@14008000
[    5.899560] mediatek-drm mediatek-drm.1.auto: Adding component match for /color@1400b000
[    5.907738] mediatek-drm mediatek-drm.1.auto: Adding component match for /rdma@14012000
[    5.915786] mediatek-drm mediatek-drm.1.auto: Adding component match for /dpi@14014000
[    5.924675] mediatek-mipi-tx 10010000.mipi-dphy: can't get nvmem_cell_get, ignore it
[    5.935166] [drm] hdmi-audio-codec driver bound to HDMI
[    5.950530] loop: module loaded
[    5.953896] [WMT-DETECT][I]wmt_detect_driver_init:driver(major 154) installed success
[    5.961814] [SDIO-DETECT][I]sdio_detect_init:sdio_register_driver() ret=0
[    5.968805] MTK-BTIF[E]hal_btif_clk_get_and_prepare(284):[CCF]clk_btif=622d4783
[    5.976193] MTK-BTIF[E]hal_btif_clk_get_and_prepare(290):[CCF]clk_btif_apdma=56f83f18
[    5.987725] mt6323-regulator mt6323-regulator: Chip ID = 0x2023
[    6.003520] Uniform Multi-Platform E-IDE driver
[    6.008137] ide-gd driver 1.18
[    6.012168] mdio_bus fixed-0: GPIO lookup for consumer reset
[    6.017841] mdio_bus fixed-0: using lookup tables for GPIO lookup
[    6.024016] mdio_bus fixed-0: No GPIO consumer reset found
[    6.029532] libphy: Fixed MDIO Bus: probed
[    6.056778] of_get_named_gpiod_flags: can't parse 'link-gpios' property of node '/ethernet@1b100000/mac@0/fixed-link[0]'
[    6.067717] of_get_named_gpiod_flags: can't parse 'link-gpio' property of node '/ethernet@1b100000/mac@0/fixed-link[0]'
[    6.079340] mdio_bus mdio-bus: GPIO lookup for consumer reset
[    6.085138] mdio_bus mdio-bus: using device tree for GPIO lookup
[    6.091188] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ethernet@1b100000/mdio-bus[0]'
[    6.101498] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ethernet@1b100000/mdio-bus[0]'
[    6.111700] mdio_bus mdio-bus: using lookup tables for GPIO lookup
[    6.117882] mdio_bus mdio-bus: No GPIO consumer reset found
[    6.123469] libphy: mdio: probed
[    6.127446] mt7530 mdio-bus:00: GPIO lookup for consumer reset
[    6.133334] mt7530 mdio-bus:00: using device tree for GPIO lookup
[    6.139466] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ethernet@1b100000/mdio-bus/switch@0[0]' - status (0)
[    6.151281] gpio gpiochip0: Persistence not supported for GPIO 33
[    6.157911] mtk_soc_eth 1b100000.ethernet: generated random MAC address 12:76:02:1b:13:64
[    6.166742] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xe14c0000, irq 48
[    6.177054] xhci-mtk 1a1c0000.usb: xHCI Host Controller
[    6.182355] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 1
[    6.193239] xhci-mtk 1a1c0000.usb: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[    6.202433] xhci-mtk 1a1c0000.usb: irq 45, io mem 0x1a1c0000
[    6.209254] hub 1-0:1.0: USB hub found
[    6.213128] hub 1-0:1.0: 1 port detected
[    6.217522] xhci-mtk 1a1c0000.usb: xHCI Host Controller
[    6.222796] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 2
[    6.230212] xhci-mtk 1a1c0000.usb: Host supports USB 3.0 SuperSpeed
[    6.236612] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.245521] hub 2-0:1.0: USB hub found
[    6.249334] hub 2-0:1.0: 1 port detected
[    6.255097] xhci-mtk 1a240000.usb: xHCI Host Controller
[    6.260399] xhci-mtk 1a240000.usb: new USB bus registered, assigned bus number 3
[    6.271151] xhci-mtk 1a240000.usb: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[    6.280323] xhci-mtk 1a240000.usb: irq 46, io mem 0x1a240000
[    6.287088] hub 3-0:1.0: USB hub found
[    6.291005] hub 3-0:1.0: 1 port detected
[    6.295416] xhci-mtk 1a240000.usb: xHCI Host Controller
[    6.300702] xhci-mtk 1a240000.usb: new USB bus registered, assigned bus number 4
[    6.308120] xhci-mtk 1a240000.usb: Host supports USB 3.0 SuperSpeed
[    6.314520] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.323579] hub 4-0:1.0: USB hub found
[    6.327393] hub 4-0:1.0: 1 port detected
[    6.332543] usbcore: registered new interface driver usb-storage
[    6.339048] mousedev: PS/2 mouse device common for all mice
[    6.346445] mt6397-rtc mt6323-rtc: registered as rtc0
[    6.351650] mt6397-rtc mt6323-rtc: setting system clock to 2020-11-26T23:10:19 UTC (1606432219)
[    6.362738] Registered IR keymap rc-empty
[    6.366869] rc rc0: mtk_cir as /devices/platform/10013000.cir/rc/rc0
[    6.373748] rc rc0: lirc_dev: driver mtk_cir registered at minor = 0, raw IR receiver, no transmitter
[    6.383210] input: mtk_cir as /devices/platform/10013000.cir/rc/rc0/input0
[    6.390604] mtk_cir 10013000.cir: Initialized MT7623 IR driver, sample period = 46us
[    6.399494] mtk-jpeg 15004000.jpegdec: decoder device registered as /dev/video3 (81,0)
[    6.408418] mtk-thermal 1100b000.thermal: Device not calibrated, using default calibration values
[    6.418923] mtk-wdt 10007000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    6.427795] device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialised: [email protected]
[    6.436799] device-mapper: multipath round-robin: version 1.2.0 loaded
[    6.443373] device-mapper: multipath queue-length: version 0.2.0 loaded
[    6.449991] device-mapper: multipath service-time: version 0.3.0 loaded
[    6.456676] device-mapper: raid: Loading target version 1.15.1
[    6.463152] cpu cpu0: dummy supplies not allowed for exclusive requests
[    6.472266] mtk-msdc 11240000.mmc: GPIO lookup for consumer cd
[    6.478119] mtk-msdc 11240000.mmc: using device tree for GPIO lookup
[    6.484555] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/mmc@11240000[0]' - status (0)
[    6.494100] gpio gpiochip0: Persistence not supported for GPIO 261
[    6.500324] mtk-msdc 11240000.mmc: Got CD GPIO
[    6.504774] mtk-msdc 11240000.mmc: GPIO lookup for consumer wp
[    6.510629] mtk-msdc 11240000.mmc: using device tree for GPIO lookup
[    6.517007] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/mmc@11240000[0]'
[    6.525822] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/mmc@11240000[0]'
[    6.534547] mtk-msdc 11240000.mmc: using lookup tables for GPIO lookup
[    6.541089] mtk-msdc 11240000.mmc: No GPIO consumer wp found
[    6.574357] mtk-msdc 11230000.mmc: GPIO lookup for consumer wp
[    6.580209] mtk-msdc 11230000.mmc: using device tree for GPIO lookup
[    6.586664] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/mmc@11230000[0]'
[    6.595507] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/mmc@11230000[0]'
[    6.604236] mtk-msdc 11230000.mmc: using lookup tables for GPIO lookup
[    6.610780] mtk-msdc 11230000.mmc: No GPIO consumer wp found
[    6.643967] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/blue[0]' - status (0)
[    6.650759] mmc0: host does not support reading read-only switch, assuming write-enable
[    6.653051] gpio gpiochip0: Persistence not supported for GPIO 240
[    6.663328] mmc0: new high speed SDHC card at address 59b4
[    6.667172] gpio-472 (?): no flags found for gpios
[    6.677652] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/green[0]' - status (0)
[    6.686772] gpio gpiochip0: Persistence not supported for GPIO 241
[    6.687806] mmcblk0: mmc0:59b4 SDU1  14.7 GiB 
[    6.693010] gpio-473 (?): no flags found for gpios
[    6.700556]  mmcblk0: p1 p2
[    6.702461] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/red[0]' - status (0)
[    6.713997] gpio gpiochip0: Persistence not supported for GPIO 239
[    6.720187] gpio-471 (?): no flags found for gpios
[    6.730616] hid: raw HID events driver (C) Jiri Kosina
[    6.735926] usbcore: registered new interface driver usbhid
[    6.741572] usbhid: USB HID core driver
[    6.747347] mtk-iommu-v1 10205000.mmsys_iommu: bound 14010000.larb (ops mtk_smi_larb_component_ops)
[    6.756468] mtk-iommu-v1 10205000.mmsys_iommu: bound 16010000.larb (ops mtk_smi_larb_component_ops)
[    6.765555] mtk-iommu-v1 10205000.mmsys_iommu: bound 15001000.larb (ops mtk_smi_larb_component_ops)
[    6.778131] drop_monitor: Initializing network drop monitor service
[    6.785281] NET: Registered protocol family 10
[    6.790935] Segment Routing with IPv6
[    6.794681] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    6.801346] NET: Registered protocol family 17
[    6.806387] NET: Registered protocol family 41
[    6.811062] 8021q: 802.1Q VLAN Support v1.8
[    6.815767] ThumbEE CPU extension supported.
[    6.820063] Registering SWP/SWPB emulation handler
[    6.824971] Loading compiled-in X.509 certificates
[    6.841395] mmc1: new high speed MMC card at address 0001
[    6.848212] mmcblk1: mmc1:0001 8GTF4R 7.28 GiB 
[    6.852493] mtk-pcie 1a140000.pcie: host bridge /pcie@1a140000 ranges:
[    6.853650] mmcblk1boot0: mmc1:0001 8GTF4R partition 1 4.00 MiB
[    6.859332] mtk-pcie 1a140000.pcie:       IO 0x001a160000..0x001a16ffff -> 0x001a160000
[    6.866041] mmcblk1boot1: mmc1:0001 8GTF4R partition 2 4.00 MiB
[    6.873356] mtk-pcie 1a140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0060000000
[    6.887474] mmcblk1rpmb: mmc1:0001 8GTF4R partition 3 512 KiB, chardev (245:0)
[    6.897331]  mmcblk1:
[    6.972353] mtk-pcie 1a140000.pcie: PCI host bridge to bus 0000:00
[    6.978561] pci_bus 0000:00: root bus resource [bus 00-ff]
[    6.984084] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x1a160000-0x1a16ffff])
[    6.993590] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    7.000523] pci 0000:00:00.0: [14c3:0801] type 01 class 0x060400
[    7.006554] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    7.012912] pci 0000:00:00.0: supports D1
[    7.016925] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    7.023162] pci 0000:00:01.0: [14c3:0801] type 01 class 0x060400
[    7.029200] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    7.035582] pci 0000:00:01.0: supports D1
[    7.039597] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    7.048291] PCI: bus0: Fast back to back transfers disabled
[    7.053915] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.061947] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.070150] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
[    7.076215] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    7.113039] PCI: bus1: Fast back to back transfers disabled
[    7.118633] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    7.125514] pci 0000:02:00.0: [1b21:0611] type 00 class 0x010185
[    7.131576] pci 0000:02:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    7.138627] pci 0000:02:00.0: reg 0x10: [io  size 0x0008]
[    7.144055] pci 0000:02:00.0: reg 0x14: initial BAR value 0x00000000 invalid
[    7.151117] pci 0000:02:00.0: reg 0x14: [io  size 0x0004]
[    7.156525] pci 0000:02:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    7.163587] pci 0000:02:00.0: reg 0x18: [io  size 0x0008]
[    7.168995] pci 0000:02:00.0: reg 0x1c: initial BAR value 0x00000000 invalid
[    7.176057] pci 0000:02:00.0: reg 0x1c: [io  size 0x0004]
[    7.181477] pci 0000:02:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    7.188528] pci 0000:02:00.0: reg 0x20: [io  size 0x0010]
[    7.193949] pci 0000:02:00.0: reg 0x24: [mem 0x00000000-0x000001ff]
[    7.200258] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    7.233033] PCI: bus2: Fast back to back transfers disabled
[    7.238629] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    7.245325] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    7.252143] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[    7.258938] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
[    7.266181] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[    7.272989] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[    7.279783] pci 0000:00:01.0: BAR 7: assigned [io  0x1000-0x1fff]
[    7.285901] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    7.293240] pci 0000:00:00.0: PCI bridge to [bus 01]
[    7.298210] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    7.305027] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
[    7.312271] pci 0000:02:00.0: BAR 5: assigned [mem 0x60100000-0x601001ff]
[    7.319066] pci 0000:02:00.0: BAR 4: assigned [io  0x1000-0x100f]
[    7.325180] pci 0000:02:00.0: BAR 0: assigned [io  0x1010-0x1017]
[    7.331289] pci 0000:02:00.0: BAR 2: assigned [io  0x1018-0x101f]
[    7.337388] pci 0000:02:00.0: BAR 1: assigned [io  0x1020-0x1023]
[    7.343501] pci 0000:02:00.0: BAR 3: assigned [io  0x1024-0x1027]
[    7.349601] pci 0000:00:01.0: PCI bridge to [bus 02]
[    7.354582] pci 0000:00:01.0:   bridge window [io  0x1000-0x1fff]
[    7.360690] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
[    7.367482] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff pref]
[    7.374943] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[    7.381283] pcieport 0000:00:00.0: PME: Signaling with IRQ 250
[    7.387501] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    7.393805] pcieport 0000:00:01.0: PME: Signaling with IRQ 75
[    7.399995] ahci 0000:02:00.0: version 3.0
[    7.404156] ahci 0000:02:00.0: enabling device (0140 -> 0143)
[    7.410043] ahci 0000:02:00.0: SSS flag set, parallel bus scan disabled
[    7.416740] ahci 0000:02:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl IDE mode
[    7.424771] ahci 0000:02:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part ccc sxs 
[    7.434951] scsi host0: ahci
[    7.438605] scsi host1: ahci
[    7.441841] ata1: SATA max UDMA/133 abar m512@0x60100000 port 0x60100100 irq 75
[    7.449163] ata2: SATA max UDMA/133 abar m512@0x60100000 port 0x60100180 irq 75
[    7.457417] mediatek-dpi 14014000.dpi: Found bridge node: /hdmi@14015000
[    7.464464] mediatek-drm mediatek-drm.1.auto: bound 14007000.ovl (ops mtk_disp_ovl_component_ops)
[    7.473398] mediatek-drm mediatek-drm.1.auto: bound 14008000.rdma (ops mtk_disp_rdma_component_ops)
[    7.482474] mediatek-drm mediatek-drm.1.auto: bound 1400b000.color (ops mtk_disp_color_component_ops)
[    7.491736] mediatek-drm mediatek-drm.1.auto: bound 14012000.rdma (ops mtk_disp_rdma_component_ops)
[    7.500841] [drm:drm_connector_init] cmdline mode for connector HDMI-A-1  1920x1080@60Hz
[    7.508948] mediatek-drm mediatek-drm.1.auto: bound 14014000.dpi (ops mtk_dpi_component_ops)
[    7.517480] mediatek-drm mediatek-drm.1.auto: Not creating crtc 1 because component 9 is disabled or missing
[    7.527764] [drm:drm_minor_register] 
[    7.531497] [drm:drm_minor_register] 
[    7.535541] [drm:drm_minor_register] new minor registered 0
[    7.541311] [drm:drm_sysfs_connector_add] adding "HDMI-A-1" to sysfs
[    7.547722] [drm:drm_sysfs_hotplug_event] generating hotplug event
[    7.553945] [drm] Initialized mediatek 1.0.0 20150513 for mediatek-drm.1.auto on minor 0
[    7.562094] [drm:drm_client_modeset_probe] 
[    7.566287] [drm:drm_mode_object_get] OBJ ID: 32 (2)
[    7.571274] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1]
[    7.578770] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1] status updated from unknown to disconnected
[    7.590102] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1] disconnected
[    7.598737] [drm:drm_client_modeset_probe] No connectors reported connected with modes
[    7.606674] [drm:drm_client_modeset_probe] connector 32 enabled? no
[    7.612957] [drm:drm_client_modeset_probe] Not using firmware configuration
[    7.619925] [drm:drm_client_modeset_probe] picking CRTCs for 4096x4096 config
[    7.627080] [drm:drm_mode_object_put.part.0] OBJ ID: 32 (2)
[    7.632675] mediatek-drm mediatek-drm.1.auto: [drm:__drm_fb_helper_initial_config_and_unlock] test CRTC 0 primary plane
[    7.643477] mediatek-drm mediatek-drm.1.auto: [drm] Cannot find any crtc or sizes
[    7.651607] mt7530 mdio-bus:00: GPIO lookup for consumer reset
[    7.657451] mt7530 mdio-bus:00: using device tree for GPIO lookup
[    7.663620] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ethernet@1b100000/mdio-bus/switch@0[0]' - status (0)
[    7.675418] gpio gpiochip0: Persistence not supported for GPIO 33
[    7.681664] [drm:drm_sysfs_hotplug_event] generating hotplug event
[    7.687910] [drm:drm_client_modeset_probe] 
[    7.692150] [drm:drm_mode_object_get] OBJ ID: 32 (2)
[    7.697133] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1]
[    7.704648] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1] disconnected
[    7.713297] [drm:drm_client_modeset_probe] No connectors reported connected with modes
[    7.721234] [drm:drm_client_modeset_probe] connector 32 enabled? no
[    7.727510] [drm:drm_client_modeset_probe] Not using firmware configuration
[    7.734492] [drm:drm_client_modeset_probe] picking CRTCs for 4096x4096 config
[    7.741647] [drm:drm_mode_object_put.part.0] OBJ ID: 32 (2)
[    7.747234] mediatek-drm mediatek-drm.1.auto: [drm:__drm_fb_helper_initial_config_and_unlock] test CRTC 0 primary plane
[    7.758047] mediatek-drm mediatek-drm.1.auto: [drm] Cannot find any crtc or sizes
[    7.765550] mediatek-drm mediatek-drm.1.auto: [drm:drm_client_dev_hotplug] fbdev: ret=0
[    7.781022] mdio_bus dsa-0.0: GPIO lookup for consumer reset
[    7.781879] ata1: SATA link down (SStatus 0 SControl 300)
[    7.786693] mdio_bus dsa-0.0: using lookup tables for GPIO lookup
[    7.798233] mdio_bus dsa-0.0: No GPIO consumer reset found
[    7.804300] mdio_bus dsa-0.0:00: GPIO lookup for consumer reset
[    7.810264] mdio_bus dsa-0.0:00: using lookup tables for GPIO lookup
[    7.816622] mdio_bus dsa-0.0:00: No GPIO consumer reset found
[    7.823033] mdio_bus dsa-0.0:01: GPIO lookup for consumer reset
[    7.828966] mdio_bus dsa-0.0:01: using lookup tables for GPIO lookup
[    7.835358] mdio_bus dsa-0.0:01: No GPIO consumer reset found
[    7.841713] mdio_bus dsa-0.0:02: GPIO lookup for consumer reset
[    7.847647] mdio_bus dsa-0.0:02: using lookup tables for GPIO lookup
[    7.854039] mdio_bus dsa-0.0:02: No GPIO consumer reset found
[    7.860464] mdio_bus dsa-0.0:03: GPIO lookup for consumer reset
[    7.866397] mdio_bus dsa-0.0:03: using lookup tables for GPIO lookup
[    7.872782] mdio_bus dsa-0.0:03: No GPIO consumer reset found
[    7.879120] mdio_bus dsa-0.0:04: GPIO lookup for consumer reset
[    7.885085] mdio_bus dsa-0.0:04: using lookup tables for GPIO lookup
[    7.891461] mdio_bus dsa-0.0:04: No GPIO consumer reset found
[    7.897336] libphy: dsa slave smi: probed
[    7.902260] mt7530 mdio-bus:00 wan (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY] (irq=POLL)
[    7.912769] mt7530 mdio-bus:00 lan0 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY] (irq=POLL)
[    7.923336] mt7530 mdio-bus:00 lan1 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY] (irq=POLL)
[    7.933894] mt7530 mdio-bus:00 lan2 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY] (irq=POLL)
[    7.944442] mt7530 mdio-bus:00 lan3 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY] (irq=POLL)
[    7.954999] of_get_named_gpiod_flags: can't parse 'link-gpios' property of node '/ethernet@1b100000/mdio-bus/switch@0/ports/port@6/fixed-link[0]'
[    7.968118] of_get_named_gpiod_flags: can't parse 'link-gpio' property of node '/ethernet@1b100000/mdio-bus/switch@0/ports/port@6/fixed-link[0]'
[    7.981312] mt7530 mdio-bus:00: configuring for fixed/trgmii link mode
[    7.991053] mt7530 mdio-bus:00: Link is Up - 1Gbps/Full - flow control rx/tx
[    7.998749] DSA: tree 0 setup
[    8.002679] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    8.013765] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    8.020836] ALSA device list:
[    8.023814]   No soundcards found.
[    8.027482] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    8.036147] cfg80211: failed to load regulatory.db
[    8.121774] ata2: SATA link down (SStatus 0 SControl 300)
[    8.127263] md: Waiting for all devices to be available before autodetect
[    8.134074] md: If you don't use raid, use raid=noautodetect
[    8.139733] md: Autodetecting RAID arrays.
[    8.143841] md: autorun ...
[    8.146632] md: ... autorun DONE.
[    8.161928] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    8.170107] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    8.185264] devtmpfs: mounted
[    8.191610] Freeing unused kernel memory: 1024K
[    8.196480] Run /sbin/init as init process
[    8.200617]   with arguments:
[    8.203586]     /sbin/init
[    8.206290]   with environment:
[    8.209428]     HOME=/
[    8.211804]     TERM=linux
[    8.214511]     board=bpi-r2
[    8.840837] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    8.863115] systemd[1]: Detected architecture arm.
[    8.921279] systemd[1]: Set hostname to <bananapi>.
[    9.605096] systemd[1]: Reached target Swap.
[    9.610658] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    9.619645] systemd[1]: Listening on fsck to fsckd communication Socket.
[    9.627501] systemd[1]: Listening on udev Control Socket.
[    9.637321] systemd[1]: Created slice system-getty.slice.
[    9.660336] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[    9.669295] systemd[1]: Listening on Journal Socket.
[   10.004639] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[   10.302364] systemd-journald[162]: Received request to flush runtime journal from PID 1
[   10.678254] input: mtk-pmic-keys as /devices/platform/1000d000.pwrap/1000d000.pwrap:mt6323/mtk-pmic-keys/input/input1
[   10.914320] lima 13040000.gpu: mmu gpmmu dte write test fail
[   10.928494] lima: probe of 13040000.gpu failed with error -5
[   11.535921] mt7615e 0000:01:00.0: enabling device (0140 -> 0142)
[   11.542452] DEBUG: Passed mt76_eeprom_init 166 len:19880 
[   11.547910] mt7615e 0000:01:00.0: Load firmware : /lib/firmware/mediatek/mt7615e_rf.bin
[   11.582383] DEBUG: Passed mt76_get_of_file 51 fsize:1200 
[   11.588700] mt7615e 0000:01:00.0: Load firmware OK, count 1200 byte
[   11.614152] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   11.643171] mt7615e 0000:01:00.0: Firmware is not ready for download
[   11.807411] mt7615e 0000:01:00.0 wlp1s0: renamed from wlan0
[   15.987912] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/trgmii link mode
[   15.996288] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   16.008784] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   16.076124] mt7530 mdio-bus:00 lan0: configuring for phy/gmii link mode
[   16.083611] 8021q: adding VLAN 0 to HW filter on device lan0
[   16.142068] device eth0 entered promiscuous mode
[   17.004318] [WMT-DETECT][I]wmt_detect_open:open major 154 minor 0 (pid 360)
[   17.004351] [WMT-DETECT][I]wmt_detect_unlocked_ioctl:cmd (-2147191037),arg(0)
[   17.004418] [WMT-DETECT][I]wmt_detect_unlocked_ioctl:cmd (1074034433),arg(30243)
[   17.004423] set current consys chipid (0x7623)
[   17.004431] [WMT-DETECT][I]wmt_detect_unlocked_ioctl:cmd (-2147191036),arg(30243)
[   17.004436] [WMT-MOD-INIT][I]do_common_drv_init:start to do common driver init, chipid:0x00007623
[   17.143530] [WMT-CONF][E]wmt_conf_parse_pair(323):unknown field 'mt6620.defAnt'.
[   17.143544] [WMT-CONF][E]wmt_conf_parse_pair(323):unknown field 'mt6628.defAnt'.
[   17.143552] [WMT-CONF][E]wmt_conf_parse_pair(323):unknown field 'mt6630.defAnt'.
[   17.146518] [WMT-MOD-INIT][I]do_common_drv_init:finish common driver init
[   17.146530] [WCN-MOD-INIT][E]do_connectivity_driver_init(58):do common driver init failed, ret:-1
[   17.146535] [WLAN-MOD-INIT][I]do_wlan_drv_init:start to do wlan module init 0x7623
[   17.147653] [MTK-WIFI] WIFI_init: mtk_wmt_WIFI_chrdev driver(major 155) installed.
[   17.147665] [WLAN-MOD-INIT][I]do_wlan_drv_init:WMT-WIFI char dev init, ret:0
[   17.148455] [WLAN-MOD-INIT][I]do_wlan_drv_init:WLAN-GEN2 driver init, ret:0
[   17.148464] [WLAN-MOD-INIT][I]do_wlan_drv_init:finish wlan module init
[   17.149816] [WMT-DETECT][I]wmt_detect_close:close major 154 minor 0 (pid 360)
[   20.260918] mt7530 mdio-bus:00 lan0: Link is Up - 1Gbps/Full - flow control rx/tx
[   20.260958] IPv6: ADDRCONF(NETDEV_CHANGE): lan0: link becomes ready
[   20.436505] [WMT-CORE][E]opfunc_hif_conf(874):WMT-CORE: WMT HIF info added
[   20.436782] vcn18: mode operation not allowed
[   20.438597] [WMT-CONSYS-HW][E]mtk_wcn_consys_hw_reg_ctrl(290):Read CONSYS chipId(0xfffff093)
[   20.530634] [WMT-CONF][E]wmt_conf_parse_pair(323):unknown field 'mt6620.defAnt'.
[   20.530649] [WMT-CONF][E]wmt_conf_parse_pair(323):unknown field 'mt6628.defAnt'.
[   20.530657] [WMT-CONF][E]wmt_conf_parse_pair(323):unknown field 'mt6630.defAnt'.
[   21.250455] [STP] mtk_wcn_stp_psm_enable:[W] STP Not Ready, Dont do Sleep/Wakeup
[   25.612985] [MTK-WIFI] WIFI_open: WIFI_open: major 155 minor 0 (pid 339)
[   25.613077] [MTK-WIFI] WIFI_write: WIFI_write A

[   25.673806] kalFirmwareImageMapping firmware size 225840
[   26.749585] [MTK-WIFI] register_set_p2p_mode_handler: (pid 363) register set p2p mode handler fb5e8afe
[   26.749769] [MTK-WIFI] WIFI_write: WMT turn on WIFI success!
[   26.751213] [MTK-WIFI] WIFI_write: Set wlan mode 0 --> 1
[   26.751255] [MTK-WIFI] WIFI_close: WIFI_close: major 155 minor 0 (pid 339)
[   28.988029] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.988264] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.988836] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.989078] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.989275] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.989461] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.989638] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.989814] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.990004] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.990218] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.990422] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0x40000000 
[   28.990780] DEBUG: Passed mtk_p2p_cfg80211_update_mgmt_frame_register 1426 frame-filter:0xc0000000 
[   28.992710] IPv6: ADDRCONF(NETDEV_CHANGE): ap0: link becomes ready
[   38.344560] vdd_fixed_vgpu: disabling
[   38.344599] vusb: disabling
[   38.344614] vmc: disabling
[   38.344625] vmch: disabling
[   38.344637] vgp1: disabling
[   38.344665] vcamaf: disabling

Hope this is helpful, since I don’t know what you’re looking for (aside from mt76-related stuff :stuck_out_tongue:) …

Here is just the mt76-related lines:

root@bananapi:~# dmesg | grep "mt76"
[    0.000000] Linux version 5.9.3-bpi-r2-mt76eeprom (doug@Doug-PC) (arm-linux-gnueabihf-gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.30) #2 SMP Thu Nov 26 17:05:17 CST 2020
[   11.535921] mt7615e 0000:01:00.0: enabling device (0140 -> 0142)
[   11.542452] DEBUG: Passed mt76_eeprom_init 166 len:19880 
[   11.547910] mt7615e 0000:01:00.0: Load firmware : /lib/firmware/mediatek/mt7615e_rf.bin
[   11.582383] DEBUG: Passed mt76_get_of_file 51 fsize:1200 
[   11.588700] mt7615e 0000:01:00.0: Load firmware OK, count 1200 byte
[   11.643171] mt7615e 0000:01:00.0: Firmware is not ready for download
[   11.807411] mt7615e 0000:01:00.0 wlp1s0: renamed from wlan0
root@bananapi:~# 

If you want me to disable on-board wifi for now, let me know…

UPDATE: Tried removing the rf file. dmesg output:

root@bananapi:/lib/modules# dmesg | grep mt76
[    0.000000] Linux version 5.9.3-bpi-r2-mt76eeprom (doug@Doug-PC) (arm-linux-gnueabihf-gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.30) #2 SMP Thu Nov 26 17:05:17 CST 2020
[   11.609613] mt7615e 0000:01:00.0: enabling device (0140 -> 0142)
[   11.615954] DEBUG: Passed mt76_eeprom_init 166 len:19880 
[   11.621520] mt7615e 0000:01:00.0: Load firmware : /lib/firmware/mediatek/mt7615e_rf.bin
[   11.634338] mt7615e 0000:01:00.0: Open file failed : /lib/firmware/mediatek/mt7615e_rf.bin
[   11.667543] mt7615e 0000:01:00.0: Firmware is not ready for download
[   11.845540] mt7615e 0000:01:00.0 wlp1s0: renamed from wlan0
root@bananapi:/lib/modules# 

NOTE: These are without a poweroff after removing the file…

The rf file (eeprom) is optional,so you can ignore the failed for it. It looks like the driver own works in your case (no “driver own failed” like in my case), your problem is getting card ready for download firmware

@nagi have you an idea here?

Okay, I got a further complication. Your wiki states that in enable dual APs on the MT7615, you must use:

echo 1 > /sys/kernel/debug/ieee80211/phy0/mt76/dbdc

After a reboot, I lose the ability to create the second physical adapter with the MT7615. Powering off the board, then powering up seems to “cure” the problem. Firmware loads fine after poweroff, then on. However, as soon as I reboot (not power off then on), these problems presents itself again.

I thought of a potential solution with these steps:

  1. Solder the power button to always come on with power.
  2. Rename the /sbin/reboot command to /sbin/reboot.old
  3. Create a script called /sbin/reboot that calls poweroff.
  4. Blacklist the poweroff module.

What do you think? And would this cause the R2 to boot when powered off by this method?

EDIT: Is there any way to add this option to the mt7615 module, similarly like any other module in the /etc/modules.d directory?

Have not seen this before,but have not done much work with it (cause i still hang on bpi-r64 atf/rootfs)

@nagi can you confirm/explain the reboot problem (second phy cannot be created)?

@Douglas_Orend which kernel have you tried with dbdc?

here i tested with 5.10 and see no problem (dbdc also possible after reboot)

Sorry about the late reply. I’ve tried 5.4.58, plus branches 5.9-main, 5.9-mt76eeprom and 5.10-main. Tried reverting back to your Debian 10 image and not installing the onboard wifi support files. Didn’t help… (This is so annoying…)

Thank you for all your help!

Just compiled 5.10.9… Here is the output I have:

root@bpi-r2:/sys/kernel/debug/ieee80211/phy0/mt76# uname -a
Linux bpi-r2 5.10.9-bpi-r2-main #12 SMP Wed Jan 20 17:13:23 CST 2021 armv7l GNU/Linux
root@bpi-r2:/sys/kernel/debug/ieee80211/phy0/mt76# dmesg | grep mt76
[   13.492986] mt7615e 0000:01:00.0: enabling device (0140 -> 0142)
[   13.499332] mt7615e 0000:01:00.0: Load eeprom: /lib/firmware/mediatek/mt7615e_rf.bin
[   13.499662] mt7615e 0000:01:00.0: Open eeprom file failed: /lib/firmware/mediatek/mt7615e_rf.bin
[   13.557554] mt7615e 0000:01:00.0: HW/SW Version: 0x3e0a3c68, Build Time: 
[   13.900281] mt7615e 0000:01:00.0 wlp1s0: renamed from wlan0
[   33.781081] mt7615e 0000:01:00.0: Message 1 (seq 2) timeout
[   33.786688] mt7615e 0000:01:00.0: Download request failed
[   54.261073] mt7615e 0000:01:00.0: Message 16 (seq 3) timeout
[   54.266764] mt7615e 0000:01:00.0: Failed to release patch semaphore
root@bpi-r2:/sys/kernel/debug/ieee80211/phy0/mt76# 

At power-on, DBDC cannot to be set to 1. Same issue after reboot.


EDIT #1: I have this card

I grabbed the file mt7615_rf.bin file and placed it in /lib/firmware/mediatek/ and rebooted. Got this output on next boot:

root@bpi-r2:~# dmesg | grep mt76
[   11.904041] mt7615e 0000:01:00.0: enabling device (0140 -> 0142)
[   11.910466] mt7615e 0000:01:00.0: Load eeprom: /lib/firmware/mediatek/mt7615e_rf.bin
[   11.922263] mt7615e 0000:01:00.0: Load eeprom OK, count 1200 byte
[   12.286394] mt7615e 0000:01:00.0 wlp1s0: renamed from wlan0
[   32.501733] mt7615e 0000:01:00.0: Message 16 (seq 1) timeout
[   32.507426] mt7615e 0000:01:00.0: Failed to get patch semaphore

EDIT #2: Just for shits and giggles, I powered off and powered back on. Here is the result:

root@bpi-r2:~# dmesg | grep mt76
[   11.362207] mt7615e 0000:01:00.0: enabling device (0140 -> 0142)
[   11.368618] mt7615e 0000:01:00.0: Load eeprom: /lib/firmware/mediatek/mt7615e_rf.bin
[   11.389162] mt7615e 0000:01:00.0: Load eeprom OK, count 1200 byte
[   11.456570] mt7615e 0000:01:00.0: HW/SW Version: 0x3e0a3c68, Build Time: 
[   11.782609] mt7615e 0000:01:00.0 wlp1s0: renamed from wlan0
[   31.860503] mt7615e 0000:01:00.0: Message 1 (seq 2) timeout
[   31.866109] mt7615e 0000:01:00.0: Download request failed
[   52.340506] mt7615e 0000:01:00.0: Message 16 (seq 3) timeout
[   52.346193] mt7615e 0000:01:00.0: Failed to release patch semaphore
root@bpi-r2:~# 

strange…i don’t see the patch semaphore message some time (e.g. after 5.6 this should be fixed)…do you have all firmware-files in /lib/firmware/mediatek?

Maybe @sinovoip can help…

oh found something in buildroot environment… first i needed to mount debugfs itself

mount -t debugfs none /sys/kernel/debug/

and then mt76 is phy4 after starting r2 internal wifi…and dbdc file is only there…maybe your phy also differs

# ls /sys/kernel/debug/ieee80211/phy4/mt76/dbdc 
/sys/kernel/debug/ieee80211/phy4/mt76/dbdc

so i need to echo 1 to this and wlan2 appears (wlan0 is r2 internal wifi,wlan1 is first phy of mt7615)

Been racking my brain, trying to figure out what I had done. Turns out my mt7615*.bin files were corrupted or something. Got fresh files from a few posts back and now it works properly with 5.9.0, but I’m back at the no 2nd physical after reboot thing… Gonna try with 5.10-main branch, maybe tomorrow…

My /sys/kernel/debug directory does appear to be mounted correctly. The mt7615 card is phy0, unless I add the onboard wireless, then maybe it moves around a little…

What does happen if you echo again to the dbdc? You need to do it every bootup

Echoing 1 to /sys/kernel/debug/ieee80211/phy0/mt76/dbdc on power-up from nothing works. Once the board is rebooted, it does nothing.

EDIT: Yeah, I know that it needs to be done every bootup. I got commands to do so in my /etc/rc.local file.

BTW, powering down the system, then powering up again allows the second physical to come up.

i guess the bpi-version holds something in registers/on cache which needs maybe an additional reset while driver load. with the standard-size card i cannot reproduce this problem

maybe @sinovoip or @Ryder.Lee can test this

Potential solution in this link doesn’t work to bring up second physical interface…

I don’t know. I didn’t see any issues on mt7615.