Skip to content

Instantly share code, notes, and snippets.

@swdee
swdee / gist:6b52172a910a2a54054fbd513fcf07c3
Created March 19, 2020 08:54
Gecko polling output and completion
VERBO[03-19|20:59:50.237300] <SN i8KtK2KwLi1o7WaVBbEKpRLPtAEYayfoptqAFYxfQgrus1g6m> /snow/engine/avalanche/polls.go#57: Poll: Waiting on 10 chits. requestID: 3
VERBO[03-19|20:59:50.263283] <SN i8KtK2KwLi1o7WaVBbEKpRLPtAEYayfoptqAFYxfQgrus1g6m> /snow/engine/avalanche/voter.go#63: Avalanche engine can't quiesce, requestID: 3
VERBO[03-19|20:59:50.269181] <SN i8KtK2KwLi1o7WaVBbEKpRLPtAEYayfoptqAFYxfQgrus1g6m> /snow/engine/avalanche/polls.go#57: Poll: Waiting on 10 chits. requestID: 4
VERBO[03-19|20:59:50.283433] <SN i8KtK2KwLi1o7WaVBbEKpRLPtAEYayfoptqAFYxfQgrus1g6m> /snow/engine/avalanche/voter.go#63: Avalanche engine can't quiesce, requestID: 4
VERBO[03-19|20:59:50.306207] <SN i8KtK2KwLi1o7WaVBbEKpRLPtAEYayfoptqAFYxfQgrus1g6m> /snow/engine/avalanche/polls.go#57: Poll: Waiting on 10 chits. requestID: 5
VERBO[03-19|20:59:50.323576] <SN i8KtK2KwLi1o7WaVBbEKpRLPtAEYayfoptqAFYxfQgrus1g6m> /snow/engine/avalanche/voter.go#63: Avalanche engine can't quiesce, requestID: 5
VERBO[03-19|20:59:50.325148] <SN i8KtK2KwLi1o7WaV
@swdee
swdee / gist:481fa5916ecdeb0c3dc308a11b7a27e3
Created June 13, 2024 08:08
Rock 5B Custom Fan Curve
/dts-v1/;
/plugin/;
/ {
metadata {
title = "My Custom Overlays";
category = "misc";
compatible = "radxa,rock-5b", "rockchip,rk3588";
description = "My Custom Overlays";
};
@swdee
swdee / go-rknnlite-debian-setup.md
Created November 12, 2024 07:47
go-rknnlite setup on Debian Bookworm 6.1 (Radxa official OS)

Notes on setting up go-rknnlite on Debian Bookworm v6.1 (Radxa Official OS) on Rock 5B/5C.

Check rknpu

Check rknpu is installed (it should be on official Radxa images.

dmesg | grep -i rknpu

[    5.130935] [drm] Initialized rknpu 0.8.2 20220829 for fdab0000.npu on minor 1
@swdee
swdee / gist:f51fd2fb571c5141c99c04c0ecf3ef95
Created April 7, 2025 04:43
WIP dockerfile for rknn-toolkit2
FROM python:3.11-bookworm
# Set the working directory
WORKDIR /app
# Set environment variable for the wheel filename
ENV WHEEL_FILENAME=rknn_toolkit2-2.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ENV REQ_FILENAME=requirements_cp311-2.3.0.txt
# Install dependencies
@swdee
swdee / qcs6490-sbc-bench-results.txt
Created April 28, 2025 11:10
sbc-bench results for Qualcomm QCS6490 on the Rubik Pi 3
sbc-bench v0.9.71 Thundercomm, Inc. Rubik Pi C6490P (Mon, 28 Apr 2025 22:47:17 +1200)
Distributor ID: Debian
Description: Debian GNU/Linux trixie/sid
Release: 22.04
Codename: trixie
/usr/bin/gcc (Debian 14.2.0-19) 14.2.0
Uptime: 22:47:18 up 2 min, 0 user, load average: 2.70, 1.35, 0.53, 42.6°C, 50039317
@swdee
swdee / rk3588-sbc-bench-results.txt
Created April 28, 2025 11:27
sbc-bench results for RK3588 on the Rock 5B
sbc-bench v0.9.71 Radxa ROCK 5B (Mon, 28 Apr 2025 11:03:36 +0000)
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
Build system: Radxa rbuild: build_date: '2024-08-08T04:17:32+00:00', edition: kde, product: rock-5b, suite: bookworm
/usr/bin/gcc (Debian 12.2.0-14) 12.2.0