Adrian / gist:a27f0387c32a4d64a3a4b9a0259b3e2a
0 likes
0 forks
1 files
Last active
1 | #!/bin/sh |
2 | # SPDX-License-Identifier: MIT |
3 | |
4 | # |
5 | # This script is responsible for loading firmware blobs for the HexagonFS |
6 | # on qcom devices. It assumes to be run after msm-firmware-loader. |
7 | # |
8 | |
9 | # Base directory that msm-firmware-loader uses. |
10 | BASEDIR="/lib/firmware/msm-firmware-loader" |
Adrian / gist:485187656c634be69c5920a7229c3535
0 likes
0 forks
1 files
Last active
1 | # Newer Qualcomm devices need firmware files for HexagonFS. |
2 | # Symlink the firmware files if a sensor registry exists. |
3 | if [ -d "$BASEDIR"/mnt/persist/sensors/registry/registry ] |
4 | then |
5 | # Set up the hexagonrpcd firmware directory |
6 | HEXAGONFS_BASE="/usr/share/qcom" |
7 | mkdir -p "$HEXAGONFS_BASE" |
8 | mount -o mode=755,nodev,noexec,nosuid -t tmpfs none "$HEXAGONFS_BASE" |
9 | |
10 | mkdir "$HEXAGONFS_BASE"/sensors |
Adrian / gist:2acc456d2a534180b2b49392dca6f20b
0 likes
0 forks
1 files
Last active
1 | qcom-sm7150:~# cat /sys/kernel/debug/qcom_socinfo/* |
2 | 0 |
3 | cat: read error: Is a directory |
4 | cat: read error: Is a directory |
5 | cat: read error: Is a directory |
6 | |
7 | cat: read error: Is a directory |
8 | cat: read error: Is a directory |
9 | 0x00000060 |
10 | SM7150 |
Adrian / gist:ac4b7a69bc7447e183d5d52912c17d34
0 likes
0 forks
1 files
Last active
1 | qcom-sm7150:/usr/share/alsa/ucm2/conf.d/sm8250# dmidecode |
2 | # dmidecode 3.6 |
3 | Getting SMBIOS data from sysfs. |
4 | SMBIOS 3.7.0 present. |
5 | Table at 0x1ECA0C020. |
6 | |
7 | Handle 0x0000, DMI type 0, 26 bytes |
8 | BIOS Information |
9 | Vendor: U-Boot |
10 | Version: 2025.04-rc1-ga10c65258f29 |
Adrian / gist:ad85563d0d184e11882492c1d318e457
0 likes
0 forks
3 files
Last active
1 | From 7d24a43841a62bae825d0f0c2742f19fdf0ccb37 Mon Sep 17 00:00:00 2001 |
2 | From: Jens Reidel <[email protected]> |
3 | Date: Fri, 14 Feb 2025 05:55:19 +0100 |
4 | Subject: [PATCH v2 0/2] Add Goodix Berlin-A series support |
5 | |
6 | This series adds support for the Goodix Berlin-A series touch ICs |
7 | (gt9897). This was tested on a Xiaomi 11 Lite 5G NE (xiaomi-lisa), |
8 | which uses the gt9897 IC connected over SPI. I am not aware of any |
9 | device that has gt9897 connected over I2C and therefore could not |
10 | test it, so I didn't add a compatible in the I2C driver. |
Adrian / gist:093b4cfb32cd42ed88dadc28902caa18
0 likes
0 forks
1 files
Last active
1 | Feb 12 07:23:51 xiaomi-davinci iio-sensor-prox[648]: Not a switch [/sys/devices/platform/soc@0/c440000.spmi/spmi-0/0-00/c440000.spmi:pmic@0:adc@3100/iio:device0/../capabilities/sw] |
2 | Feb 12 07:23:51 xiaomi-davinci iio-sensor-prox[648]: Invalid bitmask entry for /sys/devices/platform/gpio-keys/input/input2/event2 |
3 | Feb 12 07:23:51 xiaomi-davinci iio-sensor-prox[648]: [qrtr] socket lookup from 1:0 |
4 | Feb 12 07:23:51 xiaomi-davinci iio-sensor-prox[648]: [qrtr] added server on 1:14 -> service 14, version 1, instance 0 |
5 | Feb 12 07:23:51 xiaomi-davinci iio-sensor-prox[648]: [qrtr] created new node 1 |
6 | Feb 12 07:23:51 xiaomi-davinci iio-sensor-prox[648]: [qrtr] added server on 1:16386 -> service 49, version 1, instance 1 |
7 | Feb 12 07:23:51 xiaomi-davinci iio-sensor-prox[648]: [qrtr] added server on 1:16389 -> service 64, version 1, instance 1 |
8 | Feb 12 07:23:51 xiaomi-davinci iio-sensor-prox[648]: [qrtr] added server on 1:16392 -> service 4096, version 1, instance 0 |
9 | Feb 12 07:23:51 xiaomi-davinci iio-sensor-prox[648]: [qrtr] added server on 5:1 -> service 15, version 1, instance 32 |
10 | Feb 12 07:23:51 xiaomi-davinci iio-sensor-prox[648]: [qrtr] created new node 5 |
Adrian / gist:9c90d0a0e13543478ec2fe5051bb05c7
0 likes
0 forks
1 files
Last active
1 | Feb 12 07:17:06 xiaomi-davinci iio-sensor-prox[663]: Not a switch [/sys/devices/platform/soc@0/c440000.spmi/spmi-0/0-00/c440000.spmi:pmic@0:adc@3100/iio:device0/../capabilities/sw] |
2 | Feb 12 07:17:06 xiaomi-davinci iio-sensor-prox[663]: Invalid bitmask entry for /sys/devices/platform/gpio-keys/input/input2/event2 |
3 | Feb 12 07:17:06 xiaomi-davinci iio-sensor-prox[663]: [qrtr] socket lookup from 1:0 |
4 | Feb 12 07:17:06 xiaomi-davinci iio-sensor-prox[663]: [qrtr] added server on 1:14 -> service 14, version 1, instance 0 |
5 | Feb 12 07:17:06 xiaomi-davinci iio-sensor-prox[663]: [qrtr] created new node 1 |
6 | Feb 12 07:17:06 xiaomi-davinci iio-sensor-prox[663]: [qrtr] added server on 1:16387 -> service 49, version 1, instance 1 |
7 | Feb 12 07:17:06 xiaomi-davinci iio-sensor-prox[663]: [qrtr] added server on 1:16389 -> service 64, version 1, instance 1 |
8 | Feb 12 07:17:06 xiaomi-davinci iio-sensor-prox[663]: [qrtr] added server on 1:16392 -> service 4096, version 1, instance 0 |
9 | Feb 12 07:17:06 xiaomi-davinci iio-sensor-prox[663]: [qrtr] added server on 5:1 -> service 15, version 1, instance 32 |
10 | Feb 12 07:17:06 xiaomi-davinci iio-sensor-prox[663]: [qrtr] created new node 5 |
Adrian / gist:41fb32ba28c94dd384b00525524e29a1
0 likes
0 forks
1 files
Last active
1 | Feb 12 07:03:11 xiaomi-davinci systemd[1]: Started IIO Sensor Proxy service. |
2 | Feb 12 07:03:11 xiaomi-davinci iio-sensor-prox[658]: Not a switch [/sys/devices/platform/soc@0/c440000.spmi/spmi-0/0-00/c440000.spmi:pmic@0:adc@3100/iio:device0/../capabilities/sw] |
3 | Feb 12 07:03:11 xiaomi-davinci iio-sensor-prox[658]: Invalid bitmask entry for /sys/devices/platform/gpio-keys/input/input2/event2 |
4 | Feb 12 07:03:11 xiaomi-davinci iio-sensor-prox[658]: [qrtr] socket lookup from 1:0 |
5 | Feb 12 07:03:11 xiaomi-davinci iio-sensor-prox[658]: [qrtr] added server on 1:14 -> service 14, version 1, instance 0 |
6 | Feb 12 07:03:11 xiaomi-davinci iio-sensor-prox[658]: [qrtr] created new node 1 |
7 | Feb 12 07:03:11 xiaomi-davinci iio-sensor-prox[658]: [qrtr] added server on 1:16384 -> service 49, version 1, instance 1 |
8 | Feb 12 07:03:11 xiaomi-davinci iio-sensor-prox[658]: [qrtr] added server on 1:16389 -> service 64, version 1, instance 1 |
9 | Feb 12 07:03:11 xiaomi-davinci iio-sensor-prox[658]: [qrtr] added server on 1:16392 -> service 4096, version 1, instance 0 |
10 | Feb 12 07:03:11 xiaomi-davinci iio-sensor-prox[658]: [qrtr] added server on 5:1 -> service 15, version 1, instance 32 |
Adrian / gist:31e16f5e0d304f31828722969412acd1
0 likes
0 forks
1 files
Last active
1 | [ 70.050294] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000070 |
2 | [ 70.050318] Mem abort info: |
3 | [ 70.050321] ESR = 0x0000000096000004 |
4 | [ 70.050324] EC = 0x25: DABT (current EL), IL = 32 bits |
5 | [ 70.050330] SET = 0, FnV = 0 |
6 | [ 70.050334] EA = 0, S1PTW = 0 |
7 | [ 70.050337] FSC = 0x04: level 0 translation fault |
8 | [ 70.050341] Data abort info: |
9 | [ 70.050343] ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 |
10 | [ 70.050347] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 |
Adrian / gist:277faefd9207409ea2cc2d8b0140c870
0 likes
0 forks
1 files
Last active
1 | [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x51df805e] |
2 | [ 0.000000] Linux version 6.13.0-sm7150 (pmos@karma) (aarch64-alpine-linux-musl-gcc (Alpine 14.2.0) 14.2.0, GNU ld (GNU Binutils) 2.42) #16 SMP PREEMPT Wed Jan 29 02:13:32 UTC 2025 |
3 | [ 0.000000] KASLR enabled |
4 | [ 0.000000] random: crng init done |
5 | [ 0.000000] Machine model: Xiaomi Redmi Note 10 Pro |
6 | [ 0.000000] earlycon: qcom_geni0 at MMIO 0x0000000000a88000 (options '115200n8') |
7 | [ 0.000000] Malformed early option 'earlycon' |
8 | [ 0.000000] efi: UEFI not found. |
9 | [ 0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader! |
10 | [ 0.000000] OF: reserved mem: 0x0000000085700000..0x0000000085cfffff (6144 KiB) nomap non-reusable hypervisor@85700000 |