PinePhone

My very meager attempt at getting OpenBSD functional, for some definition of functional, on the Pine64 PinePhone.

Contents

  1. Introduction
  2. Installation
  3. Building from Source
  4. Missing Drivers
  5. SunXI Mali GPU
  6. Goodix GT917s Touchscreen
  7. RTL8723CS
  8. sxidrm
  9. Other Drivers
  10. Quectel EG25-G

1. Introduction

In September 2020 I purchased a PinePhone 1.2 Community Edition. It is the one with 3GB of ram and a USB-C dock. By default it runs some bad postmarket operating system (Linux based) with the usual mash of new, under (over?) developed, experimental, buggy software.

The first thing I wanted to do, and the whole reason I bought the device, was to try and port OpenBSD to it. Now, OpenBSD already has an arm64 port but this was my first experience with it. It turns out all the core processor/memory and hard disk support was already there but many device specific drivers are missing.

2. Installation

A custom U-boot is needed to boot from the micro sd card that can be inserted into the PinePhone. After that is built, you can write the default aarch64 OpenBSD install to the card and then the custom U-boot.

Installation is best done via serial port, accessed via the headphone jack after flipping the 6th DIP switch under the removable back case.

No network devices are configured by default, so one way to access the installation sets is to put them on the PinePhones built in memory card. The filesystem there is EXT4, but uses an option that OpenBSD's EXT4 driver does not support. After removing that option the sets can be mounted and installed.

The current OpenBSD distribution does not have many drivers for the PinePhone, including graphics and networking.

This is my latest U-Boot output:

milz:/home/milz:1$ cu -l cuaU0 -s 115200
Connected to /dev/cuaU0 (speed 115200)

U-Boot SPL 2021.07-rc4-dirty (Aug 03 2021 - 11:55:22 -0700)
DRAM: 3072 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.4(debug):2.4
NOTICE:  BL31: Built : 15:32:53, Apr 19 2021
NOTICE:  BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE:  BL31: Found U-Boot DTB at 0x408e1b0, model: Pine64 PinePhone (1.2)
INFO:    ARM GICv2 driver initialized
INFO:    Configuring SPC Controller
INFO:    PMIC: Probing AXP803 on RSB
INFO:    PMIC: dcdc1 voltage: 3.300V
INFO:    PMIC: dcdc5 voltage: 1.200V
INFO:    PMIC: dcdc6 voltage: 1.100V
INFO:    PMIC: dldo1 voltage: 3.300V
INFO:    PMIC: dldo2 voltage: 1.800V
INFO:    PMIC: dldo3 voltage: 2.800V
INFO:    PMIC: dldo4 voltage: 1.800V
INFO:    PMIC: fldo1 voltage: 1.200V
INFO:    PMIC: Enabling DC SW
INFO:    BL31: Platform setup done
INFO:    BL31: Initializing runtime services
INFO:    BL31: cortex_a53: CPU workaround for 843419 was applied
INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied
WARNING: BL31: cortex_a53: CPU workaround for 1530924 was missing!
ERROR:   MHU: Unexpected protocol (MHU status: 0x0)
NOTICE:  PSCI: System suspend is unavailable
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x4a000000
INFO:    SPSR = 0x3c9


U-Boot 2021.07-rc4-dirty (Aug 03 2021 - 11:55:22 -0700) Allwinner Technology

