Wifi/BT interface not detected
#1
I have been using Pinephone UBports edition since August. I have been trying out different OS versions, but always had a stable customized SXMO build of PMOS which I have been using with all basic phone functionalities working.
When I upgraded to kernel 5.9.1 pmos sxmo on another sdcard, the wifi and bluetooth stopped working.

The demsg log is as follows -
Code:
Code:
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]

[    0.000000] Linux version 5.9.1 (pmos@build)
(aarch64-alpine-linux-musl-gcc (Alpine 10.2.0) 10.2.0, GNU ld (GNU
Binutils) 2.35.1) #4-postmarketos-allwinner SMP Fri Oct 30 07:37:12 UTC
2020

[    0.000000] Machine model: Pine64 PinePhone (1.2)

[    0.000000] earlycon: uart0 at MMIO32 0x0000000001c28000 (options '')

[    0.000000] printk: bootconsole [uart0] enabled

[    0.000000] cma: Reserved 256 MiB at 0x00000000b0000000

[    0.000000] NUMA: No NUMA configuration found

[    0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000bfffffff]

[    0.000000] NUMA: NODE_DATA [mem 0xafbcc100-0xafbcdfff]

[    0.000000] Zone ranges:

[    0.000000]   DMA      [mem 0x0000000040000000-0x000000007fffffff]

[    0.000000]   DMA32    [mem 0x0000000080000000-0x00000000bfffffff]

[    0.000000]   Normal   empty

[    0.000000] Movable zone start for each node

[    0.000000] Early memory node ranges

[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000bfffffff]

[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]

[    0.000000] On node 0 totalpages: 524288

[    0.000000]   DMA zone: 4096 pages used for memmap

[    0.000000]   DMA zone: 0 pages reserved

[    0.000000]   DMA zone: 262144 pages, LIFO batch:63

[    0.000000]   DMA32 zone: 4096 pages used for memmap

[    0.000000]   DMA32 zone: 262144 pages, LIFO batch:63

[    0.000000] psci: probing for conduit method from DT.

[    0.000000] psci: PSCIv1.1 detected in firmware.

[    0.000000] psci: Using standard PSCI v0.2 function IDs

[    0.000000] psci: MIGRATE_INFO_TYPE not supported.

[    0.000000] psci: SMC Calling Convention v1.2

[    0.000000] percpu: Embedded 22 pages/cpu s50008 r8192 d31912 u90112

[    0.000000] pcpu-alloc: s50008 r8192 d31912 u90112 alloc=22*4096

[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3

[    0.000000] Detected VIPT I-cache on CPU0

[    0.000000] CPU features: detected: ARM erratum 845719

[    0.000000] CPU features: detected: ARM erratum 843419

[    0.000000] Speculative Store Bypass Disable mitigation not required

[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096

[    0.000000] Policy zone: DMA32

[    0.000000] Kernel command line: init=/init.sh rw console=tty0
console=ttyS0,115200 earlycon=uart,mmio32,0x01c28000 panic=10
consoleblank=0 loglevel=1 cma=256M PMOS_NO_OUTPUT_REDIRECT
PMOS_FORCE_PARTITION_RESIZE pmos_boot=/dev/mmcblk0p1
pmos_root=/dev/mmcblk0p2

[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)

[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)

[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off

[    0.000000] software IO TLB: mapped [mem 0x7bfff000-0x7ffff000] (64MB)

[    0.000000] Memory: 1709188K/2097152K available (10942K kernel code,
650K rwdata, 4064K rodata, 1792K init, 388K bss, 125820K reserved,
262144K cma-reserved)

[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1

[    0.000000] rcu: Hierarchical RCU implementation.

[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.

[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.

[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4

[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0

[    0.000000] GIC: Using split EOI/Deactivate mode

[    0.000000] random: get_random_bytes called from start_kernel+0x304/0x4cc with crng_init=0

[    0.000000] arch_timer: Enabling global workaround for Allwinner erratum UNKNOWN1

[    0.000000] arch_timer: CPU0: Trapping CNTVCT access

[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).

[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns

[    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns

[    0.000456] Console: colour dummy device 80x25

[    0.000470] printk: console [tty0] enabled

[    0.000562] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)

[    0.000571] pid_max: default: 32768 minimum: 301

[    0.000662] LSM: Security Framework initializing

[    0.000739] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)

[    0.000759] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)

[    0.002520] rcu: Hierarchical SRCU implementation.

[    0.003148] smp: Bringing up secondary CPUs ...

[    0.004663] Detected VIPT I-cache on CPU1

[    0.004726] arch_timer: CPU1: Trapping CNTVCT access

[    0.004739] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]

[    0.005705] Detected VIPT I-cache on CPU2

[    0.005736] arch_timer: CPU2: Trapping CNTVCT access

[    0.005744] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]

[    0.006604] Detected VIPT I-cache on CPU3

[    0.006631] arch_timer: CPU3: Trapping CNTVCT access

[    0.006639] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]

[    0.006711] smp: Brought up 1 node, 4 CPUs

[    0.006716] SMP: Total of 4 processors activated.

[    0.006721] CPU features: detected: 32-bit EL0 Support

[    0.006727] CPU features: detected: CRC32 instructions

[    0.020620] CPU: All CPU(s) started at EL2

[    0.020645] alternatives: patching kernel code

[    0.022461] devtmpfs: initialized

[    0.030904] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns

[    0.030929] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)

[    0.040529] pinctrl core: initialized pinctrl subsystem

[    0.041918] NET: Registered protocol family 16

[    0.043680] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations

[    0.043744] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations

[    0.043895] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations

[    0.044861] thermal_sys: Registered thermal governor 'fair_share'

[    0.044866] thermal_sys: Registered thermal governor 'bang_bang'

[    0.044873] thermal_sys: Registered thermal governor 'step_wise'

[    0.044876] thermal_sys: Registered thermal governor 'power_allocator'

[    0.045640] cpuidle: using governor menu

[    0.045820] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.

[    0.045931] ASID allocator initialised with 65536 entries

[    0.046089] Serial: AMBA PL011 UART driver

[    0.085528] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages

[    0.085541] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages

[    0.085546] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages

[    0.085551] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages

[    0.087105] cryptd: max_cpu_qlen set to 1000

[    0.091407] iommu: Default domain type: Translated

[    0.091798] SCSI subsystem initialized

[    0.092148] usbcore: registered new interface driver usbfs

[    0.092209] usbcore: registered new interface driver hub

[    0.092301] usbcore: registered new device driver usb

[    0.093398] mc: Linux media interface: v0.10

[    0.093453] videodev: Linux video capture interface: v2.00

[    0.093775] EDAC MC: Ver: 3.0.0

[    0.095923] clocksource: Switched to clocksource arch_sys_counter

[    0.096177] VFS: Disk quotas dquot_6.6.0

[    0.096241] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)

[    0.108042] NET: Registered protocol family 2

[    0.108527] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)

[    0.108566] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)

[    0.108723] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)

[    0.109058] TCP: Hash tables configured (established 16384 bind 16384)

[    0.109195] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)

[    0.109254] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)

[    0.109435] NET: Registered protocol family 1

[    0.110008] RPC: Registered named UNIX socket transport module.

[    0.110012] RPC: Registered udp transport module.

[    0.110015] RPC: Registered tcp transport module.

[    0.110017] RPC: Registered tcp NFSv4.1 backchannel transport module.

[    0.110718] Unpacking initramfs...

[    0.183151] Freeing initrd memory: 1420K

[    0.184109] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available

[    0.188579] Initialise system trusted keyrings

[    0.188775] workingset: timestamp_bits=44 max_order=19 bucket_order=0

[    0.197396] NFS: Registering the id_resolver key type

[    0.197430] Key type id_resolver registered

[    0.197433] Key type id_legacy registered

[    0.197537] nfs4filelayout_init: NFSv4 File Layout Driver Registering...

[    0.197753] fuse: init (API version 7.31)

[    0.251203] Key type asymmetric registered

[    0.251211] Asymmetric key parser 'x509' registered

[    0.251269] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)

[    0.251276] io scheduler mq-deadline registered

[    0.251280] io scheduler kyber registered

[    0.257685] sun50i-a64-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver

[    0.259080] sun50i-a64-r-pinctrl 1f02c00.pinctrl: supply vcc-pl not found, using dummy regulator

[    0.279288] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

[    0.292047] lima 1c40000.gpu: gp - mali400 version major 1 minor 1

[    0.292096] lima 1c40000.gpu: pp0 - mali400 version major 1 minor 1

[    0.292145] lima 1c40000.gpu: pp1 - mali400 version major 1 minor 1

[    0.292189] lima 1c40000.gpu: l2 cache 64K, 4-way, 64byte cache line, 64bit external bus

[    0.292580] lima 1c40000.gpu: bus rate = 200000000

[    0.292587] lima 1c40000.gpu: mod rate = 432000000

[    0.293008] [drm] Initialized lima 1.1.0 20191231 for 1c40000.gpu on minor 0

[    0.303316] loop: module loaded

[    0.303855] zram: Added device: zram0

[    0.305862] libphy: Fixed MDIO Bus: probed

[    0.305874] tun: Universal TUN/TAP device driver, 1.6

[    0.306227] VFIO - User Level meta-driver version: 0.3

[    0.307681] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[    0.307689] ehci-platform: EHCI generic platform driver

[    0.308176] ehci-platform 1c1a000.usb: EHCI Host Controller

[    0.308207] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1

[    0.308345] ehci-platform 1c1a000.usb: irq 20, io mem 0x01c1a000

[    0.323967] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00

[    0.324794] hub 1-0:1.0: USB hub found

[    0.324838] hub 1-0:1.0: 1 port detected

[    0.325795] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

[    0.325834] ohci-platform: OHCI generic platform driver

[    0.326074] ohci-platform 1c1a400.usb: Generic Platform OHCI controller

[    0.326095] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2

[    0.326228] ohci-platform 1c1a400.usb: irq 21, io mem 0x01c1a400

[    0.388681] hub 2-0:1.0: USB hub found

[    0.388723] hub 2-0:1.0: 1 port detected

[    0.390244] usbcore: registered new interface driver usb-storage

[    0.393794] sun6i-rtc 1f00000.rtc: registered as rtc0

[    0.393850] sun6i-rtc 1f00000.rtc: setting system clock to 2020-11-09T05:55:36 UTC (1604901336)

[    0.393857] sun6i-rtc 1f00000.rtc: RTC enabled

[    0.394058] i2c /dev entries driver

[    0.395756] sun8i-di 1e00000.deinterlace: Device registered as /dev/video0

[    0.398611] device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialised: dm-devel@redhat.com

[    0.399324] sdhci: Secure Digital Host Controller Interface driver

[    0.399330] sdhci: Copyright(c) Pierre Ossman

[    0.399472] Synopsys Designware Multimedia Card Interface Driver

[    0.400619] sdhci-pltfm: SDHCI platform and OF driver helper

[    0.402005] ledtrig-cpu: registered to indicate activity on CPUs

[    0.402520] SMCCC: SOC_ID: ARCH_FEATURES(ARCH_SOC_ID) returned error: fffffffffffffffd

[    0.402600] hid: raw HID events driver (C) Jiri Kosina

[    0.403622] usbcore: registered new interface driver usbhid

[    0.403632] usbhid: USB HID core driver

[    0.405495] cedrus 1c0e000.video-codec: Device registered as /dev/video1

[    0.406594] ashmem: initialized

[    0.412375] NET: Registered protocol family 17

[    0.412475] Key type dns_resolver registered

[    0.412912] registered taskstats version 1

[    0.412920] Loading compiled-in X.509 certificates

[    0.430671] sun8i-rotate 1020000.rotate: Device registered as /dev/video2

[    0.435658] sunxi-rsb 1f03400.rsb: RSB running at 4000000 Hz

[    0.436139] axp20x-rsb sunxi-rsb-3a3: AXP20x variant AXP803 found

