I use NXP iMX8MQEVK board for porting Qualcomm qca6678 pcie wifi linux driver, iMX8MQEVK use m2 socket to connect with qca6678 chip. However, I want to downgrade the link speed form 5G to 2.5G. I have typed some command below :
lspci -s 0001:01:00.0 -vvxxx 0001:01:00.0 Network controller: Qualcomm Device 1103 (rev 01) Subsystem: Qualcomm Device 0108 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
...
root@imx8mqevk:~# setpci -s 0001:01:00.0 CAP_EXP+0x30 setpci: Missing width. Try `setpci --help' for more information. root@imx8mqevk:~# setpci -s 0001:01:00.0 CAP_EXP+0x30.b 03 root@imx8mqevk:~# setpci -s 0001:01:00.0 CAP_EXP+0x10.b 40 root@imx8mqevk:~# setpci -s 0001:01:00.0 CAP_EXP+0x30.b=0x0 root@imx8mqevk:~# setpci -s 0001:01:00.0 CAP_EXP+0x10.b=0x20 root@imx8mqevk:~# lspci -s 0001:01:00.0 -vvxxx 0001:01:00.0 Network controller: Qualcomm Device 1103 (rev 01) Subsystem: Qualcomm Device 0108 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Region 0: Memory at 20000000 (64-bit, non-prefetchable) [disabled] [size=2M] Capabilities: [40] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [50] MSI: Enable- Count=1/32 Maskable+ 64bit- Address: 00000000 Data: 0000 Masking: 00000000 Pending: 00000000 Capabilities: [70] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0.000W DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ MaxPayload 128 bytes, MaxReadReq 512 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend- LnkCap: Port #0, Speed 8GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <1us, L1 <16us ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk- ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 5GT/s (downgraded), Width x1 (ok) TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR+ 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- TPHComp+ ExtTPHComp- AtomicOpsCap: 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- OBFF Disabled, AtomicOpsCtl: ReqEn- LnkCap2: Supported Link Speeds: 2.5-8GT/s, Crosslink- Retimer- 2Retimers- DRS- LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis- Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance De-emphasis: -6dB LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [100 v2] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Capabilities: [148 v1] Secondary PCI Express LnkCtl3: LnkEquIntrruptEn- PerformEqu- LaneErrStat: 0 Capabilities: [158 v1] Transaction Processing Hints No steering table available Capabilities: [1e4 v1] Latency Tolerance Reporting Max snoop latency: 0ns Max no snoop latency: 0ns Capabilities: [1ec v1] L1 PM Substates L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+ PortCommonModeRestoreTime=70us PortTPowerOnTime=0us L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1- T_CommonMode=0us LTR1.2_Threshold=65536ns L1SubCtl2: T_PwrOn=10us Kernel modules: wlan_cnss_core_pcie 00: cb 17 03 11 00 00 10 00 01 00 80 02 00 00 00 00 10: 04 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 cb 17 08 01 30: 00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 40: 01 50 03 c8 08 00 00 00 00 00 00 00 00 00 00 00 50: 05 70 0a 01 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 10 00 02 00 c0 8f 00 00 10 28 10 00 13 4c 42 00 80: 00 00 12 10 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 1f 18 00 00 00 00 00 00 0e 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 root@imx8mqevk:~# lspci -s 0001:01:00.0 -vvxxx[ 5590.446231] ------------[ cut here ]------------ [ 5590.450869] WARNING: CPU: 1 PID: 176 at drivers/usb/typec/tcpm/tcpci.c:599 tcpci_irq+0x290/0x2a4 [ 5590.459650] Modules linked in: [ 5590.462711] CPU: 1 PID: 176 Comm: irq/147-0-0050 Not tainted 5.10.72-lts-5.10.y #1 [ 5590.470277] Hardware name: NXP i.MX8MQ EVK (DT) [ 5590.474807] pstate: a0000005 (NzCv daif -PAN -UAO -TCO BTYPE=--) [ 5590.480813] pc : tcpci_irq+0x290/0x2a4 [ 5590.484560] lr : tcpci_irq+0x124/0x2a4 [ 5590.488307] sp : ffff800014053d00 [ 5590.491620] x29: ffff800014053d00 x28: 0000000000000000 [ 5590.496933] x27: ffff000005371dc8 x26: ffff800010109d20 [ 5590.502247] x25: ffff00000465e580 x24: ffff800010109e00 [ 5590.507560] x23: ffff0000051d2c00 x22: ffff00000465e580 [ 5590.512873] x21: 00000000ffff045e x20: ffff00000465e580 [ 5590.518187] x19: ffff000005569c80 x18: 0000000000000000 [ 5590.523499] x17: 0000000000000000 x16: 0000000000000000 [ 5590.528811] x15: 0000000000000000 x14: ffff000004254880 [ 5590.534124] x13: ffff8000abca9000 x12: 0000000034d4d91d [ 5590.539437] x11: 000000233a8526a8 x10: 0000000000000000 [ 5590.544750] x9 : ffff8000100d3134 x8 : ffff0000046a4c08 [ 5590.550063] x7 : 0000000000000000 x6 : 0000000000000000 [ 5590.555376] x5 : 0000000000000000 x4 : 0000000000000000 [ 5590.560688] x3 : 0000000000000000 x2 : 0000000000000001 [ 5590.566001] x1 : 932d09ced92e9300 x0 : 0000000000000000 [ 5590.571314] Call trace: [ 5590.573762] tcpci_irq+0x290/0x2a4 [ 5590.577163] _tcpci_irq+0x20/0x2c [ 5590.580481] irq_thread_fn+0x38/0xb0 [ 5590.584055] irq_thread+0x170/0x290 [ 5590.587543] kthread+0x164/0x16c [ 5590.590772] ret_from_fork+0x10/0x30 [ 5590.594346] ---[ end trace 2b6a93a34be948fe ]--- ��� U-Boot SPL 2021.04-lf_v2021.04+g263b27e076 (Nov 22 2021 - 01:39:23 +0000) PMIC: PFUZE100 ID=0x10
After I typed " setpci -s 0001:01:00.0 CAP_EXP+0x30.b=0x0; setpci -s 0001:01:00.0 CAP_EXP+0x10.b=0x20"
the linux kernel became panic. Then I cut off the power, and turn the board power on again 10 minitues later, I have found following error:
0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk1p2 rootwait rw pcie_ports=compat no_con1 [ 3.491721] imx6q-pcie 33800000.pcie: supply epdev_on not found, using dummy regulator [ 3.492287] imx6q-pcie 33c00000.pcie: supply epdev_on not found, using dummy regulator [ 3.529630] imx6q-pcie 33800000.pcie: PCIe PLL locked after 0 us. [ 3.535788] imx6q-pcie 33800000.pcie: host bridge /soc@0/pcie@33800000 ranges: [ 3.543040] imx6q-pcie 33800000.pcie: IO 0x001ff80000..0x001ff8ffff -> 0x0000000000 [ 3.550120] imx6q-pcie 33c00000.pcie: PCIe PLL locked after 0 us. [ 3.550159] imx6q-pcie 33c00000.pcie: host bridge /soc@0/pcie@33c00000 ranges: [ 3.550168] imx6q-pcie 33c00000.pcie: No bus range found for /soc@0/pcie@33c00000, using [bus 00-ff] [ 3.550184] imx6q-pcie 33c00000.pcie: IO 0x0027f80000..0x0027f8ffff -> 0x0000000000 [ 3.550200] imx6q-pcie 33c00000.pcie: MEM 0x0020000000..0x0027efffff -> 0x0020000000 [ 3.550275] imx6q-pcie 33c00000.pcie: invalid resource [ 3.556692] imx6q-pcie 33800000.pcie: MEM 0x0018000000..0x001fefffff -> 0x0018000000 [ 3.567718] imx6q-pcie 33800000.pcie: invalid resource [ 3.684737] imx6q-pcie 33800000.pcie: Link up [ 3.691997] imx6q-pcie 33800000.pcie: Link up [ 3.706174] imx6q-pcie 33800000.pcie: Link up, Gen1 [ 3.819720] imx6q-pcie 33800000.pcie: PCI host bridge to bus 0000:00 [ 4.547804] imx6q-pcie 33c00000.pcie: Phy link never came up [ 4.553530] imx6q-pcie 33c00000.pcie: failed to initialize host [ 4.559476] imx6q-pcie 33c00000.pcie: unable to add pcie port. root@imx8mqevk:~# [ 35.810134] VGEN1: disabling [ 35.816608] VGEN6: disabling
pcie: unable to add pcie port. Why? Pls Help .
The following message is the log when MX8MQEVK board got panic, I restart MX8MQEVK board, and then
got Phy link never came up .
Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.10.72-lts-5.10.y (oe-user@oe-host) (aarch64-poky-linux-gcc (GCC) 10.2.0, GNU ld (GNU1 [ 0.000000] Machine model: NXP i.MX8MQ EVK [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000080000000, size 896 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000fdffffff] [ 0.000000] NUMA: NODE_DATA [mem 0xfd9d7700-0xfd9d9fff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000040000000-0x00000000fdffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000040000000-0x00000000fdffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000fdffffff] [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] psci: SMC Calling Convention v1.2 [ 0.000000] percpu: Embedded 31 pages/cpu s89432 r8192 d29352 u126976 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 766080 [ 0.000000] Policy zone: DMA [ 0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk1p2 rootwait rw pcie_ports=compat no_con1 [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 2095928K/3112960K available (20160K kernel code, 2558K rwdata, 7732K rodata, 6144K init, 566) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 63945 entries in 250 pages [ 0.000000] ftrace: allocated 250 pages with 6 groups [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Rude variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 128 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: 16 PPIs implemented [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000 [ 0.000000] ITS: No ITS available, not enabling LPIs [ 0.000000] random: get_random_bytes called from start_kernel+0x398/0x55c with crng_init=0 [ 0.000000] arch_timer: cp15 timer(s) running at 8.33MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1ec0311ec, max_idle_ns: 44079520s [ 0.000004] sched_clock: 56 bits at 8MHz, resolution 120ns, wraps every 2199023255541ns [ 0.000493] Console: colour dummy device 80x25 [ 0.000576] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.66 BogoMIPS (lpj=33333) [ 0.000592] pid_max: default: 32768 minimum: 301 [ 0.000674] LSM: Security Framework initializing [ 0.000748] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.000773] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.002386] rcu: Hierarchical SRCU implementation. [ 0.003513] EFI services will not be available. [ 0.003715] smp: Bringing up secondary CPUs ... [ 0.004250] Detected VIPT I-cache on CPU1 [ 0.004282] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000 [ 0.004321] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.004829] Detected VIPT I-cache on CPU2 [ 0.004849] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000 [ 0.004874] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.005345] Detected VIPT I-cache on CPU3 [ 0.005364] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000 [ 0.005391] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.005463] smp: Brought up 1 node, 4 CPUs [ 0.005490] SMP: Total of 4 processors activated. [ 0.005499] CPU features: detected: 32-bit EL0 Support [ 0.005507] CPU features: detected: CRC32 instructions [ 0.005515] CPU features: detected: 32-bit EL1 Support [ 0.016737] CPU: All CPU(s) started at EL2 [ 0.016769] alternatives: patching kernel code [ 0.018749] devtmpfs: initialized [ 0.026739] KASLR disabled due to lack of seed [ 0.026916] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.026934] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.053587] pinctrl core: initialized pinctrl subsystem [ 0.054270] DMI not present or invalid. [ 0.054732] NET: Registered protocol family 16 [ 0.062773] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations [ 0.063804] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.064937] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.065028] audit: initializing netlink subsys (disabled) [ 0.065210] audit: type=2000 audit(0.064:1): state=initialized audit_enabled=0 res=1 [ 0.065886] thermal_sys: Registered thermal governor 'step_wise' [ 0.065891] thermal_sys: Registered thermal governor 'power_allocator' [ 0.066109] cpuidle: using governor menu [ 0.066398] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.066498] ASID allocator initialised with 65536 entries [ 0.067603] Serial: AMBA PL011 UART driver [ 0.067677] imx mu driver is registered. [ 0.067703] imx rpmsg driver is registered. [ 0.101527] imx8mq-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver [ 0.122019] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.122034] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.122043] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.122050] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.123180] cryptd: max_cpu_qlen set to 1000 [ 0.127061] ACPI: Interpreter disabled. [ 0.127969] iommu: Default domain type: Translated [ 0.128139] vgaarb: loaded [ 0.128504] SCSI subsystem initialized [ 0.128865] usbcore: registered new interface driver usbfs [ 0.128912] usbcore: registered new interface driver hub [ 0.128949] usbcore: registered new device driver usb [ 0.130162] mc: Linux media interface: v0.10 [ 0.130191] videodev: Linux video capture interface: v2.00 [ 0.130266] pps_core: LinuxPPS API ver. 1 registered [ 0.130275] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.130293] PTP clock support registered [ 0.130462] EDAC MC: Ver: 3.0.0 [ 0.131681] FPGA manager framework [ 0.131769] Advanced Linux Sound Architecture Driver Initialized. [ 0.132484] Bluetooth: Core ver 2.22 [ 0.132514] NET: Registered protocol family 31 [ 0.132522] Bluetooth: HCI device and connection manager initialized [ 0.132534] Bluetooth: HCI socket layer initialized [ 0.132544] Bluetooth: L2CAP socket layer initialized [ 0.132618] Bluetooth: SCO socket layer initialized [ 0.133599] clocksource: Switched to clocksource arch_sys_counter [ 1.171697] VFS: Disk quotas dquot_6.6.0 [ 1.171768] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.171997] pnp: PnP ACPI: disabled [ 1.179526] NET: Registered protocol family 2 [ 1.179731] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 1.181475] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear) [ 1.181567] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 1.181838] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear) [ 1.182347] TCP: Hash tables configured (established 32768 bind 32768) [ 1.182449] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 1.182543] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 1.182746] NET: Registered protocol family 1 [ 1.183125] RPC: Registered named UNIX socket transport module. [ 1.183133] RPC: Registered udp transport module. [ 1.183139] RPC: Registered tcp transport module. [ 1.183145] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.183990] PCI: CLS 0 bytes, default 64 [ 1.184773] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 1.185489] kvm [1]: IPA Size Limit: 40 bits [ 1.187137] kvm [1]: vgic-v2@31020000 [ 1.187163] kvm [1]: GIC system register CPU interface enabled [ 1.187248] kvm [1]: vgic interrupt IRQ9 [ 1.187385] kvm [1]: Hyp mode initialized successfully [ 1.191009] Initialise system trusted keyrings [ 1.191134] workingset: timestamp_bits=42 max_order=20 bucket_order=0 [ 1.197869] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.198509] NFS: Registering the id_resolver key type [ 1.198533] Key type id_resolver registered [ 1.198539] Key type id_legacy registered [ 1.198633] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.198642] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 1.198669] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc. [ 1.199062] 9p: Installing v9fs 9p2000 file system support [ 1.242417] Key type asymmetric registered [ 1.242427] Asymmetric key parser 'x509' registered [ 1.242463] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 241) [ 1.242472] io scheduler mq-deadline registered [ 1.242480] io scheduler kyber registered [ 1.249297] EINJ: ACPI disabled. [ 1.258239] imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error2 [ 1.258256] imx-sdma 302c0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin [ 1.263675] mxs-dma 33000000.dma-apbh: initialized [ 1.268777] Bus freq driver module loaded [ 1.273815] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.276172] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 44, base_baud = 1562500) is a IMX [ 2.265726] printk: console [ttymxc0] enabled [ 2.270841] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 45, base_baud = 5000000) is a IMX [ 2.289346] imx-dcss 32e00000.display-controller: submodules initialization failed [ 2.309269] loop: module loaded [ 2.313504] of_reserved_mem_lookup() returned NULL [ 2.318396] megasas: 07.714.04.00-rc1 [ 2.323701] imx ahci driver is registered. [ 2.332793] spi-nor spi3.0: n25q256a (32768 Kbytes) [ 2.344535] libphy: Fixed MDIO Bus: probed [ 2.350018] tun: Universal TUN/TAP device driver, 1.6 [ 2.355883] thunder_xcv, ver 1.0 [ 2.359160] thunder_bgx, ver 1.0 [ 2.362435] nicpf, ver 1.0 [ 2.366103] pps pps0: new PPS source ptp0 [ 2.377639] libphy: fec_enet_mii_bus: probed [ 2.385054] fec 30be0000.ethernet eth0: registered PHC device 0 [ 2.393560] hclge is initializing [ 2.396921] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version [ 2.404160] hns3: Copyright (c) 2017 Huawei Corporation. [ 2.409520] e1000: Intel(R) PRO/1000 Network Driver [ 2.414408] e1000: Copyright (c) 1999-2006 Intel Corporation. [ 2.420202] e1000e: Intel(R) PRO/1000 Network Driver [ 2.425175] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [ 2.431148] igb: Intel(R) Gigabit Ethernet Network Driver [ 2.436556] igb: Copyright (c) 2007-2014 Intel Corporation. [ 2.442167] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 2.448440] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 2.454542] sky2: driver version 1.30 [ 2.458828] usbcore: registered new interface driver r8152 [ 2.464358] usbcore: registered new interface driver asix [ 2.469800] usbcore: registered new interface driver ax88179_178a [ 2.475932] usbcore: registered new interface driver cdc_ether [ 2.481804] usbcore: registered new interface driver net1080 [ 2.487500] usbcore: registered new interface driver cdc_subset [ 2.493459] usbcore: registered new interface driver zaurus [ 2.499094] usbcore: registered new interface driver cdc_ncm [ 2.505032] VFIO - User Level meta-driver version: 0.3 [ 2.513284] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.519862] ehci-pci: EHCI PCI platform driver [ 2.524350] ehci-platform: EHCI generic platform driver [ 2.529814] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.536021] ohci-pci: OHCI PCI platform driver [ 2.540509] ohci-platform: OHCI generic platform driver [ 2.546547] usbcore: registered new interface driver uas [ 2.551913] usbcore: registered new interface driver usb-storage [ 2.558006] usbcore: registered new interface driver usbserial_generic [ 2.564561] usbserial: USB Serial support registered for generic [ 2.570616] usbcore: registered new interface driver ftdi_sio [ 2.576391] usbserial: USB Serial support registered for FTDI USB Serial Device [ 2.583739] usbcore: registered new interface driver usb_serial_simple [ 2.590293] usbserial: USB Serial support registered for carelink [ 2.596412] usbserial: USB Serial support registered for zio [ 2.602097] usbserial: USB Serial support registered for funsoft [ 2.608136] usbserial: USB Serial support registered for flashloader [ 2.614515] usbserial: USB Serial support registered for google [ 2.620459] usbserial: USB Serial support registered for libtransistor [ 2.627012] usbserial: USB Serial support registered for vivopay [ 2.633044] usbserial: USB Serial support registered for moto_modem [ 2.639336] usbserial: USB Serial support registered for motorola_tetra [ 2.645978] usbserial: USB Serial support registered for novatel_gps [ 2.652355] usbserial: USB Serial support registered for hp4x [ 2.658135] usbserial: USB Serial support registered for suunto [ 2.664081] usbserial: USB Serial support registered for siemens_mpi [ 2.670478] usbcore: registered new interface driver usb_ehset_test [ 2.679748] input: 30370000.snvs:snvs-powerkey as /devices/platform/soc@0/30000000.bus/30370000.snvs/30370000.sn0 [ 2.694681] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc0 [ 2.700899] snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:00:00 UTC (0) [ 2.710147] i2c /dev entries driver [ 2.714541] mxc-mipi-csi2_yav 30a70000.mipi_csi1: mipi_csi2_probe [ 2.720700] mxc-mipi-csi2_yav 30a70000.mipi_csi: Remote device at endpoint@0 XXX found [ 2.728645] mxc-mipi-csi2_yav 30a70000.mipi_csi1: lanes: 2, name: mxc-mipi-csi2.0 [ 2.736499] mxc-mipi-csi2_yav 30b60000.mipi_csi2: mipi_csi2_probe [ 2.742645] mxc-mipi-csi2_yav 30b60000.mipi_csi: Remote device at endpoint@0 XXX found [ 2.750590] mxc-mipi-csi2_yav 30b60000.mipi_csi2: lanes: 2, name: mxc-mipi-csi2.1 [ 2.758482] mx6s-csi 30a90000.csi1_bridge: initialising [ 2.763937] CSI: Registered sensor subdevice: mxc-mipi-csi2.0 [ 2.769847] mx6s-csi 30b80000.csi2_bridge: initialising [ 2.775263] CSI: Registered sensor subdevice: mxc-mipi-csi2.1 [ 2.784656] Bluetooth: HCI UART driver ver 2.3 [ 2.789118] Bluetooth: HCI UART protocol H4 registered [ 2.794269] Bluetooth: HCI UART protocol BCSP registered [ 2.799609] Bluetooth: HCI UART protocol LL registered [ 2.804758] Bluetooth: HCI UART protocol ATH3K registered [ 2.810186] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 2.816555] Bluetooth: HCI UART protocol Broadcom registered [ 2.822263] Bluetooth: HCI UART protocol QCA registered [ 2.829031] sdhci: Secure Digital Host Controller Interface driver [ 2.835228] sdhci: Copyright(c) Pierre Ossman [ 2.839986] Synopsys Designware Multimedia Card Interface Driver [ 2.846720] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.853616] sdhci-esdhc-imx 30b40000.mmc: voltage-ranges unspecified [ 2.853736] sdhci-esdhc-imx 30b50000.mmc: voltage-ranges unspecified [ 2.866995] ledtrig-cpu: registered to indicate activity on CPUs [ 2.873697] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 2.880672] usbcore: registered new interface driver usbhid [ 2.886255] usbhid: USB HID core driver [ 2.897211] optee: probing for conduit method. [ 2.901683] optee: revision 3.15 (c939619d) [ 2.904012] optee: dynamic shared memory is enabled [ 2.913470] optee: initialized driver [ 3.011379] imx-ak5558 sound-ak5558: snd_soc_register_card failed (-517) [ 3.018951] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517) [ 3.025740] NET: Registered protocol family 26 [ 3.030706] NET: Registered protocol family 10 [ 3.037481] Segment Routing with IPv6 [ 3.041206] NET: Registered protocol family 17 [ 3.047284] Bluetooth: RFCOMM TTY layer initialized [ 3.052185] Bluetooth: RFCOMM socket layer initialized [ 3.057352] Bluetooth: RFCOMM ver 1.11 [ 3.061117] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 3.066440] Bluetooth: BNEP filters: protocol multicast [ 3.071678] Bluetooth: BNEP socket layer initialized [ 3.076655] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 3.082587] Bluetooth: HIDP socket layer initialized [ 3.087600] 8021q: 802.1Q VLAN Support v1.8 [ 3.091809] lib80211: common routines for IEEE802.11 drivers [ 3.097605] 9pnet: Installing 9P2000 support [ 3.101911] tsn generic netlink module v1 init... [ 3.106704] Key type dns_resolver registered [ 3.112350] registered taskstats version 1 [ 3.116465] Loading compiled-in X.509 certificates [ 3.147155] gpio-157 (wl-reg-on-hog): hogged as output/high [ 3.158174] ov5640_mipi 0-003c: No sensor reset pin available [ 3.163972] ov5640_mipi 0-003c: supply DOVDD not found, using dummy regulator [ 3.171235] ov5640_mipi 0-003c: supply DVDD not found, using dummy regulator [ 3.178367] ov5640_mipi 0-003c: supply AVDD not found, using dummy regulator [ 3.194925] ov5640_mipi 0-003c: Read reg error: reg=300a [ 3.200254] ov5640_mipi 0-003c: Camera is not found [ 3.211635] pfuze100-regulator 0-0008: Full layer: 2, Metal layer: 1 [ 3.220682] pfuze100-regulator 0-0008: FAB: 0, FIN: 0 [ 3.225761] pfuze100-regulator 0-0008: pfuze100 found. [ 3.326857] i2c i2c-0: IMX I2C adapter registered [ 3.333373] ov5640_mipi 1-003c: No sensor reset pin available [ 3.339166] ov5640_mipi 1-003c: supply DOVDD not found, using dummy regulator [ 3.346424] ov5640_mipi 1-003c: supply DVDD not found, using dummy regulator [ 3.353552] ov5640_mipi 1-003c: supply AVDD not found, using dummy regulator [ 3.374137] ov5640_mipi 1-003c: Read reg error: reg=300a [ 3.379469] ov5640_mipi 1-003c: Camera is not found [ 3.384580] i2c i2c-1: IMX I2C adapter registered [ 3.390531] ak4458 2-0010: supply DVDD not found, using dummy regulator [ 3.397259] ak4458 2-0010: supply AVDD not found, using dummy regulator [ 3.404756] ak4458 2-0010: Failed to set acks: -6 [ 3.410007] ak4458 2-0012: supply DVDD not found, using dummy regulator [ 3.416735] ak4458 2-0012: supply AVDD not found, using dummy regulator [ 3.424443] ak4458 2-0012: Failed to set acks: -6 [ 3.429727] ak5558 2-0013: supply DVDD not found, using dummy regulator [ 3.436457] ak5558 2-0013: supply AVDD not found, using dummy regulator [ 3.443561] ak4458 2-0011: supply DVDD not found, using dummy regulator [ 3.450283] ak4458 2-0011: supply AVDD not found, using dummy regulator [ 3.460298] ak4458 2-0011: Failed to set acks: -6 [ 3.467230] i2c i2c-2: IMX I2C adapter registered [ 3.472716] imx8mq-usb-phy 381f0040.usb-phy: supply vbus not found, using dummy regulator [ 3.481387] imx8mq-usb-phy 382f0040.usb-phy: supply vbus not found, using dummy regulator [ 3.491721] imx6q-pcie 33800000.pcie: supply epdev_on not found, using dummy regulator [ 3.492287] imx6q-pcie 33c00000.pcie: supply epdev_on not found, using dummy regulator [ 3.492613] SoC: i.MX8MQ revision 2.1 [ 3.492843] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 3 mkt segment 0 supported-hw 0x8 0x1 [ 3.493731] Config NOC for VPU and CPU [ 3.529630] imx6q-pcie 33800000.pcie: PCIe PLL locked after 0 us. [ 3.535788] imx6q-pcie 33800000.pcie: host bridge /soc@0/pcie@33800000 ranges: [ 3.540828] cdns-mhdp-imx 32c00000.hdmi: lane-mapping 0xe4 [ 3.543040] imx6q-pcie 33800000.pcie: IO 0x001ff80000..0x001ff8ffff -> 0x0000000000 [ 3.548514] [drm] Both HDCP 1.4 and 2 2 are enabled [ 3.550120] imx6q-pcie 33c00000.pcie: PCIe PLL locked after 0 us. [ 3.550159] imx6q-pcie 33c00000.pcie: host bridge /soc@0/pcie@33c00000 ranges: [ 3.550168] imx6q-pcie 33c00000.pcie: No bus range found for /soc@0/pcie@33c00000, using [bus 00-ff] [ 3.550184] imx6q-pcie 33c00000.pcie: IO 0x0027f80000..0x0027f8ffff -> 0x0000000000 [ 3.550200] imx6q-pcie 33c00000.pcie: MEM 0x0020000000..0x0027efffff -> 0x0020000000 [ 3.550275] imx6q-pcie 33c00000.pcie: invalid resource [ 3.556692] imx6q-pcie 33800000.pcie: MEM 0x0018000000..0x001fefffff -> 0x0018000000 [ 3.567461] imx-dcss 32e00000.display-controller: bound 32c00000.hdmi (ops cdns_mhdp_imx_ops) [ 3.567718] imx6q-pcie 33800000.pcie: invalid resource [ 3.575620] [drm] Initialized imx-dcss 1.0.0 20190917 for 32e00000.display-controller on minor 0 [ 3.637341] imx-dcss 32e00000.display-controller: [drm] Cannot find any crtc or sizes [ 3.646081] OF: graph: no port node found in /soc@0/usb-phy@381f0040 [ 3.653405] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 3.658916] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1 [ 3.666669] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe6c hci version 0x110 quirks 0x0000000001010010 [ 3.676100] xhci-hcd xhci-hcd.1.auto: irq 70, io mem 0x38200000 [ 3.682136] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 3.684737] imx6q-pcie 33800000.pcie: Link up [ 3.687631] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2 [ 3.687640] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed [ 3.691997] imx6q-pcie 33800000.pcie: Link up [ 3.700554] hub 1-0:1.0: USB hub found [ 3.706174] imx6q-pcie 33800000.pcie: Link up, Gen1 [ 3.719205] imx-dcss 32e00000.display-controller: [drm] Cannot find any crtc or sizes [ 3.727076] hub 1-0:1.0: 1 port detected [ 3.731018] imx-dcss 32e00000.display-controller: [drm] Cannot find any crtc or sizes [ 3.739089] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 3.748014] hub 2-0:1.0: USB hub found [ 3.751786] hub 2-0:1.0: 1 port detected [ 3.759273] sdhci-esdhc-imx 30b40000.mmc: voltage-ranges unspecified [ 3.760236] sdhci-esdhc-imx 30b50000.mmc: voltage-ranges unspecified [ 3.772079] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO [ 3.778347] galcore: clk_get 2d core clock failed, disable 2d/vg! [ 3.784758] Galcore version 6.4.3.p2.336687 [ 3.805461] mmc0: SDHCI controller on 30b40000.mmc [30b40000.mmc] using ADMA [ 3.812510] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA [ 3.819720] imx6q-pcie 33800000.pcie: PCI host bridge to bus 0000:00 [ 3.826143] pci_bus 0000:00: root bus resource [bus 00-ff] [ 3.831696] pci_bus 0000:00: root bus resource [io 0x10000-0x1ffff] (bus address [0x0000-0xffff]) [ 3.840688] pci_bus 0000:00: root bus resource [mem 0x18000000-0x1fefffff] [ 3.847684] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400 [ 3.853774] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff] [ 3.860168] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref] [ 3.866958] pci 0000:00:00.0: supports D1 [ 3.871036] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold [ 3.879555] pci 0000:01:00.0: [14e4:43ec] type 00 class 0x028000 [ 3.881413] [drm] Initialized vivante 1.0.0 20170808 for 38000000.gpu3d on minor 1 [ 3.885645] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00007fff 64bit] [ 3.900006] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x003fffff 64bit] [ 3.907183] pci 0000:01:00.0: supports D1 D2 [ 3.911492] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 3.921188] hantrodec: module inserted. Major = 510 [ 3.931425] pci 0000:00:00.0: BAR 14: assigned [mem 0x18000000-0x185fffff] [ 3.932121] debugfs: File 'Playback' in directory 'dapm' already present! [ 3.938416] pci 0000:00:00.0: BAR 0: assigned [mem 0x18600000-0x186fffff] [ 3.945128] debugfs: File 'Capture' in directory 'dapm' already present! [ 3.959449] pci 0000:00:00.0: BAR 6: assigned [mem 0x18700000-0x1870ffff pref] [ 3.964925] ak5558 2-0013: Unable to sync registers 0x2-0x2. -6 [ 3.966709] pci 0000:01:00.0: BAR 2: assigned [mem 0x18000000-0x183fffff 64bit] [ 3.979984] pci 0000:01:00.0: BAR 0: assigned [mem 0x18400000-0x18407fff 64bit] [ 3.987339] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 3.991986] mmc0: new HS400 MMC card at address 0001 [ 3.992590] ak5558 2-0013: ASoC: error at snd_soc_component_update_bits on ak5558.2-0013: -6 [ 3.994160] pci 0000:00:00.0: bridge window [mem 0x18000000-0x185fffff] [ 3.998570] mmcblk0: mmc0:0001 DG4016 14.7 GiB [ 4.017476] mmcblk0boot0: mmc0:0001 DG4016 partition 1 4.00 MiB [ 4.023544] mmcblk0boot1: mmc0:0001 DG4016 partition 2 4.00 MiB [ 4.029567] mmcblk0rpmb: mmc0:0001 DG4016 partition 3 4.00 MiB, chardev (511:0) [ 4.030936] debugfs: File 'Capture' in directory 'dapm' already present! [ 4.037509] random: fast init done [ 4.045405] input: imx-audio-hdmi HDMI Jack as /devices/platform/sound-hdmi/sound/card5/input1 [ 4.048002] Alternate GPT is invalid, using primary GPT. [ 4.060973] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 [ 4.094482] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 4.104616] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 4.111232] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 4.114214] ALSA device list: [ 4.119857] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db [ 4.122834] #0: imx-spdif [ 4.133360] #1: imx-hdmi-arc [ 4.136435] #2: bt-sco-audio [ 4.139495] #3: wm8524-audio [ 4.142555] #4: ak5558-audio [ 4.145614] #5: imx-audio-hdmi [ 4.239894] mmc1: host does not support reading read-only switch, assuming write-enable [ 4.253721] mmc1: new high speed SDHC card at address 1234 [ 4.261199] mmcblk1: mmc1:1234 SA04G 3.69 GiB [ 4.270200] mmcblk1: p1 p2 [ 4.547804] imx6q-pcie 33c00000.pcie: Phy link never came up [ 4.553530] imx6q-pcie 33c00000.pcie: failed to initialize host [ 4.559476] imx6q-pcie 33c00000.pcie: unable to add pcie port. [ 5.180500] EXT4-fs (mmcblk1p2): recovery complete [ 5.194736] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) [ 5.202912] VFS: Mounted root (ext4 filesystem) on device 179:98. [ 5.212447] devtmpfs: mounted [ 5.220728] Freeing unused kernel memory: 6144K [ 5.225349] Run /sbin/init as init process [ 5.803045] systemd[1]: System time before build time, advancing clock. [ 5.878213] systemd[1]: systemd 247.6+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSV) [ 5.900691] systemd[1]: Detected architecture arm64.