CPU:   Allwinner A64 (SUN50I)
Model: Pine64 PinePhone (1.2)
DRAM:  3 GiB
MMC:   mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1... In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
starting USB...
No working controllers found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Scanning disk mmc@1c0f000.blk...
** Unrecognized filesystem type **
Card did not respond to voltage select! : -110
Scanning disk mmc@1c10000.blk...
Disk mmc@1c10000.blk not ready
Scanning disk mmc@1c11000.blk...
Found 6 disks
No EFI system partition
BootOrder not defined
EFI boot manager: Cannot load any image
Found EFI removable media binary efi/boot/bootaa64.efi
168696 bytes read in 16 ms (10.1 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Booting /efi\boot\bootaa64.efi
disks: sd0* sd1
>> OpenBSD/arm64 BOOTAA64 1.2
boot>
	

This is my latest dmesg(8)

booting sd0a:/bsd: 9079148+1885000+572704+827760 [661454+109+1093728+638448]=0xf9e8e0
type 0x2 pa 0x40000000 va 0x40000000 pages 0x4000 attr 0x8
type 0x7 pa 0x44000000 va 0x44000000 pages 0x3ef2 attr 0x8
type 0x9 pa 0x47ef2000 va 0x47ef2000 pages 0x1c attr 0x8
type 0x7 pa 0x47f0e000 va 0x47f0e000 pages 0xb014c attr 0x8
type 0x2 pa 0xf805a000 va 0xf805a000 pages 0xd98 attr 0x8
type 0x7 pa 0xf8df2000 va 0xf8df2000 pages 0x1 attr 0x8
type 0x2 pa 0xf8df3000 va 0xf8df3000 pages 0x100 attr 0x8
type 0x1 pa 0xf8ef3000 va 0xf8ef3000 pages 0x2a attr 0x8
type 0x0 pa 0xf8f1d000 va 0xf8f1d000 pages 0x7 attr 0x8
type 0x4 pa 0xf8f24000 va 0xf8f24000 pages 0x1 attr 0x8
type 0x6 pa 0xf8f25000 va 0xa1f22d000 pages 0x4 attr 0x8000000000000008
type 0x4 pa 0xf8f29000 va 0xf8f29000 pages 0x1 attr 0x8
type 0x6 pa 0xf8f2a000 va 0xa1f232000 pages 0x4 attr 0x8000000000000008
type 0x0 pa 0xf8f2e000 va 0xf8f2e000 pages 0x1 attr 0x8
type 0x4 pa 0xf8f2f000 va 0xf8f2f000 pages 0x1 attr 0x8
type 0x0 pa 0xf8f30000 va 0xf8f30000 pages 0x1 attr 0x8
type 0x4 pa 0xf8f31000 va 0xf8f31000 pages 0x2 attr 0x8
type 0x0 pa 0xf8f33000 va 0xf8f33000 pages 0x2 attr 0x8
type 0x4 pa 0xf8f35000 va 0xf8f35000 pages 0x1 attr 0x8
type 0x0 pa 0xf8f36000 va 0xf8f36000 pages 0x1 attr 0x8
type 0x4 pa 0xf8f37000 va 0xf8f37000 pages 0x2 attr 0x8
type 0x0 pa 0xf8f39000 va 0xf8f39000 pages 0x1 attr 0x8
type 0x4 pa 0xf8f3a000 va 0xf8f3a000 pages 0x2 attr 0x8
type 0x2 pa 0xf8f3c000 va 0xf8f3c000 pages 0x5024 attr 0x8
type 0x5 pa 0xfdf60000 va 0xa24268000 pages 0x10 attr 0x8000000000000008
type 0x2 pa 0xfdf70000 va 0xfdf70000 pages 0x2090 attr 0x8
[ using 2394704 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2021 OpenBSD. All rights reserved.  https://www.OpenBSD.org

OpenBSD 6.9-current (GENERIC.MP) #0: Fri Jul 30 15:30:32 MDT 2021
    root@pinephone.0x30.net:/sys/arch/arm64/compile/GENERIC.MP
real mem  = 3087261696 (2944MB)
avail mem = 2959912960 (2822MB)
random: good seed from bootblocks
mainbus0 at root: Pine64 PinePhone (1.2)
psci0 at mainbus0: PSCI 1.1, SMCCC 1.2
cpu0 at mainbus0 mpidr 0: ARM Cortex-A53 r0p4
cpu0: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu0: 512KB 64b/line 16-way L2 cache
cpu0: CRC32,SHA2,SHA1,AES+PMULL,ASID16
cpu1 at mainbus0 mpidr 1: ARM Cortex-A53 r0p4
cpu1: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu1: 512KB 64b/line 16-way L2 cache
cpu1: CRC32,SHA2,SHA1,AES+PMULL,ASID16
cpu2 at mainbus0 mpidr 2: ARM Cortex-A53 r0p4
cpu2: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu2: 512KB 64b/line 16-way L2 cache
cpu2: CRC32,SHA2,SHA1,AES+PMULL,ASID16
cpu3 at mainbus0 mpidr 3: ARM Cortex-A53 r0p4
cpu3: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu3: 512KB 64b/line 16-way L2 cache
cpu3: CRC32,SHA2,SHA1,AES+PMULL,ASID16
efi0 at mainbus0: UEFI 2.8
efi0: Das U-Boot rev 0x20210700
apm0 at mainbus0
"display-engine" at mainbus0 not configured
"osc24M_clk" at mainbus0 not configured
"osc32k_clk" at mainbus0 not configured
"pmu" at mainbus0 not configured
simpleaudio0 at mainbus0
agtimer0 at mainbus0: 24000 kHz
simplebus0 at mainbus0: "soc"
sxisyscon0 at simplebus0
sxisid0 at simplebus0
sxiccmu0 at simplebus0
sxipio0 at simplebus0: 103 pins
ampintc0 at simplebus0 nirq 224, ncpu 4 ipi: 0, 1: "interrupt-controller"
sxirtc0 at simplebus0
sxiccmu1 at simplebus0
sxipio1 at simplebus0: 13 pins
sxirsb0 at simplebus0
axppmic0 at sxirsb0 addr 0x3a3: AXP803
"bus" at simplebus0 not configured
"dma-controller" at simplebus0 not configured
"lcd-controller" at simplebus0 not configured
"lcd-controller" at simplebus0 not configured
"video-codec" at simplebus0 not configured
sximmc0 at simplebus0
sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma
sximmc1 at simplebus0
sdmmc1 at sximmc1: 4-bit, sd high-speed, mmc high-speed, dma
sximmc2 at simplebus0
sdmmc2 at sximmc2: 8-bit, sd high-speed, mmc high-speed, dma
"crypto" at simplebus0 not configured
"mailbox" at simplebus0 not configured
"usb" at simplebus0 not configured
"phy" at simplebus0 not configured
ehci0 at simplebus0
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Generic EHCI root hub" rev 2.00/1.00 addr 1
ohci0 at simplebus0: version 1.0
ehci1 at simplebus0
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Generic EHCI root hub" rev 2.00/1.00 addr 1
ohci1 at simplebus0: version 1.0
"lradc" at simplebus0 not configured
"dai" at simplebus0 not configured
"codec" at simplebus0 not configured
sxitemp0 at simplebus0
com0 at simplebus0: ns16550, no working fifo
com0: console
com1 at simplebus0: ns16550, no working fifo
com2 at simplebus0: ns16550, no working fifo
sxitwi0 at simplebus0
iic0 at sxitwi0
"goodix,gt917s" at iic0 addr 0x5d not configured
sxitwi1 at simplebus0
iic1 at sxitwi1
lis0 at iic1 addr 0x1e, who am i = 3d, ctrl_reg3 = 03, int_cfg = e8, ctrl_reg3 = 00, int_cfg = e9, ctrl_reg3 = 00, int_cfg = e9
stk0 at iic1 addr 0x48error 5
stk0: can't read register 0x3e
id = ff
"invensense,mpu6050" at iic1 addr 0x68 not configured
sxitwi2 at simplebus0
iic2 at sxitwi2
"gpu" at simplebus0 not configured
"dram-controller" at simplebus0 not configured
"dsi" at simplebus0 not configured
"d-phy" at simplebus0 not configured
"deinterlace" at simplebus0 not configured
"hdmi-phy" at simplebus0 not configured
"interrupt-controller" at simplebus0 not configured
"codec-analog" at simplebus0 not configured
sxipwm0 at simplebus0
sxidog0 at simplebus0
gpio0 at sxipio0: 32 pins
gpio1 at sxipio0: 32 pins
gpio2 at sxipio0: 32 pins
gpio3 at sxipio0: 32 pins
gpio4 at sxipio0: 32 pins
gpio5 at sxipio0: 32 pins
gpio6 at sxipio0: 32 pins
gpio7 at sxipio0: 32 pins
gpio8 at sxipio1: 32 pins
usb2 at ohci0: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "Generic OHCI root hub" rev 1.00/1.00 addr 1
usb3 at ohci1: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "Generic OHCI root hub" rev 1.00/1.00 addr 1
"opp_table0" at mainbus0 not configured
pwmbl0 at mainbus0
leds0 at mainbus0: 3 LEDs
"ps-regulator" at mainbus0 not configured
"vbat-wifi" at mainbus0 not configured
"led-controller" at mainbus0 not configured
simpleamp0 at mainbus0
vibrator0 at mainbus0
"wifi-pwrseq" at mainbus0 not configured
"binman" at mainbus0 not configured
dt: 445 probes
scsibus0 at sdmmc2: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0:  removable
sd0: 29820MB, 512 bytes/sector, 61071360 sectors
scsibus1 at sdmmc0: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0:  removable
sd1: 60906MB, 512 bytes/sector, 124735488 sectors
rtwn0 at sdmmc1 function 1
rtwn0: MAC/BB RTL8723CS, RF 6052 1T1R, address ff:ff:ff:ff:ff:ff
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd1a (070e7f0cb60a90a2.a) swap on sd1b dump on sd1b
	

3. Building from Source

Updating the src tree must be done on another machine as OpenBSD on PinePhone does not have any working networking drivers. For such a small device it compiles well, I have done many full source rebuilds without overheating or stability issues.

The kernel currently takes about 23 minutes to build:

pinephone# cd /sys/arch/arm64/compile/GENERIC.MP
pinephone# time make -j4
[...]
ctfstrip -S -o bsd bsd.gdb
   23m28.23s real    71m53.00s user    13m03.77s system
pinephone#
	

And userland takes about 20 hours without Xenocara, the time mostly spent compiling LLVM:

pinephone# cd /usr/src
pinephone# time make -j4 build
[...]
1192m50.26s real  3945m53.34s user   393m18.71s system
pinephone#
	

Missing Drivers

Lots of devices on the PinePhone currently do not work:

Fortunately however the processor and MP support works, memory subsystem, sd cards, serial console, and power management. Battery charging works under certain conditions.

SunXI Mali GPU

Currently (Aug 5, 2021) no support for sxidrm exists. NetBSD has some code for it, I have tried porting but it is a WIP.

Goodix GT917s Touchscreen

No code, there exists at least a Linux driver. I have not looked at it.

Quectel EG25-G

The modem is its own computer outright. I was able to get a dmesg by connecting to the serial console. Linux 3.18 in debug mode, note the following warning with misspelled 'produciton' and all:

**********************************************************
**   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
**                                                      **
** trace_printk() being used. Allocating extra memory.  **
**                                                      **
** This means that this is a DEBUG kernel and it is     **
** unsafe for produciton use.                           **
**                                                      **
** If you see this message and you are not debugging    **
** the kernel, report this immediately to your vendor!  **
**                                                      **
**   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
**********************************************************
	
<6>[    0.000000] Booting Linux on physical CPU 0x0
<5>[    0.000000] Linux version 3.18.44 (quectel@192.168.10.64) (gcc version 4.9.3 (GCC) ) #1 PREEMPT Tue Dec 3 17:41:44 CST 2019
<6>[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
<6>[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
<6>[    0.000000] Machine model: Qualcomm Technologies, Inc. MDM 9607 MTP
<6>[    0.000000] Reserved memory: reserved region for node 'modem_adsp_region@0': base 0x82a00000, size 80 MiB
<6>[    0.000000] Reserved memory: reserved region for node 'cnss_debug_region@0': base 0x87a00000, size 2 MiB
<6>[    0.000000] Reserved memory: reserved region for node 'external_image_region@0': base 0x87c00000, size 4 MiB
<6>[    0.000000] Removed memory: created DMA memory pool at 0x82a00000, size 80 MiB
<6>[    0.000000] Reserved memory: initialized node modem_adsp_region@0, compatible id removed-dma-pool
<6>[    0.000000] Removed memory: created DMA memory pool at 0x87a00000, size 2 MiB
<6>[    0.000000] Reserved memory: initialized node cnss_debug_region@0, compatible id removed-dma-pool
<6>[    0.000000] Removed memory: created DMA memory pool at 0x87c00000, size 4 MiB
<6>[    0.000000] Reserved memory: initialized node external_image_region@0, compatible id removed-dma-pool
<6>[    0.000000] Reserved memory: allocated memory for 'audio_region@0' node: base 0x8fc00000, size 4 MiB
<6>[    0.000000] Reserved memory: created CMA memory pool at 0x8fc00000, size 4 MiB
<6>[    0.000000] Reserved memory: initialized node audio_region@0, compatible id shared-dma-pool
<6>[    0.000000] cma: Reserved 4 MiB at 0x8f800000
<6>[    0.000000] Memory policy: Data cache writeback
<7>[    0.000000] On node 0 totalpages: 64000
<7>[    0.000000] free_area_init_node: node 0, pgdat c0b2f6f4, node_mem_map cf5ce000
<7>[    0.000000]   Normal zone: 512 pages used for memmap
<7>[    0.000000]   Normal zone: 0 pages reserved
<7>[    0.000000]   Normal zone: 64000 pages, LIFO batch:15
<6>[    0.000000] CPU: All CPU(s) started in SVC mode.
<7>[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
<7>[    0.000000] pcpu-alloc: [0] 0 
<4>[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 63488
<5>[    0.000000] Kernel command line: noinitrd ro console=ttyHSL0,115200,n8 androidboot.hardware=qcom ehci-hcd.park=3 msm_rtb.filter=0x37 lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78b3000 androidboot.serialno=f4ada4ac androidboot.authorized_kernel=true androidboot.baseband=msm rootfstype=ubifs rootflags=bulk_read root=ubi0:rootfs ubi.mtd=16 ubi.mtd=11
<6>[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
<4>[    0.000000] Memory: 150264K/256000K available (7206K kernel code, 580K rwdata, 3144K rodata, 286K init, 1309K bss, 105736K reserved)
<5>[    0.000000] Virtual kernel memory layout:
<5>[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
<5>[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
<5>[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
<5>[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
<5>[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
<5>[    0.000000]       .text : 0xc0008000 - 0xc0711a6c   (7207 kB)
<5>[    0.000000]       .init : 0xc0a5c000 - 0xc0aa3954   ( 287 kB)
<5>[    0.000000]       .data : 0xc0aa4000 - 0xc0b353cc   ( 581 kB)
<5>[    0.000000]        .bss : 0xc0b35490 - 0xc0c7c97c   (1310 kB)
<6>[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
<6>[    0.000000] Preemptible hierarchical RCU implementation.
<4>[    0.000000] 
<4>[    0.000000] **********************************************************
<4>[    0.000000] **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
<4>[    0.000000] **                                                      **
<4>[    0.000000] ** trace_printk() being used. Allocating extra memory.  **
<4>[    0.000000] **                                                      **
<4>[    0.000000] ** This means that this is a DEBUG kernel and it is     **
<4>[    0.000000] ** unsafe for produciton use.                           **
<4>[    0.000000] **                                                      **
<4>[    0.000000] ** If you see this message and you are not debugging    **
<4>[    0.000000] ** the kernel, report this immediately to your vendor!  **
<4>[    0.000000] **                                                      **
<4>[    0.000000] **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
<4>[    0.000000] **********************************************************
<6>[    0.000000] NR_IRQS:16 nr_irqs:16 16
<2>[    0.000000] GIC CPU mask not found - kernel will fail to boot.
<2>[    0.000000] GIC CPU mask not found - kernel will fail to boot.
<4>[    0.000000] mpm_init_irq_domain(): Cannot find irq controller for qcom,gpio-parent
<3>[    0.000000] MPM 1 irq mapping errored -517
<6>[    0.000000] Architected mmio timer(s) running at 19.20MHz (virt).
<6>[    0.000009] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 3579139424256ns
<6>[    0.000025] Switching to timer-based delay loop, resolution 52ns
<6>[    0.000043] Switched to clocksource arch_mem_counter
<6>[    0.000793] Console: colour dummy device 80x30
<6>[    0.000815] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
<6>[    0.000831] pid_max: default: 32768 minimum: 301
<6>[    0.000928] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.000941] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.001451] CPU: Testing write buffer coherency: ok
<6>[    0.001792] Setting up static identity map for 0x80710ed8 - 0x80710f30
<6>[    0.002825] MSM Memory Dump base table set up
<6>[    0.002862] MSM Memory Dump apps data table set up
<6>[    0.006265] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
<6>[    0.007234] pinctrl core: initialized pinctrl subsystem
<6>[    0.007617] regulator-dummy: no parameters
<6>[    0.040348] NET: Registered protocol family 16
<6>[    0.042171] DMA: preallocated 256 KiB pool for atomic coherent allocations
<6>[    0.100099] cpuidle: using governor ladder
<6>[    0.130093] cpuidle: using governor menu
<6>[    0.160091] cpuidle: using governor qcom
<6>[    0.168118] msm_watchdog b017000.qcom,wdt: wdog absent resource not present
<6>[    0.168399] msm_watchdog b017000.qcom,wdt: MSM Watchdog Initialized
<4>[    0.171036] irq: no irq domain found for /soc/pinctrl@1000000 !
<4>[    0.172172] irq: no irq domain found for /soc/pinctrl@1000000 !
<6>[    0.172848] platform soc:qcom,msm-audio-ion: assigned reserved memory node audio_region@0
<3>[    0.176637] spmi_pmic_arb 200f000.qcom,spmi: PMIC Arb Version-2 0x20010000
<6>[    0.179080] platform 4080000.qcom,mss: assigned reserved memory node modem_adsp_region@0
<4>[    0.179582] irq: no irq domain found for /soc/pinctrl@1000000 !
<4>[    0.180643] irq: no irq domain found for /soc/pinctrl@1000000 !
<6>[    0.181778] mem_acc_corner: 0 <--> 0 mV 
<6>[    0.182837] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
<6>[    0.182851] hw-breakpoint: maximum watchpoint size is 8 bytes.
<7>[    0.183805] gpiochip_add: registered GPIOs 0 to 79 on device: 1000000.pinctrl
<7>[    0.183826] GPIO chip 1000000.pinctrl: created GPIO range 0->79 ==> 1000000.pinctrl PIN 0->79
<4>[    0.184312] __of_mpm_init(): MPM driver mapping exists
<4>[    0.184865] msm_rpm_glink_dt_parse: qcom,rpm-glink compatible not matches
<6>[    0.184880] msm_rpm_dev_probe: APSS-RPM communication over SMD
<6>[    0.184892] smd_open() before smd_init()
<3>[    0.185493] msm_mpm_dev_probe(): Cannot get clk resource for XO: -517
<3>[    0.187835] smd_channel_probe_now: allocation table not initialized
<6>[    0.189746] mdm9607_s1: 1050 <--> 1350 mV at 1100 mV normal idle 
<6>[    0.189912] spm_regulator_probe: name=mdm9607_s1, range=LV, voltage=1100000 uV, mode=AUTO, step rate=4800 uV/us
<6>[    0.190638] cpr_efuse_init: apc_corner: efuse_addr = 0x000a4000 (len=0x1000)
<6>[    0.190688] cpr_read_fuse_revision: apc_corner: fuse revision = 2
<6>[    0.190707] cpr_parse_speed_bin_fuse: apc_corner: [row: 37]: 0x28e10832f4ada4ac, speed_bits = 4
<6>[    0.190787] cpr_pvs_init: apc_corner: pvs voltage: [1050000 1100000 1237500] uV
<6>[    0.190801] cpr_pvs_init: apc_corner: ceiling voltage: [1050000 1225000 1350000] uV
<6>[    0.190814] cpr_pvs_init: apc_corner: floor voltage: [1050000 1050000 1150000] uV
<6>[    0.193721] msm-thermal soc:qcom,msm-thermal: msm_thermal:Failed reading node=/soc/qcom,msm-thermal, key=qcom,core-limit-temp. err=-22. KTM continues
<6>[    0.193755] msm-thermal soc:qcom,msm-thermal: probe_therm_reset:Failed reading node=/soc/qcom,msm-thermal, key=qcom,therm-reset-temp err=-22. KTM continues
<3>[    0.193811] msm_thermal:msm_thermal_dev_probe Failed reading node=/soc/qcom,msm-thermal, key=qcom,online-hotplug-core. err:-517
<6>[    0.194797] sps:sps is ready.
<4>[    0.196918] msm_rpm_glink_dt_parse: qcom,rpm-glink compatible not matches
<6>[    0.196935] msm_rpm_dev_probe: APSS-RPM communication over SMD
<6>[    0.197848] mdm9607_s2: 750 <--> 1275 mV at 750 mV normal idle 
<6>[    0.198547] mdm9607_s3_level: 0 <--> 0 mV at 0 mV normal idle 
<6>[    0.199006] mdm9607_s3_level_ao: 0 <--> 0 mV at 0 mV normal idle 
<6>[    0.199453] mdm9607_s3_floor_level: 0 <--> 0 mV at 0 mV normal idle 
<6>[    0.199871] mdm9607_s3_level_so: 0 <--> 0 mV at 0 mV normal idle 
<6>[    0.200656] mdm9607_s4: 1800 <--> 1950 mV at 1800 mV normal idle 
<6>[    0.201290] mdm9607_l1: 1250 mV normal idle 
<6>[    0.201917] mdm9607_l2: 1800 mV normal idle 
<6>[    0.202542] mdm9607_l3: 1800 mV normal idle 
<6>[    0.203169] mdm9607_l4: 3075 mV normal idle 
<6>[    0.203823] mdm9607_l5: 1700 <--> 3050 mV at 1700 mV normal idle 
<6>[    0.204461] mdm9607_l6: 1700 <--> 3050 mV at 1700 mV normal idle 
<6>[    0.205103] mdm9607_l7: 1700 <--> 1900 mV at 1700 mV normal idle 
<6>[    0.205723] mdm9607_l8: 1800 mV normal idle 
<6>[    0.206385] mdm9607_l9: 1200 <--> 1250 mV at 1200 mV normal idle 
<6>[    0.207021] mdm9607_l10: 1050 mV normal idle 
<6>[    0.207674] mdm9607_l11: 1800 mV normal idle 
<6>[    0.208339] mdm9607_l12_level: 0 <--> 0 mV at 0 mV normal idle 
<6>[    0.208833] mdm9607_l12_level_ao: 0 <--> 0 mV at 0 mV normal idle 
<6>[    0.209296] mdm9607_l12_level_so: 0 <--> 0 mV at 0 mV normal idle 
<6>[    0.209783] mdm9607_l12_floor_lebel: 0 <--> 0 mV at 0 mV normal idle 
<6>[    0.210727] mdm9607_l13: 1800 <--> 2850 mV at 2850 mV normal idle 
<6>[    0.211374] mdm9607_l14: 2650 <--> 3000 mV at 2650 mV normal idle 
<3>[    0.211608] msm_mpm_dev_probe(): Cannot get clk resource for XO: -517
<6>[    0.211889] cpr_efuse_init: apc_corner: efuse_addr = 0x000a4000 (len=0x1000)
<6>[    0.211938] cpr_read_fuse_revision: apc_corner: fuse revision = 2
<6>[    0.211957] cpr_parse_speed_bin_fuse: apc_corner: [row: 37]: 0x28e10832f4ada4ac, speed_bits = 4
<6>[    0.212037] cpr_pvs_init: apc_corner: pvs voltage: [1050000 1100000 1237500] uV
<6>[    0.212051] cpr_pvs_init: apc_corner: ceiling voltage: [1050000 1225000 1350000] uV
<6>[    0.212064] cpr_pvs_init: apc_corner: floor voltage: [1050000 1050000 1150000] uV
<6>[    0.212248] cpr_init_cpr_parameters: apc_corner: up threshold = 2, down threshold = 3
<6>[    0.212277] cpr_init_cpr_parameters: apc_corner: CPR is enabled by default.
<6>[    0.212307] cpr_init_cpr_efuse: apc_corner: [row:65] = 0x1580029129136f
<6>[    0.212328] cpr_init_cpr_efuse: apc_corner: CPR disable fuse = 0
<6>[    0.212342] cpr_init_cpr_efuse: apc_corner: Corner[1]: ro_sel = 0, target quot = 657
<6>[    0.212355] cpr_init_cpr_efuse: apc_corner: Corner[2]: ro_sel = 0, target quot = 657
<6>[    0.212368] cpr_init_cpr_efuse: apc_corner: Corner[3]: ro_sel = 0, target quot = 879
<6>[    0.212542] cpr_config: apc_corner: Timer count: 0x17700 (for 5000 us)
<6>[    0.212986] apc_corner: 0 <--> 0 mV 
<6>[    0.213643] msm-thermal soc:qcom,msm-thermal: msm_thermal:Failed reading node=/soc/qcom,msm-thermal, key=qcom,core-limit-temp. err=-22. KTM continues
<6>[    0.213675] msm-thermal soc:qcom,msm-thermal: probe_therm_reset:Failed reading node=/soc/qcom,msm-thermal, key=qcom,therm-reset-temp err=-22. KTM continues
<3>[    0.213777] msm_thermal:get_kernel_cluster_info CPU0 topology not initialized.
<3>[    0.214612] cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19)
<3>[    0.214627] msm_thermal:get_cpu_freq_plan_len Error reading CPU0 freq table len. error:-19
<6>[    0.214636] msm_thermal:vdd_restriction_reg_init Defer vdd rstr freq init.
<3>[    0.215095] cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19)
<3>[    0.215109] msm_thermal:get_cpu_freq_plan_len Error reading CPU0 freq table len. error:-19
<3>[    0.215124] cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19)
<3>[    0.215134] msm_thermal:get_cpu_freq_plan_len Error reading CPU0 freq table len. error:-19
<6>[    0.223110] qcom,gcc-mdm9607 1800000.qcom,gcc: Registered GCC clocks
<6>[    0.223507] clock-a7 b010008.qcom,clock-a7: Speed bin: 4 PVS Version: 0
<6>[    0.223575] a7ssmux: set OPP pair(400000000 Hz: 1 uV) on cpu0
<6>[    0.223611] a7ssmux: set OPP pair(1305600000 Hz: 7 uV) on cpu0
<7>[    0.281506] gpiochip_find_base: found new base at 1018
<7>[    0.281652] gpiochip_add: registered GPIOs 1018 to 1023 on device: pm8019-gpio
<7>[    0.281937] qcom,qpnp-pin qpnp-pin-6: qpnp_pin_probe: gpio_chip registered between 1018-1023
<7>[    0.282100] gpiochip_find_base: found new base at 1012
<7>[    0.282227] gpiochip_add: registered GPIOs 1012 to 1017 on device: pm8019-mpp
<7>[    0.282646] qcom,qpnp-pin qpnp-pin-7: qpnp_pin_probe: gpio_chip registered between 1012-1017
<6>[    0.282931] KPI: Bootloader start count = 30462
<6>[    0.282943] KPI: Bootloader end count = 76584
<6>[    0.282953] KPI: Bootloader display count = 2776777761
<6>[    0.282963] KPI: Bootloader load kernel count = 28127
<6>[    0.282973] KPI: Kernel MPM timestamp = 98077
<6>[    0.282982] KPI: Kernel MPM Clock frequency = 32768
<6>[    0.283014] socinfo_print: v0.10, id=297, ver=1.0, raw_id=72, raw_ver=0, hw_plat=8, hw_plat_ver=65536
<6>[    0.283014]  accessory_chip=0, hw_plat_subtype=0, pmic_model=65539, pmic_die_revision=131074 foundry_id=1 serial_number=4105020588
<7>[    0.283409] of_get_named_gpiod_flags: parsed 'gpio' property of node '/soc/sdcard_ext_vreg[0]' - status (0)
<6>[    0.283630] sdcard_ext_vreg: no parameters
<7>[    0.283825] of_get_named_gpiod_flags: parsed 'gpio' property of node '/soc/rome_vreg[0]' - status (0)
<6>[    0.284018] rome_vreg: no parameters
<7>[    0.284181] of_get_named_gpiod_flags: parsed 'gpio' property of node '/soc/emac_lan_vreg[0]' - status (0)
<6>[    0.284352] emac_lan_vreg: no parameters
<5>[    0.285363] SCSI subsystem initialized
<6>[    0.285564] usbcore: registered new interface driver usbfs
<6>[    0.285650] usbcore: registered new interface driver hub
<6>[    0.285822] usbcore: registered new device driver usb
<6>[    0.286390] i2c-msm-v2 78b6000.i2c: probing driver i2c-msm-v2
<3>[    0.286488] AXI: msm_bus_scale_register_client(): msm_bus_scale_register_client: Bus driver not ready.
<6>[    0.286506] i2c-msm-v2 78b6000.i2c: msm_bus_scale_register_client(mstr-id:86):0 (not a problem)
<6>[    0.288817] pps_core: LinuxPPS API ver. 1 registered
<6>[    0.288834] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti 
<6>[    0.289588] cpufreq: driver msm up and running
<6>[    0.290206] platform soc:qcom,ion:qcom,ion-heap@28: assigned reserved memory node audio_region@0
<6>[    0.290702] ION heap system created
<6>[    0.290879] ION heap audio created at 0x8fc00000 with size 400000
<6>[    0.290894] ION heap qsecom created at 0x8f800000 with size 400000
<3>[    0.291241] msm_bus_fabric_init_driver
<6>[    0.297309] qcom,qpnp-power-on qpnp-power-on-1: PMIC@SID0 Power-on reason: Triggered from CBL (external power supply) and 'cold' boot
<6>[    0.297338] qcom,qpnp-power-on qpnp-power-on-1: PMIC@SID0: Unknown power-off reason
<6>[    0.297560] input: qpnp_pon as /devices/virtual/input/input0
<6>[    0.297907] PMIC@SID0: PM8019 v2.2 options: 3, 2, 2, 2
<6>[    0.298618] Advanced Linux Sound Architecture Driver Initialized.
<6>[    0.299201] Bluetooth: cf1e9ed0
<6>[    0.299239] NET: Registered protocol family 31
<6>[    0.299249] Bluetooth: cf1e9ed0
<6>[    0.299261] Bluetooth: cf1e9ec8Bluetooth: cf1e9eb8
<6>[    0.299302] Bluetooth: cf1e9eb8<6>[    0.299559] cfg80211: Calling CRDA to update world regulatory domain
<6>[    0.299587] cfg80211: World regulatory domain updated:
<6>[    0.299595] cfg80211:  DFS Master region: unset
<6>[    0.299603] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
<6>[    0.299614] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
<6>[    0.299623] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
<6>[    0.299633] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
<6>[    0.299642] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
<6>[    0.299652] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
<6>[    0.299661] cfg80211:   (5490000 KHz - 5710000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
<6>[    0.299671] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
<6>[    0.299680] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
<6>[    0.300684] Switched to clocksource arch_mem_counter
<6>[    0.318865] NET: Registered protocol family 2
<6>[    0.319438] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
<6>[    0.319465] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
<6>[    0.319488] TCP: Hash tables configured (established 2048 bind 2048)
<6>[    0.319534] TCP: reno registered
<6>[    0.319547] UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.319563] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.319699] NET: Registered protocol family 1
<6>[    0.321505] futex hash table entries: 256 (order: -1, 3072 bytes)
<6>[    0.326084] msgmni has been set to 309
<6>[    0.327551] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
<6>[    0.327568] io scheduler noop registered
<6>[    0.327580] io scheduler deadline registered
<6>[    0.327671] io scheduler cfq registered (default)
<7>[    0.327756] gpiochip_find_base: found new base at 980
<7>[    0.327861] gpiochip_add: registered GPIOs 980 to 1011 on device: smp2p
<7>[    0.327998] gpiochip_find_base: found new base at 948
<7>[    0.328076] gpiochip_add: registered GPIOs 948 to 979 on device: smp2p
<7>[    0.328109] gpiochip_find_base: found new base at 916
<7>[    0.328179] gpiochip_add: registered GPIOs 916 to 947 on device: smp2p
<7>[    0.328292] gpiochip_find_base: found new base at 884
<7>[    0.328365] gpiochip_add: registered GPIOs 884 to 915 on device: smp2p
<7>[    0.328405] gpiochip_find_base: found new base at 852
<7>[    0.328478] gpiochip_add: registered GPIOs 852 to 883 on device: slave-kernel
<7>[    0.328571] gpiochip_find_base: found new base at 852
<7>[    0.328643] gpiochip_add: registered GPIOs 852 to 883 on device: master-kernel
<5>[    0.333277] msm_rpm_log_probe: OK
<4>[    0.334285] pil-q6v5-mss 4080000.qcom,mss: Failed to find the pas_id.
<7>[    0.334324] of_get_named_gpiod_flags: parsed 'qcom,gpio-proxy-unvote' property of node '/soc/qcom,mss@4080000[0]' - status (-517)
<7>[    0.335173] of_get_named_gpiod_flags: can't parse 'qcom,tx-gpio' property of node '/soc/uart@78b1000[0]'
<3>[    0.335186] uart_tx_gpio is not available
<7>[    0.335197] of_get_named_gpiod_flags: can't parse 'qcom,rx-gpio' property of node '/soc/uart@78b1000[0]'
<3>[    0.335204] uart_rx_gpio is not available
<7>[    0.335213] of_get_named_gpiod_flags: can't parse 'qcom,cts-gpio' property of node '/soc/uart@78b1000[0]'
<3>[    0.335220] uart_cts_gpio is not available
<7>[    0.335229] of_get_named_gpiod_flags: can't parse 'qcom,rfr-gpio' property of node '/soc/uart@78b1000[0]'
<3>[    0.335236] uart_rfr_gpio is not available
<3>[    0.335725] sps: BAM device 0x07884000 is not registered yet.
<6>[    0.335983] sps:BAM 0x07884000 is registered.
<6>[    0.338013] 78b1000.uart: ttyHS0 at MMIO 0x78b1000 (irq = 27, base_baud = 460800) is a MSM HS UART
<6>[    0.339867] msm_serial_hs module loaded
<6>[    0.340351] msm_serial_hsl_probe: detected port #0 (ttyHSL0)
<3>[    0.340395] AXI: get_pdata(): Error: Client name not found
<3>[    0.340404] AXI: msm_bus_cl_get_pdata(): client has to provide missing entry for successful registration
<3>[    0.340411] msm_serial_hsl_probe: Bus scaling is disabled
<6>[    0.340526] 78b3000.serial: ttyHSL0 at MMIO 0x78b3000 (irq = 24, base_baud = 460800) is a MSM
<6>[    0.340580] msm_hsl_console_setup: console setup on port #0
<6>[    0.341190] console [ttyHSL0] enabled
<6>[    0.341556] msm_serial_hsl_init: driver initialized
<6>[    0.355906] brd: module loaded
<6>[    0.358112] loop: module loaded
<4>[    0.360375] [Max][DTR]  [quectel_power_manager_probe:549] 
<7>[    0.360496] of_get_named_gpiod_flags: parsed 'gpios' property of node '/soc/quec,quectel-power-manager[0]' - status (0)
<4>[    0.360509] [Max][DTR] quectel_dt_parse_gpio_info: cnt: 0, gpio[dtr] = 5
<7>[    0.360540] of_get_named_gpiod_flags: parsed 'gpios' property of node '/soc/quec,quectel-power-manager[1]' - status (0)
<4>[    0.360551] [Max][DTR] quectel_dt_parse_gpio_info: cnt: 1, gpio[wakeup_in] = 25
<7>[    0.360589] of_get_named_gpiod_flags: parsed 'gpios' property of node '/soc/quec,quectel-power-manager[2]' - status (0)
<4>[    0.360599] [Max][DTR] quectel_dt_parse_gpio_info: cnt: 2, gpio[sleep_ind] = 74
<4>[    0.360608] [Max][DTR] quectel_power_manager_probe: find dtr: 5 
<4>[    0.360616] [Max][DTR] quectel_power_manager_probe: find wakeup_in: 25 
<4>[    0.360623] [Max][DTR] quectel_power_manager_probe: find sleep_ind: 74 
<4>[    0.360710] [lory][wakeupin] wakeup trigger to double-edge-triggered
<4>[    0.360766] [lory][sleepind] sleep ind init 
<4>[    0.360820] [lory][sleep] create  file sleep_polarity success
<4>[    0.360827] [Max][DTR] quectel_power_manager_probe: OK ###############################
<4>[    0.361046] i2c-core: driver [tabla-i2c-core] using legacy suspend method
<4>[    0.361055] i2c-core: driver [tabla-i2c-core] using legacy resume method
<4>[    0.361153] i2c-core: driver [wcd9xxx-i2c-core] using legacy suspend method
<4>[    0.361160] i2c-core: driver [wcd9xxx-i2c-core] using legacy resume method
<4>[    0.361266] i2c-core: driver [tasha-i2c-core] using legacy suspend method
<4>[    0.361275] i2c-core: driver [tasha-i2c-core] using legacy resume method
<6>[    0.361553] QCE50: __qce_get_device_tree_data: BAM Apps EE is not defined, setting to default 1
<6>[    0.362007] qce 720000.qcedev: Qualcomm Crypto 5.3.3 device found @0x720000
<6>[    0.362027] qce 720000.qcedev: CE device = 0x0
<6>[    0.362027] , IO base, CE = 0xd0b40000
<6>[    0.362027] , Consumer (IN) PIPE 2,    Producer (OUT) PIPE 3
<6>[    0.362027] IO base BAM = 0x  (null)
<6>[    0.362027] BAM IRQ 45
<6>[    0.362027] Engines Availability = 0x2010853
<6>[    0.362282] sps:BAM 0x00704000 is registered.
<6>[    0.362581] sps:BAM 0x00704000 (va:0xd0b80000) enabled: ver:0x27, number of pipes:8
<6>[    0.363050] QCE50: qce_sps_init:  Qualcomm MSM CE-BAM at 0x0000000000704000 irq 45
<6>[    0.365790] QCE50: __qce_get_device_tree_data: BAM Apps EE is not defined, setting to default 1
<6>[    0.366284] qcrypto 720000.qcrypto: Qualcomm Crypto 5.3.3 device found @0x720000
<6>[    0.366302] qcrypto 720000.qcrypto: CE device = 0x0
<6>[    0.366302] , IO base, CE = 0xd0bc0000
<6>[    0.366302] , Consumer (IN) PIPE 4,    Producer (OUT) PIPE 5
<6>[    0.366302] IO base BAM = 0x  (null)
<6>[    0.366302] BAM IRQ 45
<6>[    0.366302] Engines Availability = 0x2010853
<6>[    0.366934] QCE50: qce_sps_init:  Qualcomm MSM CE-BAM at 0x0000000000704000 irq 45
<6>[    0.369157] qcrypto 720000.qcrypto: qcrypto-ecb-aes
<6>[    0.369295] qcrypto 720000.qcrypto: qcrypto-cbc-aes
<6>[    0.369453] qcrypto 720000.qcrypto: qcrypto-ctr-aes
<6>[    0.369597] qcrypto 720000.qcrypto: qcrypto-ecb-des
<6>[    0.369741] qcrypto 720000.qcrypto: qcrypto-cbc-des
<6>[    0.369886] qcrypto 720000.qcrypto: qcrypto-ecb-3des
<6>[    0.370039] qcrypto 720000.qcrypto: qcrypto-cbc-3des
<6>[    0.370328] qcrypto 720000.qcrypto: qcrypto-xts-aes
<6>[    0.370481] qcrypto 720000.qcrypto: qcrypto-sha1
<6>[    0.370633] qcrypto 720000.qcrypto: qcrypto-sha256
<6>[    0.370778] qcrypto 720000.qcrypto: qcrypto-aead-hmac-sha1-cbc-aes
<6>[    0.370923] qcrypto 720000.qcrypto: qcrypto-aead-hmac-sha1-cbc-des
<6>[    0.371069] qcrypto 720000.qcrypto: qcrypto-aead-hmac-sha1-cbc-3des
<6>[    0.371214] qcrypto 720000.qcrypto: qcrypto-aead-hmac-sha256-cbc-aes
<6>[    0.371365] qcrypto 720000.qcrypto: qcrypto-aead-hmac-sha256-cbc-des
<6>[    0.371514] qcrypto 720000.qcrypto: qcrypto-aead-hmac-sha256-cbc-3des
<6>[    0.371658] qcrypto 720000.qcrypto: qcrypto-hmac-sha1
<6>[    0.371802] qcrypto 720000.qcrypto: qcrypto-hmac-sha256
<6>[    0.371946] qcrypto 720000.qcrypto: qcrypto-aes-ccm
<6>[    0.372092] qcrypto 720000.qcrypto: qcrypto-rfc4309-aes-ccm
<6>[    0.372421] SCSI Media Changer driver v0.25 
<3>[    0.376062] sps: BAM device 0x07984000 is not registered yet.
<6>[    0.376311] sps:BAM 0x07984000 is registered.
<6>[    0.376332] msm_nand_bam_init: msm_nand_bam_init: BAM device registered: bam_handle 0xce441800
<6>[    0.376577] sps:BAM 0x07984000 (va:0xd0b20000) enabled: ver:0x18, number of pipes:7
<6>[    0.378501] msm_nand_parse_smem_ptable: Parsing partition table info from SMEM
<6>[    0.378548] msm_nand_parse_smem_ptable: SMEM partition table found: ver: 4 len: 17
<6>[    0.378573] msm_nand_version_check: nand_major:1, nand_minor:5, qpic_major:1, qpic_minor:5
<3>[    0.378914] msm_nand_flash_onfi_probe: CRC Check failed on param page
<6>[    0.378951] msm_nand_scan: NAND Id: 0x1590aaad Buswidth: 8Bits Density: 256 MByte
<6>[    0.378961] msm_nand_scan: pagesize: 2048 Erasesize: 131072 oobsize: 128 (in Bytes)
<6>[    0.378968] msm_nand_scan: BCH ECC: 4 Bit
<6>[    0.378982] msm_nand_scan: CFG0: 0x2a0408c0,           CFG1: 0x0804745c
<6>[    0.378982]             RAWCFG0: 0x2c8400c0,        RAWCFG1: 0x0005055d
<6>[    0.378982]           ECCBUFCFG: 0x00000203,      ECCBCHCFG: 0x42040700
<6>[    0.378982]           RAWECCCFG: 0x42000701, BAD BLOCK BYTE: 0x000001d1
<5>[    0.379003] Creating 17 MTD partitions on "7980000.nand":
<5>[    0.379024] 0x000000000000-0x000000140000 : "sbl"
<5>[    0.379697] 0x000000140000-0x000000280000 : "mibib"
<5>[    0.380378] 0x000000280000-0x000001380000 : "efs2"
<5>[    0.380933] 0x000001380000-0x000001880000 : "sys_rev"
<5>[    0.381427] 0x000001880000-0x0000019c0000 : "rawdata"
<5>[    0.381943] 0x0000019c0000-0x000001b40000 : "tz"
<5>[    0.382437] 0x000001b40000-0x000001c60000 : "rpm"
<5>[    0.382943] 0x000001c60000-0x000001e60000 : "cust_info"
<5>[    0.383464] 0x000001e60000-0x000001fe0000 : "aboot"
<5>[    0.383990] 0x000001fe0000-0x0000027a0000 : "boot"
<5>[    0.384545] 0x0000027a0000-0x000002f60000 : "recovery"
<5>[    0.385095] 0x000002f60000-0x0000064e0000 : "modem"
<5>[    0.385616] 0x0000064e0000-0x000006580000 : "misc"
<5>[    0.386104] 0x000006580000-0x0000079c0000 : "recoveryfs"
<5>[    0.386609] 0x0000079c0000-0x00000b740000 : "usr_data"
<5>[    0.387113] 0x00000b740000-0x00000b7c0000 : "sec"
<5>[    0.387637] 0x00000b7c0000-0x000010000000 : "system"
<6>[    0.388173] msm_nand_probe: NANDc phys addr 0x7980000, BAM phys addr 0x7984000, BAM IRQ 30
<6>[    0.388185] msm_nand_probe: Allocated DMA buffer at virt_addr 0xcf844000, phys_addr 0x8f844000
<6>[    0.389135] tun: Universal TUN/TAP device driver, 1.6
<6>[    0.389148] tun: (C) 1999-2004 Max Krasnyansky 
<6>[    0.389242] vcan: Virtual CAN interface driver
<6>[    0.389255] CAN device driver interface
<6>[    0.390658] PPP generic driver version 2.4.2
<6>[    0.391827] cnss_sdio:cnss_configure_ramdump:553:: ramdump addr: d2c00000, phys: 0x87a00000 subsys:'AR6320'
<6>[    0.391848] cnss_sdio 87a00000.qcom,cnss-sdio: for AR6320 segments only will be dumped.
<6>[    0.391982] subsys-restart: subsys_register(): @Ramos  desc->name =[AR6320]  , subsys->desc name=[AR6320]  fw_name=[AR6320]
<6>[    0.392180] subsys-restart: subsys_set_state(): [cf1e4000]: subsys_set_state 2
<6>[    0.392235] cnss_sdio 87a00000.qcom,cnss-sdio: CNSS SDIO Driver registered
<6>[    0.392754] msm_otg 78d9000.usb: msm_otg probe
<7>[    0.393010] of_get_named_gpiod_flags: can't parse 'qcom,hub-reset-gpio' property of node '/soc/usb@78d9000[0]'
<7>[    0.393022] of_get_named_gpiod_flags: can't parse 'qcom,usbeth-reset-gpio' property of node '/soc/usb@78d9000[0]'
<7>[    0.393033] of_get_named_gpiod_flags: can't parse 'qcom,sw-sel-gpio' property of node '/soc/usb@78d9000[0]'
<7>[    0.393074] of_get_named_gpiod_flags: parsed 'qcom,usbid-gpio' property of node '/soc/usb@78d9000[0]' - status (0)
<7>[    0.393093] of_get_named_gpiod_flags: can't parse 'qcom,hsusb-otg-vddmin-gpio' property of node '/soc/usb@78d9000[0]'
<6>[    0.394740] msm_otg 78d9000.usb: OTG regs = d08fe000
<6>[    0.396905] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<6>[    0.397213] ehci-msm: Qualcomm On-Chip EHCI Host Controller
<6>[    0.397520] usbcore: registered new interface driver cdc_acm
<6>[    0.397530] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
<6>[    0.397617] usbcore: registered new interface driver usb-storage
<6>[    0.397661] usbcore: registered new interface driver ums-alauda
<6>[    0.397707] usbcore: registered new interface driver ums-cypress
<6>[    0.397748] usbcore: registered new interface driver ums-datafab
<6>[    0.397789] usbcore: registered new interface driver ums-freecom
<6>[    0.397830] usbcore: registered new interface driver ums-isd200
<6>[    0.397870] usbcore: registered new interface driver ums-jumpshot
<6>[    0.397911] usbcore: registered new interface driver ums-karma
<6>[    0.397952] usbcore: registered new interface driver ums-onetouch
<6>[    0.397991] usbcore: registered new interface driver ums-sddr09
<6>[    0.398030] usbcore: registered new interface driver ums-sddr55
<6>[    0.398072] usbcore: registered new interface driver ums-usbat
<6>[    0.398126] usbcore: registered new interface driver usb_ehset_test
<6>[    0.399050] gbridge_init: gbridge_init successs.
<6>[    0.400723] qcom,qpnp-rtc qpnp-rtc-5: rtc core: registered qpnp_rtc as rtc0
<6>[    0.400884] i2c /dev entries driver
<3>[    0.401592] unable to find DT imem DLOAD mode node
<3>[    0.401897] unable to find DT imem EDLOAD mode node
<3>[    0.402164] unable to find DT imem dload-type node
<6>[    0.405285] msm_otg 78d9000.usb: phy_reset: success
<6>[    0.422960] Bluetooth: cf1e9ed0
<6>[    0.422973] Bluetooth: cf1e9ec8Bluetooth: cf1e9ec8
<7>[    0.423114] of_get_named_gpiod_flags: parsed 'qca,bt-reset-gpio' property of node '/bt_qca6174[0]' - status (0)
<6>[    0.423127] bt_dt_parse_vreg_info: qca,bt-vdd-core: is not provided in device tree
<4>[    0.423188] bt_power bt_qca6174: no qca,bt-vdd-pa-voltage-level property
<6>[    0.423199] bt_dt_parse_vreg_info: qca,bt-vdd-ldo: is not provided in device tree
<6>[    0.423207] bt_dt_parse_vreg_info: qca,bt-chip-pwd: is not provided in device tree
<6>[    0.424037] sdhci: Secure Digital Host Controller Interface driver
<6>[    0.424050] sdhci: Copyright(c) Pierre Ossman
<6>[    0.424064] sdhci-pltfm: SDHCI platform and OF driver helper
<6>[    0.424327] usbcore: registered new interface driver usbhid
<6>[    0.424335] usbhid: USB HID core driver
<4>[    0.430547] sdhci_msm 7824900.sdhci: sdhci_msm_probe: ICE device is not enabled
<7>[    0.430572] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/soc/sdhci@7824900[0]'
<6>[    0.430592] sdhci_msm 7824900.sdhci: No vreg data found for vdd
<3>[    0.430798] sdhci_msm 7824900.sdhci: sdhci_msm_pm_qos_parse_irq: error -22 reading irq cpu
<5>[    0.430810] sdhci_msm 7824900.sdhci: sdhci_msm_pm_qos_parse: PM QoS voting for IRQ will be disabled
<5>[    0.430823] sdhci_msm 7824900.sdhci: sdhci_msm_pm_qos_parse: PM QoS voting for cpu group will be disabled
<6>[    0.440302] sdhci_msm 7824900.sdhci: sdhci_msm_probe: sdiowakeup_irq = 110
<6>[    0.440600] sdhci_msm 7824900.sdhci: No vmmc regulator found
<6>[    0.440613] sdhci_msm 7824900.sdhci: No vqmmc regulator found
<6>[    0.440936] mmc0: SDHCI controller on 7824900.sdhci [7824900.sdhci] using 32-bit ADMA in legacy mode
<4>[    0.469521] sdhci_msm 7864900.sdhci: sdhci_msm_probe: ICE device is not enabled
<7>[    0.469560] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/soc/sdhci@07864900[0]' - status (0)
<6>[    0.469581] sdhci_msm 7864900.sdhci: No vreg data found for vdd
<3>[    0.469863] sdhci_msm 7864900.sdhci: sdhci_msm_pm_qos_parse_irq: error -22 reading irq cpu
<5>[    0.469874] sdhci_msm 7864900.sdhci: sdhci_msm_pm_qos_parse: PM QoS voting for IRQ will be disabled
<5>[    0.469887] sdhci_msm 7864900.sdhci: sdhci_msm_pm_qos_parse: PM QoS voting for cpu group will be disabled
<6>[    0.491195] sdhci_msm 7864900.sdhci: No vmmc regulator found
<6>[    0.491212] sdhci_msm 7864900.sdhci: No vqmmc regulator found
<6>[    0.493953] mmc1: SDHCI controller on 7864900.sdhci [7864900.sdhci] using 32-bit ADMA in legacy mode
<7>[    0.633801] of_get_named_gpiod_flags: can't parse 'qcom,gpio-mode-sel' property of node '/soc/usb_detect[0]'
<6>[    0.634996] bimc-bwmon 408000.qcom,cpu-bwmon: BW HWmon governor registered.
<3>[    0.635614] devfreq soc:qcom,cpubw: Couldn't update frequency transition information.
<4>[    0.635839] i2c-core: driver [bmi160] using legacy suspend method
<4>[    0.635849] i2c-core: driver [bmi160] using legacy resume method
<6>[    0.636013] coresight-fuse a601c.fuse: QPDI fuse not specified
<6>[    0.636115] coresight-fuse a601c.fuse: Fuse initialized
<6>[    0.638541] coresight-csr 6001000.csr: CSR initialized
<6>[    0.638995] coresight-tmc 6026000.tmc: Byte Counter feature enabled
<6>[    0.639246] sps:BAM 0x06084000 is registered.
<6>[    0.639479] coresight-tmc 6026000.tmc: TMC initialized
<6>[    0.639754] coresight-tmc 6025000.tmc: TMC initialized
<6>[    0.642675] nidnt boot config: 0
<6>[    0.643683] coresight-tpiu 6020000.tpiu: NIDnT on SDCARD only mode
<6>[    0.643804] coresight-tpiu 6020000.tpiu: TPIU initialized
<6>[    0.644857] coresight-replicator 6024000.replicator: REPLICATOR initialized
<6>[    0.645340] coresight-stm 6002000.stm: STM initialized
<6>[    0.645700] coresight-hwevent 606c000.hwevent: Hardware Event driver initialized
<4>[    0.645879] @Quectel0125 Qstart_init entry !!!
<4>[    0.647323] aic3x_i2c_probe: entry.
<3>[    0.647492] i2c-msm-v2 78b6000.i2c: msm_bus_scale_register_client(mstr-id:86):0xa (ok)
<3>[    0.647651] i2c-msm-v2 78b6000.i2c: BUS ERROR:noisy bus/unexpected start/stop tag: msgs(n:2 cur:0 tx) bc(rx:1 tx:1) mode:FIFO slv_addr:0x18 MSTR_STS:0x001121c4 OPER:0x00000000
<3>[    0.671340] i2c-msm-v2 78b6000.i2c: error timeout on polling for valid state. check core_clk
<3>[    0.671398] tlv320aic3x-codec 2-0018: Failed to read device ID
<4>[    0.671465] tlv320aic3x-codec: probe of 2-0018 failed with error -5
<4>[    0.671523] enter quec_stub_modinit
<4>[    0.671596] quec_stub_i2c_probe: ret = 0
<3>[    0.671794] i2c-msm-v2 78b6000.i2c: BUS ERROR:noisy bus/unexpected start/stop tag: msgs(n:1 cur:0 tx) bc(rx:0 tx:2) mode:FIFO slv_addr:0x1a MSTR_STS:0x001121c4 OPER:0x00000080
<3>[    0.694824] i2c-msm-v2 78b6000.i2c: error timeout on polling for valid state. check core_clk
<3>[    0.694921] i2c-msm-v2 78b6000.i2c: BUS ERROR:noisy bus/unexpected start/stop tag: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv_addr:0x1a MSTR_STS:0x001121c4 OPER:0x00000000
<3>[    0.718227] i2c-msm-v2 78b6000.i2c: error timeout on polling for valid state. check core_clk
<3>[    0.718271] nau8810 2-001a: Failed to read device ID
<4>[    0.718325] nau8810: probe of 2-001a failed with error -22
<3>[    0.718577] i2c-msm-v2 78b6000.i2c: BUS ERROR:noisy bus/unexpected start/stop tag: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv_addr:0x1b MSTR_STS:0x001121c4 OPER:0x00000000
<3>[    0.741723] i2c-msm-v2 78b6000.i2c: error timeout on polling for valid state. check core_clk
<3>[    0.741770] rt5616 2-001b: Device with ID register 0xc0788874 is not rt5616
<6>[    0.749617] msm_pcm_probe: dev name soc:qcom,msm-voice-host-pcm
<3>[    0.753981] mdm9607-asoc-snd soc:sound: Defering mdm_asoc_machine_probe, q6_state 0
<6>[    0.754256] Netfilter messages via NETLINK v0.30.
<6>[    0.754317] nf_conntrack version 0.5.0 (2475 buckets, 9900 max)
<6>[    0.754684] ctnetlink v0.93: registering with nfnetlink.
<6>[    0.755020] ip_set: protocol 6
<6>[    0.755369] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[    0.755503] arp_tables: (C) 2002 David S. Miller
<6>[    0.755530] TCP: cubic registered
<6>[    0.755893] NET: Registered protocol family 10
<6>[    0.756769] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[    0.756947] sit: IPv6 over IPv4 tunneling driver
<6>[    0.757474] NET: Registered protocol family 17
<6>[    0.757581] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
<5>[    0.757612] Bridge firewalling registered
<6>[    0.757625] Ebtables v2.0 registered
<6>[    0.757733] can: controller area network core (rev 20120528 abi 9)
<6>[    0.757799] NET: Registered protocol family 29
<6>[    0.757816] can: raw protocol (rev 20120528)
<6>[    0.757830] can: broadcast manager protocol (rev 20120528 t)
<6>[    0.757847] can: netlink gateway (rev 20130117) max_hops=1
<6>[    0.758692] NET: Registered protocol family 27
<7>[    0.761047] gpiochip_find_base: found new base at 852
<7>[    0.761148] gpiochip_add: registered GPIOs 852 to 883 on device: slave-kernel
<7>[    0.761345] gpiochip_find_base: found new base at 820
<7>[    0.761423] gpiochip_add: registered GPIOs 820 to 851 on device: master-kernel
<4>[    0.761853] pil-q6v5-mss 4080000.qcom,mss: Failed to find the pas_id.
<7>[    0.761884] of_get_named_gpiod_flags: parsed 'qcom,gpio-proxy-unvote' property of node '/soc/qcom,mss@4080000[0]' - status (0)
<6>[    0.762231] subsys-restart: subsys_register(): @Ramos  desc->name =[modem]  , subsys->desc name=[modem]  fw_name=[modem]
<6>[    0.762242] subsys-restart: subsys_register(): @Ramosr  set modem restart level 1
<7>[    0.762426] of_get_named_gpiod_flags: parsed 'qcom,gpio-err-fatal' property of node '/soc/qcom,mss@4080000[0]' - status (0)
<7>[    0.762441] of_get_named_gpiod_flags: parsed 'qcom,gpio-err-ready' property of node '/soc/qcom,mss@4080000[0]' - status (0)
<7>[    0.762454] of_get_named_gpiod_flags: parsed 'qcom,gpio-stop-ack' property of node '/soc/qcom,mss@4080000[0]' - status (0)
<7>[    0.762468] of_get_named_gpiod_flags: parsed 'qcom,gpio-force-stop' property of node '/soc/qcom,mss@4080000[0]' - status (0)
<7>[    0.762482] of_get_named_gpiod_flags: parsed 'qcom,gpio-shutdown-ack' property of node '/soc/qcom,mss@4080000[0]' - status (0)
<6>[    0.762605] pil-q6v5-mss 4080000.qcom,mss: for modem segments only will be dumped.
<3>[    0.763832] mdm9607-asoc-snd soc:sound: Defering mdm_asoc_machine_probe, q6_state 0
<7>[    0.765401] of_get_named_gpiod_flags: parsed 'gpios' property of node '/soc/qcom,smp2pgpio_test_smp2p_15_in[0]' - status (0)
<7>[    0.765462] of_get_named_gpiod_flags: parsed 'gpios' property of node '/soc/qcom,smp2pgpio_test_smp2p_15_out[0]' - status (0)
<7>[    0.765511] of_get_named_gpiod_flags: parsed 'gpios' property of node '/soc/qcom,smp2pgpio_test_smp2p_1_in[0]' - status (0)
<7>[    0.765559] of_get_named_gpiod_flags: parsed 'gpios' property of node '/soc/qcom,smp2pgpio_test_smp2p_1_out[0]' - status (0)
<3>[    0.781023] mdm9607-asoc-snd soc:sound: Defering mdm_asoc_machine_probe, q6_state 0
<5>[    0.781256] ubi0: attaching mtd16
<5>[    1.177073] ubi0: scanning is finished
<5>[    1.183535] ubi0: attached mtd16 (name "system", size 72 MiB)
<5>[    1.183551] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
<5>[    1.183559] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
<5>[    1.183568] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
<5>[    1.183576] ubi0: good PEBs: 578, bad PEBs: 0, corrupted PEBs: 0
<5>[    1.183585] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
<5>[    1.183595] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 562084564
<5>[    1.183604] ubi0: available PEBs: 0, total reserved PEBs: 578, PEBs reserved for bad PEB handling: 40
<5>[    1.183629] ubi1: attaching mtd11
<5>[    1.190124] ubi0: background thread "ubi_bgt0d" started, PID 150
<5>[    1.424159] ubi1: scanning is finished
<5>[    1.430499] ubi1: attached mtd11 (name "modem", size 53 MiB)
<5>[    1.430513] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
<5>[    1.430521] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
<5>[    1.430530] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
<5>[    1.430538] ubi1: good PEBs: 428, bad PEBs: 0, corrupted PEBs: 0
<5>[    1.430547] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
<5>[    1.430557] ubi1: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 758424568
<5>[    1.430566] ubi1: available PEBs: 0, total reserved PEBs: 428, PEBs reserved for bad PEB handling: 40
<6>[    1.431210] file system registered
<6>[    1.431281] mbim_init: initialize 1 instances
<6>[    1.431364] mbim_init: Initialized 1 ports
<5>[    1.431564] ubi1: background thread "ubi_bgt1d" started, PID 151
<6>[    1.433046] rndis_qc_init: initialize rndis QC instance
<6>[    1.433317] Number of LUNs=8
<6>[    1.433330] Mass Storage Function, version: 2009/09/11
<6>[    1.433341] LUN: removable file: (no medium)
<6>[    1.433360] Number of LUNs=1
<6>[    1.433421] LUN: removable file: (no medium)
<6>[    1.433429] Number of LUNs=1
<6>[    1.433683] android_usb gadget: android_usb ready
<6>[    1.433698] msm_hsusb msm_hsusb: [ci13xxx_start] hw_ep_max = 32
<6>[    1.433741] msm_hsusb msm_hsusb: CI13XXX_CONTROLLER_RESET_EVENT received
<6>[    1.433755] msm_hsusb msm_hsusb: CI13XXX_CONTROLLER_UDC_STARTED_EVENT received
<3>[    1.434096] mdm9607-asoc-snd soc:sound: Defering mdm_asoc_machine_probe, q6_state 0
<6>[    1.434491] qcom,qpnp-rtc qpnp-rtc-5: setting system clock to 1970-01-01 00:00:04 UTC (4)
<6>[    1.435272] parse_legacy_cluster_params(): Ignoring cluster params
<6>[    1.435304] /soc/qcom,lpm-levels/qcom,pm-cluster@0: No CPU phandle, assuming single cluster
<3>[    1.435332] calculate_residency: residency < 0 for LPM
<3>[    1.435340] parse_cpu_levels: idx 1 420
<3>[    1.435348] calculate_residency: residency < 0 for LPM
<3>[    1.435355] parse_cpu_levels: idx 2 500
<3>[    1.435363] parse_cpu_levels: idx 2 3040
<3>[    1.436076] mdm9607-asoc-snd soc:sound: Defering mdm_asoc_machine_probe, q6_state 0
<6>[    1.438504] qcom,cc-debug-mdm9607 1800000.qcom,debug: Registered Debug Mux successfully
<3>[    1.438825] mdm9607-asoc-snd soc:sound: Defering mdm_asoc_machine_probe, q6_state 0
<6>[    1.439178] mem_acc_corner: disabling
<6>[    1.439215] sdcard_ext_vreg: disabling
<6>[    1.439223] rome_vreg: disabling
<6>[    1.439232] emac_lan_vreg: disabling
<6>[    1.439248] clock_late_init: Removing enables held for handed-off clocks
<6>[    1.440938] ALSA device list:
<6>[    1.440951]   No soundcards found.
<5>[    1.505114] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode
<5>[    1.505133] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
<5>[    1.505144] UBIFS (ubi0:0): FS size: 66408448 bytes (63 MiB, 523 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
<5>[    1.505153] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
<5>[    1.505165] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 4E9C4F4A-32AD-407E-BC09-09A764B6C389, small LPT model
<6>[    1.507187] VFS: Mounted root (ubifs filesystem) readonly on device 0:12.
<6>[    1.507596] Freeing unused kernel memory: 284K (c0a5c000 - c0aa3000)
<4>[    1.507604] This architecture does not have kernel memory protection.
<5>[    1.507616] @RamosKernel command line: noinitrd ro console=ttyHSL0,115200,n8 androidboot.hardware=qcom ehci-hcd.park=3 msm_rtb.filter=0x37 lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78b3000 androidboot.serialno=f4ada4ac androidboot.authorized_kernel=true androidboot.baseband=msm rootfstype=ubifs rootflags=bulk_read root=ubi0:rootfs ubi.mtd=16 ubi.mtd=11
<5>[    1.572284] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "modem", R/O mode
<5>[    1.572301] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
<5>[    1.572312] UBIFS (ubi1:0): FS size: 47362048 bytes (45 MiB, 373 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
<5>[    1.572321] UBIFS (ubi1:0): reserved for root: 0 bytes (0 KiB)
<5>[    1.572333] UBIFS (ubi1:0): media format: w4/r0 (latest is w4/r0), UUID 91F3B94F-BF02-4D71-8F3C-C4172B93463A, small LPT model
<4>[    1.574098] quectel_mount_success 
<6>[    1.574116] subsys-restart: __subsystem_get(): Changing subsys fw_name to modem
<6>[    1.584050] pil-q6v5-mss 4080000.qcom,mss: modem: loading from 0x82a00000 to 0x87a00000
<4>[    1.610441] pil-q6v5-mss 4080000.qcom,mss: Debug policy not present - msadp. Continue.
<6>[    1.610827] pil-q6v5-mss 4080000.qcom,mss: Loading MBA and DP (if present) from 0x8fa00000 to 0x8fb00000 size 100000
<6>[    1.659173] pil-q6v5-mss 4080000.qcom,mss: MBA boot done
<6>[    6.617666] pil-q6v5-mss 4080000.qcom,mss: modem: Brought out of reset
<3>[    6.691528] mdm9607-asoc-snd soc:sound: Defering mdm_asoc_machine_probe, q6_state 0
<6>[    6.692021] pil-q6v5-mss 4080000.qcom,mss: Subsystem error monitoring/handling services are up
<6>[    6.692077] pil-q6v5-mss 4080000.qcom,mss: modem: Power/Clock ready interrupt received
<3>[    6.692324] M-Notify: General: 7
<6>[    6.692418] subsys-restart: subsys_set_state(): [cf1e4000]: subsys_set_state 2
<4>[    6.692503] @Ramos kernel_init try_to_run_init_process entry !!!!
<4>[    6.692503] 
<4>[    6.705296] @Ramos kernel_init try_to_run_init_process EXIT 11111
<4>[    6.705296] 
<4>[    6.820010] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no dapm match for MM_DL5 --> MultiMedia5 --> TERT_MI2S_RX Audio Mixer
<3>[    6.820032] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route MM_DL5 -> MultiMedia5 -> TERT_MI2S_RX Audio Mixer
<3>[    6.820828] diag: In diag_send_feature_mask_update, control channel is not open, p: 0, c0be8938
<6>[    6.823352] apr_tal:Modem Is Up
<4>[    6.823768] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no dapm match for MM_DL8 --> MultiMedia8 --> TERT_MI2S_RX Audio Mixer
<3>[    6.823785] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route MM_DL8 -> MultiMedia8 -> TERT_MI2S_RX Audio Mixer
<4>[    6.824321] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no dapm match for INT_FM_TX --> INTERNAL_FM_TX --> SEC_MI2S_RX Port Mixer
<3>[    6.824333] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route INT_FM_TX -> INTERNAL_FM_TX -> SEC_MI2S_RX Port Mixer
<3>[    6.834891] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no sink widget found for MM_UL28
<3>[    6.834911] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route MultiMedia28 Mixer -> direct -> MM_UL28
<3>[    6.834955] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no sink widget found for MM_UL29
<3>[    6.834966] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route MultiMedia29 Mixer -> direct -> MM_UL29
<4>[    6.836170] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no dapm match for VOICEMMODE1_DL --> VoiceMMode1 --> SEC_MI2S_RX_Voice Mixer
<3>[    6.836183] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route VOICEMMODE1_DL -> VoiceMMode1 -> SEC_MI2S_RX_Voice Mixer
<4>[    6.836213] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no dapm match for VOICEMMODE2_DL --> VoiceMMode2 --> SEC_MI2S_RX_Voice Mixer
<3>[    6.836224] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route VOICEMMODE2_DL -> VoiceMMode2 -> SEC_MI2S_RX_Voice Mixer
<3>[    6.839413] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no sink widget found for AUDIO_REF_EC_UL28 MUX
<3>[    6.839430] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route PRI_MI2S_TX -> PRI_MI2S_TX -> AUDIO_REF_EC_UL28 MUX
<3>[    6.839475] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no sink widget found for AUDIO_REF_EC_UL28 MUX
<3>[    6.839487] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route SEC_MI2S_TX -> SEC_MI2S_TX -> AUDIO_REF_EC_UL28 MUX
<3>[    6.839525] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no sink widget found for AUDIO_REF_EC_UL28 MUX
<3>[    6.839536] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route TERT_MI2S_TX -> TERT_MI2S_TX -> AUDIO_REF_EC_UL28 MUX
<3>[    6.839573] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no sink widget found for AUDIO_REF_EC_UL28 MUX
<3>[    6.839585] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route QUAT_MI2S_TX -> QUAT_MI2S_TX -> AUDIO_REF_EC_UL28 MUX
<3>[    6.839619] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no sink widget found for AUDIO_REF_EC_UL29 MUX
<3>[    6.839631] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route PRI_MI2S_TX -> PRI_MI2S_TX -> AUDIO_REF_EC_UL29 MUX
<3>[    6.839666] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no sink widget found for AUDIO_REF_EC_UL29 MUX
<3>[    6.839677] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route SEC_MI2S_TX -> SEC_MI2S_TX -> AUDIO_REF_EC_UL29 MUX
<3>[    6.839712] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no sink widget found for AUDIO_REF_EC_UL29 MUX
<3>[    6.839723] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route TERT_MI2S_TX -> TERT_MI2S_TX -> AUDIO_REF_EC_UL29 MUX
<3>[    6.839759] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no sink widget found for AUDIO_REF_EC_UL29 MUX
<3>[    6.839770] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route QUAT_MI2S_TX -> QUAT_MI2S_TX -> AUDIO_REF_EC_UL29 MUX
<3>[    6.839839] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no source widget found for AUDIO_REF_EC_UL3 MUX
<3>[    6.839850] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route AUDIO_REF_EC_UL3 MUX -> direct -> MM_UL3
<3>[    6.840008] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no source widget found for AUDIO_REF_EC_UL28 MUX
<3>[    6.840019] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route AUDIO_REF_EC_UL28 MUX -> direct -> MM_UL28
<3>[    6.840172] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no source widget found for AUDIO_REF_EC_UL29 MUX
<3>[    6.840186] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route AUDIO_REF_EC_UL29 MUX -> direct -> MM_UL29
<4>[    6.846783] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no dapm match for SEC_MI2S_TX --> SEC_MI2S_TX --> SLIMBUS_0_RX Port Mixer
<3>[    6.846798] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route SEC_MI2S_TX -> SEC_MI2S_TX -> SLIMBUS_0_RX Port Mixer
<4>[    6.847520] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no dapm match for VOICE2_STUB_DL --> Voice2 Stub --> INTERNAL_BT_SCO_RX_Voice Mixer
<3>[    6.847532] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route VOICE2_STUB_DL -> Voice2 Stub -> INTERNAL_BT_SCO_RX_Voice Mixer
<3>[    6.849002] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: no sink widget found for SENARY_MI2S_TX
<3>[    6.849015] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to add route BE_IN -> direct -> SENARY_MI2S_TX
<4>[    7.072842] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: Failed to create SEC_MI2S_RX Port Mixer debugfs file
<3>[    7.135296] msm-pcm-routing soc:qcom,msm-pcm-routing: ASoC: mux SLIM_0_RX AANC MUX has no paths
<4>[    7.160832] quec_stub_probe
<3>[    7.161945] msm-dai-stub-dev soc:qcom,msm-dai-stub:qcom,msm-dai-stub-dtmf-tx: ASoC: no sink widget found for STUB_DTMF_TX
<3>[    7.161964] msm-dai-stub-dev soc:qcom,msm-dai-stub:qcom,msm-dai-stub-dtmf-tx: ASoC: Failed to add route DTMF TX -> direct -> STUB_DTMF_TX
<3>[    7.162019] msm-dai-stub-dev soc:qcom,msm-dai-stub:qcom,msm-dai-stub-host-rx-capture-tx: ASoC: no sink widget found for STUB_HOST_RX_CAPTURE_TX
<3>[    7.162031] msm-dai-stub-dev soc:qcom,msm-dai-stub:qcom,msm-dai-stub-host-rx-capture-tx: ASoC: Failed to add route CS-VOICE HOST RX CAPTURE -> direct -> STUB_HOST_RX_CAPTURE_TX
<3>[    7.162080] msm-dai-stub-dev soc:qcom,msm-dai-stub:qcom,msm-dai-stub-host-rx-playback-rx: ASoC: no source widget found for STUB_HOST_RX_PLAYBACK_RX
<3>[    7.162093] msm-dai-stub-dev soc:qcom,msm-dai-stub:qcom,msm-dai-stub-host-rx-playback-rx: ASoC: Failed to add route STUB_HOST_RX_PLAYBACK_RX -> direct -> CS-VOICE HOST RX PLAYBACK
<3>[    7.162138] msm-dai-stub-dev soc:qcom,msm-dai-stub:qcom,msm-dai-stub-host-tx-capture-tx: ASoC: no sink widget found for STUB_HOST_TX_CAPTURE_TX
<3>[    7.162150] msm-dai-stub-dev soc:qcom,msm-dai-stub:qcom,msm-dai-stub-host-tx-capture-tx: ASoC: Failed to add route CS-VOICE HOST TX CAPTURE -> direct -> STUB_HOST_TX_CAPTURE_TX
<3>[    7.162192] msm-dai-stub-dev soc:qcom,msm-dai-stub:qcom,msm-dai-stub-host-tx-playback-rx: ASoC: no source widget found for STUB_HOST_TX_PLAYBACK_RX
<3>[    7.162204] msm-dai-stub-dev soc:qcom,msm-dai-stub:qcom,msm-dai-stub-host-tx-playback-rx: ASoC: Failed to add route STUB_HOST_TX_PLAYBACK_RX -> direct -> CS-VOICE HOST TX PLAYBACK
<5>[    7.891009] ubi2: attaching mtd14
<3>[    8.012676] diag: In diagfwd_data_read_done, unable to write to mux error: -19
<5>[    8.216107] ubi2: scanning is finished
<5>[    8.223472] ubi2: attached mtd14 (name "usr_data", size 61 MiB)
<5>[    8.223485] ubi2: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
<5>[    8.223494] ubi2: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
<5>[    8.223503] ubi2: VID header offset: 2048 (aligned 2048), data offset: 4096
<5>[    8.223511] ubi2: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
<5>[    8.223520] ubi2: user volume: 1, internal volumes: 1, max. volumes count: 128
<5>[    8.223530] ubi2: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1043530655
<5>[    8.223539] ubi2: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 40
<5>[    8.227670] ubi2: background thread "ubi_bgt2d" started, PID 210
<5>[    8.300192] UBIFS (ubi2:0): background thread "ubifs_bgt2_0" started, PID 217
<5>[    8.335917] UBIFS (ubi2:0): recovery needed
<5>[    8.495815] UBIFS (ubi2:0): recovery completed
<5>[    8.495880] UBIFS (ubi2:0): UBIFS: mounted UBI device 2, volume 0, name "usrdata"
<5>[    8.495891] UBIFS (ubi2:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
<5>[    8.495902] UBIFS (ubi2:0): FS size: 55488512 bytes (52 MiB, 437 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
<5>[    8.495911] UBIFS (ubi2:0): reserved for root: 0 bytes (0 KiB)
<5>[    8.495924] UBIFS (ubi2:0): media format: w4/r0 (latest is w4/r0), UUID E0F63A68-5924-4EDD-8381-375CC9662144, small LPT model
<12>[    8.687826] Starting psmd: done
<12>[    9.206897] PSM: Found config file ARGV /data/psm
<12>[    9.206968] PSM: PSMD Start
<12>[    9.253994] PSM: server_config_path /data/psm/server_config
<12>[    9.256036] PSM: Path for PSM configuration: /data/psm
<12>[    9.256629] PSM: modem_flag_path /data/psm/modem_flag
<12>[    9.259703] PSM: backup_nv_path /data/psm/psm_nv_backup.txt
<12>[    9.274033] PSM: Load modem flag: 1
<12>[    9.274110] PSM: Modem Loaded
<12>[    9.793752] Starting QCMAP_ConnectionManager: QCMAP:start
<12>[    9.807434] done
<12>[    9.824650] Starting qti: QTI:start
<12>[    9.837161] done
<12>[    9.935535] [Quec][QTI] embd_mode = 0
<12>[    9.955072] QUEC: quectel_qti_wait_modem_rdy.
<12>[    9.955215] QUEC: [0] modem is not rdy. wait 1s
<12>[   10.106152] QCMAP:Start Main
<12>[   10.134039] USB QCMAP NL IOCTL Snd GETNEIGH Succ
<3>[   10.329039] enable_store: android_usb: already disabled
<6>[   10.332095] subsys-restart: state_show(): [cb5c5100]: state ONLINE
<6>[   10.346234] msm_hsusb msm_hsusb: CI13XXX_CONTROLLER_CONNECT_EVENT received
<6>[   10.455204] msm_otg 78d9000.usb: Avail curr from USB = 100
<6>[   10.455375] android_work: android_work: did not send uevent (0 0 00000000)
<12>[   10.489328] QCMAP:Start DHCP server
<6>[   10.581824] android_work: android_work: sent uevent USB_STATE=CONNECTED
<6>[   10.585501] android_work: android_work: sent uevent USB_STATE=DISCONNECTED
<5>[   10.615418] random: dnsmasq urandom read with 101 bits of entropy available
<12>[   10.695498] QCMAP:DHCP server started
<6>[   10.737685] android_work: android_work: sent uevent USB_STATE=CONNECTED
<6>[   10.749560] android_usb gadget: high-speed config #1: 86000c8.android_usb
<6>[   10.749610] diag: USB channel diag connected
<6>[   10.749699] msm_otg 78d9000.usb: Avail curr from USB = 500
<3>[   10.749999] gbam_connect_work: gbam_connect_work: Bam channel is not ready
<6>[   10.800210] android_work: android_work: sent uevent USB_STATE=CONFIGURED
<12>[   10.955559] QUEC: [1] modem is not rdy. wait 1s
<12>[   10.962651] PSM: DMS Ind register  - result: 0, error: 0
<12>[   10.963465] PSM: Oprt mode event report req qmi response - result: 0, error: 0
<12>[   10.964556] PSM: result - 0 error - 0
<12>[   10.964594] PSM: Modem oprt mode - 0
<12>[   10.967362] PSM: backup_nv_path /data/psm/psm_nv_backup.txt
<12>[   10.968853] PSM: Supported: 0
<12>[   10.968909] PSM: Log and QMI Init completed
<12>[   10.968938] PSM: Supported: 0
<12>[   10.969111] PSM: Core server init completed
<12>[   10.969354] PSM: Client and event thread created
<12>[   11.040912] QCMAP:Init Complete
<6>[   11.054975] subsys-restart: state_show(): [cb5c6200]: state ONLINE
<12>[   11.073673] embms:start/load
<3>[   11.227769] quec_pcm_mode_select_store, mode: 0
<12>[   11.262695] Starting DS_MUX: DS_MUX:start
<6>[   11.323828] msm_thermal:set_enabled enabled = 0
<12>[   11.349925] done
<3>[   11.383114] 
<3>[   11.383114] quec_quec_auxpcm_rate_store,2252 ----------- 8000----------------
<6>[   11.629898] subsys-restart: quec_state_show(): [cad56a80]: line: 229, quectel_restart_modem: 0
<12>[   11.727880] [Quec][Thermal] qmi_client_get_service_list returned(0) num_services=1
<12>[   11.727880] 
<12>[   11.728016] [Quec][Thermal] qmi_client_get_service_list returned(0) num_services=1,num_entries=1
<12>[   11.728016] 
<12>[   11.731253] [Quec][UART_DDP] Starting... ...
<12>[   11.731436] [Quec][UART_DDP] not detect dynamic_console and wait 500ms[1]
<12>[   11.744977] [Quec][Thermal][Quectel_ThermalConfigInit:469] enable=1,sensor=2,tempthreshold=105,duration=1000,trig_cnt=3,clr_cnt=10
<12>[   11.744977] 
<6>[   11.862875] sps:BAM 0x04044000 is registered.
<6>[   11.863100] sps:BAM 0x04044000 (va:0xd18c0000) enabled: ver:0x27, number of pipes:6
<12>[   11.955920] QUEC: [2] modem is not rdy. wait 1s
<12>[   11.983860] [Quec][RemoteFS] finish initialization and go to loop forever!
<12>[   12.108516] [QUEC][DAEMON] Start ... ...
<12>[   12.109820] eMBMs Tunneling Module:start
<12>[   12.231727] [Quec][UART_DDP] not detect dynamic_console and wait 500ms[2]
<12>[   12.732006] [Quec][UART_DDP] not detect dynamic_console and wait 500ms[3]
<6>[   12.822253] subsys-restart: state_show(): [cae5a640]: state ONLINE
<12>[   12.883161] Starting qti_ppp: QTI_PPP:start
<12>[   12.956276] QUEC: [3] modem is not rdy. wait 1s
<6>[   13.113129] afe_debug_open: debug intf afe_loop_gain
<6>[   13.113225] afe_debug_write: afe_loop_gain 4109 0
<12>[   13.192001] [QUEC][RMNET][quec_modem_rdy_check][79] get mode rdy by req: modem_rdy=5
<12>[   13.192112] [QUEC] quectel_modem_rdy_proc, modem rdy: 5.
<12>[   13.195313] *** Starting ATFWD-daemon *** 
<12>[   13.195313] 
<12>[   13.212905] [QUEC] create modem rdy ok!
<12>[   13.214659] [wayne] linux version is identitil with modem cefs
<12>[   13.214659] 
<12>[   13.216092] [duke][TLR] modem  thermal_limit_rates_flag: 1 
<12>[   13.216092] 
<12>[   13.216306] [duke][TLR] cur for fast disable: enable=1,sensor=2,temp=105,duration=1000,trig=3,clr=10
<12>[   13.216306] 
<12>[   13.216372] [duke][TLR] therm_tx_lmt_cur.enable  not  sync   already!
<12>[   13.216610] creat quectel_get_usbmode_process success!!! 
<12>[   13.216610] 
<12>[   13.216687] [QUEC][DAEMON] Start while 1
<12>[   13.230025]  atfwd siguer1 init succeful sclk
<12>[   13.232324] [Quec][UART_DDP] not detect dynamic_console and wait 500ms[4]
<12>[   13.256819]  atfwd siguer2 init succeful sclk
<4>[   13.363497] [lory][sleepin] sleepind store 0
<12>[   13.413846] QMS:start
<6>[   13.679940] capability: warning: `loc_launcher' uses 32-bit capabilities (legacy support in use)
<12>[   13.732622] [Quec][UART_DDP] not detect dynamic_console and wait 500ms[5]
<12>[   13.796086] mbimd: Proc start
<6>[   13.841027] mbim_open: Open mbim driver
<6>[   13.841044] mbim_open: Lock mbim_dev->open_excl for open
<3>[   13.841052] mbim_open: USB cable not connected
<6>[   13.841059] mbim_open: Exit, mbim file opened
<12>[   13.956622] QUEC: [4] modem is ready.
<12>[   13.958019] [Quec][QTI] qti_cmdq_cmd_process:156 : event=5
<12>[   13.958019] 
<12>[   13.967845] USB QCMAP NL IOCTL Snd GETNEIGH Succ
<12>[   13.968376] [Quec][QTI] qti_cmdq_cmd_process:156 : event=1
<12>[   13.968376] 
<12>[   13.968474] [Quec][QTI] qti_qcmap_cmd_exec:904 : event=1
<12>[   13.968474] 
<12>[   13.968830] [Quec][QTI] qti_qcmap_connect:221 : try to init qmi client: qmi_error_count=0,qmi_error=0,uiInterval=5000
<12>[   13.968830] 
<12>[   13.990239] [Qti] quec_qti_rmnet_ph_init on...
<12>[   14.173445] USB QCMAP NL IOCTL Snd GETNEIGH Succ
<12>[   14.232959] [Quec][UART_DDP] not detect dynamic_console and wait 500ms[6]
<12>[   14.276753] [QUEC][ATFWD][main][2549]Start while 1
<12>[   14.292127] [QUEC][ATFWD][APRDY][Quectel_GetAPRdyIndMask:1430] Read /data/quec_ap_rdy_ind result: iRet=-1, iVal=-1
<12>[   14.292332] 
<12>[   14.292332] [QUEC][ATFWD][Quectel_APProcessRdyInit][2282][3-0] [/tmp/quec_uart_ddp_rdy] [+APIND: UART DDP READY] [iNeedReport=0] [iHasReported=0] [iMask=0]
<12>[   14.292619] 
<12>[   14.292619] [QUEC][ATFWD][Quectel_APProcessRdyInit][2282][3-1] [/tmp/quec_daemon_rdy] [+APIND: QUEC DAEMON READY] [iNeedReport=0] [iHasReported=0] [iMask=0]
<12>[   14.292710] 
<12>[   14.292710] [QUEC][ATFWD][Quectel_APProcessRdyInit][2282][3-2] [/tmp/atfwd_daemon_rdy] [+APIND: ATFWD READY] [iNeedReport=0] [iHasReported=0] [iMask=0]
<12>[   14.292773] 
<12>[   14.292773] [QUEC][ATFWD][Quectel_APProcessRdyCheck][2343] all urc has been reported so exit!
<12>[   14.462456] QCMAP:Enable mobileap
<12>[   14.733291] [Quec][UART_DDP] not detect dynamic_console and wait 500ms[7]
<12>[   14.998882] QCMAP:Enable mobileap done
<12>[   15.013840] QTI:USB tethered modem SMD port opened
<12>[   15.015282] [Qti] succeeded to signal DTR high.
<12>[   15.064085] [Quec][QTI] if_1 srv_0 cid_0 txid_0 is collected at idx_0!
<12>[   15.233584] [Quec][UART_DDP] not detect dynamic_console and wait 500ms[8]
<12>[   15.733926] [Quec][UART_DDP] not detect dynamic_console and wait 500ms[9]
<12>[   16.234405] [Quec][UART_DDP] not detect dynamic_console and wait 500ms[10]
<12>[   16.735589] [Quec][UART_DDP] Is dynamic_console exist?[0]
<12>[   16.735723] [Quec][UART_DDP] UART DDP STOP !!
<12>[   16.735723] 
<3>[   22.486655] diag: In diag_process_hdlc_pkt, bad CRC. Dropping packet
<5>[   24.479845] random: nonblocking pool is initialized
<12>[   28.541715] [Quec][QTI] if_1 srv_26 cid_1 txid_0 is collected at idx_1!
<12>[   28.803271] [Quec][QTI] if_1 srv_3 cid_3 txid_0 is collected at idx_2!
<12>[   28.860915] [Quec][QTI] if_1 srv_2 cid_1 txid_0 is collected at idx_3!
<12>[   28.989728] [Quec][QTI] if_1 srv_36 cid_1 txid_0 is collected at idx_4!
<12>[   30.173765] [Quec][QTI] if_1 srv_11 cid_2 txid_0 is collected at idx_5!
<3>[   61.600293] Quectel_clean_modemFatalTimes, clean modemFatalError cnt  filp_open fail !
	

RTL8723CS WiFi/BT combo

The Linux driver is available from the vendor, but it is a goddamn mess. Seriously crazy abstractions and messy code, it looks like their driver code dump is for all realtek products for every platform ever.

Fortunately the 8723CS is closely related to other RTL8XXX wireless cards but uses the SDIO bus instead of PCI or USB. OpenBSD has a IMHO great rtwn(4) driver that can be used as a base.

I have code that turns the card on and starts wifi calibration, but does not pass packets yet.

gpio-vibrator

Index: sys/dev/fdt/vibrator.c
===================================================================
RCS file: sys/dev/fdt/vibrator.c
diff -N sys/dev/fdt/vibrator.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ sys/dev/fdt/vibrator.c	1 Aug 2021 17:38:50 -0000
@@ -0,0 +1,93 @@
+/*	$OpenBSD$	*/
+/*
+ * Copyright (c) 2021 Kyle Milz 
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#include 
+#include 
+#include 
+#include 
+#include 
+
+#include 
+
+#include 
+#include 
+
+struct vibrator {
+	struct timeout	 to;
+	uint32_t	*gpio;
+};
+
+struct vibrator_softc {
+	struct device	sc_dev;
+};
+
+int	vibrator_match(struct device *, void *, void *);
+void	vibrator_attach(struct device *, struct device *, void *);
+
+struct cfattach vibrator_ca = {
+	sizeof (struct vibrator_softc),
+	vibrator_match,
+	vibrator_attach
+};
+
+struct cfdriver vibrator_cd = {
+	NULL, "vibrator", DV_DULL
+};
+
+void	vibrator_off(void *);
+
+int
+vibrator_match(struct device *parent, void *match, void *aux)
+{
+	struct fdt_attach_args *faa = aux;
+
+	return OF_is_compatible(faa->fa_node, "gpio-vibrator");
+}
+
+void
+vibrator_attach(struct device *parent, struct device *self, void *aux)
+{
+	struct fdt_attach_args *faa = aux;
+	struct vibrator *vib;
+	int len, node;
+
+	node = faa->fa_node;
+	len = OF_getproplen(node, "enable-gpios");
+
+	if (len <= 0)
+		return;
+
+	vib = malloc(sizeof(struct vibrator), M_DEVBUF, M_WAITOK);
+	vib->gpio = malloc(len, M_DEVBUF, M_WAITOK);
+
+	OF_getpropintarray(node, "enable-gpios", vib->gpio, len);
+	gpio_controller_config_pin(vib->gpio, GPIO_CONFIG_OUTPUT);
+	gpio_controller_set_pin(vib->gpio, 1);
+
+	timeout_set(&vib->to, vibrator_off, vib);
+	timeout_add_sec(&vib->to, 1 /* second */);
+
+	printf("\n");
+}
+
+void
+vibrator_off(void *arg)
+{
+	struct vibrator *vib = arg;
+
+	gpio_controller_set_pin(vib->gpio, 0);
+}
Index: sys/dev/fdt/files.fdt
===================================================================
RCS file: /cvs/src/sys/dev/fdt/files.fdt,v
retrieving revision 1.155
diff -u -p -r1.155 files.fdt
--- sys/dev/fdt/files.fdt	29 Jun 2021 12:43:09 -0000	1.155
+++ sys/dev/fdt/files.fdt	1 Aug 2021 17:38:50 -0000
@@ -583,6 +592,30 @@ file	dev/fdt/es8316ac.c		escodec
 device	cwfg
 attach	cwfg at i2c
 file	dev/fdt/cwfg.c			cwfg
+
+device	vibrator
+attach	vibrator at fdt
+file	dev/fdt/vibrator.c		vibrator
 
 # Dialog DA9063 PMIC
 device	dapmic
Index: sys/arch/arm64/conf/GENERIC
===================================================================
RCS file: /cvs/src/sys/arch/arm64/conf/GENERIC,v
retrieving revision 1.203
diff -u -p -r1.203 GENERIC
--- sys/arch/arm64/conf/GENERIC	29 Jun 2021 12:43:33 -0000	1.203
+++ sys/arch/arm64/conf/GENERIC	1 Aug 2021 17:38:50 -0000
@@ -274,17 +275,25 @@ gpio*		at sxipio?
 sxitwi*		at fdt?		# I2C controller
 iic*		at sxitwi?	# I2C bus
 dwxe*		at fdt?
+vibrator*	at fdt?
 
 # PCI
 ppb*		at pci?			# PCI-PCI bridges