[    0.438190] input: axp20x-pek as /devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/input/input0

[    0.443672] axp20x-adc axp813-adc: DMA mask not set

[    0.446286] axp20x-battery-power-supply axp20x-battery-power-supply: DMA mask not set

[    0.452103] axp20x-battery-power-supply axp20x-battery-power-supply: Configuring battery thermal regulation for Pinephone

[    0.454529] axp20x-usb-power-supply axp20x-usb-power-supply: DMA mask not set

[    0.455956] random: fast init done

[    0.456743] dcdc1: supplied by regulator-dummy

[    0.457198] dcdc2: supplied by regulator-dummy

[    0.457478] dcdc4: supplied by regulator-dummy

[    0.457755] dcdc5: supplied by regulator-dummy

[    0.458062] dcdc6: supplied by regulator-dummy

[    0.458329] dc1sw: supplied by regulator-dummy

[    0.458552] aldo1: supplied by regulator-dummy

[    0.458626] dovdd-csi: Bringing 3300000uV into 1800000-1800000uV

[    0.458929] aldo2: supplied by regulator-dummy

[    0.459192] aldo3: supplied by regulator-dummy

[    0.459467] dldo1: supplied by regulator-dummy

[    0.459770] dldo2: supplied by regulator-dummy

[    0.460184] dldo3: supplied by regulator-dummy

[    0.460623] dldo4: supplied by regulator-dummy

[    0.460709] vcc-wifi-io: Bringing 3300000uV into 1800000-1800000uV

[    0.461052] eldo1: supplied by regulator-dummy

[    0.461349] eldo2: supplied by regulator-dummy

[    0.461642] eldo3: supplied by regulator-dummy

[    0.461713] dvdd-1v8-csi: Bringing 700000uV into 1800000-1800000uV

[    0.461995] fldo1: supplied by regulator-dummy

[    0.462291] fldo2: supplied by regulator-dummy

[    0.462589] rtc-ldo: supplied by regulator-dummy

[    0.462868] ldo-io0: supplied by regulator-dummy

[    0.463161] ldo-io1: supplied by regulator-dummy

[    0.463229] vcc-1v8-typec: Bringing 3300000uV into 1800000-1800000uV

[    0.463541] axp20x-rsb sunxi-rsb-3a3: AXP20X driver loaded

[    0.469458] sun50i-a64-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver

[    0.472047] printk: console [ttyS0] disabled

[    0.472144] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 32, base_baud = 1500000) is a 16550A

[    0.472197] printk: console [ttyS0] enabled

[    0.472201] printk: bootconsole [uart0] disabled

[    0.473972] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 33, base_baud = 1500000) is a 16550A

[    0.474189] serial serial0: tty port ttyS1 registered

[    0.475337] 1c28c00.serial: ttyS2 at MMIO 0x1c28c00 (irq = 34, base_baud = 1500000) is a 16550A

[    0.475519] serial serial1: tty port ttyS2 registered

[    0.481196] modem-power serial1-0: modem power manager ready

[    0.507412] sun4i-drm display-engine: bound 1100000.mixer (ops sun8i_mixer_ops)

[    0.509266] sun4i-drm display-engine: bound 1200000.mixer (ops sun8i_mixer_ops)

[    0.509793] sun4i-drm display-engine: No panel or bridge found... RGB output disabled

[    0.509812] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops sun4i_tcon_ops)

[    0.510036] sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops sun4i_tcon_ops)

[    0.510071] sun4i-drm display-engine: bound 1ca0000.dsi (ops sun6i_dsi_ops)

[    0.511413] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)

[    0.512092] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver

[    0.512593] sun4i-drm display-engine: bound 1ee0000.hdmi (ops sun8i_dw_hdmi_ops)

[    0.513357] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 1

[    0.513459] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes

[    0.514580] ehci-platform 1c1b000.usb: EHCI Host Controller

[    0.514605] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3

[    0.514747] ehci-platform 1c1b000.usb: irq 22, io mem 0x01c1b000

[    0.514869] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes

[    0.527975] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00

[    0.528781] hub 3-0:1.0: USB hub found

[    0.528821] hub 3-0:1.0: 1 port detected

[    0.530117] ohci-platform 1c1b400.usb: Generic Platform OHCI controller

[    0.530142] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 4

[    0.530300] ohci-platform 1c1b400.usb: irq 23, io mem 0x01c1b400

[    0.592783] hub 4-0:1.0: USB hub found

[    0.592826] hub 4-0:1.0: 1 port detected

[    0.594175] usb_phy_generic usb_phy_generic.3.auto: supply vcc not found, using dummy regulator

[    0.595241] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver

[    0.595268] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 5

[    0.595374] phy id_det change to device

[    0.596106] hub 5-0:1.0: USB hub found

[    0.596145] hub 5-0:1.0: 1 port detected

[    0.701413] Goodix-TS 1-005d: ID 917S, version: 0200

[    0.704980] Goodix-TS 1-005d: Direct firmware load for goodix_917S_cfg.bin failed with error -2

[    0.709406] sun50i-a64-pinctrl 1c20800.pinctrl: supply vcc-pe not found, using dummy regulator

[    0.717453] sunxi-mmc 1c0f000.mmc: Got CD GPIO

[    0.720320] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB, uses new timings mode

[    0.724934] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB, uses new timings mode

[    0.727984] input: Goodix Capacitive TouchScreen as /devices/platform/soc/1c2ac00.i2c/i2c-1/1-005d/input/input1

[    0.729721] sunxi-mmc 1c11000.mmc: initialized, max. request size: 2048 KB, uses new timings mode

[    0.732797] scpi_protocol scpi: SCP Protocol 0.0 Firmware 0.0.0 version

[    0.785819] mmc0: new high speed SDHC card at address aaaa

[    0.786660] mmcblk0: mmc0:aaaa SC32G 29.7 GiB

[    0.789380]  mmcblk0: p1 p2

[    0.913181] mmc2: new DDR MMC card at address 0001

[    0.914233] mmcblk2: mmc2:0001  14.7 GiB

[    0.914722] mmcblk2boot0: mmc2:0001  partition 1 4.00 MiB

[    0.915206] mmcblk2boot1: mmc2:0001  partition 2 4.00 MiB

[    0.920124]  mmcblk2: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10

[    0.942291] Console: switching to colour frame buffer device 90x90

[    0.980374] sun4i-drm display-engine: [drm] fb0: sun4i-drmdrmfb frame buffer device

[    0.980397] sun6i-mipi-dsi 1ca0000.dsi: Attached device xbd599

[    0.980431] panel-sitronix-st7703 1ca0000.dsi.0: [drm:st7703_probe] 720x1440@60 24bpp dsi 4dl - ready

[    0.981594] cfg80211: Loading compiled-in X.509 certificates for regulatory database

[    0.983873] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'

[    0.984439] dw-apb-uart 1c28000.serial: forbid DMA for kernel console

[    0.985738] Freeing unused kernel memory: 1792K

[    0.985924] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2

[    0.985933] cfg80211: failed to load regulatory.db

[    1.007999] Run /init as init process

[    1.008002]   with arguments:

[    1.008004]     /init

[    1.008007]     PMOS_NO_OUTPUT_REDIRECT

[    1.008009]     PMOS_FORCE_PARTITION_RESIZE

[    1.008011]   with environment:

[    1.008013]     HOME=/

[    1.008016]     TERM=linux

[    1.008018]     pmos_boot=/dev/mmcblk0p1

[    1.008020]     pmos_root=/dev/mmcblk0p2

[    1.127928] anx7688 1-0028: power enabled

[    1.128776] anx7688 1-0028: Vendor id 0x1f29

[    1.143923] anx7688 1-0028: power disabled

[    1.144226] anx7688 1-0028: plug irq (cd=1)

[    1.144348] anx7688 1-0028: enabling USB BC 1.2 detection

[    1.144396] anx7688 1-0028: setting vbus_in current limit to 500000 mA

[    1.159945] anx7688 1-0028: cable inserted

[    1.199936] anx7688 1-0028: power enabled

[    1.265033] anx7688 1-0028: eeprom0 = 0x03

[    1.265296] anx7688 1-0028: fw loaded after 40 ms

[    1.266694] anx7688 1-0028: OCM firmware loaded (version 0x2312)

[    1.277433] anx7688 1-0028: send pd packet cmd=0 05 00 32 90 01 26 12

[    1.313159] anx7688 1-0028: send pd packet cmd=1 05 01 2c 91 01 26 16

[    1.314837] anx7688 1-0028: send pd packet cmd=2 11 02 00 00 00 ec 00 00 00 00 00 00 00 00 39 00 00 51 77

[    1.317613] anx7688 1-0028: send pd packet cmd=3 05 03 00 00 01 ff f8

[    1.319286] anx7688 1-0028: OCM configuration completed

[    1.320676] anx7688 1-0028: status changed to 0x00

[    1.320687] anx7688 1-0028: cc_status changed to CC1 = SRC.Open CC2 = SRC.Open

[    1.320692] anx7688 1-0028: dp state changed to 0x00

[    1.412776] anx7688 1-0028: cc_status changed to CC1 = SRC.Ra CC2 = SRC.Ra

[    1.615869] using random self ethernet address

[    1.615878] using random host ethernet address

[    1.626825] usb0: HOST MAC 5a:5b:2e:43:59:4c

[    1.626868] usb0: MAC 0e:e7:54:d1:5f:33

[    1.664731] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)

[    3.796147] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

[    3.828991] EXT4-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended

[    3.871792] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)

[    3.871849] ext4 filesystem being mounted at /sysroot/boot supports timestamps until 2038 (0x7fffffff)

[    5.728846] device-mapper: table: 253:0: linear: Device lookup failed

[    5.728856] device-mapper: ioctl: error adding target to table

[    5.742333] device-mapper: table: 253:0: linear: Device lookup failed

[    5.742342] device-mapper: ioctl: error adding target to table

[    6.199117] udevd[2015]: starting version 3.2.9

[    6.222950] random: udevd: uninitialized urandom read (16 bytes read)

[    6.224202] random: udevd: uninitialized urandom read (16 bytes read)

[    6.224257] random: udevd: uninitialized urandom read (16 bytes read)

[    6.289950] udevd[2015]: starting eudev-3.2.9

[    6.418497] i2c-gpio i2c-csi: using lines 141 (SDA) and 140 (SCL)

[    6.601725] NET: Registered protocol family 10

[    6.602809] Segment Routing with IPv6

[    6.655172] input: 1c21800.lradc as /devices/platform/soc/1c21800.lradc/input/input2

[    6.775401] input: gpio-vibrator as /devices/platform/vibrator/input/input3

[    6.784933] bt-sco bt-sco-codec: ASoC: sink widget Capture overwritten

[    6.784949] bt-sco bt-sco-codec: ASoC: source widget Playback overwritten

[    6.785058] simple-amplifier audio-amplifier: supply VCC not found, using dummy regulator

[    6.789852] debugfs: File 'Playback' in directory 'dapm' already present!

[    6.789867] debugfs: File 'Capture' in directory 'dapm' already present!

[    6.792114] input: PinePhone Headset Jack as /devices/platform/sound/sound/card0/input4

[    6.816748] iio iio:device3: interrupts on the rising edge

[    6.819492] iio iio:device3: registered magnetometer lis3mdl

[    6.916260] Bluetooth: Core ver 2.22

[    6.916376] NET: Registered protocol family 31

[    6.916380] Bluetooth: HCI device and connection manager initialized

[    6.916410] Bluetooth: HCI socket layer initialized

[    6.916420] Bluetooth: L2CAP socket layer initialized

[    6.916456] Bluetooth: SCO socket layer initialized

[    6.958482] sun6i-csi 1cb0000.csi: creating gc2145 4-003c:0 -> sun6i-csi:0 link

[    6.958495] sun6i-csi 1cb0000.csi: creating ov5640 4-004c:0 -> sun6i-csi:0 link

