Adrian / gist:65bb1d77ede6426fbe55b24e19d9e0f8
0 likes
0 forks
1 files
Last active
1 | EFI stub: Decompressing Linux Kernel... |
2 | EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path |
3 | EFI stub: Using DTB from configuration table |
4 | EFI stub: Exiting boot services... |
5 | [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050] |
6 | [ 0.000000] Linux version 6.14.0-rc5-next-20250306-sm7325 (pmos@karma) (aarch64-alpine-linux-musl-gcc (Alpine 14.2.0) 14.2.0, GNU ld (GNU Binutils) 2.42) #40 SMP Fri Mar 7 01:09:19 UTC 2025 |
7 | [ 0.000000] KASLR enabled |
8 | [ 0.000000] Machine model: Xiaomi 11 Lite 5G NE / 11 LE |
9 | [ 0.000000] earlycon: qcom_geni0 at MMIO 0x0000000000994000 (options '115200n8') |
10 | [ 0.000000] printk: legacy bootconsole [qcom_geni0] enabled |
Adrian / gist:aca8d8ed3d2f45e7a03a73c5a8f7bab6
0 likes
0 forks
1 files
Last active
1 | #!/bin/sh |
2 | |
3 | # Some devices (xiaomi-surya) ship with a touchscreen that has no persistent |
4 | # firmware storage. That is unfortunate and means we need to provide firmware |
5 | # from the initramfs for FDE to work. |
6 | # This is only the case for the novatek touchscreens. Their firmware resides |
7 | # in /vendor/firmware. Let's copy it over. |
8 | # The file names are novatek_ts_huaxing_fw.bin and novatek_ts_tianma_fw.bin, |
9 | # for both panels respectively. |
Adrian / gist:0cd2db472e764b2784f067ba056ad697
0 likes
0 forks
1 files
Last active
1 | #!/bin/sh |
2 | |
3 | # Some devices (xiaomi-surya) ship with a touchscreen that has no persistent |
4 | # firmware storage. That is unfortunate and means we need to provide firmware |
5 | # from the initramfs for FDE to work. |
6 | # This is only the case for the novatek touchscreens. Their firmware resides |
7 | # in /vendor/firmware. Let's copy it over. |
8 | # The file names are novatek_ts_huaxing_fw.bin and novatek_ts_tianma_fw.bin, |
9 | # for both panels respectively. |
Adrian / gist:2f8e059d346e47df8fc0294597a54dce
0 likes
0 forks
1 files
Last active
1 | qcom-sm7150:~$ sudo systemd-analyze time |
2 | Startup finished in 6.889s (firmware) + 173ms (loader) + 7.526s (kernel) + 15.316s (userspace) = 29.905s |
3 | graphical.target reached after 15.315s in userspace. |
4 | qcom-sm7150:~$ sudo systemd-analyze blame |
5 | 7.528s msm-modem-uim-selection.service |
6 | 5.290s dev-sda32.device |
7 | 5.097s dev-sde51.device |
8 | 5.026s dev-sdf7.device |
9 | 4.739s dev-sde47.device |
10 | 4.356s dev-sde26.device |
Adrian / gist:ad4cb05c5fcd4b749c3ce1a8d2bf020b
0 likes
0 forks
1 files
Last active
1 | (bootloader) product:sunfish |
2 | (bootloader) serialno:0A221JEC217849 |
3 | (bootloader) variant:SM7 UFS |
4 | (bootloader) max-download-size:0x10000000 |
5 | (bootloader) slot-suffixes:_a,_b |
6 | (bootloader) version-bootloader:s5-0.5-10252351 |
7 | (bootloader) version-baseband:g7150-00112-230505-B-10075601 |
8 | (bootloader) secure-boot:PRODUCTION |
9 | (bootloader) secure:yes |
10 | (bootloader) hw-revision:MP1.0 |
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 |
JIaxyga / gist:1c3af8c3f9b142d3877ba2afbd900d4e
0 likes
0 forks
1 files
Last active
1 | Format: Log Type - Time(microsec) - Message - Optional Info |
2 | Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic |
3 | S - QC_IMAGE_VERSION_STRING=BOOT.XF.3.1.c3-00001-SM6150LZB-1 |
4 | S - IMAGE_VARIANT_STRING=SDM7150LA |
5 | S - OEM_IMAGE_VERSION_STRING=s5-0.1-10252351 |
6 | S - Boot Interface: UFS |
7 | S - Secure Boot: On |
8 | S - Boot Config @ 0x00786070 = 0x000000c9 |
9 | S - JTAG ID @ 0x00786130 = 0x000e60e1 |
10 | S - JTAG ID2 @ 0x00784130 = 0x101000e6 |