Skip to content

标签:SBC

GStreamer Pipelines: Zero-Copy Multi-Camera Capture and Preview

GStreamer’s value on Rockchip is chaining hardware elements. With the right plugins, multi-camera CPU cost becomes negligible. Zero-copy is the watershed Decode with mppvideodec: RKVDEC hardware decode costs an order of magnitude less CPU than avdec_h264; Display via glupload + waylandsink: avoid CPU-side format conversion; Tee the stream: one decode feeding preview, detection and recording […]

阅读全文 →

eMMC Health Monitoring: Knowing When It’s Wearing Out

eMMC lacks the rich SMART data of SSDs, but a few key indicators still estimate remaining life. Three monitorable metrics Wear: read LIFE_TIME and PRE_EOL_INFO from ext_csd to see the fraction of life consumed; Write volume: measure daily application writes from /proc/diskstats and compare against rated TBW to project remaining time; Error counters: watch mmc […]

阅读全文 →

ESD Protection Design: Interfaces Are the First Line

ESD energy must be shunted before reaching the chip, so placement matters more than part selection. Protection belongs at the connector Placement: TVS diodes sit right at the connector with the shortest possible traces — placing them near the chip is equivalent to not having them; Part choice: low-capacitance TVS for high-speed signals (under 1pF) […]

阅读全文 →

Calling RKNN Lite from Python: The Fastest Path to a Prototype

When validating an idea, iteration speed beats runtime efficiency. Python with RKNN Lite gets you from model to on-device results in a day. Skip C++ during prototyping Environment: install rknn-toolkit-lite2 on the board (match the runtime version); numpy and OpenCV suffice; Preprocessing alignment: letterbox and mean/std must match the conversion config — the top cause […]

阅读全文 →

Serial Rescue Mode: The Last Resort When the System Won’t Boot

Rescue must work when the system cannot boot at all, so it cannot rely on the normal boot flow. Design principles for rescue U-Boot rescue: enable network or USB download in U-Boot (rockusb, tftp) so a corrupted system can be reflashed; Rescue partition: keep a minimal system partition that boots automatically when the main system […]

阅读全文 →

Automatic Plant Watering: Soil Moisture Plus Weather Forecast

Pumps and valves are commodity parts. The difficulty is decision logic: when, how much, and when not to. Decisions are harder than actuation Two-condition trigger: soil below threshold AND no rain forecast in 24 h; Zone per plant type: succulents vs ferns differ tenfold in water needs — separate valves and thresholds; Vacation mode: relax […]

阅读全文 →

EMC Design and Rework: Stop Problems Before the Test Lab

The EMC cost curve is steep: changing a trace at schematic stage takes minutes, changing it after tooling may mean new molds. Prevention beats remediation Partitioning: separate digital, analog, power and RF domains, and keep high-speed clocks away from connectors and board edges; Filtering and shielding: common-mode chokes and X/Y capacitors at the power inlet, […]

阅读全文 →

Planning a Pilot Project: Validate Small, Decide Fast

A pilot isn’t a whim; it’s answering a few key questions at minimum cost: does it work, is the cost acceptable, does it fit the site. Pilot goals must be measurable Define questions: list what the pilot must answer — performance, stability, cost, operational difficulty — each with a success criterion; Bound the scope: one […]

阅读全文 →

Build a Minimal Root Filesystem with Buildroot

If a device runs a fixed handful of programs with no package manager, Buildroot can shrink the rootfs to tens of megabytes. When Buildroot is the answer Pick a defconfig: make rockchip_rk3588_defconfig (or start from a close board) then tune with make menuconfig; Add your package: write package//Config.in plus .mk, or simply drop files and […]

阅读全文 →

Deploying RKNN in C++: From Sample Code to Product

Official demos answer “does it run”. Products must run 7×24 stably. The gap lives in engineering details. What separates demo from product Memory: pool RKNN tensor allocations; per-frame malloc/free fragments memory over days; Threading: capture / inference / post-process threads with a lock-free queue so slow inference never blocks capture; Failure handling: an inference watchdog […]

阅读全文 →