Skip to content

标签:RK3588

A/B OTA Updates: Recover Automatically from Failed Upgrades

A single-partition OTA bricks on power loss. A/B writes the new system into the other slot and only flips the boot flag after verification. What A/B buys you Layout: boot_a/boot_b, system_a/system_b, plus a misc/slot metadata partition the bootloader can read; Flow: write the target slot from the running system, verify hashes, set the slot with […]

阅读全文 →

Enabling IPv6 at Home: From the ONT to Every Device

Home IPv6 needs three links working: ONT mode, router prefix delegation and LAN address assignment. Any one blocks everything. Three checkpoints on the path Bridge the ONT: router-mode IPv6 firewalls are uncontrollable; bridging lets your router take over; Prefix delegation: DHCPv6-PD hands a /60 or /56 to your LANs for independent addressing; Firewall semantics: IPv6 […]

阅读全文 →

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 […]

阅读全文 →

A Pet Feeding and Watch Station: Detection + Metered Dispensing

The pet scenario is unusual: cameras must detect cats and dogs while stock models detect people. Two fixes. Detect pets, not people Fine-tune the model: 300 frames of your own pet retraining YOLO gives an immediate accuracy jump; Fallback: restrict detection to the bowl area and use “motion in zone” instead of species classification; Dispensing: […]

阅读全文 →

A Media Hub for Your Parents: Interface, Remote and Fault Tolerance

The last mile of a home server isn’t technical — it’s whether your parents can use it. Three principles decide whether it gets used at all. Design for non-users One entry point: the TV boots into the Jellyfin client; keep the remote to arrows and OK; No logins: create accounts per family member with “remember […]

阅读全文 →

Smart Greenhouse Control: Closed-Loop Automation and Remote Ops

Growers want windows that open themselves, lights that supplement, water that flows — not a wall of charts. Automation before dashboards Closed loop: temperature, humidity, CO2 and light drive fans, pads and grow lights with policies executed locally so a dropped link changes nothing; Enclosure protection: high humidity demands conformal coating on boards, sealed connectors […]

阅读全文 →

Compiling RK3588 Android Firmware: From SDK to Flashable Image

RK3588 Android work requires Rockchip’s released SDK; branches and kernel versions are matched, and mixing them is a rabbit hole. The SDK is the only sane entry Environment: Ubuntu 20.04/22.04, 16 cores/32GB RAM and 250GB disk minimum; install repo, JDK and the dependency list; Configure: ./build.sh lunch to pick your board (e.g. rk3588s_s), then a […]

阅读全文 →

Multi-WAN at Home and Small Offices: Dual Uplinks and Failover

Multi-WAN isn’t about having two ports — it’s about detection and switchover speed. Faster detection, shorter outage. Detection speed decides everything Probe targets: ping multiple public IPs (not the gateway) to avoid false-positive links; Policy: active/standby is sturdiest; load balancing needs session stickiness per source IP; 4G fallback: an RT28 with a cellular module cuts […]

阅读全文 →

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 […]

阅读全文 →