[    6.966073] Bluetooth: HCI UART driver ver 2.3

[    6.966087] Bluetooth: HCI UART protocol H4 registered

[    6.966177] Bluetooth: HCI UART protocol LL registered

[    6.966249] Bluetooth: HCI UART protocol Three-wire (H5) registered

[    6.967221] dw-apb-uart 1c28400.serial: failed to request DMA

[    6.967418] Bluetooth: HCI UART protocol Broadcom registered

[    7.198951] i2c i2c-2: Added multiplexed i2c bus 5

[    8.279301] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)

[    8.542949] urandom_read: 5 callbacks suppressed

[    8.542958] random: mktemp: uninitialized urandom read (10 bytes read)

[    8.983590] random: dbus-daemon: uninitialized urandom read (12 bytes read)

[    9.363190] modem-power serial1-0: powering up

[    9.628036] modem-power serial1-0: wakeup ok

[   10.744219] random: crng init done

[   12.575842] modem-power serial1-0: status ok

[   12.576228] dw-apb-uart 1c28c00.serial: failed to request DMA

[   22.843466] usb 3-1: new high-speed USB device number 2 using ehci-platform

[   23.081962] usbcore: registered new interface driver cdc_wdm

[   23.091657] usbcore: registered new interface driver option

[   23.091725] usbserial: USB Serial support registered for GSM modem (1-port)

[   23.092091] option 3-1:1.0: GSM modem (1-port) converter detected

[   23.092545] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0

[   23.092809] option 3-1:1.1: GSM modem (1-port) converter detected

[   23.094234] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1

[   23.095691] option 3-1:1.2: GSM modem (1-port) converter detected

[   23.098746] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2

[   23.099017] option 3-1:1.3: GSM modem (1-port) converter detected

[   23.099878] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB3

[   23.111216] qmi_wwan 3-1:1.4: cdc-wdm0: USB WDM device

[   23.112690] qmi_wwan 3-1:1.4 wwan0: register 'qmi_wwan' at usb-1c1b000.usb-1, WWAN/QMI device, c6:bb:e8:65:3c:e6

[   23.112837] usbcore: registered new interface driver qmi_wwan

[   26.581509] modem-power serial1-0: ===================================================

[   26.581525] modem-power serial1-0: Project Name: EG25G

[   26.581534] modem-power serial1-0: Project Rev : EG25GGBR07A08M2G_01.001.10

[   26.581542] modem-power serial1-0: Branch  Name: 9x07_R07_NEW

[   26.581549] modem-power serial1-0: Custom Name : STD

[   26.581557] modem-power serial1-0: Build   Date: 2019-12-03,18:10

[   26.581566] modem-power serial1-0: Version:    SBLR07EG25G01_1:37500: Oct 17 2

[   26.581573] modem-power serial1-0: Version:    TZR07A03: Dec  2 2019

[   26.581582] modem-power serial1-0: Version:    RPMR07A03_1:37500: Dec  2 2019

[   26.581588] modem-power serial1-0: ===================================================

[   26.581597] modem-power serial1-0: Your modem has an outdated
firmware. Latest know version is EG25GGBR07A08M2G_01.002.07. Consider
updating.

[   26.591356] modem-power serial1-0: ADB KEY is '32251809' (you can use
it to unlock ADB access to the modem, see
https://xnux.eu/devices/feature/modem-pp.html)

[   27.635294] modem-power serial1-0: QDAI is '1,1,0,1,0,0,1,1'

[   27.647281] modem-power serial1-0: QCFG 'risignaltype' is '"physical"'

[   27.659370] modem-power serial1-0: QCFG 'urc/ri/ring' is '"pulse",1,1000,5000,"off",1'

[   27.675268] modem-power serial1-0: QCFG 'urc/ri/smsincoming' is '"pulse",1,1'

[   27.691291] modem-power serial1-0: QCFG 'urc/ri/other' is '"off",1,1'

[   27.703313] modem-power serial1-0: QCFG 'urc/ri/pin' is 'uart_ri'

[   27.715373] modem-power serial1-0: QCFG 'urc/delay' is '0'

[   27.727336] modem-power serial1-0: QCFG 'sleepind/level' is '0'

[   27.743366] modem-power serial1-0: QCFG 'wakeupin/level' is '0'

[   27.755288] modem-power serial1-0: QCFG 'ApRstLevel' is '1' (changing to '0')

[   27.779290] modem-power serial1-0: QCFG 'ModemRstLevel' is '0'

[   27.791309] modem-power serial1-0: QCFG 'apready' is '0,0,500'

[   27.803274] modem-power serial1-0: QCFG 'airplanecontrol' is '1,0'

[   27.815301] modem-power serial1-0: AT command 'AT+QCFG="fast/poweroff"' returned ERROR

[   27.839310] modem-power serial1-0: powered up in 18476 ms

[   31.715157] vbat-wifi: disabling

[   31.715197] avdd-csi: disabling

[   31.715260] usb-5v: disabling

Code:
Code:
[   27.839310] modem-power serial1-0: powered up in 18476 ms

[   31.715157] vbat-wifi: disabling

[   31.715197] avdd-csi: disabling

[   31.715260] usb-5v: disabling

I see vbat-wifi disabling at the end and rtl8723cs kernel module for wifi doesn't load on turning on the phone or when the phone is rebooted.

ipconfig -a output -
Code:
Code:
lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:65536  Metric:1

          RX packets:4 errors:0 dropped:0 overruns:0 frame:0

          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:288 (288.0 B)  TX bytes:288 (288.0 B)



usb0      Link encap:Ethernet  HWaddr D6:BC:2F:DA:FA:00

          inet addr:172.16.42.1  Bcast:172.16.255.255  Mask:255.255.0.0

          UP BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)



wwan0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00

          POINTOPOINT NOARP MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000



          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

I have tried different versions of OS and it is same on all. wifi and bluetooth interface is never started on all.

Anyone here encountered this error? I have tried different options browsing the internet with little, all kinds of help to fix this issue is welcome. Please help!!!


Below 2 error messages in dmesg indicate some issue with hardware -

[    0.402520] SMCCC: SOC_ID: ARCH_FEATURES(ARCH_SOC_ID) returned error: fffffffffffffffd

[  12.576228] dw-apb-uart 1c28c00.serial: failed to request DMA


Any kernel developers here who can debug these messages will be of great help.. Thanks
  Reply
#2
(11-12-2020, 01:15 AM)aithal Wrote: I have been using Pinephone UBports edition since August. I have been trying out different OS versions, but always had a stable customized SXMO build of PMOS which I have been using with all basic phone functionalities working.
When I upgraded to kernel 5.9.1 pmos sxmo on another sdcard, the wifi and bluetooth stopped working.

The demsg log is as follows -
Code:
Code:
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]

[    0.000000] Linux version 5.9.1 (pmos@build)
(aarch64-alpine-linux-musl-gcc (Alpine 10.2.0) 10.2.0, GNU ld (GNU
Binutils) 2.35.1) #4-postmarketos-allwinner SMP Fri Oct 30 07:37:12 UTC
2020

[    0.000000] Machine model: Pine64 PinePhone (1.2)

[    0.000000] earlycon: uart0 at MMIO32 0x0000000001c28000 (options '')

[    0.000000] printk: bootconsole [uart0] enabled

[    0.000000] cma: Reserved 256 MiB at 0x00000000b0000000

[    0.000000] NUMA: No NUMA configuration found

[    0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000bfffffff]

[    0.000000] NUMA: NODE_DATA [mem 0xafbcc100-0xafbcdfff]

[    0.000000] Zone ranges:

[    0.000000]   DMA      [mem 0x0000000040000000-0x000000007fffffff]

[    0.000000]   DMA32    [mem 0x0000000080000000-0x00000000bfffffff]

[    0.000000]   Normal   empty

[    0.000000] Movable zone start for each node

[    0.000000] Early memory node ranges

[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000bfffffff]

[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]

[    0.000000] On node 0 totalpages: 524288

[    0.000000]   DMA zone: 4096 pages used for memmap

[    0.000000]   DMA zone: 0 pages reserved

[    0.000000]   DMA zone: 262144 pages, LIFO batch:63

[    0.000000]   DMA32 zone: 4096 pages used for memmap

[    0.000000]   DMA32 zone: 262144 pages, LIFO batch:63

[    0.000000] psci: probing for conduit method from DT.

[    0.000000] psci: PSCIv1.1 detected in firmware.

[    0.000000] psci: Using standard PSCI v0.2 function IDs

[    0.000000] psci: MIGRATE_INFO_TYPE not supported.

[    0.000000] psci: SMC Calling Convention v1.2

[    0.000000] percpu: Embedded 22 pages/cpu s50008 r8192 d31912 u90112

[    0.000000] pcpu-alloc: s50008 r8192 d31912 u90112 alloc=22*4096

[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3

[    0.000000] Detected VIPT I-cache on CPU0

[    0.000000] CPU features: detected: ARM erratum 845719

[    0.000000] CPU features: detected: ARM erratum 843419

[    0.000000] Speculative Store Bypass Disable mitigation not required

[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096

[    0.000000] Policy zone: DMA32

[    0.000000] Kernel command line: init=/init.sh rw console=tty0
console=ttyS0,115200 earlycon=uart,mmio32,0x01c28000 panic=10
consoleblank=0 loglevel=1 cma=256M PMOS_NO_OUTPUT_REDIRECT
PMOS_FORCE_PARTITION_RESIZE pmos_boot=/dev/mmcblk0p1
pmos_root=/dev/mmcblk0p2

[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)

[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)

[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off

[    0.000000] software IO TLB: mapped [mem 0x7bfff000-0x7ffff000] (64MB)

[    0.000000] Memory: 1709188K/2097152K available (10942K kernel code,
650K rwdata, 4064K rodata, 1792K init, 388K bss, 125820K reserved,
262144K cma-reserved)

[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1

[    0.000000] rcu: Hierarchical RCU implementation.

[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.

[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.

[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4

[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0

[    0.000000] GIC: Using split EOI/Deactivate mode

[    0.000000] random: get_random_bytes called from start_kernel+0x304/0x4cc with crng_init=0

[    0.000000] arch_timer: Enabling global workaround for Allwinner erratum UNKNOWN1

[    0.000000] arch_timer: CPU0: Trapping CNTVCT access

[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).

[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns

[    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns

[    0.000456] Console: colour dummy device 80x25

[    0.000470] printk: console [tty0] enabled

[    0.000562] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)

[    0.000571] pid_max: default: 32768 minimum: 301

[    0.000662] LSM: Security Framework initializing

[    0.000739] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)

[    0.000759] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)

[    0.002520] rcu: Hierarchical SRCU implementation.

[    0.003148] smp: Bringing up secondary CPUs ...

[    0.004663] Detected VIPT I-cache on CPU1

[    0.004726] arch_timer: CPU1: Trapping CNTVCT access

[    0.004739] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]

[    0.005705] Detected VIPT I-cache on CPU2

[    0.005736] arch_timer: CPU2: Trapping CNTVCT access

[    0.005744] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]

[    0.006604] Detected VIPT I-cache on CPU3

[    0.006631] arch_timer: CPU3: Trapping CNTVCT access

[    0.006639] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]

[    0.006711] smp: Brought up 1 node, 4 CPUs

[    0.006716] SMP: Total of 4 processors activated.

[    0.006721] CPU features: detected: 32-bit EL0 Support

[    0.006727] CPU features: detected: CRC32 instructions

[    0.020620] CPU: All CPU(s) started at EL2

[    0.020645] alternatives: patching kernel code

[    0.022461] devtmpfs: initialized

[    0.030904] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns

[    0.030929] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)

[    0.040529] pinctrl core: initialized pinctrl subsystem

[    0.041918] NET: Registered protocol family 16

[    0.043680] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations

[    0.043744] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations

[    0.043895] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations

[    0.044861] thermal_sys: Registered thermal governor 'fair_share'

[    0.044866] thermal_sys: Registered thermal governor 'bang_bang'

[    0.044873] thermal_sys: Registered thermal governor 'step_wise'

[    0.044876] thermal_sys: Registered thermal governor 'power_allocator'

[    0.045640] cpuidle: using governor menu

[    0.045820] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.

[    0.045931] ASID allocator initialised with 65536 entries

[    0.046089] Serial: AMBA PL011 UART driver

[    0.085528] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages

[    0.085541] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages

[    0.085546] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages

[    0.085551] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages

[    0.087105] cryptd: max_cpu_qlen set to 1000

[    0.091407] iommu: Default domain type: Translated

[    0.091798] SCSI subsystem initialized

[    0.092148] usbcore: registered new interface driver usbfs

[    0.092209] usbcore: registered new interface driver hub

[    0.092301] usbcore: registered new device driver usb

[    0.093398] mc: Linux media interface: v0.10

[    0.093453] videodev: Linux video capture interface: v2.00

[    0.093775] EDAC MC: Ver: 3.0.0

[    0.095923] clocksource: Switched to clocksource arch_sys_counter

[    0.096177] VFS: Disk quotas dquot_6.6.0

[    0.096241] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)

[    0.108042] NET: Registered protocol family 2

[    0.108527] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)

[    0.108566] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)

[    0.108723] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)

[    0.109058] TCP: Hash tables configured (established 16384 bind 16384)

[    0.109195] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)

[    0.109254] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)

[    0.109435] NET: Registered protocol family 1

[    0.110008] RPC: Registered named UNIX socket transport module.

[    0.110012] RPC: Registered udp transport module.

[    0.110015] RPC: Registered tcp transport module.

[    0.110017] RPC: Registered tcp NFSv4.1 backchannel transport module.

[    0.110718] Unpacking initramfs...

[    0.183151] Freeing initrd memory: 1420K

[    0.184109] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available

[    0.188579] Initialise system trusted keyrings

[    0.188775] workingset: timestamp_bits=44 max_order=19 bucket_order=0

[    0.197396] NFS: Registering the id_resolver key type

[    0.197430] Key type id_resolver registered

[    0.197433] Key type id_legacy registered

[    0.197537] nfs4filelayout_init: NFSv4 File Layout Driver Registering...

[    0.197753] fuse: init (API version 7.31)

[    0.251203] Key type asymmetric registered

[    0.251211] Asymmetric key parser 'x509' registered

[    0.251269] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)

[    0.251276] io scheduler mq-deadline registered

[    0.251280] io scheduler kyber registered

[    0.257685] sun50i-a64-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver

[    0.259080] sun50i-a64-r-pinctrl 1f02c00.pinctrl: supply vcc-pl not found, using dummy regulator

[    0.279288] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

[    0.292047] lima 1c40000.gpu: gp - mali400 version major 1 minor 1

[    0.292096] lima 1c40000.gpu: pp0 - mali400 version major 1 minor 1

[    0.292145] lima 1c40000.gpu: pp1 - mali400 version major 1 minor 1

[    0.292189] lima 1c40000.gpu: l2 cache 64K, 4-way, 64byte cache line, 64bit external bus

[    0.292580] lima 1c40000.gpu: bus rate = 200000000

[    0.292587] lima 1c40000.gpu: mod rate = 432000000

[    0.293008] [drm] Initialized lima 1.1.0 20191231 for 1c40000.gpu on minor 0

[    0.303316] loop: module loaded

[    0.303855] zram: Added device: zram0

[    0.305862] libphy: Fixed MDIO Bus: probed

[    0.305874] tun: Universal TUN/TAP device driver, 1.6

[    0.306227] VFIO - User Level meta-driver version: 0.3

[    0.307681] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[    0.307689] ehci-platform: EHCI generic platform driver

[    0.308176] ehci-platform 1c1a000.usb: EHCI Host Controller

[    0.308207] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1

[    0.308345] ehci-platform 1c1a000.usb: irq 20, io mem 0x01c1a000

[    0.323967] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00

[    0.324794] hub 1-0:1.0: USB hub found

[    0.324838] hub 1-0:1.0: 1 port detected

[    0.325795] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

[    0.325834] ohci-platform: OHCI generic platform driver

[    0.326074] ohci-platform 1c1a400.usb: Generic Platform OHCI controller

[    0.326095] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2

[    0.326228] ohci-platform 1c1a400.usb: irq 21, io mem 0x01c1a400

[    0.388681] hub 2-0:1.0: USB hub found

[    0.388723] hub 2-0:1.0: 1 port detected

[    0.390244] usbcore: registered new interface driver usb-storage

[    0.393794] sun6i-rtc 1f00000.rtc: registered as rtc0

[    0.393850] sun6i-rtc 1f00000.rtc: setting system clock to 2020-11-09T05:55:36 UTC (1604901336)

[    0.393857] sun6i-rtc 1f00000.rtc: RTC enabled

[    0.394058] i2c /dev entries driver

[    0.395756] sun8i-di 1e00000.deinterlace: Device registered as /dev/video0

[    0.398611] device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialised: dm-devel@redhat.com

[    0.399324] sdhci: Secure Digital Host Controller Interface driver

[    0.399330] sdhci: Copyright(c) Pierre Ossman

[    0.399472] Synopsys Designware Multimedia Card Interface Driver

[    0.400619] sdhci-pltfm: SDHCI platform and OF driver helper

[    0.402005] ledtrig-cpu: registered to indicate activity on CPUs

[    0.402520] SMCCC: SOC_ID: ARCH_FEATURES(ARCH_SOC_ID) returned error: fffffffffffffffd

[    0.402600] hid: raw HID events driver (C) Jiri Kosina

[    0.403622] usbcore: registered new interface driver usbhid

[    0.403632] usbhid: USB HID core driver

[    0.405495] cedrus 1c0e000.video-codec: Device registered as /dev/video1

[    0.406594] ashmem: initialized

[    0.412375] NET: Registered protocol family 17

[    0.412475] Key type dns_resolver registered

[    0.412912] registered taskstats version 1

[    0.412920] Loading compiled-in X.509 certificates

[    0.430671] sun8i-rotate 1020000.rotate: Device registered as /dev/video2

[    0.435658] sunxi-rsb 1f03400.rsb: RSB running at 4000000 Hz

[    0.436139] axp20x-rsb sunxi-rsb-3a3: AXP20x variant AXP803 found

[    0.438190] input: axp20x-pek as /devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/input/input0

[    0.443672] axp20x-adc axp813-adc: DMA mask not set

[    0.446286] axp20x-battery-power-supply axp20x-battery-power-supply: DMA mask not set

[    0.452103] axp20x-battery-power-supply axp20x-battery-power-supply: Configuring battery thermal regulation for Pinephone

[    0.454529] axp20x-usb-power-supply axp20x-usb-power-supply: DMA mask not set

[    0.455956] random: fast init done

[    0.456743] dcdc1: supplied by regulator-dummy

[    0.457198] dcdc2: supplied by regulator-dummy

[    0.457478] dcdc4: supplied by regulator-dummy

[    0.457755] dcdc5: supplied by regulator-dummy

[    0.458062] dcdc6: supplied by regulator-dummy

[    0.458329] dc1sw: supplied by regulator-dummy

[    0.458552] aldo1: supplied by regulator-dummy

[    0.458626] dovdd-csi: Bringing 3300000uV into 1800000-1800000uV

[    0.458929] aldo2: supplied by regulator-dummy

[    0.459192] aldo3: supplied by regulator-dummy

[    0.459467] dldo1: supplied by regulator-dummy

[    0.459770] dldo2: supplied by regulator-dummy

[    0.460184] dldo3: supplied by regulator-dummy

[    0.460623] dldo4: supplied by regulator-dummy

[    0.460709] vcc-wifi-io: Bringing 3300000uV into 1800000-1800000uV

[    0.461052] eldo1: supplied by regulator-dummy

[    0.461349] eldo2: supplied by regulator-dummy

[    0.461642] eldo3: supplied by regulator-dummy

[    0.461713] dvdd-1v8-csi: Bringing 700000uV into 1800000-1800000uV

[    0.461995] fldo1: supplied by regulator-dummy

[    0.462291] fldo2: supplied by regulator-dummy

[    0.462589] rtc-ldo: supplied by regulator-dummy

[    0.462868] ldo-io0: supplied by regulator-dummy

[    0.463161] ldo-io1: supplied by regulator-dummy

[    0.463229] vcc-1v8-typec: Bringing 3300000uV into 1800000-1800000uV

[    0.463541] axp20x-rsb sunxi-rsb-3a3: AXP20X driver loaded

[    0.469458] sun50i-a64-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver

[    0.472047] printk: console [ttyS0] disabled

[    0.472144] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 32, base_baud = 1500000) is a 16550A

[    0.472197] printk: console [ttyS0] enabled

[    0.472201] printk: bootconsole [uart0] disabled

[    0.473972] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 33, base_baud = 1500000) is a 16550A

[    0.474189] serial serial0: tty port ttyS1 registered

[    0.475337] 1c28c00.serial: ttyS2 at MMIO 0x1c28c00 (irq = 34, base_baud = 1500000) is a 16550A

[    0.475519] serial serial1: tty port ttyS2 registered

[    0.481196] modem-power serial1-0: modem power manager ready

[    0.507412] sun4i-drm display-engine: bound 1100000.mixer (ops sun8i_mixer_ops)

[    0.509266] sun4i-drm display-engine: bound 1200000.mixer (ops sun8i_mixer_ops)

[    0.509793] sun4i-drm display-engine: No panel or bridge found... RGB output disabled

[    0.509812] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops sun4i_tcon_ops)

[    0.510036] sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops sun4i_tcon_ops)

[    0.510071] sun4i-drm display-engine: bound 1ca0000.dsi (ops sun6i_dsi_ops)

[    0.511413] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)

[    0.512092] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver

[    0.512593] sun4i-drm display-engine: bound 1ee0000.hdmi (ops sun8i_dw_hdmi_ops)

[    0.513357] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 1

[    0.513459] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes

[    0.514580] ehci-platform 1c1b000.usb: EHCI Host Controller

[    0.514605] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3

[    0.514747] ehci-platform 1c1b000.usb: irq 22, io mem 0x01c1b000

[    0.514869] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes

[    0.527975] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00

[    0.528781] hub 3-0:1.0: USB hub found

[    0.528821] hub 3-0:1.0: 1 port detected

[    0.530117] ohci-platform 1c1b400.usb: Generic Platform OHCI controller

[    0.530142] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 4

[    0.530300] ohci-platform 1c1b400.usb: irq 23, io mem 0x01c1b400

[    0.592783] hub 4-0:1.0: USB hub found

[    0.592826] hub 4-0:1.0: 1 port detected

[    0.594175] usb_phy_generic usb_phy_generic.3.auto: supply vcc not found, using dummy regulator

[    0.595241] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver

[    0.595268] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 5

[    0.595374] phy id_det change to device

[    0.596106] hub 5-0:1.0: USB hub found

[    0.596145] hub 5-0:1.0: 1 port detected

[    0.701413] Goodix-TS 1-005d: ID 917S, version: 0200

[    0.704980] Goodix-TS 1-005d: Direct firmware load for goodix_917S_cfg.bin failed with error -2

[    0.709406] sun50i-a64-pinctrl 1c20800.pinctrl: supply vcc-pe not found, using dummy regulator

[    0.717453] sunxi-mmc 1c0f000.mmc: Got CD GPIO

[    0.720320] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB, uses new timings mode

[    0.724934] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB, uses new timings mode

[    0.727984] input: Goodix Capacitive TouchScreen as /devices/platform/soc/1c2ac00.i2c/i2c-1/1-005d/input/input1

[    0.729721] sunxi-mmc 1c11000.mmc: initialized, max. request size: 2048 KB, uses new timings mode

[    0.732797] scpi_protocol scpi: SCP Protocol 0.0 Firmware 0.0.0 version

[    0.785819] mmc0: new high speed SDHC card at address aaaa

[    0.786660] mmcblk0: mmc0:aaaa SC32G 29.7 GiB

[    0.789380]  mmcblk0: p1 p2

[    0.913181] mmc2: new DDR MMC card at address 0001

[    0.914233] mmcblk2: mmc2:0001  14.7 GiB

[    0.914722] mmcblk2boot0: mmc2:0001  partition 1 4.00 MiB

[    0.915206] mmcblk2boot1: mmc2:0001  partition 2 4.00 MiB

[    0.920124]  mmcblk2: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10

[    0.942291] Console: switching to colour frame buffer device 90x90

[    0.980374] sun4i-drm display-engine: [drm] fb0: sun4i-drmdrmfb frame buffer device

[    0.980397] sun6i-mipi-dsi 1ca0000.dsi: Attached device xbd599

[    0.980431] panel-sitronix-st7703 1ca0000.dsi.0: [drm:st7703_probe] 720x1440@60 24bpp dsi 4dl - ready

[    0.981594] cfg80211: Loading compiled-in X.509 certificates for regulatory database

[    0.983873] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'

[    0.984439] dw-apb-uart 1c28000.serial: forbid DMA for kernel console

[    0.985738] Freeing unused kernel memory: 1792K

[    0.985924] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2

[    0.985933] cfg80211: failed to load regulatory.db

[    1.007999] Run /init as init process

[    1.008002]   with arguments:

[    1.008004]     /init

[    1.008007]     PMOS_NO_OUTPUT_REDIRECT

[    1.008009]     PMOS_FORCE_PARTITION_RESIZE

[    1.008011]   with environment:

[    1.008013]     HOME=/

[    1.008016]     TERM=linux

[    1.008018]     pmos_boot=/dev/mmcblk0p1

[    1.008020]     pmos_root=/dev/mmcblk0p2

[    1.127928] anx7688 1-0028: power enabled

[    1.128776] anx7688 1-0028: Vendor id 0x1f29

[    1.143923] anx7688 1-0028: power disabled

[    1.144226] anx7688 1-0028: plug irq (cd=1)

[    1.144348] anx7688 1-0028: enabling USB BC 1.2 detection

[    1.144396] anx7688 1-0028: setting vbus_in current limit to 500000 mA

[    1.159945] anx7688 1-0028: cable inserted

[    1.199936] anx7688 1-0028: power enabled

[    1.265033] anx7688 1-0028: eeprom0 = 0x03

[    1.265296] anx7688 1-0028: fw loaded after 40 ms

[    1.266694] anx7688 1-0028: OCM firmware loaded (version 0x2312)

[    1.277433] anx7688 1-0028: send pd packet cmd=0 05 00 32 90 01 26 12

[    1.313159] anx7688 1-0028: send pd packet cmd=1 05 01 2c 91 01 26 16

[    1.314837] anx7688 1-0028: send pd packet cmd=2 11 02 00 00 00 ec 00 00 00 00 00 00 00 00 39 00 00 51 77

[    1.317613] anx7688 1-0028: send pd packet cmd=3 05 03 00 00 01 ff f8

[    1.319286] anx7688 1-0028: OCM configuration completed

[    1.320676] anx7688 1-0028: status changed to 0x00

[    1.320687] anx7688 1-0028: cc_status changed to CC1 = SRC.Open CC2 = SRC.Open

[    1.320692] anx7688 1-0028: dp state changed to 0x00

[    1.412776] anx7688 1-0028: cc_status changed to CC1 = SRC.Ra CC2 = SRC.Ra

[    1.615869] using random self ethernet address

[    1.615878] using random host ethernet address

[    1.626825] usb0: HOST MAC 5a:5b:2e:43:59:4c

[    1.626868] usb0: MAC 0e:e7:54:d1:5f:33

[    1.664731] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)

[    3.796147] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

[    3.828991] EXT4-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended

[    3.871792] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)

[    3.871849] ext4 filesystem being mounted at /sysroot/boot supports timestamps until 2038 (0x7fffffff)

[    5.728846] device-mapper: table: 253:0: linear: Device lookup failed

[    5.728856] device-mapper: ioctl: error adding target to table

[    5.742333] device-mapper: table: 253:0: linear: Device lookup failed

[    5.742342] device-mapper: ioctl: error adding target to table

[    6.199117] udevd[2015]: starting version 3.2.9

[    6.222950] random: udevd: uninitialized urandom read (16 bytes read)

[    6.224202] random: udevd: uninitialized urandom read (16 bytes read)

[    6.224257] random: udevd: uninitialized urandom read (16 bytes read)

[    6.289950] udevd[2015]: starting eudev-3.2.9

[    6.418497] i2c-gpio i2c-csi: using lines 141 (SDA) and 140 (SCL)

[    6.601725] NET: Registered protocol family 10

[    6.602809] Segment Routing with IPv6

[    6.655172] input: 1c21800.lradc as /devices/platform/soc/1c21800.lradc/input/input2

[    6.775401] input: gpio-vibrator as /devices/platform/vibrator/input/input3

[    6.784933] bt-sco bt-sco-codec: ASoC: sink widget Capture overwritten

[    6.784949] bt-sco bt-sco-codec: ASoC: source widget Playback overwritten

[    6.785058] simple-amplifier audio-amplifier: supply VCC not found, using dummy regulator

[    6.789852] debugfs: File 'Playback' in directory 'dapm' already present!

[    6.789867] debugfs: File 'Capture' in directory 'dapm' already present!

[    6.792114] input: PinePhone Headset Jack as /devices/platform/sound/sound/card0/input4

[    6.816748] iio iio:device3: interrupts on the rising edge

[    6.819492] iio iio:device3: registered magnetometer lis3mdl

[    6.916260] Bluetooth: Core ver 2.22

[    6.916376] NET: Registered protocol family 31

[    6.916380] Bluetooth: HCI device and connection manager initialized

[    6.916410] Bluetooth: HCI socket layer initialized

[    6.916420] Bluetooth: L2CAP socket layer initialized

[    6.916456] Bluetooth: SCO socket layer initialized

[    6.958482] sun6i-csi 1cb0000.csi: creating gc2145 4-003c:0 -> sun6i-csi:0 link

[    6.958495] sun6i-csi 1cb0000.csi: creating ov5640 4-004c:0 -> sun6i-csi:0 link

[    6.966073] Bluetooth: HCI UART driver ver 2.3

[    6.966087] Bluetooth: HCI UART protocol H4 registered

[    6.966177] Bluetooth: HCI UART protocol LL registered

[    6.966249] Bluetooth: HCI UART protocol Three-wire (H5) registered

[    6.967221] dw-apb-uart 1c28400.serial: failed to request DMA

[    6.967418] Bluetooth: HCI UART protocol Broadcom registered

[    7.198951] i2c i2c-2: Added multiplexed i2c bus 5

[    8.279301] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)

[    8.542949] urandom_read: 5 callbacks suppressed

[    8.542958] random: mktemp: uninitialized urandom read (10 bytes read)

[    8.983590] random: dbus-daemon: uninitialized urandom read (12 bytes read)

[    9.363190] modem-power serial1-0: powering up

[    9.628036] modem-power serial1-0: wakeup ok

[   10.744219] random: crng init done

[   12.575842] modem-power serial1-0: status ok

[   12.576228] dw-apb-uart 1c28c00.serial: failed to request DMA

[   22.843466] usb 3-1: new high-speed USB device number 2 using ehci-platform

[   23.081962] usbcore: registered new interface driver cdc_wdm

[   23.091657] usbcore: registered new interface driver option

[   23.091725] usbserial: USB Serial support registered for GSM modem (1-port)

[   23.092091] option 3-1:1.0: GSM modem (1-port) converter detected

[   23.092545] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0

[   23.092809] option 3-1:1.1: GSM modem (1-port) converter detected

[   23.094234] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1

[   23.095691] option 3-1:1.2: GSM modem (1-port) converter detected

[   23.098746] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2

[   23.099017] option 3-1:1.3: GSM modem (1-port) converter detected

[   23.099878] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB3

[   23.111216] qmi_wwan 3-1:1.4: cdc-wdm0: USB WDM device

[   23.112690] qmi_wwan 3-1:1.4 wwan0: register 'qmi_wwan' at usb-1c1b000.usb-1, WWAN/QMI device, c6:bb:e8:65:3c:e6

[   23.112837] usbcore: registered new interface driver qmi_wwan

[   26.581509] modem-power serial1-0: ===================================================

[   26.581525] modem-power serial1-0: Project Name: EG25G

[   26.581534] modem-power serial1-0: Project Rev : EG25GGBR07A08M2G_01.001.10

[   26.581542] modem-power serial1-0: Branch  Name: 9x07_R07_NEW

[   26.581549] modem-power serial1-0: Custom Name : STD

[   26.581557] modem-power serial1-0: Build   Date: 2019-12-03,18:10

[   26.581566] modem-power serial1-0: Version:    SBLR07EG25G01_1:37500: Oct 17 2

[   26.581573] modem-power serial1-0: Version:    TZR07A03: Dec  2 2019

[   26.581582] modem-power serial1-0: Version:    RPMR07A03_1:37500: Dec  2 2019

[   26.581588] modem-power serial1-0: ===================================================

[   26.581597] modem-power serial1-0: Your modem has an outdated
firmware. Latest know version is EG25GGBR07A08M2G_01.002.07. Consider
updating.

[   26.591356] modem-power serial1-0: ADB KEY is '32251809' (you can use
it to unlock ADB access to the modem, see
https://xnux.eu/devices/feature/modem-pp.html)

[   27.635294] modem-power serial1-0: QDAI is '1,1,0,1,0,0,1,1'

[   27.647281] modem-power serial1-0: QCFG 'risignaltype' is '"physical"'

[   27.659370] modem-power serial1-0: QCFG 'urc/ri/ring' is '"pulse",1,1000,5000,"off",1'

[   27.675268] modem-power serial1-0: QCFG 'urc/ri/smsincoming' is '"pulse",1,1'

[   27.691291] modem-power serial1-0: QCFG 'urc/ri/other' is '"off",1,1'

[   27.703313] modem-power serial1-0: QCFG 'urc/ri/pin' is 'uart_ri'

[   27.715373] modem-power serial1-0: QCFG 'urc/delay' is '0'

[   27.727336] modem-power serial1-0: QCFG 'sleepind/level' is '0'

[   27.743366] modem-power serial1-0: QCFG 'wakeupin/level' is '0'

[   27.755288] modem-power serial1-0: QCFG 'ApRstLevel' is '1' (changing to '0')

[   27.779290] modem-power serial1-0: QCFG 'ModemRstLevel' is '0'

[   27.791309] modem-power serial1-0: QCFG 'apready' is '0,0,500'

[   27.803274] modem-power serial1-0: QCFG 'airplanecontrol' is '1,0'

[   27.815301] modem-power serial1-0: AT command 'AT+QCFG="fast/poweroff"' returned ERROR

[   27.839310] modem-power serial1-0: powered up in 18476 ms

[   31.715157] vbat-wifi: disabling

[   31.715197] avdd-csi: disabling

[   31.715260] usb-5v: disabling

Code:
Code:
[   27.839310] modem-power serial1-0: powered up in 18476 ms

[   31.715157] vbat-wifi: disabling

[   31.715197] avdd-csi: disabling

[   31.715260] usb-5v: disabling

I see vbat-wifi disabling at the end and rtl8723cs kernel module for wifi doesn't load on turning on the phone or when the phone is rebooted.

ipconfig -a output -
Code:
Code:
lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:65536  Metric:1

          RX packets:4 errors:0 dropped:0 overruns:0 frame:0

          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:288 (288.0 B)  TX bytes:288 (288.0 B)



usb0      Link encap:Ethernet  HWaddr D6:BC:2F:DA:FA:00

          inet addr:172.16.42.1  Bcast:172.16.255.255  Mask:255.255.0.0

          UP BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)



wwan0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00

          POINTOPOINT NOARP MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000



          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

I have tried different versions of OS and it is same on all. wifi and bluetooth interface is never started on all.

Anyone here encountered this error? I have tried different options browsing the internet with little, all kinds of help to fix this issue is welcome. Please help!!!


Below 2 error messages in dmesg indicate some issue with hardware -

[    0.402520] SMCCC: SOC_ID: ARCH_FEATURES(ARCH_SOC_ID) returned error: fffffffffffffffd

[  12.576228] dw-apb-uart 1c28c00.serial: failed to request DMA


Any kernel developers here who can debug these messages will be of great help.. Thanks

I get all of those errors and wifi works, so I guess those are unrelated to wifi.
my website: https://xnux.eu
  Reply
#3
(11-12-2020, 07:27 PM)megous Wrote:
(11-12-2020, 01:15 AM)aithal Wrote: I have been using Pinephone UBports edition since August. I have been trying out different OS versions, but always had a stable customized SXMO build of PMOS which I have been using with all basic phone functionalities working.
When I upgraded to kernel 5.9.1 pmos sxmo on another sdcard, the wifi and bluetooth stopped working.

The demsg log is as follows -
Code:
Code:
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]

[    0.000000] Linux version 5.9.1 (pmos@build)
(aarch64-alpine-linux-musl-gcc (Alpine 10.2.0) 10.2.0, GNU ld (GNU
Binutils) 2.35.1) #4-postmarketos-allwinner SMP Fri Oct 30 07:37:12 UTC
2020

[    0.000000] Machine model: Pine64 PinePhone (1.2)

[    0.000000] earlycon: uart0 at MMIO32 0x0000000001c28000 (options '')

[    0.000000] printk: bootconsole [uart0] enabled

[    0.000000] cma: Reserved 256 MiB at 0x00000000b0000000

[    0.000000] NUMA: No NUMA configuration found

[    0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000bfffffff]

[    0.000000] NUMA: NODE_DATA [mem 0xafbcc100-0xafbcdfff]

[    0.000000] Zone ranges:

[    0.000000]   DMA      [mem 0x0000000040000000-0x000000007fffffff]

[    0.000000]   DMA32    [mem 0x0000000080000000-0x00000000bfffffff]

[    0.000000]   Normal   empty

[    0.000000] Movable zone start for each node

[    0.000000] Early memory node ranges

[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000bfffffff]

[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]

[    0.000000] On node 0 totalpages: 524288

[    0.000000]   DMA zone: 4096 pages used for memmap

[    0.000000]   DMA zone: 0 pages reserved

[    0.000000]   DMA zone: 262144 pages, LIFO batch:63

[    0.000000]   DMA32 zone: 4096 pages used for memmap

[    0.000000]   DMA32 zone: 262144 pages, LIFO batch:63

[    0.000000] psci: probing for conduit method from DT.

[    0.000000] psci: PSCIv1.1 detected in firmware.

[    0.000000] psci: Using standard PSCI v0.2 function IDs

[    0.000000] psci: MIGRATE_INFO_TYPE not supported.

[    0.000000] psci: SMC Calling Convention v1.2

[    0.000000] percpu: Embedded 22 pages/cpu s50008 r8192 d31912 u90112

[    0.000000] pcpu-alloc: s50008 r8192 d31912 u90112 alloc=22*4096

[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3

[    0.000000] Detected VIPT I-cache on CPU0

[    0.000000] CPU features: detected: ARM erratum 845719

[    0.000000] CPU features: detected: ARM erratum 843419

[    0.000000] Speculative Store Bypass Disable mitigation not required

[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096

[    0.000000] Policy zone: DMA32

[    0.000000] Kernel command line: init=/init.sh rw console=tty0
console=ttyS0,115200 earlycon=uart,mmio32,0x01c28000 panic=10
consoleblank=0 loglevel=1 cma=256M PMOS_NO_OUTPUT_REDIRECT
PMOS_FORCE_PARTITION_RESIZE pmos_boot=/dev/mmcblk0p1
pmos_root=/dev/mmcblk0p2

[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)

[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)

[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off

[    0.000000] software IO TLB: mapped [mem 0x7bfff000-0x7ffff000] (64MB)

[    0.000000] Memory: 1709188K/2097152K available (10942K kernel code,
650K rwdata, 4064K rodata, 1792K init, 388K bss, 125820K reserved,
262144K cma-reserved)

[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1

[    0.000000] rcu: Hierarchical RCU implementation.

[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.

[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.

[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4

[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0

[    0.000000] GIC: Using split EOI/Deactivate mode

[    0.000000] random: get_random_bytes called from start_kernel+0x304/0x4cc with crng_init=0

[    0.000000] arch_timer: Enabling global workaround for Allwinner erratum UNKNOWN1

[    0.000000] arch_timer: CPU0: Trapping CNTVCT access

[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).

[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns

[    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns

[    0.000456] Console: colour dummy device 80x25

[    0.000470] printk: console [tty0] enabled

[    0.000562] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)

[    0.000571] pid_max: default: 32768 minimum: 301

[    0.000662] LSM: Security Framework initializing

[    0.000739] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)

[    0.000759] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)

[    0.002520] rcu: Hierarchical SRCU implementation.

[    0.003148] smp: Bringing up secondary CPUs ...

[    0.004663] Detected VIPT I-cache on CPU1

[    0.004726] arch_timer: CPU1: Trapping CNTVCT access

[    0.004739] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]

[    0.005705] Detected VIPT I-cache on CPU2

[    0.005736] arch_timer: CPU2: Trapping CNTVCT access

[    0.005744] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]

[    0.006604] Detected VIPT I-cache on CPU3

[    0.006631] arch_timer: CPU3: Trapping CNTVCT access

[    0.006639] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]

[    0.006711] smp: Brought up 1 node, 4 CPUs

[    0.006716] SMP: Total of 4 processors activated.

[    0.006721] CPU features: detected: 32-bit EL0 Support

[    0.006727] CPU features: detected: CRC32 instructions

[    0.020620] CPU: All CPU(s) started at EL2

[    0.020645] alternatives: patching kernel code

[    0.022461] devtmpfs: initialized

[    0.030904] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns

[    0.030929] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)

[    0.040529] pinctrl core: initialized pinctrl subsystem

[    0.041918] NET: Registered protocol family 16

[    0.043680] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations

[    0.043744] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations

[    0.043895] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations

[    0.044861] thermal_sys: Registered thermal governor 'fair_share'

[    0.044866] thermal_sys: Registered thermal governor 'bang_bang'

[    0.044873] thermal_sys: Registered thermal governor 'step_wise'

[    0.044876] thermal_sys: Registered thermal governor 'power_allocator'

[    0.045640] cpuidle: using governor menu

[    0.045820] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.

[    0.045931] ASID allocator initialised with 65536 entries

[    0.046089] Serial: AMBA PL011 UART driver

[    0.085528] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages

[    0.085541] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages

[    0.085546] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages

[    0.085551] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages

[    0.087105] cryptd: max_cpu_qlen set to 1000

[    0.091407] iommu: Default domain type: Translated

[    0.091798] SCSI subsystem initialized

[    0.092148] usbcore: registered new interface driver usbfs

[    0.092209] usbcore: registered new interface driver hub

[    0.092301] usbcore: registered new device driver usb

[    0.093398] mc: Linux media interface: v0.10

[    0.093453] videodev: Linux video capture interface: v2.00

[    0.093775] EDAC MC: Ver: 3.0.0

[    0.095923] clocksource: Switched to clocksource arch_sys_counter

[    0.096177] VFS: Disk quotas dquot_6.6.0

[    0.096241] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)

[    0.108042] NET: Registered protocol family 2

[    0.108527] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)

[    0.108566] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)

[    0.108723] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)

[    0.109058] TCP: Hash tables configured (established 16384 bind 16384)

[    0.109195] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)

[    0.109254] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)

[    0.109435] NET: Registered protocol family 1

[    0.110008] RPC: Registered named UNIX socket transport module.

[    0.110012] RPC: Registered udp transport module.

[    0.110015] RPC: Registered tcp transport module.

[    0.110017] RPC: Registered tcp NFSv4.1 backchannel transport module.

[    0.110718] Unpacking initramfs...

[    0.183151] Freeing initrd memory: 1420K

[    0.184109] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available

[    0.188579] Initialise system trusted keyrings

[    0.188775] workingset: timestamp_bits=44 max_order=19 bucket_order=0

[    0.197396] NFS: Registering the id_resolver key type

[    0.197430] Key type id_resolver registered

[    0.197433] Key type id_legacy registered

[    0.197537] nfs4filelayout_init: NFSv4 File Layout Driver Registering...

[    0.197753] fuse: init (API version 7.31)

[    0.251203] Key type asymmetric registered

[    0.251211] Asymmetric key parser 'x509' registered

[    0.251269] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)

[    0.251276] io scheduler mq-deadline registered

[    0.251280] io scheduler kyber registered

[    0.257685] sun50i-a64-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver

[    0.259080] sun50i-a64-r-pinctrl 1f02c00.pinctrl: supply vcc-pl not found, using dummy regulator

[    0.279288] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

[    0.292047] lima 1c40000.gpu: gp - mali400 version major 1 minor 1

[    0.292096] lima 1c40000.gpu: pp0 - mali400 version major 1 minor 1

[    0.292145] lima 1c40000.gpu: pp1 - mali400 version major 1 minor 1

[    0.292189] lima 1c40000.gpu: l2 cache 64K, 4-way, 64byte cache line, 64bit external bus

[    0.292580] lima 1c40000.gpu: bus rate = 200000000

[    0.292587] lima 1c40000.gpu: mod rate = 432000000

[    0.293008] [drm] Initialized lima 1.1.0 20191231 for 1c40000.gpu on minor 0

[    0.303316] loop: module loaded

[    0.303855] zram: Added device: zram0

[    0.305862] libphy: Fixed MDIO Bus: probed

[    0.305874] tun: Universal TUN/TAP device driver, 1.6

[    0.306227] VFIO - User Level meta-driver version: 0.3

[    0.307681] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[    0.307689] ehci-platform: EHCI generic platform driver

[    0.308176] ehci-platform 1c1a000.usb: EHCI Host Controller

[    0.308207] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1

[    0.308345] ehci-platform 1c1a000.usb: irq 20, io mem 0x01c1a000

[    0.323967] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00

[    0.324794] hub 1-0:1.0: USB hub found

[    0.324838] hub 1-0:1.0: 1 port detected

[    0.325795] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

[    0.325834] ohci-platform: OHCI generic platform driver

[    0.326074] ohci-platform 1c1a400.usb: Generic Platform OHCI controller

[    0.326095] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2

[    0.326228] ohci-platform 1c1a400.usb: irq 21, io mem 0x01c1a400

[    0.388681] hub 2-0:1.0: USB hub found

[    0.388723] hub 2-0:1.0: 1 port detected

[    0.390244] usbcore: registered new interface driver usb-storage

[    0.393794] sun6i-rtc 1f00000.rtc: registered as rtc0

[    0.393850] sun6i-rtc 1f00000.rtc: setting system clock to 2020-11-09T05:55:36 UTC (1604901336)

[    0.393857] sun6i-rtc 1f00000.rtc: RTC enabled

[    0.394058] i2c /dev entries driver

[    0.395756] sun8i-di 1e00000.deinterlace: Device registered as /dev/video0

[    0.398611] device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialised: dm-devel@redhat.com

[    0.399324] sdhci: Secure Digital Host Controller Interface driver

[    0.399330] sdhci: Copyright(c) Pierre Ossman

[    0.399472] Synopsys Designware Multimedia Card Interface Driver

[    0.400619] sdhci-pltfm: SDHCI platform and OF driver helper

[    0.402005] ledtrig-cpu: registered to indicate activity on CPUs

[    0.402520] SMCCC: SOC_ID: ARCH_FEATURES(ARCH_SOC_ID) returned error: fffffffffffffffd

[    0.402600] hid: raw HID events driver (C) Jiri Kosina

[    0.403622] usbcore: registered new interface driver usbhid

[    0.403632] usbhid: USB HID core driver

[    0.405495] cedrus 1c0e000.video-codec: Device registered as /dev/video1

[    0.406594] ashmem: initialized

[    0.412375] NET: Registered protocol family 17

[    0.412475] Key type dns_resolver registered

[    0.412912] registered taskstats version 1

[    0.412920] Loading compiled-in X.509 certificates

[    0.430671] sun8i-rotate 1020000.rotate: Device registered as /dev/video2

[    0.435658] sunxi-rsb 1f03400.rsb: RSB running at 4000000 Hz

[    0.436139] axp20x-rsb sunxi-rsb-3a3: AXP20x variant AXP803 found

[    0.438190] input: axp20x-pek as /devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/input/input0

[    0.443672] axp20x-adc axp813-adc: DMA mask not set

[    0.446286] axp20x-battery-power-supply axp20x-battery-power-supply: DMA mask not set

[    0.452103] axp20x-battery-power-supply axp20x-battery-power-supply: Configuring battery thermal regulation for Pinephone

[    0.454529] axp20x-usb-power-supply axp20x-usb-power-supply: DMA mask not set

[    0.455956] random: fast init done

[    0.456743] dcdc1: supplied by regulator-dummy

[    0.457198] dcdc2: supplied by regulator-dummy

[    0.457478] dcdc4: supplied by regulator-dummy

[    0.457755] dcdc5: supplied by regulator-dummy

[    0.458062] dcdc6: supplied by regulator-dummy

[    0.458329] dc1sw: supplied by regulator-dummy

[    0.458552] aldo1: supplied by regulator-dummy

[    0.458626] dovdd-csi: Bringing 3300000uV into 1800000-1800000uV

[    0.458929] aldo2: supplied by regulator-dummy

[    0.459192] aldo3: supplied by regulator-dummy

[    0.459467] dldo1: supplied by regulator-dummy

[    0.459770] dldo2: supplied by regulator-dummy

[    0.460184] dldo3: supplied by regulator-dummy

[    0.460623] dldo4: supplied by regulator-dummy

[    0.460709] vcc-wifi-io: Bringing 3300000uV into 1800000-1800000uV

[    0.461052] eldo1: supplied by regulator-dummy

[    0.461349] eldo2: supplied by regulator-dummy

[    0.461642] eldo3: supplied by regulator-dummy

[    0.461713] dvdd-1v8-csi: Bringing 700000uV into 1800000-1800000uV

[    0.461995] fldo1: supplied by regulator-dummy

[    0.462291] fldo2: supplied by regulator-dummy

[    0.462589] rtc-ldo: supplied by regulator-dummy

[    0.462868] ldo-io0: supplied by regulator-dummy

[    0.463161] ldo-io1: supplied by regulator-dummy

[    0.463229] vcc-1v8-typec: Bringing 3300000uV into 1800000-1800000uV

[    0.463541] axp20x-rsb sunxi-rsb-3a3: AXP20X driver loaded

[    0.469458] sun50i-a64-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver

[    0.472047] printk: console [ttyS0] disabled

[    0.472144] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 32, base_baud = 1500000) is a 16550A

[    0.472197] printk: console [ttyS0] enabled

[    0.472201] printk: bootconsole [uart0] disabled

[    0.473972] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 33, base_baud = 1500000) is a 16550A

[    0.474189] serial serial0: tty port ttyS1 registered

[    0.475337] 1c28c00.serial: ttyS2 at MMIO 0x1c28c00 (irq = 34, base_baud = 1500000) is a 16550A

[    0.475519] serial serial1: tty port ttyS2 registered

[    0.481196] modem-power serial1-0: modem power manager ready

[    0.507412] sun4i-drm display-engine: bound 1100000.mixer (ops sun8i_mixer_ops)

[    0.509266] sun4i-drm display-engine: bound 1200000.mixer (ops sun8i_mixer_ops)

[    0.509793] sun4i-drm display-engine: No panel or bridge found... RGB output disabled

[    0.509812] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops sun4i_tcon_ops)

[    0.510036] sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops sun4i_tcon_ops)

[    0.510071] sun4i-drm display-engine: bound 1ca0000.dsi (ops sun6i_dsi_ops)

[    0.511413] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)

[    0.512092] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver

[    0.512593] sun4i-drm display-engine: bound 1ee0000.hdmi (ops sun8i_dw_hdmi_ops)

[    0.513357] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 1

[    0.513459] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes

[    0.514580] ehci-platform 1c1b000.usb: EHCI Host Controller

[    0.514605] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3

[    0.514747] ehci-platform 1c1b000.usb: irq 22, io mem 0x01c1b000

[    0.514869] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes

[    0.527975] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00

[    0.528781] hub 3-0:1.0: USB hub found

[    0.528821] hub 3-0:1.0: 1 port detected

[    0.530117] ohci-platform 1c1b400.usb: Generic Platform OHCI controller

[    0.530142] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 4

[    0.530300] ohci-platform 1c1b400.usb: irq 23, io mem 0x01c1b400

[    0.592783] hub 4-0:1.0: USB hub found

[    0.592826] hub 4-0:1.0: 1 port detected

[    0.594175] usb_phy_generic usb_phy_generic.3.auto: supply vcc not found, using dummy regulator

[    0.595241] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver

[    0.595268] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 5

[    0.595374] phy id_det change to device

[    0.596106] hub 5-0:1.0: USB hub found

[    0.596145] hub 5-0:1.0: 1 port detected

[    0.701413] Goodix-TS 1-005d: ID 917S, version: 0200

[    0.704980] Goodix-TS 1-005d: Direct firmware load for goodix_917S_cfg.bin failed with error -2

[    0.709406] sun50i-a64-pinctrl 1c20800.pinctrl: supply vcc-pe not found, using dummy regulator

[    0.717453] sunxi-mmc 1c0f000.mmc: Got CD GPIO

[    0.720320] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB, uses new timings mode

[    0.724934] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB, uses new timings mode

[    0.727984] input: Goodix Capacitive TouchScreen as /devices/platform/soc/1c2ac00.i2c/i2c-1/1-005d/input/input1

[    0.729721] sunxi-mmc 1c11000.mmc: initialized, max. request size: 2048 KB, uses new timings mode

[    0.732797] scpi_protocol scpi: SCP Protocol 0.0 Firmware 0.0.0 version

[    0.785819] mmc0: new high speed SDHC card at address aaaa

[    0.786660] mmcblk0: mmc0:aaaa SC32G 29.7 GiB

[    0.789380]  mmcblk0: p1 p2

[    0.913181] mmc2: new DDR MMC card at address 0001

[    0.914233] mmcblk2: mmc2:0001  14.7 GiB

[    0.914722] mmcblk2boot0: mmc2:0001  partition 1 4.00 MiB

[    0.915206] mmcblk2boot1: mmc2:0001  partition 2 4.00 MiB

[    0.920124]  mmcblk2: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10

[    0.942291] Console: switching to colour frame buffer device 90x90

[    0.980374] sun4i-drm display-engine: [drm] fb0: sun4i-drmdrmfb frame buffer device

[    0.980397] sun6i-mipi-dsi 1ca0000.dsi: Attached device xbd599

[    0.980431] panel-sitronix-st7703 1ca0000.dsi.0: [drm:st7703_probe] 720x1440@60 24bpp dsi 4dl - ready

[    0.981594] cfg80211: Loading compiled-in X.509 certificates for regulatory database

[    0.983873] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'

[    0.984439] dw-apb-uart 1c28000.serial: forbid DMA for kernel console

[    0.985738] Freeing unused kernel memory: 1792K

[    0.985924] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2

[    0.985933] cfg80211: failed to load regulatory.db

[    1.007999] Run /init as init process

[    1.008002]   with arguments:

[    1.008004]     /init

[    1.008007]     PMOS_NO_OUTPUT_REDIRECT

[    1.008009]     PMOS_FORCE_PARTITION_RESIZE

[    1.008011]   with environment:

[    1.008013]     HOME=/

[    1.008016]     TERM=linux

[    1.008018]     pmos_boot=/dev/mmcblk0p1

[    1.008020]     pmos_root=/dev/mmcblk0p2

[    1.127928] anx7688 1-0028: power enabled

[    1.128776] anx7688 1-0028: Vendor id 0x1f29

[    1.143923] anx7688 1-0028: power disabled

[    1.144226] anx7688 1-0028: plug irq (cd=1)

[    1.144348] anx7688 1-0028: enabling USB BC 1.2 detection

[    1.144396] anx7688 1-0028: setting vbus_in current limit to 500000 mA

[    1.159945] anx7688 1-0028: cable inserted

[    1.199936] anx7688 1-0028: power enabled

[    1.265033] anx7688 1-0028: eeprom0 = 0x03

[    1.265296] anx7688 1-0028: fw loaded after 40 ms

[    1.266694] anx7688 1-0028: OCM firmware loaded (version 0x2312)

[    1.277433] anx7688 1-0028: send pd packet cmd=0 05 00 32 90 01 26 12

[    1.313159] anx7688 1-0028: send pd packet cmd=1 05 01 2c 91 01 26 16

[    1.314837] anx7688 1-0028: send pd packet cmd=2 11 02 00 00 00 ec 00 00 00 00 00 00 00 00 39 00 00 51 77

[    1.317613] anx7688 1-0028: send pd packet cmd=3 05 03 00 00 01 ff f8

[    1.319286] anx7688 1-0028: OCM configuration completed

[    1.320676] anx7688 1-0028: status changed to 0x00

[    1.320687] anx7688 1-0028: cc_status changed to CC1 = SRC.Open CC2 = SRC.Open

[    1.320692] anx7688 1-0028: dp state changed to 0x00

[    1.412776] anx7688 1-0028: cc_status changed to CC1 = SRC.Ra CC2 = SRC.Ra

[    1.615869] using random self ethernet address

[    1.615878] using random host ethernet address

[    1.626825] usb0: HOST MAC 5a:5b:2e:43:59:4c

[    1.626868] usb0: MAC 0e:e7:54:d1:5f:33

[    1.664731] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)

[    3.796147] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

[    3.828991] EXT4-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended

[    3.871792] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)

[    3.871849] ext4 filesystem being mounted at /sysroot/boot supports timestamps until 2038 (0x7fffffff)

[    5.728846] device-mapper: table: 253:0: linear: Device lookup failed

[    5.728856] device-mapper: ioctl: error adding target to table

[    5.742333] device-mapper: table: 253:0: linear: Device lookup failed

[    5.742342] device-mapper: ioctl: error adding target to table

[    6.199117] udevd[2015]: starting version 3.2.9

[    6.222950] random: udevd: uninitialized urandom read (16 bytes read)

[    6.224202] random: udevd: uninitialized urandom read (16 bytes read)

[    6.224257] random: udevd: uninitialized urandom read (16 bytes read)

[    6.289950] udevd[2015]: starting eudev-3.2.9

[    6.418497] i2c-gpio i2c-csi: using lines 141 (SDA) and 140 (SCL)

[    6.601725] NET: Registered protocol family 10

[    6.602809] Segment Routing with IPv6

[    6.655172] input: 1c21800.lradc as /devices/platform/soc/1c21800.lradc/input/input2

[    6.775401] input: gpio-vibrator as /devices/platform/vibrator/input/input3

[    6.784933] bt-sco bt-sco-codec: ASoC: sink widget Capture overwritten

[    6.784949] bt-sco bt-sco-codec: ASoC: source widget Playback overwritten

[    6.785058] simple-amplifier audio-amplifier: supply VCC not found, using dummy regulator

[    6.789852] debugfs: File 'Playback' in directory 'dapm' already present!

[    6.789867] debugfs: File 'Capture' in directory 'dapm' already present!

[    6.792114] input: PinePhone Headset Jack as /devices/platform/sound/sound/card0/input4

[    6.816748] iio iio:device3: interrupts on the rising edge

[    6.819492] iio iio:device3: registered magnetometer lis3mdl

[    6.916260] Bluetooth: Core ver 2.22

[    6.916376] NET: Registered protocol family 31

[    6.916380] Bluetooth: HCI device and connection manager initialized

[    6.916410] Bluetooth: HCI socket layer initialized

[    6.916420] Bluetooth: L2CAP socket layer initialized

[    6.916456] Bluetooth: SCO socket layer initialized

[    6.958482] sun6i-csi 1cb0000.csi: creating gc2145 4-003c:0 -> sun6i-csi:0 link

[    6.958495] sun6i-csi 1cb0000.csi: creating ov5640 4-004c:0 -> sun6i-csi:0 link

[    6.966073] Bluetooth: HCI UART driver ver 2.3

[    6.966087] Bluetooth: HCI UART protocol H4 registered

[    6.966177] Bluetooth: HCI UART protocol LL registered

[    6.966249] Bluetooth: HCI UART protocol Three-wire (H5) registered

[    6.967221] dw-apb-uart 1c28400.serial: failed to request DMA

[    6.967418] Bluetooth: HCI UART protocol Broadcom registered

[    7.198951] i2c i2c-2: Added multiplexed i2c bus 5

[    8.279301] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)

[    8.542949] urandom_read: 5 callbacks suppressed

[    8.542958] random: mktemp: uninitialized urandom read (10 bytes read)

[    8.983590] random: dbus-daemon: uninitialized urandom read (12 bytes read)

[    9.363190] modem-power serial1-0: powering up

[    9.628036] modem-power serial1-0: wakeup ok

[   10.744219] random: crng init done

[   12.575842] modem-power serial1-0: status ok

[   12.576228] dw-apb-uart 1c28c00.serial: failed to request DMA

[   22.843466] usb 3-1: new high-speed USB device number 2 using ehci-platform

[   23.081962] usbcore: registered new interface driver cdc_wdm

[   23.091657] usbcore: registered new interface driver option

[   23.091725] usbserial: USB Serial support registered for GSM modem (1-port)

[   23.092091] option 3-1:1.0: GSM modem (1-port) converter detected

[   23.092545] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0

[   23.092809] option 3-1:1.1: GSM modem (1-port) converter detected

[   23.094234] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1

[   23.095691] option 3-1:1.2: GSM modem (1-port) converter detected

[   23.098746] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2

[   23.099017] option 3-1:1.3: GSM modem (1-port) converter detected

[   23.099878] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB3

[   23.111216] qmi_wwan 3-1:1.4: cdc-wdm0: USB WDM device

[   23.112690] qmi_wwan 3-1:1.4 wwan0: register 'qmi_wwan' at usb-1c1b000.usb-1, WWAN/QMI device, c6:bb:e8:65:3c:e6

[   23.112837] usbcore: registered new interface driver qmi_wwan

[   26.581509] modem-power serial1-0: ===================================================

[   26.581525] modem-power serial1-0: Project Name: EG25G

[   26.581534] modem-power serial1-0: Project Rev : EG25GGBR07A08M2G_01.001.10

[   26.581542] modem-power serial1-0: Branch  Name: 9x07_R07_NEW

[   26.581549] modem-power serial1-0: Custom Name : STD

[   26.581557] modem-power serial1-0: Build   Date: 2019-12-03,18:10

[   26.581566] modem-power serial1-0: Version:    SBLR07EG25G01_1:37500: Oct 17 2

[   26.581573] modem-power serial1-0: Version:    TZR07A03: Dec  2 2019

[   26.581582] modem-power serial1-0: Version:    RPMR07A03_1:37500: Dec  2 2019

[   26.581588] modem-power serial1-0: ===================================================

[   26.581597] modem-power serial1-0: Your modem has an outdated
firmware. Latest know version is EG25GGBR07A08M2G_01.002.07. Consider
updating.

[   26.591356] modem-power serial1-0: ADB KEY is '32251809' (you can use
it to unlock ADB access to the modem, see
https://xnux.eu/devices/feature/modem-pp.html)

[   27.635294] modem-power serial1-0: QDAI is '1,1,0,1,0,0,1,1'

[   27.647281] modem-power serial1-0: QCFG 'risignaltype' is '"physical"'

[   27.659370] modem-power serial1-0: QCFG 'urc/ri/ring' is '"pulse",1,1000,5000,"off",1'

[   27.675268] modem-power serial1-0: QCFG 'urc/ri/smsincoming' is '"pulse",1,1'

[   27.691291] modem-power serial1-0: QCFG 'urc/ri/other' is '"off",1,1'

[   27.703313] modem-power serial1-0: QCFG 'urc/ri/pin' is 'uart_ri'

[   27.715373] modem-power serial1-0: QCFG 'urc/delay' is '0'

[   27.727336] modem-power serial1-0: QCFG 'sleepind/level' is '0'

[   27.743366] modem-power serial1-0: QCFG 'wakeupin/level' is '0'

[   27.755288] modem-power serial1-0: QCFG 'ApRstLevel' is '1' (changing to '0')

[   27.779290] modem-power serial1-0: QCFG 'ModemRstLevel' is '0'

[   27.791309] modem-power serial1-0: QCFG 'apready' is '0,0,500'

[   27.803274] modem-power serial1-0: QCFG 'airplanecontrol' is '1,0'

[   27.815301] modem-power serial1-0: AT command 'AT+QCFG="fast/poweroff"' returned ERROR

[   27.839310] modem-power serial1-0: powered up in 18476 ms

[   31.715157] vbat-wifi: disabling

[   31.715197] avdd-csi: disabling

[   31.715260] usb-5v: disabling

Code:
Code:
[   27.839310] modem-power serial1-0: powered up in 18476 ms

[   31.715157] vbat-wifi: disabling

[   31.715197] avdd-csi: disabling

[   31.715260] usb-5v: disabling

I see vbat-wifi disabling at the end and rtl8723cs kernel module for wifi doesn't load on turning on the phone or when the phone is rebooted.

ipconfig -a output -
Code:
Code:
lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:65536  Metric:1

          RX packets:4 errors:0 dropped:0 overruns:0 frame:0

          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:288 (288.0 B)  TX bytes:288 (288.0 B)



usb0      Link encap:Ethernet  HWaddr D6:BC:2F:DA:FA:00

          inet addr:172.16.42.1  Bcast:172.16.255.255  Mask:255.255.0.0

          UP BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)



wwan0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00

          POINTOPOINT NOARP MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000



          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

I have tried different versions of OS and it is same on all. wifi and bluetooth interface is never started on all.

Anyone here encountered this error? I have tried different options browsing the internet with little, all kinds of help to fix this issue is welcome. Please help!!!


Below 2 error messages in dmesg indicate some issue with hardware -

[    0.402520] SMCCC: SOC_ID: ARCH_FEATURES(ARCH_SOC_ID) returned error: fffffffffffffffd

[  12.576228] dw-apb-uart 1c28c00.serial: failed to request DMA


Any kernel developers here who can debug these messages will be of great help.. Thanks

I get all of those errors and wifi works, so I guess those are unrelated to wifi.

In one of the forums when there was a hardware issue, the mmc1 was not being detected, so even in the dmesg I have shared I dont find mmc1.
Is this the reason why WIFI/BT module is not being detect? Waiting for your reply. Thanks
Code:
[    1.461502] mmc1: new high speed SDIO card at address 0001
  Reply
#4
@aithal 
IMHO the messages you published do not explain why you have no WiFi/BT.
No offense intended, but have you checked the dip switches?
  Reply
#5
(11-14-2020, 08:18 AM)LinAdmin2 Wrote: @aithal 
IMHO the messages you published do not explain why you have no WiFi/BT.
No offense intended, but have you checked the dip switches?
 
Yes the kill switch is in right position. The WIFI module has stopped all of a sudden.
 After browsing through internet for few days now.. I see the mmc1 is not being detected and so the rtl8723cs driver is not loading.
https://www.silabs.com/community/wireles...ction-ajSx

On phones where WIFI module is working the mmc1 is detected - mmcX new high speed SDIO card at address 0001 .

On my phone I dont see this happening.

The device tree output from my device :-


Code:
SDIO detection not returning anything
Code:
grep sdio_pins device_tree.out

grep -E "mmc[0-2]|mmc@" device_tree.out
        ethernet0 = "/soc/mmc@1c10000/wifi@1";
        mmc@1c0f000 {
        mmc@1c10000 {
        mmc@1c11000 {
            mmc0-pins {
                function = "mmc0";
            mmc1-pins {
                function = "mmc1";
            mmc2-ds-pin {
                function = "mmc2";
            mmc2-pins {
                function = "mmc2";


If someone can help with the devicetree output from a working device it will be helpful in identifying the issue. I dont see sdio pins defined in my device tree (I see it on my home raspberry pi). I'm a novice in kernel stuffs, so kernel developers please help in debugging this issue.. Thank you
  Reply
#6
IMHO this looks like sudden death of some hardware.
Tried the factory test image?
  Reply
#7
(11-14-2020, 04:30 PM)LinAdmin2 Wrote: IMHO this looks like sudden death of some hardware.
Tried the factory test image?
yes , I had tried the PMOS factory test image on the sdcard and rtl8723cs test had failed.
  Reply
#8
(11-14-2020, 11:48 PM)aithal Wrote:
(11-14-2020, 04:30 PM)LinAdmin2 Wrote: IMHO this looks like sudden death of some hardware.
Tried the factory test image?
yes , I had tried the PMOS factory test image on the sdcard and rtl8723cs test had failed.
That is proof of a serious defect. Contact sales@pine64.org. If as usually they do not help, you might also contact PayPal.
  Reply
#9
@Luke  - Can you please help with this support ticket - 7722? It is regarding a hardware failure (WIFI/Bluetooth Module) on UBPorts edition of the phone. The WIFI/Bluetooth module has stopped after just 3 months of usage. Am i eligible for RMA? I didn't get proper response from pine64 support team.

It is pretty bad for a hardware component to fail so soon, even if it is a beta device.
I had spent a considerable amount of time on testing and even contributing for an operating SXMO - https://sr.ht/~mil/Sxmo/
I had even considered buying a new version of the phone, but such failure can put a doubt on the reliability of the hardware components used in the phone and my valuable time spent seems to be wasted.

Please consider replacing the board as I'm pretty excited by this idea of open hardware and running linux on phones. Expecting a reply soon. Thank you
  Reply
#10
the BT/Wifi module is held on the board by a coaxial cable with no locking mechanism, have you verified that it hasn't simply become detached from the main board?
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Suddenly WiFi signal strength is poor cinix 3 212 08-21-2021, 08:27 AM
Last Post: cinix
  Quectel EG25-G H/W interface - Operating Modes - eg25-manager mouffa 0 495 06-23-2021, 06:57 AM
Last Post: mouffa
  WIFI not available after anx7688 update failure frimmel 21 4,603 05-11-2021, 02:45 AM
Last Post: frimmel
  Not charging, not detected when booting jumpdrive acohl 1 574 03-05-2021, 10:38 PM
Last Post: desca
  modem not detected al_x 1 892 02-13-2021, 04:14 PM
Last Post: dsimic
  SIM not detected rdrowe 3 717 02-10-2021, 08:29 AM
Last Post: rdrowe
Rainbow PinePhone WIFI: PineCone user installable? PineUser-1337331 2 790 01-28-2021, 01:03 PM
Last Post: PineUser-1337331
  Will 5GHz USB wifi adapter work? Zebulon Walton 1 964 12-01-2020, 06:17 PM
Last Post: nas
  wifi not working quininer 3 1,654 10-23-2020, 11:16 PM
Last Post: bcnaz
Question LO Frequency of WiFi Chip DingDangDoong 1 1,010 10-02-2020, 03:10 PM
Last Post: LinAdmin2

Forum Jump:


Users browsing this thread: 2 Guest(s)