Skip to content

Instantly share code, notes, and snippets.

View strongtz's full-sized avatar
🌙
Sleeping

Sophon strongtz

🌙
Sleeping
  • The moon
  • 23:01 (UTC +08:00)
View GitHub Profile
@strongtz
strongtz / sc8280xp-radxa-dragon-q8b.dts
Created April 28, 2026 15:14
sc8280xp-radxa-dragon-q8b.dts
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2026 Radxa Computer (Shenzhen) Co., Ltd.
*/
/dts-v1/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
@strongtz
strongtz / config.jsonc
Created December 23, 2025 13:33
~/.config/fastfetch/config.jsonc
~/.config/fastfetch/config.jsonc
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"padding": {
"top": 2
}
},
"modules": [
@strongtz
strongtz / out
Created June 25, 2024 15:14
why rtx3060 on x elite
# alarm @ alarm in ~ [22:40:42]
$ sudo lspci -nn
0005:00:00.0 PCI bridge [0604]: Qualcomm Technologies, Inc Device [17cb:0111]
0005:01:00.0 Network controller [0280]: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] [17cb:1107] (rev 01)
0007:00:00.0 PCI bridge [0604]: Qualcomm Technologies, Inc Device [17cb:0111]
0007:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106 [GeForce RTX 3060 Lite Hash Rate] [10de:2504] (rev a1)
0007:01:00.1 Audio device [0403]: NVIDIA Corporation GA106 High Definition Audio Controller [10de:228e] (rev a1)
# alarm @ alarm in ~ [22:40:52]
$ sudo lspci -vvvnn
@strongtz
strongtz / dmesg
Last active June 22, 2024 15:25
x1e80100 + arc a770
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x512f0011]
[ 0.000000] Linux version 6.10.0-rc3-next-20240613-g41a3d8d28002-dirty (strongtz@DESKTOP-34OECVH) (aarch64-linux-gnu-gcc (GCC) 14.1.0, GNU ld (GNU Binutils) 2.42) #30 SMP PREEMPT_DYNAMIC Sat Jun 22 18:28:00 CST 2024
[ 0.000000] KASLR enabled
[ 0.000000] Machine model: Qualcomm Technologies, Inc. X1E80100 CRD
[ 0.000000] efi: EFI v2.9 by INSYDE Corp.
[ 0.000000] efi: SMBIOS=0xd4462000 SMBIOS 3.0=0xd445f000 TPMFinalLog=0xd46e0000 ACPI 2.0=0xd47d3018 MEMATTR=0xcfcd1018 ESRT=0xcfc6f018 TPMEventLog=0xc4844018 INITRD=0xc484bc18 RNG=0xd47d3898 MEMRESERVE=0xc484b518
[ 0.000000] random: crng init done
[ 0.000000] esrt: Reserving ESRT space from 0x00000000cfc6f018 to 0x00000000cfc6f118.
[ 0.000000] OF: reserved mem: 0x0000000080000000..0x00000000807fffff (8192 KiB) nomap non-reusable gunyah-hyp@80000000
[ 0.000000] OF: reserved mem: 0x0000000080800000..0x00000000809fffff (2048 KiB) nomap non-reusable hyp-elf-package@808000
@strongtz
strongtz / adspr.jsn
Created March 16, 2024 13:21
8550 pd
{
"sr_version": {
"major": 1,
"minor": 1,
"patch": 1
},
"sr_domain": {
"soc": "msm",
"domain": "adsp",
"subdomain": "root_pd",
@strongtz
strongtz / d920s10_defconfig
Created March 1, 2023 01:48
mainline Linux config for Huawei D920S10 Desktop Board (hi1620)
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 6.2.0-rc6 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.1.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=120100
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=23800
@strongtz
strongtz / win11.xml
Created September 27, 2022 01:20
win11 libvirt (sr-iov testing)
<domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
<name>win</name>
<uuid>a545b450-a24d-4dda-b50b-a227c20c93ea</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://microsoft.com/win/10"/>
</libosinfo:libosinfo>
</metadata>
<memory unit="KiB">16777216</memory>
<currentMemory unit="KiB">16777216</currentMemory>
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\installwoa\ControlSet001\Control\WMI\Autologger\qcdrv-log]
"Guid"="{00000000-0000-0000-0000-000000000000}"
"LogFileMode"=dword:00000400
"Start"=dword:00000001
"BufferSize"=dword:00000080
"Status"=dword:00000000
"MaximumBuffers"=dword:00000020
"MinimumBuffers"=dword:00000020