Commit Graph
11 Commits
Author SHA1 Message Date
BRNSystemsandClaude Opus 5.5 b4db39e6db ONVIF scaffolding and SSH notes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 22:01:43 +01:00
BRNSystemsandClaude Opus 5.5 00cbea147b camcfg: one CLI for every setting
Validates values, stores only overrides in /data/camcfg.conf (survives
firmware updates), merges them over the image defaults, keeps ONVIF in
sync and restarts the stream.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 22:01:43 +01:00
BRNSystemsandClaude Opus 5.5 28d4a36b6b Runtime Wi-Fi configuration with fallback
wifi-set changes the network without reflashing (hex-encoded SSID),
wifi-connect tries new -> previous -> build default, and a switch that
fails reverts automatically.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 22:01:43 +01:00
BRNSystemsandClaude Opus 5.5 89bd21d1f2 Build shipped tools from source
build-deps.sh builds mtdflash and dropbear (static musl) and the patched
RTSP server (uClibc-ng 1.0.30, ABI-compatible with the camera's 1.0.31).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 22:01:43 +01:00
BRNSystemsandClaude Opus 5.5 165c1b3a4a RTSP server: Digest auth, encoder level and SD recording
Patch for the SDK RTSP sample: [auth]/[server] in rtsp.ini (Digest auth
is built into librtsp_server), configurable enc_level, larger ring buffer
for 8 Mbps. ak_record.c adds continuous + motion recording to MPEG-TS with
configurable split, pre-roll and quotas, using the hardware motion grid.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 22:01:43 +01:00
BRNSystemsandClaude Opus 5.5 1005aad61f mtdflash, OTA updates and the U-Boot SD updater
mtdflash: static, verified MTD writer (per-block skip/erase/write/read-back,
validates all images before writing, refuses U-Boot/env without -f).
fwupdate + ota.sh flash a running camera over SSH; make-sd-update.sh builds
a camupdate.env that the new bootcmd applies from the SD card.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 22:01:43 +01:00
BRNSystemsandClaude Opus 5.5 5f4c960e1a Fetch pinned third-party inputs
fetch-deps.sh downloads the Anyka SDK runtime and RTSP sample
(Link-WQS/ANYKA_130L_SDK), the matching venc kernel modules (OpenIPC) and
Bootlin toolchains, all pinned to commits and checked against
deps.sha256. Nothing vendor-owned is stored in the repository.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 22:01:43 +01:00
BRNSystemsandClaude Opus 5.5 c778b728c0 Tuya-free image with a writable DATA partition
Strips the Tuya stack from APP and repartitions via mtdparts (the DTB has
no partition table), adding a jffs2 DATA partition for settings and the
overlay.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 22:01:43 +01:00
BRNSystemsandClaude Opus 5.5 573f3724c3 Telnet image: persistent root shell, Wi-Fi and overlay
Stock layout, Tuya daemons disabled, telnetd + serial root shell,
Wi-Fi auto-join and a bind-mount overlay so any file can be made
writable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 22:01:43 +01:00
BRNSystemsandClaude Opus 5.5 e8cc206d23 Toolkit: split and reassemble flash images from a dump
split.sh carves a dump into partitions using a layout file, build-image.sh
reassembles them (reproduces the stock dump byte-for-byte), repack-fs.sh
rebuilds squashfs/jffs2 partitions, extract-src.sh unpacks the stock
APP/rootfs from the user's own dump.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 22:01:43 +01:00
BRNSystemsandClaude Opus 5.5 497c0758cc Research notes: hardware, flash layout, rooting
Notes on the AK3918AV130/SC3332 Tuya camera derived from a flash dump:
SoC, U-Boot, 8 MiB NOR layout, the three anti-root locks and how to get a
root shell. Boot logs are redacted (MAC addresses, device-derived AP name).
The dump itself is never committed (.gitignore): CONFIG holds per-device
Tuya keys.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 22:01:43 +01:00