Skip to content

Instantly share code, notes, and snippets.

View strongtz's full-sized avatar
🌙
Sleeping

Sophon strongtz

🌙
Sleeping
  • The moon
  • 23:24 (UTC +08:00)
View GitHub Profile
/dts-v1/;
#include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,sm8650-camcc.h>
#include <dt-bindings/clock/qcom,sm8650-dispcc.h>
#include <dt-bindings/clock/qcom,sm8650-gcc.h>
#include <dt-bindings/clock/qcom,sm8650-gpucc.h>
#include <dt-bindings/clock/qcom,sm8650-tcsr.h>
#include <dt-bindings/clock/qcom,sm8650-videocc.h>
#include <dt-bindings/interconnect/qcom,icc.h>
@strongtz
strongtz / gist:29b1e5a303382c37395317a28f126d9d
Created September 16, 2026 03:43
cdsp_peak X2 Elite Extreme
PS C:\data\cdsp_peak\build-windows> .\cdsp_peak.exe
cdsp_peak domain=cdsp arch=v81 skel=v81 hvx=128B hvx64=0 hvx128=8 timer_overhead=3 cycles threads=8 buffer=256 MiB-total vtcm_page=8388608 vtcm_count=1 hmx_depth=0 hmx_spatial=0 power=max power_mask=0x1f mem_engine=auto mem_cache=auto mem_workers=8 udma=1 pmu=1
warning: HMX scenarios use one FastRPC handle; --threads is ignored for HMX rows
scenario threads count host_ms dsp_cycles ops/cycle score checksum
rpc-null 8 16384 543.475 0 0.000 33.17 us/call 0x0ba24faeceffb811
fp32-vmuladd 8 327680000 688.901 1234990974 135.849 243.54 GFLOPS 0xc021784a6c4e9b19
fp16-vmpyacc 8 327680000 724.034 1317515804 254.680 463.44 GFLOPS 0x4ad1385545c3c019
qf16-vmpyadd 8 655360000 788.174 1481795052 452.889 851.45 GFL
@strongtz
strongtz / gist:fb755ef3f05dd16a4bf4ac0b00f83c03
Created June 4, 2026 09:42
sc8280xp iris with HFI Gen2 firmware, fluster results
$ ./fluster.py run -ts JVT-AVC_V1 -d GStreamer-H.264-V4L2-Gst1.0
****************************************************************************************************
Running test suite JVT-AVC_V1 with decoder GStreamer-H.264-V4L2
Using 8 parallel job(s)
****************************************************************************************************
[TEST SUITE] (DECODER ) TEST VECTOR ... RESULT
----------------------------------------------------------------------
[JVT-AVC_V1] (GStreamer-H.264-V4L2) BA3_SVA_C ... Error
[JVT-AVC_V1] (GStreamer-H.264-V4L2) BA1_Sony_D ... Success
@strongtz
strongtz / kernel-log
Created May 8, 2026 01:09
sc8280xp random NoC timeout on shutdown
[ 63.519444] shutdown[1]: Rebooting.
[ 63.539634] platform sound: shutdown
[ 63.543328] wcd938x_codec audio-codec: shutdown
[ 63.548001] wcd9380-codec sdw:2:0:0217:010d:00:4: shutdown
[ 63.553647] wcd9380-codec sdw:3:0:0217:010d:00:3: shutdown
[ 63.559301] soundwire sdw-master-3-0: shutdown
[ 63.563887] qcom-soundwire 3330000.soundwire: shutdown
[ 63.569180] soundwire sdw-master-2-0: shutdown
[ 63.573760] qcom-soundwire 3210000.soundwire: shutdown
[ 63.579050] tx_macro 3220000.txmacro: shutdown
@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