Skip to content

标签:RK3588

A Local CI Runner: Keeping Builds Inside Your Network

Cloud CI hurts on privacy and time limits. A runner on a LAN RK3588 builds freely, without time caps. Why builds belong inside Runner types: GitLab Runner and the Gitea Actions runner both ship ARM64 builds; Fit the jobs: doc builds, firmware packaging and unit tests are ideal; heavy compilation belongs elsewhere; Caching: local Docker […]

阅读全文 →

Exercise Rep Counting: The Standard Skeleton-Keypoint Approach

A pose model outputs per-frame skeletons; turning poses into “one completed rep” takes state-machine logic. Counting is a state machine Define joint angles: squats watch the knee angle (160° standing) with hysteresis to avoid flicker; State machine: standing → down → standing counts one rep, with minimum-phase durations filtering jitter; Side view required: place the […]

阅读全文 →

Wi-Fi Driver Debugging: Won’t Connect, Drops, Low Rate

Split the problem into scan, associate, stay associated and throughput — each step has a different debugging direction. Separate four layers Can’t scan: confirm the driver loaded (lsmod, dmesg), the firmware file exists and antennas are connected; Association fails: read wpa_supplicant logs for the auth stage — usually encryption mismatch or channel restrictions from the […]

阅读全文 →

ONVIF Camera Onboarding: Discovery, Auth and Substreams

ONVIF is a standard with uneven vendor implementations. Know these three pitfalls and onboarding goes smoothly. Three real-world ONVIF issues Discovery fails: across subnets multicast won’t route — enter IP and port manually (usually 80/8000/8899); Auth schemes: some older firmwares only do digest, which modern Frigate stacks handle; Stream URIs: confirm both profiles — main […]

阅读全文 →

An RK3588 Hardware Decode Checklist: rkmpp, V4L2 and Container Device Mapping

When hardware decode doesn’t engage on RK3588, it’s rarely a driver problem — some layer didn’t expose the device. Four checks locate it in minutes. Check four layers, kernel to container Kernel: /dev/mpp_service and /dev/dri present means rkmpp and the GPU driver loaded; User space: librockchip-mpp must match the ffmpeg build; Debian’s ffmpeg 6.x ships […]

阅读全文 →

Solar Inverter Monitoring: Multi-Vendor Protocols and Yield Accounting

Real solar sites mix vendors with different Modbus register maps, so the gateway needs a driver per model, not hardcoded reads. Protocol fragmentation is the hard part Register maps: keep a point table per brand and model, loaded by pluggable drivers instead of compiled in; Yield accounting: integrate power on 5-minute buckets, handling missing samples […]

阅读全文 →

I2C Sensors on RK3588: Reading Temperature, Light and Distance

The first step with any I2C device is scanning the bus for its address. Wrong address, wasted effort. Start with a bus scan Scan: i2cdetect -y 0 lists devices; nothing shows up means the controller isn’t enabled in the device tree; Driver path: kernel-supported parts (SHT3x) bind via hwmon; otherwise read registers with python-smbus per […]

阅读全文 →

Self-Hosting Gitea: Local Repositories for Your Code Assets

Code is the asset you least want in one place. Gitea needs ~200 MB RAM and is invisible on RK3588. Why self-host code One-shot deploy: the official image with SQLite to start; move to PostgreSQL when it grows; GitHub mirrors: Gitea’s built-in mirror pulls public repos on a schedule as full local backups; Private repos: […]

阅读全文 →

Video Smoke and Fire Detection: Early Signs vs False Alarms

Flame detection is intuitive but late; smoke appears in volume at ignition. The key is making smoke recognition solid. Smoke is the better signal Smoke’s visual traits: translucent, fuzzy edges, slow rise — hybrid classic features + deep models work best; Multi-frame confirmation: alarm only after a plume grows for 10-15 frames to filter exhaust […]

阅读全文 →

PCIe Devices Not Detected: From Link Training to Drivers

PCIe faults live in hardware, link training, enumeration or the driver. Debugging bottom-up is most efficient. Work up the stack layer by layer Check the link: does lspci list the device, and does lspci -vv show the expected LnkSta width and speed; Read the kernel log: grep dmesg for pcie and look for link up/down, […]

阅读全文 →