NXP i.MX 8M Mini平台Linux系统启动时间优化
0x0 芯片功能介绍
i.MX 8M Mini是恩智浦首款采用先进的14LPC FinFET工艺技术打造的嵌入式多核异构应用处理器。i.MX 8M Mini系列处理器集合了高性能计算、能效、增强的系统可靠性和嵌入式安全性,以推动快速增长的边缘节点计算、流媒体和机器学习应用的增长。
i.MX 8M Mini核心是一个可扩展的核心复合体,由多达4个运行频率高达2GHz的Arm Cortex-A53核心加上基于Cortex-M4 400MHz的实时处理核心组成。i.MX 8M Mini核心选项针对低功耗进行了优化,但提供了消费类、音频、工业、机器学习培训和推断等一系列云服务商所需的广泛处理能力。i.MX 8M Mini还内置硬件1080p视频加速功能,以实现双向视频应用,2D和3D图形提供丰富的视觉HMI体验,以及先进的音频功能,以实现音频丰富的应用。i.MX 8M Mini系列提供广泛的高速接口选择,可实现更广泛的系统连接,并针对工业级认证,可用于任何一般的嵌入式消费和工业应用。
0x1 系统启动时间
在嵌入式产品开发中,不同产品的应用场景对启动时间有不同的要求,大部分产品来说,能更快的启动设备进入工作状态是很有必要的。而且在用户体验角度上,产品的上电启动时间越短,能更快的进入工作状态,是大部分用户对产品的期望。同样,在使用i.MX 8M Mini芯片平台开发产品时,就需要对系统启动速度做一些优化,以达到应用场景的需要。
Linux系统的启动大体可以分为三个部分,Bootloader部分,Kernel部分,RootFS部分。
Bootloader部分,是芯片在上电后运行的第一段用户端的程序,用来初始化芯片的基础操作,并且加载和引导Kernel镜像文件。
Kernel部分,是Linux Kerrnel的启动过程,对预定义的设备初始化并挂载文件系统。
RootFS部分,Linux Kernel启动完成后,需要挂载文件系统,并启动第一个用户进程,即Init0进程。这样后续的其他应用或服务才被启动和运行。
理解了Linux系统的启动流程,就可以在这三个部分上做一些优化,缩减启动时间。本次我们使用了两款硬件平台来测试,分别是米尔科技的MYD-C8MMX开发板和飞凌的OKMX8MM开发板。
MYD-C8MMX开发板的板载系统启动时间是13.5s。
OKMX8MM开发板的板载系统启动时间是15.04s。
下面是MYD-C8MMX板载系统的启动时间统计
[0.000001 0.000001]
[0.304529 0.304528] U-Boot SPL 2018.03-myd-imx8mm-dev+g2c03931 (Aug 14 2020 - 12:05:05 +0800)
[0.003082 0.003082] power_bd71837_init
[0.003785 0.000703] DRAM PHY training for 2400MTS
[0.004835 0.001050] check ddr4_pmu_train_imem code
[0.037641 0.032806] check ddr4_pmu_train_imem code pass
[0.038464 0.000823] check ddr4_pmu_train_dmem code
[0.038937 0.000473] check ddr4_pmu_train_dmem code pass
[0.039724 0.000787] Training PASS
[0.040006 0.000282] DRAM PHY training for 400MTS
[0.040473 0.000467] check ddr4_pmu_train_imem code
[0.066846 0.026373] check ddr4_pmu_train_imem code pass
[0.067525 0.000679] check ddr4_pmu_train_dmem code
[0.068490 0.000965] check ddr4_pmu_train_dmem code pass
[0.082788 0.014298] Training PASS
[0.083086 0.000298] DRAM PHY training for 100MTS
[0.098839 0.015753] check ddr4_pmu_train_imem code
[0.141743 0.042904] check ddr4_pmu_train_imem code pass
[0.142385 0.000642] check ddr4_pmu_train_dmem code
[0.143415 0.001030] check ddr4_pmu_train_dmem code pass
[0.205692 0.062277] Training PASS
[0.205939 0.000247] DRAM PHY training for 2400MTS
[0.222112 0.016173] check ddr4_pmu_train_imem code
[0.247712 0.025600] check ddr4_pmu_train_imem code pass
[0.248908 0.001196] check ddr4_pmu_train_dmem code
[0.249512 0.000604] check ddr4_pmu_train_dmem code pass
[0.375772 0.126260] Training PASS
[0.423729 0.047957] Normal Boot
[0.423998 0.000269] Trying to boot from MMC1
[1.032659 0.608661]
[1.032750 0.000091]
[1.032775 0.000025] U-Boot 2018.03-myd-imx8mm-dev+g2c03931 (Aug 14 2020 - 12:05:05 +0800)
[1.035378 0.002603]
[1.035423 0.000045] CPU: Freescale i.MX8MMQ rev1.0 1600 MHz (running at 1200 MHz)
[1.037721 0.002298] CPU: Industrial temperature grade (-40C to 125C) at 31C
[1.159901 0.122180] Reset cause: POR
[1.160670 0.000769] Model: FSL i.MX8MM DDR4 EVK board
[1.161681 0.001011] DRAM: 2 GiB
[1.303628 0.141947] NAND: 0 MiB
[1.703654 0.400026] MMC: FSL_SDHC: 0, FSL_SDHC: 1
[1.735711 0.032057] Loading Environment from MMC... OK
[1.833652 0.097941] In: serial
[1.833910 0.000258] Out: serial
[1.834254 0.000344] Err: serial
[1.834599 0.000345]
[1.834632 0.000033] BuildInfo:
[1.834932 0.000300] - ATF 1cb68fa
[1.835234 0.000302] - U-Boot 2018.03-myd-imx8mm-dev+g2c03931
[1.835987 0.000753]
[1.897539 0.061552] switch to partitions #0, OK
[1.919030 0.021491] mmc0 is current device
[1.919742 0.000712] flash target is MMC:0
[1.998493 0.078751] Net:
[1.998693 0.000200] Error: ethernet@30be0000 address not set.
[2.106616 0.107923] No ethernet found.
[2.107004 0.000388] Fastboot: Normal
[2.107414 0.000410] Normal Boot
[2.107982 0.000568] Hit any key to stop autoboot: 0
[2.186506 0.078524] switch to partitions #0, OK
[2.187400 0.000894] mmc0 is current device
[2.266552 0.079152] ** Unable to read file boot.scr **
[3.385195 1.118643] 25434624 bytes read in 1092 ms (22.2 MiB/s)
[3.387208 0.002013] Booting from mmc ...
[3.423207 0.035999] 44161 bytes read in 16 ms (2.6 MiB/s)
[3.424022 0.000815] ## Flattened Device Tree blob at 43000000
[3.424871 0.000849] Booting using the fdt blob at 0x43000000
[3.425826 0.000955] Using Device Tree in place at 0000000043000000, end 000000004300dc80
[3.427928 0.002102]
[3.427949 0.000021] Starting kernel ...
[3.428518 0.000569]
[3.428559 0.000041] [ 0.000000] Booting Linux on physical CPU 0x0
[3.467543 0.038984] [ 0.000000] Linux version 4.14.98-myd-imx8mm-dev+g35b6bdc (oe-user@oe-host) (gcc version 7.3.0 (GCC)) #1 SMP PREEMPT Fri Aug 14 11:33:00 CST 2020
[3.470928 0.003385] [ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[3.472121 0.001193] [ 0.000000] Machine model: FSL i.MX8MM EVK board
[3.473071 0.000950] [ 0.000000] earlycon: ec_imx6q0 at MMIO 0x0000000030890000 (options '115200')
[3.475170 0.002099] [ 0.000000] bootconsole [ec_imx6q0] enabled
[3.476277 0.001107] [ 0.000000] efi: Getting EFI parameters from FDT:
[3.477111 0.000834] [ 0.000000] efi: UEFI not found.
[3.515794 0.038683] [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000078000000, size 640 MiB
[3.517814 0.002020] [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[3.519333 0.001519] [ 0.000000] NUMA: No NUMA configuration found
[3.520088 0.000755] [ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000bdffffff]
[3.521525 0.001437] [ 0.000000] NUMA: NODE_DATA [mem 0xbdfbd800-0xbdfbf5ff]
[3.522643 0.001118] [ 0.000000] Zone ranges:
[3.523239 0.000596] [ 0.000000] DMA [mem 0x0000000040000000-0x00000000bdffffff]
[3.558226 0.034987] [ 0.000000] Normal empty
[3.558988 0.000762] [ 0.000000] Movable zone start for each node
[3.560560 0.001572] [ 0.000000] Early memory node ranges
[3.561797 0.001237] [ 0.000000] node 0: [mem 0x0000000040000000-0x00000000b7ffffff]
[3.563587 0.001790] [ 0.000000] node 0: [mem 0x00000000b8400000-0x00000000bdffffff]
[3.565359 0.001772] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bdffffff]
[3.628188 0.062829] [ 0.000000] psci: probing for conduit method from DT.
[3.629394 0.001206] [ 0.000000] psci: PSCIv1.1 detected in firmware.
[3.630638 0.001244] [ 0.000000] psci: Using standard PSCI v0.2 function IDs
[3.631809 0.001171] [ 0.000000] psci: Trusted OS migration not required
[3.633100 0.001291] [ 0.000000] psci: SMC Calling Convention v1.1
[3.634115 0.001015] [ 0.000000] percpu: Embedded 24 pages/cpu @ffff80007df58000 s57624 r8192 d32488 u98304
[3.635973 0.001858] [ 0.000000] Detected VIPT I-cache on CPU0
[3.637017 0.001044] [ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[3.638849 0.001832] [ 0.000000] Speculative Store Bypass Disable mitigation not required
[3.677490 0.038641] [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 507008
[3.679986 0.002496] [ 0.000000] Policy zone: DMA
[3.680717 0.000731] [ 0.000000] Kernel command line: console=ttymxc1,115200 earlycon=ec_imx6q,0x30890000,115200 root=/dev/mmcblk1p2 rootwait rw
[3.683063 0.002346] [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[3.770791 0.087728] [ 0.000000] Memory: 1346088K/2060288K available (14972K kernel code, 1798K rwdata, 6740K rodata, 1280K init, 456K bss, 58840K reserved, 655360K cma-reserved)
[3.774871 0.004080] [ 0.000000] Virtual kernel memory layout:
[3.775920 0.001049] [ 0.000000] modules : 0xffff000000000000 - 0xffff000008000000 ( 128 MB)
[3.777450 0.001530] [ 0.000000] vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000 (129022 GB)
[3.779732 0.002282] [ 0.000000] .text : 0xffff000008080000 - 0xffff000008f20000 ( 14976 KB)
[3.782121 0.002389] [ 0.000000] .rodata : 0xffff000008f20000 - 0xffff0000095c0000 ( 6784 KB)
[3.815562 0.033441] [ 0.000000] .init : 0xffff0000095c0000 - 0xffff000009700000 ( 1280 KB)
[3.818592 0.003030] [ 0.000000] .data : 0xffff000009700000 - 0xffff0000098c1a00 ( 1799 KB)
[3.820648 0.002056] [ 0.000000] .bss : 0xffff0000098c1a00 - 0xffff000009933a80 ( 457 KB)
[3.822195 0.001547] [ 0.000000] fixed : 0xffff7dfffe7f9000 - 0xffff7dfffec00000 ( 4124 KB)
[3.823521 0.001326] [ 0.000000] PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000 ( 16 MB)
[3.824951 0.001430] [ 0.000000] vmemmap : 0xffff7e0000000000 - 0xffff800000000000 ( 2048 GB maximum)
[3.860164 0.035213] [ 0.000000] 0xffff7e0000000000 - 0xffff7e0001f80000 ( 31 MB actual)
[3.862351 0.002187] [ 0.000000] memory : 0xffff800000000000 - 0xffff80007e000000 ( 2016 MB)
[3.864146 0.001795] [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[3.865700 0.001554] [ 0.000000] Preemptible hierarchical RCU implementation.
[3.867394 0.001694] [ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[3.869444 0.002050] [ 0.000000] Tasks RCU enabled.
[3.870041 0.000597] [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[3.907675 0.037634] [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[3.909115 0.001440] [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[3.910670 0.001555] [ 0.000000] GICv3: no VLPI support, no direct LPI support
[3.912200 0.001530] [ 0.000000] ITS: No ITS available, not enabling LPIs
[3.913205 0.001005] [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000
[3.954794 0.041589] [ 0.000000] i.MX8MM clock driver init done
[3.956362 0.001568] [ 0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys).
[3.958711 0.002349] [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[3.962577 0.003866] [ 0.000004] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[3.965420 0.002843] [ 0.008490] system counter timer init
[3.966384 0.000964] [ 0.011769] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[3.968625 0.002241] [ 0.019775] clocksource: imx sysctr: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[4.000561 0.031936] [ 0.030967] Console: colour dummy device 80x25
[4.001859 0.001298] [ 0.034626] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)
[4.005285 0.003426] [ 0.044899] pid_max: default: 32768 minimum: 301
[4.007081 0.001796] [ 0.049599] Security Framework initialized
[4.008666 0.001585] [ 0.054217] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[4.011622 0.002956] [ 0.061095] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[4.024399 0.012777] [ 0.067929] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[4.025887 0.001488] [ 0.074655] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[4.082108 0.056221] [ 0.097891] ASID allocator initialised with 32768 entries
[4.083592 0.001484] [ 0.105885] Hierarchical SRCU implementation.
[4.084842 0.001250] [ 0.114404] Cannot find MU entry in device tree
[4.086526 0.001684] [ 0.116209] CPU identified as i.MX8MM, silicon rev 1.0
[4.088094 0.001568] [ 0.121867] EFI services will not be available.
[4.089288 0.001194] [ 0.133828] smp: Bringing up secondary CPUs ...
[4.190906 0.101618] [ 0.161994] Detected VIPT I-cache on CPU1
[4.192354 0.001448] [ 0.162028] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[4.194759 0.002405] [ 0.162066] CPU1: Booted secondary processor [410fd034]
[4.196109 0.001350] [ 0.190025] Detected VIPT I-cache on CPU2
[4.197080 0.000971] [ 0.190045] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
[4.198879 0.001799] [ 0.190061] CPU2: Booted secondary processor [410fd034]
[4.200397 0.001518] [ 0.218079] Detected VIPT I-cache on CPU3
[4.201643 0.001246] [ 0.218096] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
[4.203381 0.001738] [ 0.218110] CPU3: Booted secondary processor [410fd034]
[4.238744 0.035363] [ 0.218166] smp: Brought up 1 node, 4 CPUs
[4.240323 0.001579] [ 0.267987] SMP: Total of 4 processors activated.
[4.242254 0.001931] [ 0.272708] CPU features: detected feature: GIC system register CPU interface
[4.244907 0.002653] [ 0.279889] CPU features: detected feature: 32-bit EL0 Support
[4.246338 0.001431] [ 0.285746] CPU features: detected feature: Kernel page table isolation (KPTI)
[4.249230 0.002892] [ 0.298448] CPU: All CPU(s) started at EL2
[4.250471 0.001241] [ 0.299702] alternatives: patching kernel code
[4.251634 0.001163] [ 0.305471] devtmpfs: initialized
[4.283334 0.031700] [ 0.312550] random: get_random_u32 called from bucket_table_alloc+0x108/0x260 with crng_init=0
[4.286362 0.003028] [ 0.319021] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[4.289430 0.003068] [ 0.328201] futex hash table entries: 1024 (order: 5, 131072 bytes)
[4.291036 0.001606] [ 0.352269] pinctrl core: initialized pinctrl subsystem
[4.330876 0.039840] [ 0.356242] DMI not present or invalid.
[4.332287 0.001411] [ 0.358912] NET: Registered protocol family 16
[4.333823 0.001536] [ 0.364921] cpuidle: using governor menu
[4.335345 0.001522] [ 0.367752] vdso: 2 pages (1 code @ ffff000008f26000, 1 data @ ffff000009704000)
[4.337560 0.002215] [ 0.374376] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[4.339941 0.002381] [ 0.387319] DMA: preallocated 256 KiB pool for atomic allocations
[4.341754 0.001813] [ 0.391445] Serial: AMBA PL011 UART driver
[4.343186 0.001432] [ 0.394849] imx rpmsg driver is registered.
[4.362802 0.019616] [ 0.402882] imx8mm-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[4.365420 0.002618] [ 0.410330] MU is ready for cross core communication!
[4.367362 0.001942] [ 0.414266] virtio_rpmsg_bus virtio0: rpmsg host is online
[4.418270 0.050908] [ 0.440421] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[4.420328 0.002058] [ 0.451066] ACPI: Interpreter disabled.
[4.421441 0.001113] [ 0.456104] vgaarb: loaded
[4.422496 0.001055] [ 0.456414] SCSI subsystem initialized
[4.423785 0.001289] [ 0.460287] usbcore: registered new interface driver usbfs
[4.425364 0.001579] [ 0.465312] usbcore: registered new interface driver hub
[4.427215 0.001851] [ 0.470651] usbcore: registered new device driver usb
[4.428696 0.001481] [ 0.476330] usb_phy_generic usbphynop1: usbphynop1 supply vcc not found, using dummy regulator
[4.431278 0.002582] [ 0.484550] usb_phy_generic usbphynop2: usbphynop2 supply vcc not found, using dummy regulator
[4.464514 0.033236] [ 0.497163] bd71837 0-004b: Device ID=0xA1
[4.465782 0.001268] [ 0.498411] bd71837 0-004b: gpio_intr = 3
[4.466940 0.001158] [ 0.502547] bd71837 0-004b: chip_irq=68
[4.468828 0.001888] [ 0.514678] bd71837-pmic bd71837-pmic: regulator register name 'buck1'
[4.485118 0.016290] [ 0.534844] bd71837-pmic bd71837-pmic: regulator register name 'buck2'
[4.487598 0.002480] [ 0.554861] bd71837-pmic bd71837-pmic: regulator register name 'buck3'
[4.563625 0.076027] [ 0.566907] bd71837-pmic bd71837-pmic: regulator register name 'buck4'
[4.565535 0.001910] [ 0.578911] bd71837-pmic bd71837-pmic: regulator register name 'buck5'
[4.567709 0.002174] [ 0.590941] bd71837-pmic bd71837-pmic: regulator register name 'buck6'
[4.570123 0.002414] [ 0.602962] bd71837-pmic bd71837-pmic: regulator register name 'buck7'
[4.572089 0.001966] [ 0.614990] bd71837-pmic bd71837-pmic: regulator register name 'buck8'
[4.574535 0.002446] [ 0.627018] bd71837-pmic bd71837-pmic: regulator register name 'ldo1'
[4.577458 0.002923] [ 0.647065] bd71837-pmic bd71837-pmic: regulator register name 'ldo2'
[4.607212 0.029754] [ 0.655080] bd71837-pmic bd71837-pmic: regulator register name 'ldo3'
[4.609430 0.002218] [ 0.675122] bd71837-pmic bd71837-pmic: regulator register name 'ldo4'
[4.627965 0.018535] [ 0.695178] bd71837-pmic bd71837-pmic: regulator register name 'ldo5'
[4.656635 0.028670] [ 0.703179] bd71837-pmic bd71837-pmic: regulator register name 'ldo6'
[4.659252 0.002617] [ 0.723223] bd71837-pmic bd71837-pmic: regulator register name 'ldo7'
[4.716108 0.056856] [ 0.743267] i2c i2c-0: IMX I2C adapter registered
[4.717680 0.001572] [ 0.745130] i2c i2c-0: can't use DMA, using PIO instead.
[4.719974 0.002294] [ 0.751385] i2c i2c-1: IMX I2C adapter registered
[4.722025 0.002051] [ 0.755227] i2c i2c-1: can't use DMA, using PIO instead.
[4.723673 0.001648] [ 0.761088] i2c i2c-2: IMX I2C adapter registered
[4.725677 0.002004] [ 0.765298] i2c i2c-2: can't use DMA, using PIO instead.
[4.727414 0.001737] [ 0.771693] media: Linux media interface: v0.10
[4.729006 0.001592] [ 0.775180] Linux video capture interface: v2.00
[4.730416 0.001410] [ 0.779990] pps_core: LinuxPPS API ver. 1 registered
[4.759792 0.029376] [ 0.784771] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[4.763500 0.003708] [ 0.793970] PTP clock support registered
[4.765389 0.001889] [ 0.798163] EDAC MC: Ver: 3.0.0
[4.766347 0.000958] [ 0.801330] dmi: Firmware registration failed.
[4.768070 0.001723] [ 0.806493] Advanced Linux Sound Architecture Driver Initialized.
[4.770286 0.002216] [ 0.812186] Bluetooth: Core ver 2.22
[4.771227 0.000941] [ 0.815238] NET: Registered protocol family 31
[4.772258 0.001031] [ 0.819687] Bluetooth: HCI device and connection manager initialized
[4.774039 0.001781] [ 0.826075] Bluetooth: HCI socket layer initialized
[4.806485 0.032446] [ 0.830970] Bluetooth: L2CAP socket layer initialized
[4.808354 0.001869] [ 0.836059] Bluetooth: SCO socket layer initialized
[4.809981 0.001627] [ 0.841934] clocksource: Switched to clocksource arch_sys_counter
[4.812204 0.002223] [ 0.847228] VFS: Disk quotas dquot_6.6.0
[4.813274 0.001070] [ 0.851060] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[4.815077 0.001803] [ 0.858087] pnp: PnP ACPI: disabled
[4.816020 0.000943] [ 0.866933] NET: Registered protocol family 2
[4.817547 0.001527] [ 0.869006] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[4.849694 0.032147] [ 0.875870] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[4.852646 0.002952] [ 0.882673] TCP: Hash tables configured (established 16384 bind 16384)
[4.854851 0.002205] [ 0.889185] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[4.856821 0.001970] [ 0.895013] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[4.858748 0.001927] [ 0.901606] NET: Registered protocol family 1
[4.860050 0.001302] [ 0.906206] RPC: Registered named UNIX socket transport module.
[4.861732 0.001682] [ 0.911772] RPC: Registered udp transport module.
[4.863322 0.001590] [ 0.916506] RPC: Registered tcp transport module.
[4.894556 0.031234] [ 0.921218] RPC: Registered tcp NFSv4.1 backchannel transport module.
[4.897619 0.003063] [ 0.928751] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[4.900870 0.003251] [ 0.935857] kvm [1]: 8-bit VMID
[4.902045 0.001175] [ 0.939679] kvm [1]: GICv3: no GICV resource entry
[4.903692 0.001647] [ 0.943443] kvm [1]: disabling GICv2 emulation
[4.905575 0.001883] [ 0.947929] kvm [1]: GIC system register CPU interface enabled
[4.907753 0.002178] [ 0.953833] kvm [1]: vgic interrupt IRQ1
[4.908901 0.001148] [ 0.957806] kvm [1]: Hyp mode initialized successfully
[4.939781 0.030880] [ 0.965348] audit: initializing netlink subsys (disabled)
[4.942038 0.002257] [ 0.968444] audit: type=2000 audit(0.840:1): state=initialized audit_enabled=0 res=1
[4.944718 0.002680] [ 0.968836] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[4.946973 0.002255] [ 0.988016] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[4.949124 0.002151] [ 0.991632] NFS: Registering the id_resolver key type
[4.951008 0.001884] [ 0.996137] Key type id_resolver registered
[4.952922 0.001914] [ 1.000308] Key type id_legacy registered
[4.954566 0.001644] [ 1.004620] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[4.991777 0.037211] [ 1.011105] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[4.994004 0.002227] [ 1.017789] 9p: Installing v9fs 9p2000 file system support
[4.995381 0.001377] [ 1.027144] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[4.997781 0.002400] [ 1.031772] io scheduler noop registered
[4.998678 0.000897] [ 1.035815] io scheduler cfq registered (default)
[4.999966 0.001288] [ 1.040466] io scheduler mq-deadline registered
[5.001314 0.001348] [ 1.044946] io scheduler kyber registered
[5.002817 0.001503] [ 1.058466] pwm-backlight lvds_backlight@0: lvds_backlight@0 supply power not found, using dummy regulator
[5.050437 0.047620] [ 1.069223] imx-sdma 30bd0000.dma-controller: no iram assigned, using external mem
[5.053103 0.002666] [ 1.076353] imx-sdma 30bd0000.dma-controller: Falling back to user helper
[5.055193 0.002090] [ 1.080584] imx-sdma 302c0000.dma-controller: no iram assigned, using external mem
[5.057590 0.002397] [ 1.097451] imx-sdma 302b0000.dma-controller: no iram assigned, using external mem
[5.060559 0.002969] [ 1.112448] mxs-dma 33000000.dma-apbh: initialized
[5.062697 0.002138] [ 1.116363] Bus freq driver module loaded
[5.095621 0.032924] [ 1.124724] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[5.097593 0.001972] [ 1.130860] SuperH (H)SCI(F) driver initialized
[5.099084 0.001491] [ 1.133784] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 30, base_baud = 5000000) is a IMX
[5.101722 0.002638] [ 1.143008] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 31, base_baud = 5000000) is a IMX
[5.103568 0.001846] [ 1.151185] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 32, base_baud = 1500000) is a IMX
[5.105486 0.001918] [ 1.162152] console [ttymxc1] enabled
[5.148591 0.043105] [ 1.162152] console [ttymxc1] enabled
[5.149402 0.000811] [ 1.166630] bootconsole [ec_imx6q0] disabled
[5.150084 0.000682] [ 1.166630] bootconsole [ec_imx6q0] disabled
[5.150906 0.000822] [ 1.175957] 30a60000.serial: ttymxc3 at MMIO 0x30a60000 (irq = 36, base_baud = 1500000) is a IMX
[5.152309 0.001403] [ 1.187760] msm_serial: driver initialized
[5.152933 0.000624] [ 1.201272] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[5.154051 0.001118] [ 1.207919] [drm] No driver support for vblank timestamp query.
[5.154914 0.000863] [ 1.213995] imx-drm display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[5.184121 0.029207] [ 1.221689] imx_sec_dsim_drv 32e10000.mipi_dsi: version number is 0x1060200
[5.191609 0.007488] [ 1.229138] imx-drm display-subsystem: bound 32e10000.mipi_dsi (ops imx_sec_dsim_ops)
[5.387813 0.196204] [ 1.282824] Chip ID: 75, Revision ID: 00
[5.393321 0.005508] [ 1.283226] random: fast init done
[5.395064 0.001743] [ 1.294358] [13c] [30005]
[5.397257 0.002193] [ 1.294360] [114] [3]
[5.399543 0.002286] [ 1.294363] [164] [4]
[5.402055 0.002512] [ 1.294365] [168] [4]
[5.404414 0.002359] [ 1.294367] [16c] [4]
[5.406798 0.002384] [ 1.294369] [170] [4]
[5.409385 0.002587] [ 1.294371] [134] [1f]
[5.411152 0.001767] [ 1.294374] [210] [1f]
[5.413518 0.002366] [ 1.294376] [104] [1]
[5.415997 0.002479] [ 1.294378] [204] [1]
[5.417783 0.001786] [ 1.294380] [450] [3f00100]
[5.419904 0.002121] [ 1.294382] [454] [3c0011]
[5.422207 0.002303] [ 1.294384] [458] [3c0500]
[5.424487 0.002280] [ 1.294387] [45c] [a0003]
[5.427287 0.002800] [ 1.294389] [460] [a0320]
[5.444946 0.017659] [ 1.294391] [464] [1]
[5.447278 0.002332] [ 1.294393] [4a0] [448006]
[5.450651 0.003373] [ 1.294395] [4a0] [48006]
[5.452816 0.002165] [ 1.294397] [49c] [31]
[5.454771 0.001955] [ 1.398484] Console: switching to colour frame buffer device 160x49
[5.460738 0.005967] [ 1.475505] imx-drm display-subsystem: fb0: frame buffer device
[5.466195 0.005457] [ 1.481851] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 0
[5.473873 0.007678] [ 1.495931] loop: module loaded
[5.476389 0.002516] [ 1.504172] fsl-flexspi 30bb0000.flexspi: mt25qu256 (32768 Kbytes)
[5.481196 0.004807] [ 1.511504] slram: not enough parameters.
[5.500977 0.019781] [ 1.518146] spi_imx 30830000.ecspi: probed
[5.504775 0.003798] [ 1.524370] libphy: Fixed MDIO Bus: probed
[5.508063 0.003288] [ 1.528961] NXP PHY: loading NXP PHY driver: [autonomous mode]
[5.512011 0.003948] [ 1.535019] tun: Universal TUN/TAP device driver, 1.6
[5.515963 0.003952] [ 1.540312] CAN device driver interface
[5.518418 0.002455] [ 1.546382] fec 30be0000.ethernet: 30be0000.ethernet supply phy not found, using dummy regulator
[5.526560 0.008142] [ 1.555521] pps pps0: new PPS source ptp0
[5.530075 0.003515] [ 1.563984] fec 30be0000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
[5.551133 0.021058] [ 1.574102] fec 30be0000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 9a:a4:c5:31:58:11
[5.559365 0.008232] [ 1.586362] libphy: fec_enet_mii_bus: probed
[5.562937 0.003572] [ 1.591914] fec 30be0000.ethernet eth0: registered PHC device 0
[5.566982 0.004045] [ 1.598670] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[5.571869 0.004887] [ 1.604525] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[5.574682 0.002813] [ 1.610516] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[5.579988 0.005306] [ 1.617491] igb: Copyright (c) 2007-2014 Intel Corporation.
[5.596210 0.016222] [ 1.623111] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[5.601315 0.005105] [ 1.630955] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[5.605884 0.004569] [ 1.637368] sky2: driver version 1.30
[5.608717 0.002833] [ 1.641469] PPP generic driver version 2.4.2
[5.612499 0.003782] [ 1.645976] PPP BSD Compression module registered
[5.616533 0.004034] [ 1.650699] PPP Deflate Compression module registered
[5.621313 0.004780] [ 1.655797] PPP MPPE Compression module registered
[5.625349 0.004036] [ 1.660603] NET: Registered protocol family 24
[5.640141 0.014792] [ 1.665172] Broadcom 43xx driver loaded [ Features: PNLS ]
[5.644860 0.004719] [ 1.670703] Broadcom 43xx-legacy driver loaded [ Features: PLID ]
[5.649381 0.004521] [ 1.676951] usbcore: registered new interface driver cdc_ether
[5.654078 0.004697] [ 1.682850] usbcore: registered new interface driver cdc_ncm
[5.659934 0.005856] [ 1.688552] usbcore: registered new interface driver huawei_cdc_ncm
[5.664943 0.005009] [ 1.696694] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[5.669526 0.004583] [ 1.703295] ehci-pci: EHCI PCI platform driver
[5.673419 0.003893] [ 1.707825] ehci-platform: EHCI generic platform driver
[5.688520 0.015101] [ 1.713273] ehci-orion: EHCI orion driver
[5.691721 0.003201] [ 1.717441] ehci-exynos: EHCI EXYNOS driver
[5.695443 0.003722] [ 1.721766] ehci-msm: Qualcomm On-Chip EHCI Host Controller
[5.699589 0.004146] [ 1.727465] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[5.705121 0.005532] [ 1.733678] ohci-pci: OHCI PCI platform driver
[5.707993 0.002872] [ 1.738209] ohci-platform: OHCI generic platform driver
[5.712718 0.004725] [ 1.743610] ohci-exynos: OHCI EXYNOS driver
[5.714884 0.002166] [ 1.748468] usbcore: registered new interface driver cdc_acm
[5.726482 0.011598] [ 1.754151] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[5.731795 0.005313] [ 1.762217] usbcore: registered new interface driver cdc_wdm
[5.735183 0.003388] [ 1.767942] usbcore: registered new interface driver usb-storage
[5.739525 0.004342] [ 1.774044] usbcore: registered new interface driver usbserial
[5.743520 0.003995] [ 1.779917] usbcore: registered new interface driver option
[5.748160 0.004640] [ 1.785523] usbserial: USB Serial support registered for GSM modem (1-port)
[5.755314 0.007154] [ 1.792520] usbcore: registered new interface driver qcaux
[5.773580 0.018266] [ 1.798045] usbserial: USB Serial support registered for qcaux
[5.779145 0.005565] [ 1.803916] usbcore: registered new interface driver qcserial
[5.784152 0.005007] [ 1.809692] usbserial: USB Serial support registered for Qualcomm USB modem
[5.791142 0.006990] [ 1.816692] usbcore: registered new interface driver usb_ehset_test
[5.796360 0.005218] [ 1.824326] usbmisc_imx 32e40200.usbmisc: 32e40200.usbmisc supply vbus-wakeup not found, using dummy regulator
[5.804501 0.008141] [ 1.834764] usbmisc_imx 32e50200.usbmisc: 32e50200.usbmisc supply vbus-wakeup not found, using dummy regulator
[5.827341 0.022840] [ 1.845887] imx_usb 32e40000.usb: 32e40000.usb supply vbus not found, using dummy regulator
[5.828286 0.000945] [ 1.860366] imx_usb 32e50000.usb: 32e50000.usb supply vbus not found, using dummy regulator
[5.829126 0.000840] [ 1.871908] ci_hdrc ci_hdrc.1: EHCI Host Controller
[5.829616 0.000490] [ 1.876820] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[5.872197 0.042581] [ 1.901989] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[5.874056 0.001859] [ 1.908191] hub 1-0:1.0: USB hub found
[5.875230 0.001174] [ 1.911989] hub 1-0:1.0: 1 port detected
[5.876436 0.001206] [ 1.918328] input: 30370000.snvs:snvs-powerkey as /devices/platform/30370000.snvs/30370000.snvs:snvs-powerkey/input/input0
[5.980693 0.104257] [ 2.030163] Goodix-TS 2-0014: i2c test failed attempt 1: -6
[6.011985 0.031292] [ 2.062142] Goodix-TS 2-0014: i2c test failed attempt 2: -6
[6.027661 0.015676] [ 2.093942] Goodix-TS 2-0014: I2C communication failure: -6
[6.077848 0.050187] [ 2.100958] rtc-rx8025 1-0032: Alarm was detected
[6.079518 0.001670] [ 2.106636] rtc-rx8025 1-0032: rtc core: registered rx8025 as rtc0
[6.081491 0.001973] [ 2.113926] snvs_rtc 30370000.snvs:snvs-rtc-lp: rtc core: registered 30370000.snvs:snvs-rtc-lp as rtc1
[6.084500 0.003009] [ 2.123923] i2c /dev entries driver
[6.085567 0.001067] [ 2.129634] IR NEC protocol handler initialized
[6.086918 0.001351] [ 2.134200] IR RC5(x/sz) protocol handler initialized
[6.088458 0.001540] [ 2.139262] IR RC6 protocol handler initialized
[6.090124 0.001666] [ 2.143805] IR JVC protocol handler initialized
[6.122897 0.032773] [ 2.148344] IR Sony protocol handler initialized
[6.124374 0.001477] [ 2.152973] IR SANYO protocol handler initialized
[6.126251 0.001877] [ 2.157686] IR Sharp protocol handler initialized
[6.127921 0.001670] [ 2.162403] IR MCE Keyboard/mouse protocol handler initialized
[6.129500 0.001579] [ 2.168244] IR XMP protocol handler initialized
[6.130465 0.000965] [ 2.174240] mxc_mipi-csi 32e30000.mipi_csi: 32e30000.mipi_csi supply mipi-phy not found, using dummy regulator
[6.132998 0.002533] [ 2.184635] mxc_mipi-csi 32e30000.mipi_csi: mipi csi v4l2 device registered
[6.135314 0.002316] [ 2.191616] CSI: Registered sensor subdevice: mxc_mipi-csi.0
[6.172572 0.037258] [ 2.197302] mxc_mipi-csi 32e30000.mipi_csi: lanes: 2, hs_settle: 13, clk_settle: 2, wclk: 1, freq: 333000000
[6.176979 0.004407] [ 2.207640] ov5640_mipi 1-003c: 1-003c supply DOVDD not found, using dummy regulator
[6.179880 0.002901] [ 2.215453] ov5640_mipi 1-003c: 1-003c supply DVDD not found, using dummy regulator
[6.182592 0.002712] [ 2.223149] ov5640_mipi 1-003c: 1-003c supply AVDD not found, using dummy regulator
[6.186611 0.004019] [ 2.253953] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[6.234735 0.048124] [ 2.302153] ov5640_mipi 1-003c: Read reg error: reg=300a
[6.256324 0.021589] [ 2.307477] ov5640_mipi 1-003c: Camera is not found
[6.301669 0.045345] [ 2.327795] imx2-wdt 30280000.wdog: timeout 60 sec (nowayout=0)
[6.303097 0.001428] [ 2.334695] Bluetooth: HCI UART driver ver 2.3
[6.304071 0.000974] [ 2.339179] Bluetooth: HCI UART protocol H4 registered
[6.304908 0.000837] [ 2.344327] Bluetooth: HCI UART protocol BCSP registered
[6.306098 0.001190] [ 2.349648] Bluetooth: HCI UART protocol ATH3K registered
[6.306969 0.000871] [ 2.355056] Bluetooth: HCI UART protocol Three-wire (H5) registered
[6.308501 0.001532] [ 2.361503] Bluetooth: HCI UART protocol Broadcom registered
[6.309771 0.001270] [ 2.367178] Bluetooth: HCI UART protocol QCA registered
[6.348116 0.038345] [ 2.373616] sdhci: Secure Digital Host Controller Interface driver
[6.354278 0.006162] [ 2.379839] sdhci: Copyright(c) Pierre Ossman
[6.358615 0.004337] [ 2.384560] Synopsys Designware Multimedia Card Interface Driver
[6.363896 0.005281] [ 2.391810] sdhci-pltfm: SDHCI platform and OF driver helper
[6.370044 0.006148] [ 2.398496] mmc0: CQHCI version 5.10
[6.373223 0.003179] [ 2.402161] sdhci-esdhc-imx 30b40000.mmc: assigned as wifi host
[6.378333 0.005110] [ 2.419555] hub 1-1:1.0: USB hub found
[6.382031 0.003698] [ 2.423577] hub 1-1:1.0: 4 ports detected
[6.459704 0.077673] [ 2.462044] mmc0: SDHCI controller on 30b40000.mmc [30b40000.mmc] using ADMA
[6.466234 0.006530] [ 2.472007] mmc1: CQHCI version 5.10
[6.469548 0.003314] [ 2.478087] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO
[6.475106 0.005558] [ 2.491599] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[6.480303 0.005197] [ 2.499026] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[6.485967 0.005664] [ 2.506515] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[6.492731 0.006764] [ 2.514972] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[6.498604 0.005873] [ 2.524088] mmc0: queuing unknown CIS tuple 0x81 (9 bytes)
[6.503282 0.004678] [ 2.530226] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA
[6.510463 0.007181] [ 2.543219] mmc2: CQHCI version 5.10
[6.528588 0.018125] [ 2.598013] mmc2: SDHCI controller on 30b60000.mmc [30b60000.mmc] using ADMA
[6.588435 0.059847] [ 2.611885] hantrodec 0 : module inserted. Major = 235
[6.591674 0.003239] [ 2.618211] hantrodec 1 : module inserted. Major = 235
[6.595741 0.004067] [ 2.623375] mmc1: host does not support reading read-only switch, assuming write-enable
[6.602899 0.007158] [ 2.627302] hx280enc: module inserted. Major <511>
[6.607137 0.004238] [ 2.638721] ledtrig-cpu: registered to indicate activity on CPUs
[6.612925 0.005788] [ 2.641505] mmc0: new high speed SDIO card at address 0001
[6.619543 0.006618] [ 2.645873] caam 30900000.caam: ERA source: CCBVID.
[6.624113 0.004570] [ 2.659363] caam 30900000.caam: device ID = 0x0a16040100000000 (Era 9)
[6.629083 0.004970] [ 2.665982] caam 30900000.caam: job rings = 3, qi = 0, dpaa2 = no
[6.663352 0.034269] [ 2.687142] caam algorithms registered in /proc/crypto
[6.669250 0.005898] [ 2.695608] caam_jr 30901000.jr0: registering rng-caam
[6.674481 0.005231] [ 2.701057] caam 30900000.caam: caam pkc algorithms registered in /proc/crypto
[6.680971 0.006490] [ 2.704220] mmc2: new HS400 MMC card at address 0001
[6.684602 0.003631] [ 2.710376] platform caam_sm: blkkey_ex: 2 keystore units available
[6.691086 0.006484] [ 2.714063] mmcblk2: mmc2:0001 Q2J55L 7.09 GiB
[6.694884 0.003798] [ 2.724162] platform caam_sm: 64-bit clear key:
[6.697611 0.002727] [ 2.724556] mmcblk2boot0: mmc2:0001 Q2J55L partition 1 16.0 MiB
[6.707465 0.009854] [ 2.728725] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[6.711491 0.004026] [ 2.735071] mmcblk2boot1: mmc2:0001 Q2J55L partition 2 16.0 MiB
[6.715500 0.004009] [ 2.740322] platform caam_sm: 64-bit black key:
[6.718921 0.003421] [ 2.746652] mmcblk2rpmb: mmc2:0001 Q2J55L partition 3 4.00 MiB
[6.722601 0.003680] [ 2.750832] platform caam_sm: [0000] 7e 26 c1 13 b9 a1 3c f9
[6.725853 0.003252] [ 2.758476] mmcblk2: p1 p2
[6.727985 0.002132] [ 2.763325] platform caam_sm: [0008] e3 87 cf 2b 54 fd 2d 20
[6.730965 0.002980] [ 2.770815] platform caam_sm: 128-bit clear key:
[6.734468 0.003503] [ 2.775458] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[6.754088 0.019620] [ 2.781135] platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
[6.758521 0.004433] [ 2.786816] platform caam_sm: 128-bit black key:
[6.761634 0.003113] [ 2.790657] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
[6.766335 0.004701] [ 2.791453] platform caam_sm: [0000] 73 ea 1c b9 ac 57 fb 6b
[6.771210 0.004875] [ 2.798732] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
[6.775506 0.004296] [ 2.803723] platform caam_sm: [0008] c4 6a 76 dc 2d 8a 2e 97
[6.779836 0.004330] [ 2.803727] platform caam_sm: 192-bit clear key:
[6.784446 0.004610] [ 2.803734] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[6.797619 0.013173] [ 2.816553] mmcblk1: p1 p2
[6.800074 0.002455] [ 2.818484] platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
[6.805071 0.004997] [ 2.818491] platform caam_sm: [0016] 10 11 12 13 14 15 16 17
[6.810257 0.005186] [ 2.838295] platform caam_sm: 192-bit black key:
[6.813761 0.003504] [ 2.842929] platform caam_sm: [0000] f3 02 4a 35 77 6c a3 ed
[6.819293 0.005532] [ 2.848600] platform caam_sm: [0008] 18 f9 18 2c 2e fe cf 6c
[6.824757 0.005464] [ 2.854275] platform caam_sm: [0016] 34 a6 bb 10 cf 42 a6 36
[6.829420 0.004663] [ 2.859946] platform caam_sm: [0024] 00 7a 05 1f 9b 0e 92 6e
[6.837942 0.008522] [ 2.865617] platform caam_sm: 256-bit clear key:
[6.841027 0.003085] [ 2.870246] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[6.844383 0.003356] [ 2.875922] platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
[6.849597 0.005214] [ 2.881593] platform caam_sm: [0016] 10 11 12 13 14 15 16 17
[6.854633 0.005036] [ 2.887263] platform caam_sm: [0024] 18 19 1a 1b 1c 1d 1e 1f
[6.859907 0.005274] [ 2.892932] platform caam_sm: 256-bit black key:
[6.863468 0.003561] [ 2.897561] platform caam_sm: [0000] da ce fd 09 b4 7a d8 44
[6.868064 0.004596] [ 2.903237] platform caam_sm: [0008] 7d e2 40 7b 5b 02 43 b9
[6.881186 0.013122] [ 2.908909] platform caam_sm: [0016] b2 09 7c 0f cf 99 f0 8f
[6.887384 0.006198] [ 2.914580] platform caam_sm: [0024] b6 34 c9 b2 d0 f5 42 f3
[6.893040 0.005656] [ 2.920249] platform caam_sm: 64-bit unwritten blob:
[6.899043 0.006003] [ 2.925225] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[6.905364 0.006321] [ 2.930896] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[6.910032 0.004668] [ 2.936566] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[6.914443 0.004411] [ 2.942265] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[6.919087 0.004644] [ 2.947939] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[6.923667 0.004580] [ 2.953610] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[6.925091 0.001424] [ 2.959280] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[6.926363 0.001272] [ 2.964951] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[6.927846 0.001483] [ 2.970621] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[6.929177 0.001331] [ 2.976291] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[6.930524 0.001347] [ 2.981962] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[6.931664 0.001140] [ 2.987633] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[6.932882 0.001218] [ 2.993301] platform caam_sm: 128-bit unwritten blob:
[6.967725 0.034843] [ 2.998364] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[6.969657 0.001932] [ 3.004035] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[6.971452 0.001795] [ 3.009706] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[6.973042 0.001590] [ 3.015377] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[6.974458 0.001416] [ 3.021047] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[6.976112 0.001654] [ 3.026718] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[6.977675 0.001563] [ 3.032389] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[7.009893 0.032218] [ 3.038059] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[7.012569 0.002676] [ 3.043730] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[7.014908 0.002339] [ 3.049400] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[7.017125 0.002217] [ 3.055071] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[7.019275 0.002150] [ 3.060741] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[7.021573 0.002298] [ 3.066410] platform caam_sm: 196-bit unwritten blob:
[7.023955 0.002382] [ 3.071474] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[7.025387 0.001432] [ 3.077144] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[7.053540 0.028153] [ 3.082814] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[7.055207 0.001667] [ 3.088485] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[7.056569 0.001362] [ 3.094155] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[7.058360 0.001791] [ 3.099825] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[7.060002 0.001642] [ 3.105496] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[7.061553 0.001551] [ 3.111166] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[7.063232 0.001679] [ 3.116836] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[7.064463 0.001231] [ 3.122507] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[7.097382 0.032919] [ 3.128179] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[7.098972 0.001590] [ 3.133849] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[7.100445 0.001473] [ 3.139518] platform caam_sm: 256-bit unwritten blob:
[7.101685 0.001240] [ 3.144581] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[7.102972 0.001287] [ 3.150252] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[7.104512 0.001540] [ 3.155923] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[7.106301 0.001789] [ 3.161598] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[7.139550 0.033249] [ 3.167269] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[7.141538 0.001988] [ 3.172940] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[7.143163 0.001625] [ 3.178610] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[7.145540 0.002377] [ 3.184281] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[7.147275 0.001735] [ 3.189952] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[7.148849 0.001574] [ 3.195623] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[7.150442 0.001593] [ 3.201293] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[7.151900 0.001458] [ 3.206964] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[7.184542 0.032642] [ 3.213403] platform caam_sm: 64-bit black key in blob:
[7.186312 0.001770] [ 3.218647] platform caam_sm: [0000] 30 40 83 8f f7 ef d9 a1
[7.187447 0.001135] [ 3.224319] platform caam_sm: [0008] 78 f8 ad fa be ac 6f 35
[7.189333 0.001886] [ 3.229991] platform caam_sm: [0016] 69 00 05 1f 58 0a 5c 03
[7.190651 0.001318] [ 3.235662] platform caam_sm: [0024] b0 a4 13 f6 e1 02 3e 81
[7.192207 0.001556] [ 3.241333] platform caam_sm: [0032] 4d 0e c0 4e d5 40 9b 22
[7.193627 0.001420] [ 3.247004] platform caam_sm: [0040] 24 68 9d bc 6f cf 7a 00
[7.195087 0.001460] [ 3.252675] platform caam_sm: [0048] d9 a0 03 67 5b ad 70 ca
[7.227883 0.032796] [ 3.258346] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[7.229492 0.001609] [ 3.264016] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[7.230884 0.001392] [ 3.269687] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[7.232510 0.001626] [ 3.275357] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[7.233912 0.001402] [ 3.281027] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[7.235349 0.001437] [ 3.286696] platform caam_sm: 128-bit black key in blob:
[7.237071 0.001722] [ 3.292020] platform caam_sm: [0000] bc 73 41 da 03 c2 31 44
[7.270191 0.033120] [ 3.297691] platform caam_sm: [0008] 79 4f 46 23 a5 02 2f 4f
[7.272264 0.002073] [ 3.303361] platform caam_sm: [0016] 4f d3 b0 3c 42 48 39 32
[7.274524 0.002260] [ 3.309032] platform caam_sm: [0024] 45 ab 3c be cb bd 9e b1
[7.275783 0.001259] [ 3.314703] platform caam_sm: [0032] 4e 96 49 19 7c 35 1e c6
[7.278091 0.002308] [ 3.320374] platform caam_sm: [0040] f5 d2 a2 89 2d 1a 20 3b
[7.279347 0.001256] [ 3.326045] platform caam_sm: [0048] 80 43 fa d3 bc c5 59 cb
[7.280374 0.001027] [ 3.331716] platform caam_sm: [0056] 51 b6 8e 8e 1c a5 e5 20
[7.281615 0.001241] [ 3.337387] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[7.314045 0.032430] [ 3.343057] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[7.316008 0.001963] [ 3.348728] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[7.317528 0.001520] [ 3.354399] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[7.319236 0.001708] [ 3.360067] platform caam_sm: 192-bit black key in blob:
[7.320955 0.001719] [ 3.365390] platform caam_sm: [0000] 5b e3 09 ff 89 f8 4b 83
[7.322702 0.001747] [ 3.371061] platform caam_sm: [0008] 1b 20 1a 34 33 ee 6e a3
[7.323824 0.001122] [ 3.376731] platform caam_sm: [0016] 44 84 52 8c 80 90 db 5a
[7.325533 0.001709] [ 3.382403] platform caam_sm: [0024] fb 1b 4f be 6b 2a b1 8b
[7.357620 0.032087] [ 3.388074] platform caam_sm: [0032] ee 47 ba 43 62 f8 d5 a0
[7.359413 0.001793] [ 3.393745] platform caam_sm: [0040] 63 ee a8 d7 53 44 2e 16
[7.360952 0.001539] [ 3.399415] platform caam_sm: [0048] 99 05 cc f2 f2 9d 87 5e
[7.362235 0.001283] [ 3.405086] platform caam_sm: [0056] c4 f7 c2 8e 7d 65 43 9b
[7.363807 0.001572] [ 3.410757] platform caam_sm: [0064] 28 a2 40 96 4a f3 48 ea
[7.365220 0.001413] [ 3.416430] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[7.366945 0.001725] [ 3.422102] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[7.399914 0.032969] [ 3.427772] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[7.401199 0.001285] [ 3.433440] platform caam_sm: 256-bit black key in blob:
[7.402096 0.000897] [ 3.438764] platform caam_sm: [0000] 0c e4 58 e0 20 31 79 28
[7.403483 0.001387] [ 3.444435] platform caam_sm: [0008] a2 9b df 76 07 01 72 86
[7.404724 0.001241] [ 3.450105] platform caam_sm: [0016] da de 7f a4 74 4f 96 c4
[7.406098 0.001374] [ 3.455776] platform caam_sm: [0024] 27 1a 7c 3c 7c b4 4b 99
[7.407421 0.001323] [ 3.461447] platform caam_sm: [0032] 03 7b 2b ea 3d c5 d3 34
[7.408358 0.000937] [ 3.467118] platform caam_sm: [0040] 52 c2 97 99 50 a5 a2 68
[7.444580 0.036222] [ 3.472789] platform caam_sm: [0048] a4 2e ff 7a b0 26 94 08
[7.446388 0.001808] [ 3.478460] platform caam_sm: [0056] f1 12 5d 02 77 a5 e9 9b
[7.448270 0.001882] [ 3.484131] platform caam_sm: [0064] 97 90 9a 31 cf e6 c6 f1
[7.449768 0.001498] [ 3.489801] platform caam_sm: [0072] aa f8 62 21 32 e7 61 a0
[7.451220 0.001452] [ 3.495472] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[7.452636 0.001416] [ 3.501142] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[7.453976 0.001340] [ 3.507415] platform caam_sm: restored 64-bit black key:
[7.455336 0.001360] [ 3.512745] platform caam_sm: [0000] 76 3c 76 17 ba 83 b6 8a
[7.487991 0.032655] [ 3.518418] platform caam_sm: [0008] 41 ef f1 2e f1 c6 a3 97
[7.489520 0.001529] [ 3.524087] platform caam_sm: restored 128-bit black key:
[7.491688 0.002168] [ 3.529498] platform caam_sm: [0000] 73 ea 1c b9 ac 57 fb 6b
[7.494208 0.002520] [ 3.535168] platform caam_sm: [0008] c4 6a 76 dc 2d 8a 2e 97
[7.496210 0.002002] [ 3.540836] platform caam_sm: restored 192-bit black key:
[7.497678 0.001468] [ 3.546247] platform caam_sm: [0000] f3 02 4a 35 77 6c a3 ed
[7.499428 0.001750] [ 3.551918] platform caam_sm: [0008] 18 f9 18 2c 2e fe cf 6c
[7.500951 0.001523] [ 3.557588] platform caam_sm: [0016] e5 eb bc 08 d6 c6 56 b9
[7.532846 0.031895] [ 3.563259] platform caam_sm: [0024] 11 63 79 d1 55 8b 0d ba
[7.534761 0.001915] [ 3.568928] platform caam_sm: restored 256-bit black key:
[7.536133 0.001372] [ 3.574339] platform caam_sm: [0000] da ce fd 09 b4 7a d8 44
[7.537660 0.001527] [ 3.580010] platform caam_sm: [0008] 7d e2 40 7b 5b 02 43 b9
[7.539073 0.001413] [ 3.585680] platform caam_sm: [0016] b2 09 7c 0f cf 99 f0 8f
[7.540692 0.001619] [ 3.591351] platform caam_sm: [0024] b6 34 c9 b2 d0 f5 42 f3
[7.542222 0.001530] [ 3.597804] caam-snvs 30370000.caam-snvs: can't get snvs clock
[7.583003 0.040781] [ 3.603694] caam-snvs 30370000.caam-snvs: violation handlers armed - non-secure state
[7.585737 0.002734] [ 3.612532] usbcore: registered new interface driver usbhid
[7.587062 0.001325] [ 3.618136] usbhid: USB HID core driver
[7.587793 0.000731] [ 3.625981] optee: probing for conduit method from DT.
[7.588992 0.001199] [ 3.631639] optee: initialized driver
[7.589722 0.000730] [ 3.637682] wm8904 1-001a: 1-001a supply DCVDD not found, using dummy regulator
[7.591469 0.001747] [ 3.645099] wm8904 1-001a: 1-001a supply DBVDD not found, using dummy regulator
[7.593256 0.001787] [ 3.652467] wm8904 1-001a: 1-001a supply AVDD not found, using dummy regulator
[7.623008 0.029752] [ 3.659730] wm8904 1-001a: 1-001a supply CPVDD not found, using dummy regulator
[7.625087 0.002079] [ 3.667082] wm8904 1-001a: 1-001a supply MICVDD not found, using dummy regulator
[7.626722 0.001635] [ 3.675487] wm8904 1-001a: revision A
[7.627458 0.000736] [ 3.689981] imx-wm8904 sound-wm8904: wm8904-hifi <-> 30030000.sai mapping ok
[7.670524 0.043066] [ 3.697095] imx-wm8904 sound-wm8904: ASoC: no DMI vendor name!
[7.672467 0.001943] [ 3.706351] NET: Registered protocol family 26
[7.674037 0.001570] [ 3.711308] NET: Registered protocol family 10
[7.675511 0.001474] [ 3.716545] Segment Routing with IPv6
[7.676227 0.000716] [ 3.720287] NET: Registered protocol family 17
[7.677369 0.001142] [ 3.724748] can: controller area network core (rev 20170425 abi 9)
[7.679153 0.001784] [ 3.731012] NET: Registered protocol family 29
[7.680356 0.001203] [ 3.735472] can: raw protocol (rev 20170425)
[7.712529 0.032173] [ 3.739753] can: broadcast manager protocol (rev 20170425 t)
[7.713905 0.001376] [ 3.745429] can: netlink gateway (rev 20170425) max_hops=1
[7.714919 0.001014] [ 3.751314] Bluetooth: RFCOMM TTY layer initialized
[7.716488 0.001569] [ 3.756221] Bluetooth: RFCOMM socket layer initialized
[7.717695 0.001207] [ 3.761387] Bluetooth: RFCOMM ver 1.11
[7.718651 0.000956] [ 3.765155] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[7.720222 0.001571] [ 3.770476] Bluetooth: BNEP filters: protocol multicast
[7.721767 0.001545] [ 3.775717] Bluetooth: BNEP socket layer initialized
[7.722732 0.000965] [ 3.780691] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[7.751498 0.028766] [ 3.786625] Bluetooth: HIDP socket layer initialized
[7.752922 0.001424] [ 3.791639] lib80211: common routines for IEEE802.11 drivers
[7.754826 0.001904] [ 3.797727] 9pnet: Installing 9P2000 support
[7.755864 0.001038] [ 3.802061] Key type dns_resolver registered
[7.757202 0.001338] [ 3.807495] registered taskstats version 1
[7.813338 0.056136] [ 3.837973] cpu cpu0: registered imx8mq-cpufreq
[7.814260 0.000922] [ 3.843861] imx6q-pcie 33800000.pcie: 33800000.pcie supply epdev_on not found, using dummy regulator
[7.817179 0.002919] [ 3.853717] OF: PCI: host bridge /pcie@0x33800000 ranges:
[7.818473 0.001294] [ 3.859146] OF: PCI: No bus range found for /pcie@0x33800000, using [bus 00-ff]
[7.821294 0.002821] [ 3.866647] OF: PCI: IO 0x1ff80000..0x1ff8ffff -> 0x00000000
[7.823367 0.002073] [ 3.872586] OF: PCI: MEM 0x18000000..0x1fefffff -> 0x18000000
[7.825531 0.002164] [ 3.879179] imx6q-pcie 33800000.pcie: Initialize PHY with EXT REfCLK!.
[7.841149 0.015618] [ 3.886030] imx6q-pcie 33800000.pcie: PHY Initialization End!.
[7.842755 0.001606] [ 3.892295] imx6q-pcie 33800000.pcie: pcie phy pll is locked.
[8.080409 0.237654] [ 4.145863] imx6q-pcie 33800000.pcie: phy link never came up
[8.126465 0.046056] [ 4.151549] imx6q-pcie 33800000.pcie: failed to initialize host
[8.128788 0.002323] [ 4.157479] imx6q-pcie 33800000.pcie: unable to add pcie port.
[8.131042 0.002254] [ 4.163943] imx6q-pcie: probe of 33800000.pcie failed with error -110
[8.133830 0.002788] [ 4.172402] dhd_module_init: in Dongle Host Driver, version 1.579.77.41.11 (r)
[8.136700 0.002870] [ 4.179673] ======== dhd_wlan_init_plat_data ========
[8.138993 0.002293] [ 4.184757] dhd_wlan_init_gpio: WL_REG_ON=42
[8.140641 0.001648] [ 4.189034] dhd_wifi_platform_load: Enter
[8.141562 0.000921] [ 4.193070] Power-up adapter 'DHD generic adapter'
[8.155430 0.013868] [ 4.206196] wifi_platform_set_power = 1
[8.156405 0.000975] [ 4.210134] ======== PULL WL_REG_ON(42) HIGH! ========
[8.459266 0.302861] [ 4.522024] wifi_platform_bus_enumerate device present 1
[8.475358 0.016092] [ 4.543586] bcmsdh_register: register client driver
[8.523095 0.047737] [ 4.548583] bcmsdh_sdmmc_probe: Enter num=1
[8.524653 0.001558] [ 4.552877] bcmsdh_sdmmc_probe: Enter num=2
[8.525801 0.001148] [ 4.557071] bus num (host idx)=0, slot num (rca)=1
[8.527132 0.001331] [ 4.561869] found adapter info 'DHD generic adapter'
[8.528386 0.001254] [ 4.567034] sdioh_attach: set sd_f2_blocksize 256
[8.529298 0.000912] [ 4.571788] sdioh_attach: sd clock rate = 0
[8.530245 0.000947] [ 4.576217] dhdsdio_probe : no mutex held. set lock
[8.531609 0.001364] [ 4.581199] F1 signature read @0x18000000=0x1541a9a6
[8.533176 0.001567] [ 4.589056] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x1 pkg:0x4
[8.568186 0.035010] [ 4.596318] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[8.569969 0.001783] [ 4.602886] dhd_conf_set_chiprev: chip=0xa9a6, chiprev=1
[8.571558 0.001589] [ 4.608323] CFG80211-ERROR) wl_setup_wiphy :
[8.572886 0.001328] [ 4.608326] Registering Vendor80211
[8.573532 0.000646] [ 4.616584] CFG80211-ERROR) wl_init_prof :
[8.574265 0.000733] [ 4.616587] wl_init_prof: No profile
[8.574949 0.000684] [ 4.624454] wl_escan_attach: Enter
[8.575367 0.000418] [ 4.627881] wl_escan_init: Enter
[8.575906 0.000539] [ 4.631157] wl_create_event_handler(): thread:wl_escan_handler:869 started
[8.619019 0.043113] [ 4.631164] tsk Enter, tsk = 0xffff800077770180
[8.620269 0.001250] [ 4.638097] dhd_attach(): thread:dhd_watchdog_thread:86a started
[8.622048 0.001779] [ 4.648738] dhd_attach(): thread:dhd_dpc:86b started
[8.623356 0.001308] [ 4.653835] dhd_attach(): thread:dhd_rxf:86c started
[8.624210 0.000854] [ 4.658824] dhd_deferred_work_init: work queue initialized
[8.625683 0.001473] [ 4.664321] dhd_tcpack_suppress_set: TCP ACK Suppress mode 0 -> mode 2
[8.627371 0.001688] [ 4.670877] dhd_bus_set_default_min_res_mask: Unhandled chip id
[8.628526 0.001155] [ 4.684999] sdioh_cis_read: func_cis_ptr[0]=0x1070
[8.672191 0.043665] [ 4.698661] Dongle Host Driver, version 1.579.77.41.11 (r)
[8.673386 0.001195] [ 4.704635] ANDROID-MSG)
[8.673948 0.000562] [ 4.704641] wl_ext_iapsta_attach_netdev: ifidx=0, bssidx=0
[8.675041 0.001093] [ 4.712774] Register interface [wlan0] MAC: b0:02:47:81:53:93
[8.676755 0.001714] [ 4.712774]
[8.676969 0.000214] [ 4.720247] dhd_tcpack_suppress_set: TCP ACK Suppress mode 2 -> mode 0
[8.678552 0.001583] [ 4.726798] dhd_wl_ioctl: returning as busstate=0
[8.679553 0.001001] [ 4.731521] dhd_bus_devreset: == Power OFF ==
[8.680372 0.000819] [ 4.736190] dhd_txglom_enable: enable 0
[8.681243 0.000871] [ 4.740043] dhd_conf_set_txglom_params: txglom_mode=multi-desc
[8.717164 0.035921] [ 4.745886] dhd_conf_set_txglom_params: txglomsize=0, deferred_tx_len=0
[8.719033 0.001869] [ 4.752517] dhd_conf_set_txglom_params: txinrx_thres=-1, dhd_txminmax=1
[8.720367 0.001334] [ 4.759145] dhd_conf_set_txglom_params: tx_max_offset=0, txctl_tmo_fix=300
[8.721841 0.001474] [ 4.766036] dhd_bus_devreset: WLAN OFF DONE
[8.722461 0.000620] [ 4.770775] wifi_platform_set_power = 0
[8.723311 0.000850] [ 4.774621] ======== PULL WL_REG_ON(42) LOW! ========
[8.724481 0.001170] [ 4.779695] wl_escan_deinit: Enter
[8.725042 0.000561] [ 4.783184] wl_escan_event_handler: was terminated
[8.776699 0.051657] [ 4.788006] wl_destroy_event_handler(): thread:wl_escan_handler:869 terminated OK
[8.778963 0.002264] [ 4.795501] dhdsdio_probe : the lock is released.
[8.780369 0.001406] [ 4.800312] dhd_module_init: Exit err=0
[8.781470 0.001101] [ 4.805076] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[8.782771 0.001301] [ 4.813145] rtc-rx8025 1-0032: hctosys: unable to read the hardware clock
[8.784187 0.001416] [ 4.824289] EXT_PWREN: disabling
[8.784899 0.000712] [ 4.828195] ALSA device list:
[8.785694 0.000795] [ 4.831177] #0: wm8904-audio
[8.824260 0.038566] [ 4.894307] EXT4-fs (mmcblk1p2): recovery complete
[8.869362 0.045102] [ 4.900719] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[8.871254 0.001892] [ 4.908866] VFS: Mounted root (ext4 filesystem) on device 179:130.
[8.872515 0.001261] [ 4.919734] devtmpfs: mounted
[8.873081 0.000566] [ 4.923180] Freeing unused kernel memory: 1280K
[8.964307 0.091226] [ 5.031675] systemd[1]: System time before build time, advancing clock.
[9.029967 0.065660] [ 5.048615] systemd[1]: systemd 237 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)
[9.039969 0.010002] [ 5.070343] systemd[1]: Detected architecture arm64.
[9.042054 0.002085]
[9.042100 0.000046] Welcome to myir i.MX Release Distro 4.14-sumo (sumo)!
[9.044811 0.002711]
[9.044995 0.000184] [ 5.100644] systemd[1]: Set hostname to <myd-imx8mm>.
[9.109194 0.064199] [ 5.178282] systemd[1]: File /lib/systemd/system/systemd-journald.service:35 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[9.156806 0.047612] [ 5.195359] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[9.215262 0.058456] [ 5.284727] random: systemd: uninitialized urandom read (16 bytes read)
[9.279378 0.064116] [ 5.292699] systemd[1]: Created slice System Slice.
[9.280884 0.001506] [ OK ] Created slice System Slice.
[9.281889 0.001005] [ 5.310288] random: systemd: uninitialized urandom read (16 bytes read)
[9.283956 0.002067] [ 5.317335] systemd[1]: Listening on Network Service Netlink Socket.
[9.285567 0.001611] [ OK ] Listening on Network Service Netlink Socket.
[9.286761 0.001194] [ 5.338062] random: systemd: uninitialized urandom read (16 bytes read)
[9.287925 0.001164] [ 5.345151] systemd[1]: Listening on udev Control Socket.
[9.299645 0.011720] [ OK ] Listening on udev Control Socket.
[9.301041 0.001396] [ 5.366480] systemd[1]: Listening on Journal Socket (/dev/log).
[9.388786 0.087745] [ OK ] Listening on Journal Socket (/dev/log).
[9.390245 0.001459] [ 5.386206] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[9.393019 0.002774] [ OK ] Started Dispatch Password Requests to Console Directory Watch.
[9.395713 0.002694] [ OK ] Started Forward Password Requests to Wall Directory Watch.
[9.398536 0.002823] [ OK ] Reached target Paths.
[9.399972 0.001436] [ OK ] Created slice User and Session Slice.
[9.401849 0.001877] [ OK ] Reached target Slices.
[9.404047 0.002198] [ OK ] Listening on udev Kernel Socket.
[9.429375 0.025328] [ OK ] Created slice system-serial\x2dgetty.slice.
[9.431621 0.002246] [ OK ] Created slice system-getty.slice.
[9.445249 0.013628] [ OK ] Listening on Journal Audit Socket.
[9.461227 0.015978] [ OK ] Listening on Journal Socket.
[9.477122 0.015895] Mounting Huge Pages File System...
[9.493204 0.016082] Starting Setup Virtual Console...
[9.509152 0.015948] Mounting POSIX Message Queue File System...
[9.525138 0.015986] Starting Create list of required st…ce nodes for the current kernel...
[9.556863 0.031725] Starting udev Coldplug all Devices...
[9.572171 0.015308] Mounting Kernel Configuration File System...
[9.588207 0.016036] Starting Apply Kernel Variables...
[9.604057 0.015850] Mounting Kernel Debug File System...
[9.620253 0.016196] Starting Remount Root and Kernel File Systems...
[9.645193 0.024940] [ 5.695469] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[9.647007 0.001814] [ OK ] Reached target Swap.
[9.661174 0.014167] Mounting Temporary Directory (/tmp)...
[9.677078 0.015904] [ OK ] Listening on Syslog Socket.
[9.693104 0.016026] Starting Journal Service...
[9.736143 0.043039] [ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[9.737487 0.001344] [ OK ] Reached target Remote File Systems.
[9.752201 0.014714] [ OK ] Mounted Huge Pages File System.
[9.780240 0.028039] [ OK ] Started Setup Virtual Console.
[9.781228 0.000988] [ OK ] Mounted POSIX Message Queue File System.
[9.892122 0.110894] [ OK ] Started Create list of required sta…vice nodes for the current kernel.
[9.894958 0.002836] [ OK ] Mounted Kernel Configuration File System.
[9.897598 0.002640] [ OK ] Started Journal Service.
[9.899067 0.001469] [ OK ] Started Apply Kernel Variables.
[9.900774 0.001707] [ OK ] Mounted Kernel Debug File System.
[9.902826 0.002052] [ OK ] Started Remount Root and Kernel File Systems.
[9.905103 0.002277] [ OK ] Mounted Temporary Directory (/tmp).
[9.907943 0.002840] Starting Rebuild Hardware Database...
[9.924085 0.016142] Starting Create System Users...
[9.940090 0.016005] Starting Flush Journal to Persistent Storage...
[9.956094 0.016004] [ OK ] Started Create System Users.
[9.972101 0.016007] [ OK ] Started udev Coldplug all Devices.
[9.988103 0.016002] Starting Create Static Device Nodes in /dev...
[10.004291 0.016188] [ 6.071545] systemd-journald[2458]: Received request to flush runtime journal from PID 1
[10.034551 0.030260] [ OK ] Started Flush Journal to Persistent Storage.
[10.037528 0.002977] [ OK ] Started Create Static Device Nodes in /dev.
[10.070776 0.033248] [ OK ] Reached target Local File Systems (Pre).
[10.072122 0.001346] Mounting /var/volatile...
[10.085296 0.013174] [ OK ] Reached target Containers.
[10.101100 0.015804] [ OK ] Mounted /var/volatile.
[10.117049 0.015949] Starting Load/Save Random Seed...
[10.133079 0.016030] [ OK ] Reached target Local File Systems.
[10.165156 0.032077] Starting Rebuild Journal Catalog...
[10.181143 0.015987] Starting Rebuild Dynamic Linker Cache...
[10.197061 0.015918] Starting Create Volatile Files and Directories...
[10.213018 0.015957] [ OK ] Started Load/Save Random Seed.
[10.228997 0.015979] [ OK ] Started Rebuild Journal Catalog.
[10.245064 0.016067] [ OK ] Started Rebuild Dynamic Linker Cache.
[10.274014 0.028950] [ OK ] Started Create Volatile Files and Directories.
[10.275702 0.001688] Starting Network Time Synchronization...
[10.305986 0.030284] Starting Update UTMP about System Boot/Shutdown...
[10.333043 0.027057] [ OK ] Started Update UTMP about System Boot/Shutdown.
[10.445109 0.112066] [ OK ] Started Network Time Synchronization.
[10.469875 0.024766] [ OK ] Reached target System Time Synchronized.
[11.397974 0.928099] [ OK ] Started Rebuild Hardware Database.
[11.413969 0.015995] Starting Update is Completed...
[11.429842 0.015873] Starting udev Kernel Device Manager...
[11.445878 0.016036] [ OK ] Started Update is Completed.
[11.461781 0.015903] [ OK ] Started udev Kernel Device Manager.
[11.477961 0.016180] Starting Start Psplash Boot Screen...
[11.494204 0.016243] [ OK ] Reached target System Initialization.
[11.510742 0.016538] [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[11.546298 0.035556] [ OK ] Started Daily Cleanup of Temporary Directories.
[11.548103 0.001805] [ OK ] Reached target Timers.
[11.572898 0.024795] [ OK ] Listening on D-Bus System Message Bus Socket.
[11.574373 0.001475] [ OK ] Listening on RPCbind Server Activation Socket.
[11.589003 0.014630] [ OK ] Reached target Sockets.
[11.604819 0.015816] [ OK ] Reached target Basic System.
[11.620744 0.015925] [ OK ] Started TEE Supplicant.
[11.637340 0.016596] Starting Telephony service...
[11.652771 0.015431] [ OK ] Started D-Bus System Message Bus.
[11.686864 0.034093] [ 7.723966] imx-sdma 302c0000.dma-controller: loaded firmware 4.4
[11.688190 0.001326] [ 7.732085] imx-sdma 302b0000.dma-controller: loaded firmware 4.4
[11.690191 0.002001] [ 7.737733] imx-sdma 30bd0000.dma-controller: loaded firmware 4.4
[11.750960 0.060769] Starting Avahi mDNS/DNS-SD Stack...
[11.766739 0.015779] Starting Login Service...
[11.782785 0.016046] [ OK ] Started System Logging Service.
[11.798841 0.016056] [ OK ] Started Kernel Logging Service.
[11.815052 0.016211] Starting Network Service...
[11.846909 0.031857] [ OK ] Started Start Psplash Boot Screen.
[11.862732 0.015823] [ OK ] Found device /dev/ttymxc1.
[11.878706 0.015974] [ OK ] Started Network Service.
[11.990927 0.112221] [ OK ] Started Telephony service.
[12.006975 0.016048] [ OK ] Started Avahi mDNS/DNS-SD Stack.
[12.054720 0.047745] [ OK ] Started Login Service.
[12.096899 0.042179] [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[12.098926 0.002027] Starting Save/Restore Sound Card State...
[12.100093 0.001167] [ OK ] Created slice system-systemd\x2dbacklight.slice.
[12.113615 0.013522] Starting Load/Save Screen Backlight…s of backlight:lvds_backlight@0...
[12.144743 0.031128] Starting Network Name Resolution...
[12.160815 0.016072] [ OK ] Started Updates psplash to basic.
[12.176910 0.016095] [ OK ] Started Save/Restore Sound Card State.
[12.202784 0.025874] [ OK ] Started Load/Save Screen Backlight …ess of backlight:lvds_backlight@0.
[12.218812 0.016028] Starting Load/Save RF Kill Switch Status...
[12.234810 0.015998] [ OK ] Reached target Sound Card.
[12.257874 0.023064] [ OK ] Started Load/Save RF Kill Switch Status.
[12.273767 0.015893] [ OK ] Started Network Name Resolution.
[12.312668 0.038901] [ OK ] Reached target Host and Network Name Lookups.
[12.314290 0.001622] [ OK ] Reached target Network.
[12.328820 0.014530] [ OK ] Started Update psplash to network.
[12.344767 0.015947] Starting Terminate Psplash Boot Screen...
[12.360923 0.016156] Starting Permit User Sessions...
[12.392792 0.031869] [ OK ] Started Terminate Psplash Boot Screen.
[12.408708 0.015916] [ OK ] Started Permit User Sessions.
[12.424637 0.015929] [ OK ] Started Getty on tty1.
[12.440628 0.015991] [ OK ] Started Serial Getty on ttymxc1.
[12.456818 0.016190] [ OK ] Reached target Login Prompts.
[12.472718 0.015900] [ OK ] Reached target Multi-User System.
[12.488724 0.016006] Starting Update UTMP about System Runlevel Changes...
[12.529718 0.040994] [ OK ] Started Update UTMP about System Runlevel Changes.
[13.537557 1.007839]
[13.553527 0.015970] myir i.MX Release Distro 4.14-sumo myd-imx8mm ttymxc1
[13.554973 0.001446]
[13.569444 0.014471] myd-imx8mm login:
下面以MYD-C8MMX开发板为例,我们对Linux系统的三个部分进行优化,优化的内容如下
Bootloader部分
- 取消auto boot timeout
- 移除不需要的驱动和启动方式
- 缩减bootcmd的启动命令参数
Kernel部分
- 移除不需要的驱动模块
- 对于非启动必要驱动,可以改变builtin为module方式来加载
- 添加quiet参数到启动参数,减少不必要的kernel输出信息
RootFS部分
- 从systemd中移除不需要的service
- 固定网络设备的配置信息,禁用systemd network服务
- 对于不需要的service,可以先禁用,等应用启动后再启用
优化后的Linux系统启动时间统计
[0.000001 0.000001]
[0.282176 0.282175] U-Boot SPL 2018.03-odm-imx8mm-dev+g05e0bb9 (Oct 19 2020 - 02:15:26 +0000)
[0.010743 0.010743] power_bd71837_init
[0.012549 0.001806] DRAM PHY training for 2400MTS
[0.019834 0.007285] check ddr4_pmu_train_imem code
[0.031438 0.011604] check ddr4_pmu_train_imem code pass
[0.038458 0.007020] check ddr4_pmu_train_dmem code
[0.042209 0.003751] check ddr4_pmu_train_dmem code pass
[0.049741 0.007532] Training PASS
[0.052476 0.002735] DRAM PHY training for 400MTS
[0.059115 0.006639] check ddr4_pmu_train_imem code
[0.073378 0.014263] check ddr4_pmu_train_imem code pass
[0.079736 0.006358] check ddr4_pmu_train_dmem code
[0.085109 0.005373] check ddr4_pmu_train_dmem code pass
[0.104432 0.019323] Training PASS
[0.110450 0.006018] DRAM PHY training for 100MTS
[0.121159 0.010709] check ddr4_pmu_train_imem code
[0.147971 0.026812] check ddr4_pmu_train_imem code pass
[0.156054 0.008083] check ddr4_pmu_train_dmem code
[0.166014 0.009960] check ddr4_pmu_train_dmem code pass
[0.230945 0.064931] Training PASS
[0.235494 0.004549] DRAM PHY training for 2400MTS
[0.242372 0.006878] check ddr4_pmu_train_imem code
[0.254117 0.011745] check ddr4_pmu_train_imem code pass
[0.260052 0.005935] check ddr4_pmu_train_dmem code
[0.264410 0.004358] check ddr4_pmu_train_dmem code pass
[0.399860 0.135450] Training PASS
[0.436756 0.036896] Normal Boot
[0.440576 0.003820] Trying to boot from MMC1
[1.031493 0.590917]
[1.031757 0.000264]
[1.031896 0.000139] U-Boot 2018.03-odm-imx8mm-dev+g05e0bb9 (Oct 19 2020 - 02:15:26 +0000)
[1.041046 0.009150]
[1.041197 0.000151] CPU: Freescale i.MX8MMQ rev1.0 1600 MHz (running at 1200 MHz)
[1.044773 0.003576] CPU: Industrial temperature grade (-40C to 125C) at 33C
[1.169418 0.124645] Reset cause: POR
[1.174589 0.005171] Model: FSL i.MX8MM DDR4 EVK board
[1.176928 0.002339] DRAM: 2 GiB
[1.323708 0.146780] NAND: 0 MiB
[1.728462 0.404754] MMC: FSL_SDHC: 0, FSL_SDHC: 1
[1.752380 0.023918] Loading Environment from MMC... *** Warning - bad CRC, using default environment
[1.842498 0.090118]
[1.842836 0.000338] Failed (-5)
[1.845771 0.002935] In: serial
[1.848372 0.002601] Out: serial
[1.849565 0.001193] Err: serial
[1.851090 0.001525]
[1.851261 0.000171] BuildInfo:
[1.852184 0.000923] - ATF 1cb68fa
[1.854167 0.001983] - U-Boot 2018.03-odm-imx8mm-dev+g05e0bb9
[1.857547 0.003380]
[1.932646 0.075099] switch to partitions #0, OK
[1.938904 0.006258] mmc0 is current device
[1.941807 0.002903] flash target is MMC:0
[2.024173 0.082366] Net:
[2.028253 0.004080] Error: ethernet@30be0000 address not set.
[2.120450 0.092197] No ethernet found.
[2.125698 0.005248] Fastboot: Normal
[2.127541 0.001843] Normal Boot
[2.128729 0.001188] Hit any key to stop autoboot: 0
[2.207355 0.078626] switch to partitions #0, OK
[2.214170 0.006815] mmc0 is current device
[2.300217 0.086047] ** Unable to read file boot.scr **
[3.008728 0.708511] 16198144 bytes read in 701 ms (22 MiB/s)
[3.017054 0.008326] Booting from mmc ...
[3.037418 0.020364] 44181 bytes read in 17 ms (2.5 MiB/s)
[3.044738 0.007320] ## Flattened Device Tree blob at 43000000
[3.048842 0.004104] Booting using the fdt blob at 0x43000000
[3.052614 0.003772] Using Device Tree in place at 0000000043000000, end 000000004300dc94
[3.059343 0.006729]
[3.059398 0.000055] Starting kernel ...
[3.061362 0.001964]
[3.069031 0.007669] [ 0.000000] Booting Linux on physical CPU 0x0
[3.075688 0.006657] [ 0.000000] Linux version 4.14.98-odm-imx8mm-dev+gfb9f1dd (oe-user@oe-host) (gcc version 7.3.0 (GCC)) #1 SMP PREEMPT Mon Oct 19 12:58:52 UTC 2020
[3.089818 0.014130] [ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[3.095128 0.005310] [ 0.000000] Machine model: FSL i.MX8MM EVK board
[3.099518 0.004390] [ 0.000000] earlycon: ec_imx6q0 at MMIO 0x0000000030890000 (options '115200')
[3.105647 0.006129] [ 0.000000] bootconsole [ec_imx6q0] enabled
[3.697384 0.591737] [ 0.447778] dmi: Firmware registration failed.
[3.965757 0.268373] [ 0.716077] fec 30be0000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
[4.080901 0.115144] [ 0.831286] Goodix-TS 2-0014: i2c test failed attempt 1: -6
[4.112830 0.031929] [ 0.863264] Goodix-TS 2-0014: i2c test failed attempt 2: -6
[4.144684 0.031854] [ 0.895063] Goodix-TS 2-0014: I2C communication failure: -6
[4.305010 0.160326] [ 1.055216] caam-snvs 30370000.caam-snvs: can't get snvs clock
[4.359128 0.054118] [ 1.109397] rtc-rx8025 1-0032: hctosys: unable to read the hardware clock
[5.350631 0.991503] [FAILED] Failed to start /etc/rc.local Compatibility.
[5.365412 0.014781] See 'systemctl status rc-local.service' for details.
[5.454804 0.089392] [ OK ] Started Weston Wayland Compositor (on tty7).
[5.488088 0.033284] [ OK ] Started Terminate Psplash Boot Screen.
[5.516372 0.028284] [ OK ] Found device /dev/ttymxc1.
[5.564020 0.047648] [ OK ] Started Kernel Logging Service.
[5.630170 0.066150] Starting Save/Restore Sound Card State...
[5.646577 0.016407] [ OK ] Created slice system-systemd\x2dbacklight.slice.
[5.668535 0.021958] Starting Load/Save Screen Backlight…s of backlight:lvds_backlight@0...
[5.688388 0.019853] [ OK ] Created slice User Slice of root.
[5.706696 0.018308] Starting User Manager for UID 0...
[5.727124 0.020428] [ OK ] Started Getty on tty1.
[5.750155 0.023031] [ OK ] Started Serial Getty on ttymxc1.
[5.766719 0.016564] [ OK ] Reached target Login Prompts.
[5.782962 0.016243] [ OK ] Reached target Multi-User System.
[5.803690 0.020728] Starting Update UTMP about System Runlevel Changes...
[5.830559 0.026869] [ OK ] Started Save/Restore Sound Card State.
[5.849815 0.019256] [ OK ] Started User Manager for UID 0.
[5.870857 0.021042] [ OK ] Started Load/Save Screen Backlight …ess of backlight:lvds_backlight@0.
[5.931346 0.060489] [ OK ] Started Update UTMP about System Runlevel Changes.
[6.009587 0.078241] [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[6.028011 0.018424] [ OK ] Started Session c1 of user root.
[6.041272 0.013261] [ OK ] Reached target Sound Card.
[7.063975 1.022703]
[7.073126 0.009151] myir i.MX Release Distro 4.14-sumo myd-imx8mm ttymxc1
[7.080793 0.007667]
[7.084587 0.003794] myd-imx8mm login: