Debian mali g71 drivers

Finally, it appears that it is still required to change GRUB on every boot? Would it be possible to update only fip.bin ? If so, could you please provide minimal instructions to do so?

DT should already be updated in fip.bin image. Which snapshot are you using for fip.bin image?

Hi @sumit.garg!

I was following instructions on Linux Host Installation for HiKey960 - 96Boards which led me to Debian Downloads for HiKey960 - 96Boards. Therefore, I used http://snapshots.linaro.org/96boards/reference-platform/components/uefi-staging/latest/hikey960/debug/fip.bin

Should I try http://snapshots.linaro.org/96boards/reference-platform/components/uefi-staging/latest/hikey960/release/fip.bin?

@sumit.garg Two further questions, if I may.

  1. Arm previously shared with us a BSP for HiKey960, where we could change the CPU and GPU frequencies by writing into files using handy scripts in https://github.com/ctuning/ck-env/tree/master/platform.init/hikey960-linux. Now running those on the current BSP results in many errors due to files not being found:
anton@hikey961:~/CK_REPOS/ck-env/platform.init/hikey970-linux$ ./ck-print-temperature
*** Temperature:
[zone 0] 35030
*** Temperature - trip point 0 <passive>:
[zone 0] 65000
*** Temperature - trip point 1 <passive>:
[zone 0] 75000
*** Policy:
[zone 0] step_wise
*** Available policies:
[zone 0] power_allocator step_wise
*** Sustainable power:
[zone 0] 4500

anton@hikey961:~/CK_REPOS/ck-env/platform.init/hikey970-linux$ ./ck-print-cpu-freq
*** Current CPU frequency from scaling:
cat: '/sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq': No such file or directory
*** Min CPU frequency:
cat: '/sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_min_freq': No such file or directory
*** Max CPU frequency:
cat: '/sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_max_freq': No such file or directory
*** Available CPU frequencies:
cat: '/sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies': No such file or directory
*** Current CPU governor:
cat: '/sys/devices/system/cpu/cpu*/cpufreq/scaling_governor': No such file or directory
*** Available CPU governors:
cat: '/sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors': No such file or directory

anton@hikey961:~/CK_REPOS/ck-env/platform.init/hikey970-linux$ ./ck-print-gpu-freq
*** Available GPU frequencies:
cat: /sys/devices/platform/e82c0000.mali/devfreq/e82c0000.mali/available_frequencies: No such file or directory
*** Current GPU frequency:
cat: /sys/devices/platform/e82c0000.mali/devfreq/e82c0000.mali/cur_freq: No such file or directory
cat: /sys/devices/platform/e82c0000.mali/devfreq/e82c0000.mali/available_frequencies: No such file or directory
*** Min GPU frequency:

*** Max GPU frequency:
./ck-print-gpu-freq: line 26: all_freqs: bad array subscript

*** Available GPU governors:
cat: /sys/devices/platform/e82c0000.mali/devfreq/e82c0000.mali/available_governors: No such file or directory
*** Current GPU governor:
cat: /sys/devices/platform/e82c0000.mali/devfreq/e82c0000.mali/governor: No such file or directory

From your answer, I understand that devfreq is not enabled for the GPU, but I didn’t expect any issues for the CPU.

  1. Do I understand it correctly that for the default GPU frequency to be 807MHz, I should insert:
#define GPU_FREQ_KHZ_MAX 807000

into BX301A01B-SW-99002-r16p001rel0/driver/product/kernel/drivers/gpu/arm/midgard/platform/devicetree/mali_kbase_config_platform.h and rebuild/reinstall?

Many thanks!

It seems like there hasn’t been any snapshot after 20th dec. which doesn’t include DT sync fix patch from @Mani [1]. So I would suggest you to build fip.bin from source as per instructions here [2].

[1] https://github.com/96boards-hikey/OpenPlatformPkg/commit/f45d971acd7f5365305e5a07c4eadeff607cb16d
[2] https://github.com/ARM-software/arm-trusted-firmware/blob/master/docs/plat/hikey960.rst

@sumit.garg @psyhtest

New snapshots are here: http://snapshots.linaro.org/reference-platform/components/uefi-staging/latest/hikey960/release/

1 Like

Sorry I can’t help with BSP release from ARM. For that I think you need to seek help from ARM support [1].

In case you are testing this on Debian then following post may help regarding CPU freq.

Correct.

[1] Support – Arm Developer

1 Like

Thanks @Mani for the link. I think links in the documentation should be updated too.

1 Like

Many thank @Mani! I assume I can simply download fip.bin, l-loader.bin and prm_ptable.img, and flash them again?

@sumit.garg I’m not seeking any help with the Arm-provided BSP :slight_smile:. I’m just used to being able to set up CPU and GPU frequencies in this way on boards like HiKey960 and RK3399.

From your link, I assume that’s expected to work on the Linaro-provided BSP too. Unfortunately, the cpufreq directory is empty:

$ sudo ls -la /sys/devices/system/cpu/cpufreq/
total 0
drwxr-xr-x  2 root root 0 Jun 27 23:39 .
drwxr-xr-x 14 root root 0 Jun 27 23:39 ..

while Individual core directories do not exist at all:

$ sudo ls  /sys/devices/system/cpu/cpu0/cpufreq
ls: cannot access '/sys/devices/system/cpu/cpu0/cpufreq': No such file or directory

Could this issue perhaps also be solved by updating the device tree to the latest release?

Done: https://github.com/96boards/documentation/pull/809

1 Like

@psyhtest

Yes, that should work. Please let us know :slight_smile:

I think the issue could be because of the absence of cpu-supply property in devicectree (which depends on mailbox driver for voltage control). See: Question about DVFS and Cpu regulator

@psyhtest @Mani

For me the directory isn’t empty:

root@linaro-developer:~# ls /sys/devices/system/cpu/cpu0/cpufreq/
affected_cpus               related_cpus                   scaling_governor
cpuinfo_cur_freq            scaling_available_frequencies  scaling_max_freq
cpuinfo_max_freq            scaling_available_governors    scaling_min_freq
cpuinfo_min_freq            scaling_cur_freq               scaling_setspeed
cpuinfo_transition_latency  scaling_driver                 stats

Thanks for the quick fix.

@psyhtest Can you please share the dmesg? Something might be going wrong on your board.

Clarification: Absence of cpu-supply shouldn’t hurt cpufreq from functioning. It will make use of only frequency if supply is not found otherwise both.

@Mani Here it is for the boot sequence. Sorry for the length. I don’t see any way to attach it as a text file.

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 4.15-hikey (abuild@obs-old) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 SMP PREEMPT Sat Mar 10 22:41:04 UTC 2018
[    0.000000] Machine model: HiKey960
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: EFI v2.60 by EDK II
[    0.000000] efi:  MEMATTR=0xbde51018 
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000020c00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000bfffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xbffbf100-0xbffc0bff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x00000000bfffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000001abfffff]
[    0.000000]   node   0: [mem 0x000000001ad88000-0x0000000031ffffff]
[    0.000000]   node   0: [mem 0x0000000032101000-0x000000003dffffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000089b7ffff]
[    0.000000]   node   0: [mem 0x0000000089cc0000-0x00000000b9baffff]
[    0.000000]   node   0: [mem 0x00000000b9bb0000-0x00000000b9c4ffff]
[    0.000000]   node   0: [mem 0x00000000b9c50000-0x00000000b9d4ffff]
[    0.000000]   node   0: [mem 0x00000000b9d50000-0x00000000ba113fff]
[    0.000000]   node   0: [mem 0x00000000ba114000-0x00000000bf0dffff]
[    0.000000]   node   0: [mem 0x00000000bf0e0000-0x00000000bf11ffff]
[    0.000000]   node   0: [mem 0x00000000bf120000-0x00000000bf12ffff]
[    0.000000]   node   0: [mem 0x00000000bf130000-0x00000000bf17ffff]
[    0.000000]   node   0: [mem 0x00000000bf180000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000bfffffff]
[    0.000000] On node 0 totalpages: 777271
[    0.000000]   DMA zone: 12288 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 777271 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] random: fast init done
[    0.000000] percpu: Embedded 23 pages/cpu @        (ptrval) s55320 r8192 d30696 u94208
[    0.000000] pcpu-alloc: s55320 r8192 d30696 u94208 alloc=23*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 764983
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15-hikey root=UUID=336e1a8d-5d52-4dee-8384-9bf19ffcfc84 ro
[    0.000000] Memory: 2963164K/3109084K available (10428K kernel code, 1560K rwdata, 4984K rodata, 1152K init, 424K bss, 80384K reserved, 65536K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffff000000000000 - 0xffff000008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000   (129022 GB)
[    0.000000]       .text : 0x        (ptrval) - 0x        (ptrval)   ( 10432 KB)
[    0.000000]     .rodata : 0x        (ptrval) - 0x        (ptrval)   (  5056 KB)
[    0.000000]       .init : 0x        (ptrval) - 0x        (ptrval)   (  1152 KB)
[    0.000000]       .data : 0x        (ptrval) - 0x        (ptrval)   (  1561 KB)
[    0.000000]        .bss : 0x        (ptrval) - 0x        (ptrval)   (   425 KB)
[    0.000000]     fixed   : 0xffff7dfffe7fb000 - 0xffff7dfffec00000   (  4116 KB)
[    0.000000]     PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffff7e0000000000 - 0xffff800000000000   (  2048 GB maximum)
[    0.000000]               0xffff7e0000000000 - 0xffff7e0003000000   (    48 MB actual)
[    0.000000]     memory  : 0xffff800000000000 - 0xffff8000c0000000   (  3072 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=8.
[    0.000000]  Tasks RCU enabled.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 1.92MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1c570327e, max_idle_ns: 1763180809505 ns
[    0.000004] sched_clock: 56 bits at 1920kHz, resolution 520ns, wraps every 4398046510977ns
[    0.000090] clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58334160866034 ns
[    0.000457] Console: colour dummy device 80x25
[    0.000840] console [tty0] enabled
[    0.000913] Calibrating delay loop (skipped), value calculated using timer frequency.. 3.84 BogoMIPS (lpj=7680)
[    0.000930] pid_max: default: 32768 minimum: 301
[    0.000996] Security Framework initialized
[    0.002219] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.002818] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.002861] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.002886] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.020060] ASID allocator initialised with 65536 entries
[    0.028038] Hierarchical SRCU implementation.
[    0.039335] Remapping and enabling EFI services.
[    0.039435]   EFI remap 0x00000000b9bb0000 =>         (ptrval)
[    0.039451]   EFI remap 0x00000000b9c00000 =>         (ptrval)
[    0.039465]   EFI remap 0x00000000b9d50000 =>         (ptrval)
[    0.039480]   EFI remap 0x00000000b9da0000 =>         (ptrval)
[    0.039494]   EFI remap 0x00000000b9df0000 =>         (ptrval)
[    0.039508]   EFI remap 0x00000000b9e40000 =>         (ptrval)
[    0.039524]   EFI remap 0x00000000b9e90000 =>         (ptrval)
[    0.039538]   EFI remap 0x00000000b9ee0000 =>         (ptrval)
[    0.039553]   EFI remap 0x00000000b9f30000 =>         (ptrval)
[    0.039567]   EFI remap 0x00000000b9f80000 =>         (ptrval)
[    0.039581]   EFI remap 0x00000000b9fd0000 =>         (ptrval)
[    0.039596]   EFI remap 0x00000000ba020000 =>         (ptrval)
[    0.039624]   EFI remap 0x00000000ba070000 =>         (ptrval)
[    0.039638]   EFI remap 0x00000000ba0c0000 =>         (ptrval)
[    0.039653]   EFI remap 0x00000000bf0e0000 =>         (ptrval)
[    0.039667]   EFI remap 0x00000000bf130000 =>         (ptrval)
[    0.039676]   EFI remap 0x00000000fff05000 =>         (ptrval)
[    0.048145] smp: Bringing up secondary CPUs ...
[    0.076541] Detected VIPT I-cache on CPU1
[    0.076630] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.104496] Detected VIPT I-cache on CPU2
[    0.104526] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.132511] Detected VIPT I-cache on CPU3
[    0.132529] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.162103] CPU features: enabling workaround for ARM erratum 858921
[    0.162107] Detected VIPT I-cache on CPU4
[    0.162114] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU4: 0x00000000101122
[    0.162120] CPU features: Unsupported CPU feature variation detected.
[    0.162174] arch_timer: Enabling local workaround for ARM erratum 858921
[    0.162182] arch_timer: CPU4: Trapping CNTVCT access
[    0.162187] CPU4: Booted secondary processor 0x0000000100 [0x410fd091]
[    0.188510] Detected VIPT I-cache on CPU5
[    0.188515] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU5: 0x00000000101122
[    0.188524] arch_timer: Enabling local workaround for ARM erratum 858921
[    0.188529] arch_timer: CPU5: Trapping CNTVCT access
[    0.188532] CPU5: Booted secondary processor 0x0000000101 [0x410fd091]
[    0.216540] Detected VIPT I-cache on CPU6
[    0.216545] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU6: 0x00000000101122
[    0.216554] arch_timer: Enabling local workaround for ARM erratum 858921
[    0.216559] arch_timer: CPU6: Trapping CNTVCT access
[    0.216563] CPU6: Booted secondary processor 0x0000000102 [0x410fd091]
[    0.244567] Detected VIPT I-cache on CPU7
[    0.244572] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU7: 0x00000000101122
[    0.244581] arch_timer: Enabling local workaround for ARM erratum 858921
[    0.244586] arch_timer: CPU7: Trapping CNTVCT access
[    0.244589] CPU7: Booted secondary processor 0x0000000103 [0x410fd091]
[    0.244641] smp: Brought up 1 node, 8 CPUs
[    0.244820] SMP: Total of 8 processors activated.
[    0.244828] CPU features: detected feature: 32-bit EL0 Support
[    0.245138] CPU: All CPU(s) started at EL2
[    0.245172] alternatives: patching kernel code
[    0.246097] devtmpfs: initialized
[    0.249826] Registered cp15_barrier emulation handler
[    0.249854] Registered setend emulation handler
[    0.250055] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.250118] futex hash table entries: 2048 (order: 6, 262144 bytes)
[    0.251505] pinctrl core: initialized pinctrl subsystem
[    0.252626] DMI not present or invalid.
[    0.252940] NET: Registered protocol family 16
[    0.253254] audit: initializing netlink subsys (disabled)
[    0.253379] audit: type=2000 audit(0.252:1): state=initialized audit_enabled=0 res=1
[    0.256624] cpuidle: using governor menu
[    0.257111] vdso: 2 pages (1 code @ 00000000caab14cc, 1 data @ 00000000702843e2)
[    0.257132] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.258011] DMA: preallocated 256 KiB pool for atomic allocations
[    0.258709] Serial: AMBA PL011 UART driver
[    0.280472] uart-pl011 ffd74000.serial: could not find pctldev for node /soc/pinmux@e896c000/uart3_pmx_func, deferring probe
[    0.280620] uart-pl011 fdf01000.serial: could not find pctldev for node /soc/pinmux@e896c000/uart4_pmx_func, deferring probe
[    0.280735] uart-pl011 fff32000.serial: could not find pctldev for node /soc/pinmux@e896c000/uart6_pmx_func, deferring probe
[    0.291880] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.292705] ACPI: Interpreter disabled.
[    0.293444] vgaarb: loaded
[    0.293639] SCSI subsystem initialized
[    0.293788] libata version 3.00 loaded.
[    0.293874] ssp-pl022 ffd68000.spi: could not find pctldev for node /soc/pinmux@fff11000/spi2_pmx_func, deferring probe
[    0.293908] ssp-pl022 ff3b3000.spi: could not find pctldev for node /soc/pinmux@ff3b6000/spi3_pmx_func, deferring probe
[    0.294080] usbcore: registered new interface driver usbfs
[    0.294111] usbcore: registered new interface driver hub
[    0.294172] usbcore: registered new device driver usb
[    0.294356] i2c_designware ffd71000.i2c: could not find pctldev for node /soc/pinmux@fff11000/i2c0_pmx_func, deferring probe
[    0.294384] i2c_designware ffd72000.i2c: could not find pctldev for node /soc/pinmux@fff11000/i2c1_pmx_func, deferring probe
[    0.294410] i2c_designware fdf0b000.i2c: could not find pctldev for node /soc/pinmux@fff11000/i2c7_pmx_func, deferring probe
[    0.294739] pps_core: LinuxPPS API ver. 1 registered
[    0.294746] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.294767] PTP clock support registered
[    0.294856] EDAC MC: Ver: 3.0.0
[    0.295032] dmi: Firmware registration failed.
[    0.295107] Registered efivars operations
[    0.295921] Advanced Linux Sound Architecture Driver Initialized.
[    0.296634] clocksource: Switched to clocksource arch_sys_counter
[    0.296781] VFS: Disk quotas dquot_6.6.0
[    0.296829] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.296955] pnp: PnP ACPI: disabled
[    0.300619] NET: Registered protocol family 2
[    0.301102] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.301300] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.301685] TCP: Hash tables configured (established 32768 bind 32768)
[    0.301812] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.301877] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.302071] NET: Registered protocol family 1
[    0.302369] RPC: Registered named UNIX socket transport module.
[    0.302378] RPC: Registered udp transport module.
[    0.302385] RPC: Registered tcp transport module.
[    0.302391] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.302405] PCI: CLS 0 bytes, default 128
[    0.302541] Unpacking initramfs...
[    0.419810] Freeing initrd memory: 4436K
[    0.420618] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.420908] hw perfevents: enabled with armv8_cortex_a73 PMU driver, 7 counters available
[    0.421122] kvm [1]: 8-bit VMID
[    0.421129] kvm [1]: IDMAP page: a9b000
[    0.421135] kvm [1]: HYP VA range: 800000000000:ffffffffffff
[    0.422003] kvm [1]: vgic-v2@e82b4000
[    0.422093] kvm [1]: vgic interrupt IRQ1
[    0.422110] kvm [1]: virtual timer IRQ4
[    0.422211] kvm [1]: Hyp mode initialized successfully
[    0.424679] Initialise system trusted keyrings
[    0.424789] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    0.428527] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.428948] NFS: Registering the id_resolver key type
[    0.428980] Key type id_resolver registered
[    0.428986] Key type id_legacy registered
[    0.428998] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.429129] 9p: Installing v9fs 9p2000 file system support
[    0.430542] Key type asymmetric registered
[    0.430554] Asymmetric key parser 'x509' registered
[    0.430669] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.430758] io scheduler noop registered
[    0.430883] io scheduler cfq registered (default)
[    0.430892] io scheduler mq-deadline registered
[    0.430898] io scheduler kyber registered
[    0.433029] pinctrl-single e896c000.pinmux: 124 pins at pa 0000000059011256 size 496
[    0.433241] pinctrl-single ff37e000.pinmux: 6 pins at pa 000000003dbf4f2f size 24
[    0.433353] pinctrl-single ff3b6000.pinmux: 12 pins at pa 000000005d646ac6 size 48
[    0.433442] pinctrl-single ff3fd000.pinmux: 6 pins at pa 00000000765a2554 size 24
[    0.433562] pinctrl-single fff11000.pinmux: 42 pins at pa 0000000090cb05d7 size 168
[    0.433741] pinctrl-single e896c800.pinmux: 128 pins at pa 00000000901976d7 size 512
[    0.433849] pinctrl-single ff3b6800.pinmux: 6 pins at pa 00000000a4dd4395 size 24
[    0.433933] pinctrl-single ff3fd800.pinmux: 6 pins at pa 0000000003fb7da8 size 24
[    0.434011] pinctrl-single ff37e800.pinmux: 6 pins at pa 000000003c31374b size 24
[    0.434149] pinctrl-single fff11800.pinmux: 47 pins at pa 00000000d09d261d size 188
[    0.435388] pl061_gpio e8a0b000.gpio: PL061 GPIO chip @0x00000000e8a0b000 registered
[    0.435554] pl061_gpio e8a0c000.gpio: PL061 GPIO chip @0x00000000e8a0c000 registered
[    0.435702] pl061_gpio e8a0d000.gpio: PL061 GPIO chip @0x00000000e8a0d000 registered
[    0.435851] pl061_gpio e8a0e000.gpio: PL061 GPIO chip @0x00000000e8a0e000 registered
[    0.435998] pl061_gpio e8a0f000.gpio: PL061 GPIO chip @0x00000000e8a0f000 registered
[    0.436157] pl061_gpio e8a10000.gpio: PL061 GPIO chip @0x00000000e8a10000 registered
[    0.436301] pl061_gpio e8a11000.gpio: PL061 GPIO chip @0x00000000e8a11000 registered
[    0.436453] pl061_gpio e8a12000.gpio: PL061 GPIO chip @0x00000000e8a12000 registered
[    0.436603] pl061_gpio e8a13000.gpio: PL061 GPIO chip @0x00000000e8a13000 registered
[    0.436774] pl061_gpio e8a14000.gpio: PL061 GPIO chip @0x00000000e8a14000 registered
[    0.436926] pl061_gpio e8a15000.gpio: PL061 GPIO chip @0x00000000e8a15000 registered
[    0.437076] pl061_gpio e8a16000.gpio: PL061 GPIO chip @0x00000000e8a16000 registered
[    0.437237] pl061_gpio e8a17000.gpio: PL061 GPIO chip @0x00000000e8a17000 registered
[    0.437387] pl061_gpio e8a18000.gpio: PL061 GPIO chip @0x00000000e8a18000 registered
[    0.437539] pl061_gpio e8a19000.gpio: PL061 GPIO chip @0x00000000e8a19000 registered
[    0.437725] pl061_gpio e8a1a000.gpio: PL061 GPIO chip @0x00000000e8a1a000 registered
[    0.437881] pl061_gpio e8a1b000.gpio: PL061 GPIO chip @0x00000000e8a1b000 registered
[    0.438027] pl061_gpio e8a1c000.gpio: PL061 GPIO chip @0x00000000e8a1c000 registered
[    0.438211] pl061_gpio ff3b4000.gpio: PL061 GPIO chip @0x00000000ff3b4000 registered
[    0.438362] pl061_gpio ff3b5000.gpio: PL061 GPIO chip @0x00000000ff3b5000 registered
[    0.438527] pl061_gpio e8a1f000.gpio: PL061 GPIO chip @0x00000000e8a1f000 registered
[    0.438698] pl061_gpio e8a20000.gpio: PL061 GPIO chip @0x00000000e8a20000 registered
[    0.438859] pl061_gpio fff0b000.gpio: PL061 GPIO chip @0x00000000fff0b000 registered
[    0.439021] pl061_gpio fff0c000.gpio: PL061 GPIO chip @0x00000000fff0c000 registered
[    0.439186] pl061_gpio fff0d000.gpio: PL061 GPIO chip @0x00000000fff0d000 registered
[    0.439354] pl061_gpio fff0e000.gpio: PL061 GPIO chip @0x00000000fff0e000 registered
[    0.439519] pl061_gpio fff0f000.gpio: PL061 GPIO chip @0x00000000fff0f000 registered
[    0.439670] pl061_gpio fff10000.gpio: PL061 GPIO chip @0x00000000fff10000 registered
[    0.439823] pl061_gpio fff1d000.gpio: PL061 GPIO chip @0x00000000fff1d000 registered
[    0.444091] k3-dma fdf30000.dma: initialized
[    0.447619] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.448997] SuperH (H)SCI(F) driver initialized
[    0.449237] msm_serial: driver initialized
[    0.454620] loop: module loaded
[    0.456833] ufshcd-hisi ff3b0000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
[    0.456833] ufshcd-hisi ff3b0000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
[    0.456866] ufshcd-hisi ff3b0000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
[    0.456879] ufshcd-hisi ff3b0000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
[    0.456891] ufshcd-hisi ff3b0000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
[    0.485280] scsi host0: ufshcd
[    0.502824] libphy: Fixed MDIO Bus: probed
[    0.503062] tun: Universal TUN/TAP device driver, 1.6
[    0.503636] thunder-xcv, ver 1.0
[    0.503669] thunder-BGX, ver 1.0
[    0.503699] thunder-nic, ver 1.0
[    0.503884] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    0.503894] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.503928] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    0.503936] igb: Copyright (c) 2007-2014 Intel Corporation.
[    0.503964] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    0.503973] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.504170] sky2: driver version 1.30
[    0.504396] usbcore: registered new interface driver asix
[    0.504450] usbcore: registered new interface driver ax88179_178a
[    0.504607] VFIO - User Level meta-driver version: 0.3
[    0.505393] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.505423] ehci-pci: EHCI PCI platform driver
[    0.505451] ehci-platform: EHCI generic platform driver
[    0.505524] ehci-orion: EHCI orion driver
[    0.505580] ehci-exynos: EHCI EXYNOS driver
[    0.505638] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.505652] ohci-pci: OHCI PCI platform driver
[    0.505680] ohci-platform: OHCI generic platform driver
[    0.505741] ohci-exynos: OHCI EXYNOS driver
[    0.506006] usbcore: registered new interface driver usb-storage
[    0.506076] usbcore: registered new interface driver usbserial_generic
[    0.506100] usbserial: USB Serial support registered for generic
[    0.507689] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
[    0.508036] rtc-pl031 fff04000.rtc: rtc core: registered pl031 as rtc1
[    0.508441] i2c /dev entries driver
[    0.511652] sdhci: Secure Digital Host Controller Interface driver
[    0.511678] sdhci: Copyright(c) Pierre Ossman
[    0.511793] Synopsys Designware Multimedia Card Interface Driver
[    0.512265] dwmmc_k3 ff37f000.dwmmc1: fifo-depth property not found, using value of FIFOTH register as default
[    0.514518] dwmmc_k3 ff37f000.dwmmc1: IDMAC supports 64-bit address mode.
[    0.514809] dwmmc_k3 ff37f000.dwmmc1: Using internal DMA controller.
[    0.514822] dwmmc_k3 ff37f000.dwmmc1: Version ID is 270a
[    0.514869] dwmmc_k3 ff37f000.dwmmc1: DW MMC controller at irq 59,32 bit host data width,256 deep fifo
[    0.515083] dwmmc_k3 ff37f000.dwmmc1: Got CD GPIO
[    0.535350] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.547232] ufshcd-hisi ff3b0000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[1, 1], lane[1, 1], pwr[SLOWAUTO_MODE, SLOWAUTO_MODE], rate = 0
[    0.554213] dwmmc_k3 ff3ff000.dwmmc2: fifo-depth property not found, using value of FIFOTH register as default
[    0.556548] dwmmc_k3 ff3ff000.dwmmc2: IDMAC supports 64-bit address mode.
[    0.560331] dwmmc_k3 ff3ff000.dwmmc2: Using internal DMA controller.
[    0.560346] dwmmc_k3 ff3ff000.dwmmc2: Version ID is 270a
[    0.560389] dwmmc_k3 ff3ff000.dwmmc2: DW MMC controller at irq 60,32 bit host data width,256 deep fifo
[    0.561097] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.563009] ledtrig-cpu: registered to indicate activity on CPUs
[    0.563822] usbcore: registered new interface driver usbhid
[    0.563842] usbhid: USB HID core driver
[    0.564560] optee: probing for conduit method from DT.
[    0.568303] optee: initialized driver
[    0.568496] usbcore: registered new interface driver snd-usb-audio
[    0.569742] NET: Registered protocol family 10
[    0.570285] Segment Routing with IPv6
[    0.570328] NET: Registered protocol family 17
[    0.570381] 9pnet: Installing 9P2000 support
[    0.570443] Key type dns_resolver registered
[    0.570865] registered taskstats version 1
[    0.570873] Loading compiled-in X.509 certificates
[    0.575832] ffd74000.serial: ttyAMA3 at MMIO 0xffd74000 (irq = 21, base_baud = 0) is a PL011 rev2
[    0.576440] fdf01000.serial: ttyAMA4 at MMIO 0xfdf01000 (irq = 22, base_baud = 0) is a PL011 rev2
[    0.576541] serial serial0: tty port ttyAMA4 registered
[    0.576788] fff32000.serial: ttyAMA6 at MMIO 0xfff32000 (irq = 23, base_baud = 0) is a PL011 rev2
[    0.723250] mmc_host mmc0: Bus speed (slot 0) = 200000000Hz (slot req 200000000Hz, actual 200000000HZ div = 0)
[    0.921966] ufs final power mode: gear = 3, lane = 1, pwr = 1, rate = 2
[    1.059453] ufshcd-hisi ff3b0000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[3, 3], lane[1, 1], pwr[FAST MODE, FAST MODE], rate = 2
[    1.069901] ufshcd-hisi ff3b0000.ufs: ufshcd_find_max_sup_active_icc_level: Regulator capability was not set, actvIccLevel=0
[    1.081618] scsi 0:0:0:49488: scsi_add_lun: correcting incorrect peripheral device type 0x0 for W-LUN 0x            c150hN
[    1.081624] scsi 0:0:0:49488: Well-known LUN    SAMSUNG  KLUBG4G1CE-B0B1  1000 PQ: 0 ANSI: 6
[    1.110821] scsi 0:0:0:49476: scsi_add_lun: correcting incorrect peripheral device type 0x0 for W-LUN 0x            c144hN
[    1.110828] scsi 0:0:0:49476: Well-known LUN    SAMSUNG  KLUBG4G1CE-B0B1  1000 PQ: 0 ANSI: 6
[    1.134212] scsi 0:0:0:49456: scsi_add_lun: correcting incorrect peripheral device type 0x0 for W-LUN 0x            c130hN
[    1.134218] scsi 0:0:0:49456: Well-known LUN    SAMSUNG  KLUBG4G1CE-B0B1  1000 PQ: 0 ANSI: 6
[    1.163443] scsi 0:0:0:0: Direct-Access     SAMSUNG  KLUBG4G1CE-B0B1  1000 PQ: 0 ANSI: 6
[    1.180551] dwmmc_k3 ff37f000.dwmmc1: tuning ok best_clksmpl 18 tuning_sample_flag cbfffbff
[    1.180566] mmc0: new ultra high speed SDR104 SDXC card at address aaaa
[    1.181471] mmcblk0: mmc0:aaaa AFGCF 119 GiB 
[    1.182356] sd 0:0:0:0: Power-on or device reset occurred
[    1.189205]  mmcblk0: p1 p2
[    1.193224] scsi 0:0:0:1: Direct-Access     SAMSUNG  KLUBG4G1CE-B0B1  1000 PQ: 0 ANSI: 6
[    1.222223] sd 0:0:0:1: Power-on or device reset occurred
[    1.228926] scsi 0:0:0:2: Direct-Access     SAMSUNG  KLUBG4G1CE-B0B1  1000 PQ: 0 ANSI: 6
[    1.235420] sd 0:0:0:0: [sda] 1024 4096-byte logical blocks: (4.19 MB/4.00 MiB)
[    1.235423] sd 0:0:0:0: [sda] 16384-byte physical blocks
[    1.240397] sd 0:0:0:0: [sda] Write Protect is off
[    1.240402] sd 0:0:0:0: [sda] Mode Sense: 00 32 00 10
[    1.250986] sd 0:0:0:2: Power-on or device reset occurred
[    1.250989] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[    1.263518] scsi 0:0:0:3: Direct-Access     SAMSUNG  KLUBG4G1CE-B0B1  1000 PQ: 0 ANSI: 6
[    1.274994] sd 0:0:0:1: [sdb] 1024 4096-byte logical blocks: (4.19 MB/4.00 MiB)
[    1.274997] sd 0:0:0:1: [sdb] 16384-byte physical blocks
[    1.281539] sd 0:0:0:1: [sdb] Write Protect is off
[    1.281542] sd 0:0:0:1: [sdb] Mode Sense: 00 32 00 10
[    1.285582] sd 0:0:0:3: Power-on or device reset occurred
[    1.297873] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
[    1.309807] sd 0:0:0:2: [sdc] 2048 4096-byte logical blocks: (8.39 MB/8.00 MiB)
[    1.309810] sd 0:0:0:2: [sdc] 16384-byte physical blocks
[    1.316352] sd 0:0:0:2: [sdc] Write Protect is off
[    1.316356] sd 0:0:0:2: [sdc] Mode Sense: 00 32 00 10
[    1.332672] sd 0:0:0:2: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA
[    1.344355] sd 0:0:0:3: [sdd] 7805952 4096-byte logical blocks: (32.0 GB/29.8 GiB)
[    1.344358] sd 0:0:0:3: [sdd] 16384-byte physical blocks
[    1.350906] sd 0:0:0:3: [sdd] Write Protect is off
[    1.350910] sd 0:0:0:3: [sdd] Mode Sense: 00 32 00 10
[    1.359778] sd 0:0:0:3: [sdd] Write cache: enabled, read cache: enabled, supports DPO and FUA
[    1.412142] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.441352] Alternate GPT is invalid, using primary GPT.
[    1.441367]  sdc: sdc1
[    1.447964] sd 0:0:0:1: [sdb] Attached SCSI disk
[    1.469655] Alternate GPT is invalid, using primary GPT.
[    1.469685]  sdd: sdd1 sdd2 sdd3 sdd4 sdd5 sdd6 sdd7 sdd8 sdd9 sdd10 sdd11 sdd12 sdd13
[    1.530571] sd 0:0:0:2: [sdc] Attached SCSI disk
[    1.557840] sd 0:0:0:3: [sdd] Attached SCSI disk
[    2.884212] console [ttyAMA6] enabled
[    2.888997] ssp-pl022 ffd68000.spi: ARM PL022 driver, device ID: 0x00041022
[    2.896103] ssp-pl022 ffd68000.spi: mapped registers from 0x00000000ffd68000 to 0000000023c2d61f
[    2.904967] ssp-pl022 ffd68000.spi: setup for DMA on RX dma0chan0, TX dma0chan1
[    2.912888] ssp-pl022 ff3b3000.spi: ARM PL022 driver, device ID: 0x00041022
[    2.919981] ssp-pl022 ff3b3000.spi: mapped registers from 0x00000000ff3b3000 to 00000000781a350a
[    2.928829] ssp-pl022 ff3b3000.spi: setup for DMA on RX dma0chan2, TX dma0chan3
[    2.941772] dwmmc_k3 ff3ff000.dwmmc2: fifo-depth property not found, using value of FIFOTH register as default
[    2.953943] dwmmc_k3 ff3ff000.dwmmc2: IDMAC supports 64-bit address mode.
[    2.961289] dwmmc_k3 ff3ff000.dwmmc2: Using internal DMA controller.
[    2.967657] dwmmc_k3 ff3ff000.dwmmc2: Version ID is 270a
[    2.973002] dwmmc_k3 ff3ff000.dwmmc2: DW MMC controller at irq 60,32 bit host data width,128 deep fifo
[    2.982484] mmc_host mmc1: card is non-removable.
[    3.086903] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    3.114248] input: keys as /devices/platform/keys/input/input0
[    3.120566] dwmmc_k3 ff3ff000.dwmmc2: card claims to support voltages below defined range
[    3.128763] rtc-efi rtc-efi: setting system clock to 1970-01-01 00:02:08 UTC (128)
[    3.139803] ALSA device list:
[    3.140941] mmc_host mmc1: Bus speed (slot 0) = 25000000Hz (slot req 25000000Hz, actual 25000000HZ div = 0)
[    3.142372] mmc1: new SDIO card at address 0001
[    3.157078]   No soundcards found.
[    3.160764] uart-pl011 fff32000.serial: no DMA platform data
[    3.166781] Freeing unused kernel memory: 1152K
[    3.424679] raid6: int64x1  gen()  1301 MB/s
[    3.496649] raid6: int64x1  xor()   700 MB/s
[    3.568666] raid6: int64x2  gen()  1652 MB/s
[    3.640626] raid6: int64x2  xor()   978 MB/s
[    3.712660] raid6: int64x4  gen()  1842 MB/s
[    3.784656] raid6: int64x4  xor()  1095 MB/s
[    3.856651] raid6: int64x8  gen()  1832 MB/s
[    3.928647] raid6: int64x8  xor()  1044 MB/s
[    4.000647] raid6: neonx1   gen()  2160 MB/s
[    4.072634] raid6: neonx1   xor()  2125 MB/s
[    4.144647] raid6: neonx2   gen()  2943 MB/s
[    4.216628] raid6: neonx2   xor()  2910 MB/s
[    4.288641] raid6: neonx4   gen()  3964 MB/s
[    4.360625] raid6: neonx4   xor()  3414 MB/s
[    4.432631] raid6: neonx8   gen()  3938 MB/s
[    4.504632] raid6: neonx8   xor()  3228 MB/s
[    4.508900] raid6: using algorithm neonx4 gen() 3964 MB/s
[    4.514295] raid6: .... xor() 3414 MB/s, rmw enabled
[    4.519257] raid6: using neon recovery algorithm
[    4.525353] xor: measuring software checksum speed
[    4.568627]    8regs     :  4848.000 MB/sec
[    4.612625]    8regs_prefetch:  4161.000 MB/sec
[    4.656625]    32regs    :  5483.000 MB/sec
[    4.700625]    32regs_prefetch:  5228.000 MB/sec
[    4.705240] xor: using function: 32regs (5483.000 MB/sec)
[    4.715763] Btrfs loaded, crc32c=crc32c-generic
[    4.922766] EXT4-fs (sdd13): mounted filesystem with ordered data mode. Opts: (null)
[    5.011308] systemd[1]: System time before build time, advancing clock.
[    5.033868] ip_tables: (C) 2000-2006 Netfilter Core Team
[    5.191222] EXT4-fs (sdd13): re-mounted. Opts: (null)
[    5.501957] systemd-journald[1778]: Received request to flush runtime journal from PID 1
[    5.561865] Bluetooth: Core ver 2.22
[    5.565639] NET: Registered protocol family 31
[    5.570113] Bluetooth: HCI device and connection manager initialized
[    5.576571] Bluetooth: HCI socket layer initialized
[    5.585694] Bluetooth: L2CAP socket layer initialized
[    5.587631] adv7511: probe of 1-0039 failed with error -22
[    5.596313] Bluetooth: SCO socket layer initialized
[    5.618348] mali_kbase: loading out-of-tree module taints kernel.
[    5.619820] Bluetooth: HCI UART driver ver 2.3
[    5.619823] Bluetooth: HCI UART protocol H4 registered
[    5.619825] Bluetooth: HCI UART protocol BCSP registered
[    5.619850] Bluetooth: HCI UART protocol LL registered
[    5.619852] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    5.620490] uart-pl011 fdf01000.serial: no DMA platform data

Continued:

[    5.662715] mali e82c0000.mali: Continuing without Mali regulator control
[    5.671902] mali e82c0000.mali: Continuing without Mali clock control
[    5.672207] mali e82c0000.mali: GPU identified as 0x0 arch 6.0.10 r0p0 status 2
[    5.673793] mali e82c0000.mali: Probed as mali0
[    5.723204] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    5.750331] Bluetooth: hci0: change remote baud rate command in firmware
[    5.760241] Adding 3232764k swap on /dev/mmcblk0p2.  Priority:-2 extents:1 across:3232764k SS
[    5.765157] FAT-fs (sdd7): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    5.767721] mmc_host mmc1: Bus speed (slot 0) = 25000000Hz (slot req 25000000Hz, actual 25000000HZ div = 0)
[    5.814330] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    5.870987] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    5.918971] mmc_host mmc1: Bus speed (slot 0) = 25000000Hz (slot req 25000000Hz, actual 25000000HZ div = 0)
[    5.937090] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    5.949240] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    5.955848] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    5.964487] cfg80211: failed to load regulatory.db
[    6.071140] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    6.114800] mmc_host mmc1: Bus speed (slot 0) = 25000000Hz (slot req 25000000Hz, actual 25000000HZ div = 0)
[    6.254977] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    6.299940] mmc_host mmc1: Bus speed (slot 0) = 25000000Hz (slot req 25000000Hz, actual 25000000HZ div = 0)
[    6.312060] random: crng init done
[    6.412251] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    6.417832] Bluetooth: BNEP filters: protocol multicast
[    6.423079] Bluetooth: BNEP socket layer initialized
[    6.520018] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[    6.527928] wlcore: WARNING Detected unconfigured mac address in nvs, derive from fuse instead.

[    6.538127] wlcore: WARNING This default nvs file can be removed from the file system

[    6.555135] wlcore: loaded
[    6.819149] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    6.862680] mmc_host mmc1: Bus speed (slot 0) = 25000000Hz (slot req 25000000Hz, actual 25000000HZ div = 0)
[    7.273431] wlcore: PHY firmware version: Rev 8.2.0.0.240
[    7.377860] wlcore: firmware booted (Rev 8.9.0.0.76)
[    7.399399] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   11.634601] wlan0: authenticate with 50:6a:03:6e:d1:a8
[   11.647734] wlan0: send auth to 50:6a:03:6e:d1:a8 (try 1/3)
[   11.703642] wlan0: authenticated
[   11.708640] wlan0: associate with 50:6a:03:6e:d1:a8 (try 1/3)
[   11.718504] wlan0: RX AssocResp from 50:6a:03:6e:d1:a8 (capab=0x411 status=0 aid=6)
[   11.736429] wlan0: associated
[   11.879793] wlan0: Limiting TX power to 19 (22 - 3) dBm as advertised by 50:6a:03:6e:d1:a8
[   11.884309] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   11.891762] wlcore: Association completed.
[25450.845289] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25450.876550] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25450.907883] ttyAMA ttyAMA6: 1 input overrun(s)
[25450.963237] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25450.994522] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.042431] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.103304] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.137917] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.170255] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.206834] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.262987] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.294274] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.342147] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.373427] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.610628] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.641890] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.673130] sysrq: SysRq : SAK
[25451.676202] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.707449] sysrq: SysRq : Emergency Remount R/O
[25451.712122] tty tty1: SAK: killed process 2156 (agetty): by session
[25451.712344] tty tty1: SAK: killed process 2156 (agetty): by controlling tty
[25451.725691] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.756956] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.788201] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.788228] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.819474] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.819510] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.850746] sysrq: SysRq : Emergency Thaw of all frozen filesystems
[25451.881973] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.881990] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.913223] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.950727] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.950761] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.982009] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25451.982040] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25452.013304] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25452.044601] ttyAMA ttyAMA6: 12 input overrun(s)
[25452.075843] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) 
[25452.230559] EXT4-fs (sdd13): re-mounted. Opts: (null)
[25452.246902] Emergency Thaw complete
[25452.253509] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
[25452.259017] Emergency Remount complete
[30547.925442] EXT4-fs (sdd13): re-mounted. Opts: (null)
[33030.193691] hisi_thermal fff30000.tsensor: THERMAL ALARM: 65370 > 65000
[33823.913595] hisi_thermal fff30000.tsensor: THERMAL ALARM stopped: 61065 < 65000
[39911.243304] hisi_thermal fff30000.tsensor: THERMAL ALARM: 65370 > 65000
[39974.722962] hisi_thermal fff30000.tsensor: THERMAL ALARM stopped: 61065 < 65000
[39975.320105] hisi_thermal fff30000.tsensor: THERMAL ALARM: 65575 > 65000
[39989.895013] hisi_thermal fff30000.tsensor: THERMAL ALARM stopped: 61065 < 65000
[39990.082748] hisi_thermal fff30000.tsensor: THERMAL ALARM: 65575 > 65000
[39991.533391] hisi_thermal fff30000.tsensor: THERMAL ALARM stopped: 61065 < 65000
[39997.267850] hisi_thermal fff30000.tsensor: THERMAL ALARM: 65575 > 65000
[39997.523806] hisi_thermal fff30000.tsensor: THERMAL ALARM stopped: 60655 < 65000
[40001.090772] hisi_thermal fff30000.tsensor: THERMAL ALARM: 65370 > 65000
[40058.913680] hisi_thermal fff30000.tsensor: THERMAL ALARM stopped: 61065 < 65000
[40278.372882] hisi_thermal fff30000.tsensor: THERMAL ALARM: 65370 > 65000
[40315.809072] hisi_thermal fff30000.tsensor: THERMAL ALARM stopped: 61065 < 65000
[40319.913151] hisi_thermal fff30000.tsensor: THERMAL ALARM: 65370 > 65000
[40377.556219] hisi_thermal fff30000.tsensor: THERMAL ALARM stopped: 61065 < 65000

You can always use pastebin [1] for sharing long messages like boot log. And from the log, it looks like cpufreq is not enabled in the kernel. I’d check whether the below options are enabled or not:

CONFIG_CPU_FREQ=y
CONFIG_CPUFREQ_DT=y
CONFIG_CPUFREQ_DT_PLATDEV=y

Can you please share the .config file?

[1] https://pastebin.ubuntu.com/

They are all set in .config. (I haven’t manually modified your repo.)

What command did you use for configuring the kernel? In my repository, the kernel configs are available in both defconfig and distro.config. So, you need to issue below command to configure the kernel:

$ make defconfig distro.config

What command did you use for configuring the kernel?

As per @sumit.garg’s instructions, I used:

$ make defconfig ARCH=arm64

I will try:

$ make defconfig distro.config ARCH=arm64