From 497c0758cc9d2c94c390afad7defd27a475d078b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Mon, 23 Nov 2026 22:01:43 +0100 Subject: [PATCH] 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 --- .gitignore | 32 ++ OPENIPC.md | 144 ++++++ README.md | 319 +++++++++++++ docs/reference/bootinfo.txt | 129 ++++++ docs/reference/bootlog.txt | 876 ++++++++++++++++++++++++++++++++++++ 5 files changed, 1500 insertions(+) create mode 100644 .gitignore create mode 100644 OPENIPC.md create mode 100644 README.md create mode 100644 docs/reference/bootinfo.txt create mode 100644 docs/reference/bootlog.txt diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..316be04 --- /dev/null +++ b/.gitignore @@ -0,0 +1,32 @@ +# ---- per-device / private: NEVER commit ---- +# your flash dump (Tuya keys in CONFIG, MAC in ENV) and anything derived from it +*.bin +camera_flash*.bin +*.tar.xz +*.tar.gz +*.tar.bz2 +extractions/ +toolkit/parts/ +toolkit/out/ +toolkit/src/app/ +toolkit/src/rootfs/ +# staged flash files: contain your Wi-Fi + passwords +sdcard/ +# raw logs (MAC addresses, device id) - redacted copies live in docs/reference/ +/bootlog.txt +/bootinfo.txt + +# ---- third-party inputs: fetched by toolkit/fetch-deps.sh (pinned + sha256-checked) ---- +toolkit/blobs/anyka-rtsp/ +toolkit/toolchains/ +toolkit/src/rtsp_sample/* +!toolkit/src/rtsp_sample/ak_record.c + +# ---- built by toolkit/build-deps.sh ---- +toolkit/blobs/fwupdate/mtdflash +toolkit/blobs/ssh/dropbearmulti + +# misc +*.part +*.o +*.tmp diff --git a/OPENIPC.md b/OPENIPC.md new file mode 100644 index 0000000..68b9142 --- /dev/null +++ b/OPENIPC.md @@ -0,0 +1,144 @@ +# Flashing OpenIPC on the AK3918AV130 + +> **Reality check first.** The port you found — `DavidL54/OpenIPC-firmware-Anyka` — +> is an **experimental research handoff**, not a product. Its own docs state: +> a public source checkout **"cannot currently reproduce a complete bootable image,"** +> it deliberately ships **no one-command NOR installer**, and the build needs the +> **proprietary AnyCloud SDK** (`AnyCloud39AV130_SDK_V1.03`) plus the OpenIPC musl +> toolchain. So today you cannot "download and flash" OpenIPC here — you build it, +> and some pieces (the Anyka ISP/encoder runtime) depend on that closed SDK. +> +> This doc gives the honest state, the correct **method** for when you have an image, +> and how to do it safely with the `toolkit/` in this repo. Your rooted **local image** +> (`toolkit/out/camera_flash_local.bin`) already works today; treat OpenIPC as the +> next milestone. + +--- + +## 1. There is a defconfig for your exact SoC + +`br-ext-chip-anyka/configs/ak3918av130_lite_defconfig` targets **AK3918AV130** +(family `ak3918ev300`, 8 MiB, squashfs-xz root) and pulls in **Majestic** (the OpenIPC +streamer, local RTSP), **Dropbear SSH**, `wpa_supplicant`, `wireless_tools`, mbedTLS, +curl, and the `ANYKA_OSDRV_AK3918AV130` SDK package. It reuses the **stock Anyka +kernel, DTB, and U-Boot**. + +> Verify your unit matches before trusting any build: sensor **SC3332**, Wi-Fi +> **AltoBeam ATBM6x6x (USB)**. If a future OpenIPC build assumes a different sensor +> or an EV300 kernel, it will not work as-is. + +## 2. OpenIPC's flash layout ≠ your stock layout + +OpenIPC-Anyka uses a different NOR map than your camera (from their `flash-layout.md`): + +| | Offset | Size | Role | +|---|---|---|---| +| mtd0 | 0x000000 | 256K | bootloader + env | +| mtd1 | 0x040000 | 64K | DTB | +| mtd2 | 0x050000 | ~1.75M | **stock kernel** | +| mtd3 | 0x210000 | ~960K | rootfs (squashfs) | +| mtd4 | 0x300000 | ~4.6M | app fs | +| mtd5 | 0x7a0000 | 384K | config (jffs2) | + +Your stock map (see `README.md` §1) puts UBOOT+ENV+ENVBK in the first 0x34000, kernel +at 0x44000, rootfs at 0x1c4000. **Adopting OpenIPC's full image means adopting its +layout**, which on your unit means updating `mtdparts` in U-Boot (one `saveenv`) so the +kernel sees the new partitions. Keep **UBOOT, ENV, DTB, and the kernel** for this +architecture — those are the "deployment contract." + +## 3. Building OpenIPC (standard OpenIPC flow) + +```sh +git clone https://github.com/DavidL54/OpenIPC-firmware-Anyka firmware +cd firmware +make BOARD=ak3918av130_lite # defconfig = ak3918av130_lite_defconfig +# output lands in: output/images/ (uImage, rootfs.squashfs, etc.) +``` + +Anyka-specific extras this fork needs (from its `build.md`), which upstream boards +don't: + +- OpenIPC musl toolchain at e.g. `/opt/anyka-toolchain/bin/arm-openipc-linux-musleabi-*` +- the closed SDK checked out at the project root as `AnyCloud39AV130_SDK_V1.03` +- the native gateway / busybox helpers: + ```sh + export CC=/opt/anyka-toolchain/bin/arm-openipc-linux-musleabi-gcc + python3 native-gateway/build.py --output out/native-gateway + python3 internal-firmware/build-busybox.py --source /opt/sources/busybox-1.36.1.tar.bz2 --output out/busybox + ``` +- `build-images.py` (the full-image packager) needs private stock inputs + manifest + pins and, per the project, **cannot complete from a clean public checkout yet**. + +So expect to finish with **partition artifacts** (a rootfs.squashfs, maybe an app fs), +not a ready 8 MiB blob. + +## 4. Flashing method — use this repo's toolkit + +Whatever OpenIPC artifacts you end up with, flash them the same way as everything else +here: **keep stock UBOOT/ENV/DTB/KERNEL, replace ROOTFS (+ app)**, then assemble an +8 MiB image and write it. + +```sh +cd toolkit + +# 1. Back up (you already have camera_flash.bin — keep it). +# If the chip ever changed, re-dump and re-split: +# ./split.sh current_dump.bin parts/openipc + +# 2. Start from stock parts, drop in the OpenIPC rootfs (and app): +cp parts/stock/*.bin parts/openipc/ 2>/dev/null; mkdir -p parts/openipc +cp /path/to/openipc/output/images/rootfs.squashfs parts/openipc/rootfs.bin +# (if OpenIPC also produces an app fs, put it in parts/openipc/app.bin) + +# 3. Describe OpenIPC's layout in a layout file (copy layout.conf, edit offsets/sizes +# to match §2 — especially the bigger KERNEL/ROOTFS slots), then assemble: +LAYOUT=layout-openipc.conf ./build-image.sh parts/openipc out/camera_flash_openipc.bin + +# 4. Flash it (same as README §8): +flashrom -p ch341a_spi -w out/camera_flash_openipc.bin +``` + +If OpenIPC's rootfs is larger than your stock ROOTFS slot (likely — Majestic + Dropbear), +you **must** use OpenIPC's layout (bigger mtd2/mtd3) and set `mtdparts` in U-Boot: + +``` +=> setenv mtdparts 'mtdparts=spi-nor:' +=> saveenv +=> reset +``` + +> The OpenIPC-Anyka doc warns *its* deployment "never runs `saveenv`" — that's about +> not disturbing *their* baked contract. On **your** stock camera, `mtdparts` lives in +> the U-Boot env and `saveenv` is the correct, intended way to change it. It's +> reversible: you have `camera_flash.bin`, and the SPI programmer is your recovery path. + +## 5. Safe-install checklist (from OpenIPC's own guidance) + +1. **Identify** the unit live: `cat /proc/mtd`, `cat /proc/cpuinfo`, `uname -a`, sensor, Wi-Fi. +2. **Back up**: full dump + per-partition, with sizes/hashes. Confirm a recovery route (programmer) *before* writing. +3. **Test from RAM/SD first** if possible — don't commit to NOR until the OpenIPC userland runs and streams. +4. **Only change rootfs/app.** Keep bootloader, env, DTB, kernel. +5. **Read back and verify** the programmed chip against the padded image. +6. **Cold-boot and observe** on serial; keep the programmer attached until it's proven. + +## 6. Recovery + +Bad flash → no network, maybe no boot. Recovery is always the **SPI programmer**: + +```sh +flashrom -p ch341a_spi -w camera_flash.bin # restore your original dump +``` +You still have U-Boot on serial as long as UBOOT/ENV aren't corrupted; if the kernel or +rootfs is bad, U-Boot's `=>` prompt lets you re-flash via Y-modem (`loady` → `sf write`, +see README §8B). This is why you keep UBOOT/ENV untouched whenever possible. + +--- + +## 7. Recommended path + +1. **Now:** flash `toolkit/out/camera_flash_local.bin` → rooted, Tuya-free, on your Wi-Fi, + telnet + serial shell, 2.9 MB writable DATA. Fully working today. +2. **Next:** stand up the OpenIPC toolchain + SDK and build the `ak3918av130_lite` target; + test its rootfs from the DATA partition / RAM before committing. +3. **Then:** assemble an OpenIPC image with `toolkit/` using OpenIPC's layout and flash it + for local RTSP via Majestic — no Tuya, no cloud. diff --git a/README.md b/README.md new file mode 100644 index 0000000..8a29f9f --- /dev/null +++ b/README.md @@ -0,0 +1,319 @@ +# De-Tuya-ing the AK3918AV130 camera + +> **Start with [GUIDE.md](GUIDE.md)**: the step-by-step install guide for the RTSP firmware. +> [IMAGE_CONTENTS.md](IMAGE_CONTENTS.md) documents exactly what the image contains. +> This README holds the original research notes (rooting, layout, the telnet and local images). + +Working notes + toolkit for rooting and converting a Tuya Anyka camera to local +control. Everything here is derived from a flash dump of the camera (`camera_flash.bin`, +not included: it holds per-device keys). + +--- + +## 1. What the camera is + +| | | +|---|---| +| SoC | **Anyka AK3918AV130** (ARMv5, 960 MHz) — board `EVB_CBD_AK3918AV130_V1.0.0` | +| RAM / Flash | 64 MiB DRAM / **8 MiB SPI-NOR** (Zetta ZB25VQ64, 4 KiB erase) | +| Bootloader | U-Boot 2019.10.0 — **Ctrl+C at power-on drops to the `=>` prompt** | +| Kernel | Linux 4.4.302, console `ttySAK0 @ 115200 8N1` | +| Userland | BusyBox, Anyka SDK V1.05.06; app = Tuya (`cmdserver`/`msgserver`, `tuya_*.db`) | +| Sensor | SmartSens **SC3332** (MIPI) | +| Wi-Fi | **AltoBeam ATBM6x6x** USB (fullmac, `wlan0`); `ak_eth.ko` exists but `net_mode=0` → **wired disabled** | +| Status | Bought new, **never paired with Tuya** → no account binding, clean factory config | + +### Why there is no shell out of the box (three deliberate locks) +1. `etc/inittab`: the serial `getty` line is **commented out** → no login on UART. +2. `usr/sbin/main.sh`: `#/usr/sbin/telnetd &` is **commented out** → no telnet. +3. `usr/sbin/service.sh`: **deletes `/etc/config/shadow` every boot** → you can't just set a root password. + +U-Boot is wide open, so none of that matters. + +### Flash / MTD layout (8 MiB) +``` +mtd0 UBOOT 200K @0x000000 mtd4 KERNEL 1536K @0x044000 (xz, zImage+appended DTB) +mtd1 ENV 4K @0x032000 mtd5 ROOTFS 1008K @0x1c4000 squashfs-xz, ro -> / +mtd2 ENVBK 4K @0x033000 mtd6 CONFIG 256K @0x2c0000 jffs2, rw -> /etc/config +mtd3 DTB 64K @0x034000 mtd7 APP ~5120K @0x300000 squashfs-xz, ro -> /usr +``` +> The stock `mtdparts` string claims `APP=13312K`, but the chip is only 8 MiB, so +> APP is physically clamped to **5120 K** (0x300000 → end of flash). CONFIG is the +> **only runtime-writable** partition. + +--- + +## 2. Phase 1 — Root shell over serial, right now (no flashing, reversible) + +At the `=>` prompt, bypass init and drop straight to a root shell. **Do not `saveenv`** +— a power-cycle restores normal boot. + +``` +setenv bootargs 'console=ttySAK0,115200n8 root=/dev/mtdblock5 rootfstype=squashfs init=/bin/sh mtdparts=spi-nor:200K@0x0(UBOOT),4K@0x32000(ENV),4K@0x33000(ENVBK),64K@0x34000(DTB),1536K@0x44000(KERNEL),1008K@0x1c4000(ROOTFS),256K@0x2c0000(CONFIG),13312K@0x300000(APP) mem=64M memsize=64M' +run read_kernel +run read_dtb +bootm ${loadaddr} +``` + +You land at `#` as root (PID 1). Bring up the basics: + +```sh +mount -t proc proc /proc +mount -t sysfs sysfs /sys +mount -t squashfs /dev/mtdblock7 /usr # APP: all tools live here +mount -t jffs2 /dev/mtdblock6 /etc/config +export PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin +``` + +--- + +## 3. Phase 2 — Join your Wi-Fi (from that shell) + +All stock tools are present (`wpa_supplicant`, `wpa_cli`, `udhcpc` + its `default.script`). + +```sh +insmod /usr/modules/cfg80211.ko # load first if the next line complains +/usr/sbin/wifi_driver.sh sta # insmods ATBM6x6x_wifi_usb.ko, brings up wlan0 + +cat > /tmp/wpa_supplicant.conf <<'EOF' +ctrl_interface=/var/run/wpa_supplicant +update_config=1 +network={ + scan_ssid=1 + ssid="YourNetwork" + psk="YourPassword" +} +EOF + +wpa_supplicant -B -iwlan0 -Dnl80211 -c /tmp/wpa_supplicant.conf +wpa_cli -iwlan0 status # wait for wpa_state=COMPLETED +udhcpc -i wlan0 # DHCP lease +ifconfig wlan0 # confirm IP +``` +Static fallback if DHCP misbehaves: +`ifconfig wlan0 192.168.x.y netmask 255.255.255.0 && route add default gw 192.168.x.1` + +--- + +## 4. Phase 3 — Telnet (volatile) + +Once on the network: +```sh +telnetd -l /bin/sh # passwordless root shell on :23 (shadow is wiped each boot, so no login) +``` +`telnet ` from your PC → root. Gone on reboot. For persistence, flash the +patched image below. + +--- + +## 5. The patched image (persistent telnet + Wi-Fi + "edit any file") + +**`toolkit/out/camera_flash_telnet.bin`** — identical to your dump except the APP +partition, which now: + +- auto-loads the Wi-Fi driver and **connects to your AP** (`WIFI_SSID`/`WIFI_PSK`, baked in at build), +- runs **`telnetd -l /bin/sh`** (passwordless root on :23), +- spawns a **root shell on the serial console** every boot (no U-Boot dance needed), +- applies a **writable overlay** (see §6), +- does **not** start the Tuya daemons (clean local base; it won't stream video — that comes with OpenIPC/Majestic later). + +Change the baked-in Wi-Fi creds and rebuild: +```sh +cd toolkit +WIFI_SSID='MyNet' WIFI_PSK='MyPass' ./variants/telnet.sh +``` +You can also override creds at runtime without reflashing by dropping a +`wpa_supplicant.conf` into `/etc/config/` (CONFIG survives reboots). + +> ⚠️ No hardware watchdog is petted in this image (the Tuya service that did it is +> disabled). If the board resets ~once a minute during boot, U-Boot armed the WDT: +> add `[ -e /dev/watchdog ] && watchdog -t 5 /dev/watchdog` near the top of +> `local_bootstrap.sh` and rebuild. + +--- + +## 5.5 Tuya-free image with a real writable partition (`local` variant) + +`toolkit/out/camera_flash_local.bin` goes further than the telnet image: it **removes +the Tuya app layer** (`anyka_ipc` 5.8M, `msgserver`, `cmdserver`, `system_upgrade`, the +NPU AI model, and the voice/siren MP3s), which shrinks APP from 4772K → **2076K**. The +freed space becomes a **2944K writable jffs2 `DATA` partition**. All kernel modules, +Wi-Fi, ISP and video-encoder drivers are **kept**, so the hardware stays fully usable. + +Behaviour on boot: same as the telnet image (Wi-Fi auto-join, `telnetd -l /bin/sh`, +serial root shell) but the writable overlay is backed by the big `DATA` partition +(mounted at `/data`), so `rw ` has ~2.9 MB to work with instead of ~200 K. + +Build it: +```sh +cd toolkit +WIFI_SSID='MyNet' WIFI_PSK='MyPass' ./variants/local.sh +``` + +**Required one-time U-Boot step** (the repartition). The DTB has no partition table — +partitions come from the kernel cmdline `mtdparts` in the U-Boot env — so after flashing, +break to `=>` and run **once**: +``` +setenv mtdparts 'mtdparts=spi-nor:200k@0x0(UBOOT),4k@0x32000(ENV),4k@0x33000(ENVBK),64k@0x34000(DTB),1536k@0x44000(KERNEL),1008k@0x1c4000(ROOTFS),256k@0x2c0000(CONFIG),2176k@0x300000(APP),2944k@0x520000(DATA)' +saveenv +reset +``` +`boot_normal` rebuilds `bootargs` from `${mtdparts}` on every boot, so this is all that's +needed; the kernel now exposes `DATA` as **mtd8** (`/dev/mtdblock8`). It's reversible — +`setenv` it back (or restore the original dump). Until you run it, the image still boots +and gives telnet (it just falls back to the small CONFIG overlay). + +> New NOR layout: +> ``` +> APP stripped squashfs 2176K @0x300000 (Tuya-free, drivers kept) +> DATA jffs2 writable 2944K @0x520000 (empty, pre-formatted — your space) +> ``` +> The empty DATA image is built byte-for-byte like `flash_erase -j` (a 4 K cleanmarker +> per block), so it mounts clean on first boot. + +--- + +## 6. "Edit any file" — why it's an overlay, not a full JFFS2 + +**Full JFFS2 does not fit on this 8 MiB chip** (measured, not estimated): + +| | JFFS2 (real `mkfs.jffs2`) | Partition room | Verdict | +|---|---|---|---| +| ROOTFS | 1576 K | 1008 K | ❌ +568 K | +| APP | 7232 K | 5120 K | ❌ +2112 K | +| Both pooled | 8808 K | 6128 K (all free space) | ❌ **+2680 K** | + +The stock firmware only fits because squashfs-xz compresses ~2.6×. The kernel also +has **no overlayfs and no aufs** (checked the decompressed kernel — only squashfs, +jffs2, tmpfs, ramfs). So the writable mechanism is **jffs2 (CONFIG) + bind-mounts**: + +- On boot, every file under **`/etc/config/overlay/`** is bind-mounted over its + real path. This lets you **replace/edit any existing file**, persistently. +- New files can be added freely in already-writable dirs (`/etc/config`, `/data`, `/var`, `/tmp`). +- Helper on the device: **`rw /abs/path/file`** copies the file into the overlay and + binds it immediately, so you can then edit it in place. + +```sh +# on the camera: +rw /usr/sbin/main.sh # make it writable+persistent +vi /usr/sbin/main.sh # edit; survives reboot via the overlay +``` + +**Budget: ~200 K** of persistent edit space (CONFIG is 256 K, ~50 K already used). +Plenty for scripts/configs; not enough to swap large binaries. For real writable +space you must free flash — see §8. + +--- + +## 7. The build toolkit (`toolkit/`) + +Parts-based: the image is split into partitions, each editable, then reassembled. + +``` +toolkit/ + layout.conf stock partition table (name / offset / size / kind / file) + layout-local.conf repartitioned map (Tuya-free APP + writable DATA) + parts/stock/ raw stock partitions, carved from your dump (prefilled) + parts/telnet/ the telnet variant's parts + parts/local/ the Tuya-free variant's parts (incl. empty DATA jffs2) + src/rootfs/ stock ROOTFS tree (editable) + src/app/ stock APP tree (editable) + split.sh full image -> parts// + repack-fs.sh a src tree -> squashfs (default) or jffs2 partition file + build-image.sh parts/ -> 8 MiB image (LAYOUT= to override map) + variants/telnet.sh telnet+wifi+overlay image (stock layout) + variants/local.sh Tuya-free + writable DATA image (repartitioned) + out/ finished images +``` + +Common operations: +```sh +cd toolkit + +# re-carve parts from any image +./split.sh /path/to/some_dump.bin parts/stock + +# edit files under src/rootfs or src/app, then repack one partition: +./repack-fs.sh src/app parts/stock/app.bin $((0x500000)) squashfs +# (last arg can be 'jffs2' instead, if it fits the slot) + +# reassemble a full image from a parts set: +./build-image.sh parts/stock out/my_image.bin + +# one-shot telnet build (reads stock parts, patches app): +WIFI_SSID='MyNet' WIFI_PSK='MyPass' ./variants/telnet.sh +``` +Integrity guarantee: `build-image.sh parts/stock` reproduces your original dump +**byte-for-byte** (verified), so the pipeline is lossless. + +--- + +## 8. Flashing + +**Keep `camera_flash.bin` (your original dump) as the restore image.** + +### A. External SPI programmer (recommended — the way you dumped it) +Clip onto the ZB25VQ64 (power the chip from the programmer, board off): +```sh +flashrom -p ch341a_spi -w toolkit/out/camera_flash_telnet.bin # adjust -p for your programmer +# restore anytime: +flashrom -p ch341a_spi -w camera_flash.bin +``` +The whole image is written, but only APP differs, so it's safe and simple. + +### B. Serial (no programmer) — Y-modem a single partition from U-Boot +At the `=>` prompt (≈8 min for APP at 115200): +``` +loady 0x80008000 # then send toolkit/parts/telnet/app.bin from your terminal +sf probe +sf erase 0x300000 0x500000 +sf write 0x80008000 0x300000 ${filesize} +reset +``` +> U-Boot TFTP (`update`) only works if the board actually has an Ethernet PHY; this +> is a Wi-Fi model, so use the programmer or Y-modem. + +--- + +## 9. Going fully local: OpenIPC + +The reference — **`DavidL54/OpenIPC-firmware-Anyka`** — has a Buildroot defconfig for +**your exact SoC** (`ak3918av130_lite_defconfig`: Majestic streamer/RTSP, Dropbear SSH, +`wpa_supplicant`), reusing the stock Anyka kernel/DTB/U-Boot + the proprietary +`ANYKA_OSDRV_AK3918AV130` SDK blob. + +But it's an **experimental research port**: a public checkout **cannot build a complete +image yet**, it ships **no one-command installer**, and it needs the private +`AnyCloud39AV130_SDK_V1.03`. It also uses a **different NOR layout** than your camera. + +→ Full build + flashing procedure, layout differences, safe-install checklist and +recovery are in **[`OPENIPC.md`](OPENIPC.md)**. + +Recommended order: flash `camera_flash_local.bin` now (works today) → build OpenIPC with +its toolchain+SDK → assemble & flash an OpenIPC image with this toolkit, keeping stock +U-Boot/kernel/DTB. + +--- + +## 10. File map + +``` +camera_flash.bin original dump (restore image — keep it) +bootinfo.txt / bootlog.txt serial captures (U-Boot env + boot log) +extractions/ binwalk output (rootfs/app/config trees, kernel) +BUILD_AND_INSTALL.md step-by-step: build an image, flash, repartition, ONVIF +OPENIPC.md OpenIPC build + flashing guide +RTSP.md local RTSP (+ONVIF) via the public Anyka SDK +toolkit/ build system (see §7) + layout*.conf stock / local / rtsp flash maps + variants/telnet.sh|local.sh|rtsp.sh image builders + blobs/anyka-rtsp/ SDK RTSP runtime (23 .so + server binary + rtsp.ini) + out/camera_flash_telnet.bin persistent telnet + wifi + overlay (stock layout) + out/camera_flash_local.bin Tuya-free + 2.9M writable DATA (repartitioned) + out/camera_flash_rtsp.bin Tuya-free + RTSP server (rtsp://ip/vs0,/vs1) + DATA +``` + +> **RTSP/ONVIF:** `camera_flash_rtsp.bin` bundles the public Anyka SDK's own RTSP server +> (H.264 `rtsp:///vs0` main + `/vs1` sub, port 554) — assembled from ABI-matched +> public binaries, **not yet hardware-tested**. ONVIF is a documented add-on. See +> **[`RTSP.md`](RTSP.md)**. diff --git a/docs/reference/bootinfo.txt b/docs/reference/bootinfo.txt new file mode 100644 index 0000000..db7854c --- /dev/null +++ b/docs/reference/bootinfo.txt @@ -0,0 +1,129 @@ +=> NbFSak_fixed_clk_probe: parameters ok, nf=100 nr=1 nb=16 freq=400000000 +pll2 frequency out: 400MHz +gclk frequency out: 200MHz + + +U-Boot 2019.10.0-V4.0.27 (Jan 19 2026 - 14:53:08 +0800) + +CPU: 960MHz +Model: EVB_CBD_AK3918AV130_V1.0.0 board +DRAM: 64 MiB +ak_fixed_clk_probe: parameters ok, nf=100 nr=1 nb=16 freq=400000000 +ak_fixed_clk_probe pll2 has inited! +pll2 frequency out: 400MHz +gclk frequency out: 200MHz +Flash: SF: Detected ZB25VQ64 with page size 256 Bytes, erase size 4 KiB, total 8 MiB +8 MiB +set flash size:8388608 +MMC: mmc1@20108000: 0 +Loading Environment from SPI Flash... OK +In: uart0@20130000 +Out: uart0@20130000 +Err: uart0@20130000 +red_led_gpio:49, level:0 +blue_led_gpio:48 level:1 +ir_led_gpio:70 level:0 +white_led_gpio:-1 level:1 +led init. +red led init:1. +blue led init:0. +ir led init:0. +** Unable to read file ht_recover_fw.conf ** +ht_recover_fw.conf not found +Hit CTRL+C to stop autoboot: 0 +=> printenv +a_uboot_flags=0x1 +baudrate=115200 +blue_led_gpio=48 +blue_led_level=1 +boot_normal=env set bootargs console=ttySAK0,115200n8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init ${mtdparts} ${mem} ${memsize}; run read_kernel; run read_dtb; bootm ${loadaddr}} +bootargs=console=ttySAK0,115200n8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init +bootargs_mode=0x0 +bootcmd=run boot_normal +console=ttySAK0,115200n8 +dtb_addr=0x0 +dtb_name=DTB +dtb_offset=34000 +dtb_size=e351 +env_name=ENV +env_platform=anycloud_h3b_nor_v330 +env_version=1.0.01 +envup_flags=1 +ethaddr=xx:xx:xx:xx:xx:xx +fdt_high=0xFFFFFFFF +fdtcontroladdr=0x81300000 +filesize=0x0 +image_name=uImage +init=/sbin/init +ipaddr=192.168.1.99 +ir_led_gpio=70 +ir_led_level=0 +kernel_addr=0x0 +kernel_name=KERNEL +kernel_offset=44000 +kernel_size=180000 +loadaddr=0x80008000 +logo_switch=0x0 +mem=mem=64M +memsize=memsize=64M +mtd_root=/dev/mtdblock5 +mtdparts=mtdparts=spi-nor:200K@0x0(UBOOT),4K@0x32000(ENV),4K@0x33000(ENVBK),64K@0x34000(DTB),1536K@0x44000(KERNEL),1008K@0x1c4000(ROOTFS),256K@0x2c0000(CONFIG),13312K@0x300000(APP) +netmask=255.255.255.0 +part_table_offset=0x0 +parttab_type=AK +read_dtb=sf probe 0:0 ${sf_hz} 0; sf read ${fdtcontroladdr} ${dtb_offset} ${dtb_size} +read_kernel=sf probe 0:0 ${sf_hz} 0; sf read ${loadaddr} ${kernel_offset} ${kernel_size} +red_led_gpio=49 +red_led_level=0 +root_name=ROOTFS +rootfstype=squashfs +sd_det_mode=0x0 +serverip=192.168.1.1 +setcmd=setenv bootargs console=${console} root=${mtd_root} rootfstype=${rootfstype} init=${init} mem=${memsize} +setgpio=0 +sf_hz=20000000 +stderr=uart0@20130000 +stdin=uart0@20130000 +stdout=uart0@20130000 +uboot_name=UBOOT +update=tftp $(loadaddr) $(image_name); sf probe ; sf update $(loadaddr) $(update_offset) $(filesize) +update_flag=0x0 +update_offset=0x0 +update_size=0x0 + +Environment size: 1802/4092 bytes +=> help +? - alias for 'help' +base - print or set address offset +bootm - boot application image from memory +cmp - memory compare +cp - memory copy +crc32 - checksum calculation +env - environment handling commands +fatinfo - print information about filesystem +fatload - load binary file from a dos filesystem +fatls - list files in a directory (default /) +fstype - Look up a filesystem type +go - start application at address 'addr' +go_fastsys- Run fastsys +help - print command description/usage +load - load binary file from a filesystem +loadb - load binary file over serial line (kermit mode) +loadx - load binary file over serial line (xmodem mode) +loady - load binary file over serial line (ymodem mode) +ls - list files in a directory (default /) +md - memory display +mm - memory modify (auto-incrementing address) +mmc - MMC sub system +mmcinfo - display MMC info +mtdparts - define flash/nand partitions +mw - memory write (fill) +nm - memory modify (constant address) +printenv - print environment variables +reset - Perform RESET of the CPU +run - run commands in an environment variable +saveenv - save environment variables to persistent storage +setenv - set environment variables +sf - SPI flash sub-system +version - print monitor, compiler and linker version +=> diff --git a/docs/reference/bootlog.txt b/docs/reference/bootlog.txt new file mode 100644 index 0000000..1c72152 --- /dev/null +++ b/docs/reference/bootlog.txt @@ -0,0 +1,876 @@ +NbANbFSak_fixed_clk_probe: parameters ok, nf=100 nr=1 nb=16 freq=400000000 +pll2 frequency out: 400MHz +gclk frequency out: 200MHz + + +U-Boot 2019.10.0-V4.0.27 (Jan 19 2026 - 14:53:08 +0800) + +CPU: 960MHz +Model: EVB_CBD_AK3918AV130_V1.0.0 board +DRAM: 64 MiB +ak_fixed_clk_probe: parameters ok, nf=100 nr=1 nb=16 freq=400000000 +ak_fixed_clk_probe pll2 has inited! +pll2 frequency out: 400MHz +gclk frequency out: 200MHz +Flash: SF: Detected ZB25VQ64 with page size 256 Bytes, erase size 4 KiB, total 8 MiB +8 MiB +set flash size:8388608 +MMC: mmc1@20108000: 0 +Loading Environment from SPI Flash... OK +In: uart0@20130000 +Out: uart0@20130000 +Err: uart0@20130000 +red_led_gpio:49, level:0 +blue_led_gpio:48 level:1 +ir_led_gpio:70 level:0 +white_led_gpio:-1 level:1 +led init. +red led init:1. +blue led init:0. +ir led init:0. +** Unable to read file ht_recover_fw.conf ** +ht_recover_fw.conf not found +Hit CTRL+C to stop autoboot: 0 +SF: Detected ZB25VQ64 with page size 256 Bytes, erase size 4 KiB, total 8 MiB +device 0 offset 0x44000, size 0x180000 +SF: 1572864 bytes @ 0x44000 Read: OK +SF: Detected ZB25VQ64 with page size 256 Bytes, erase size 4 KiB, total 8 MiB +device 0 offset 0x34000, size 0xe351 +SF: 58193 bytes @ 0x34000 Read: OK +## Booting kernel from Legacy Image at 80008000 ... + Image Name: Linux-4.4.302-cip94 + Image Type: ARM Linux Kernel Image (uncompressed) + Data Size: 1570144 Bytes = 1.5 MiB + Load Address: 80008000 + Entry Point: 80008040 + Verifying Checksum ... OK +## Flattened Device Tree blob at 81300000 + Booting using the fdt blob at 0x81300000 + Loading Kernel Image + Using Device Tree in place at 81300000, end 81311350 + +Starting kernel ... + +Uncompressing Linux... done, booting the kernel. +Booting Linux on physical CPU 0x0 +Linux version 4.4.302-cip94 (chensf@ubuntu) (gcc version 5.5.0 (Buildroot 2018.02.7_V1.0.05-g4b04ad0) ) #1 Fri Nov 14 19:06:55 CST 2025 +CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f +CPU: VIVT data cache, VIVT instruction cache +Machine model: EVB_CBDM_AK3918av130_V1.0.0 board +Memory policy: Data cache writeback +ANYKA CPU AK3918AV130_B (ID 0x56573502) +Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 +Kernel command line: console=ttySAK0,115200n8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init mtdparts=spi-nor:200K@0x0(UBOOT),4K@0x32000(ENV),4K@0x33000(ENVBK),64K@0x34000(DTB),153M +PID hash table entries: 256 (order: -2, 1024 bytes) +Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) +Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) +Memory: 41640K/65536K available (3110K kernel code, 143K rwdata, 988K rodata, 140K init, 186K bss, 23896K reserved, 0K cma-reserved) +Virtual kernel memory layout: + vector : 0xffff0000 - 0xffff1000 ( 4 kB) + fixmap : 0xffc00000 - 0xfff00000 (3072 kB) + vmalloc : 0xc4800000 - 0xff800000 ( 944 MB) + lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) + modules : 0xbf000000 - 0xc0000000 ( 16 MB) + .text : 0xc0008000 - 0xc0408ee4 (4100 kB) + .init : 0xc0409000 - 0xc042c000 ( 140 kB) + .data : 0xc042c000 - 0xc044ff40 ( 144 kB) + .bss : 0xc044ff40 - 0xc047ea10 ( 187 kB) +SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +NR_IRQS:320 +ak3918av100_fixed_clk: PLL1: 960(Mhz) +ak3918av100_fixed_clk: CPU(JCLK): 960(Mhz) +ak3918av100_fixed_clk: DDR2: 480(Mhz) +ak3918av100_fixed_clk: PLL2_GCLK: 200(Mhz) +ak3918av100_factor_clk: ak_factor_pll1_clk_recalc_rate: unknow ID: 4 +clocksource: ak_cs_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 159271703898 ns +sched_clock: 32 bits at 12MHz, resolution 83ns, wraps every 178956970966ns +Calibrating delay loop... 479.23 BogoMIPS (lpj=2396160) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) +Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) +CPU: Testing write buffer coherency: ok +Setting up static identity map for 0x80008400 - 0x8000843c +devtmpfs: initialized +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: -1, 3072 bytes) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 16 KiB pool for atomic coherent allocations +On-chip L2 memory initialized +ak-pinctrl 20170000.gpio: ak_pinctrl_probe 2638 +ak-pinctrl 20170000.gpio: gpio_base 0xf0170000 gpio_base_pa 0x20170000 +ak_pinctrl_probe irq: 16 +media: Linux media interface: v0.10 +Linux video capture interface: v2.00 +clocksource: Switched to clocksource ak_cs_timer +NET: Registered protocol family 2 +IP idents hash table entries: 2048 (order: 2, 16384 bytes) +TCP established hash table entries: 1024 (order: 0, 4096 bytes) +TCP bind hash table entries: 1024 (order: 0, 4096 bytes) +TCP: Hash tables configured (established 1024 bind 1024) +UDP hash table entries: 256 (order: 0, 4096 bytes) +UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) +NET: Registered protocol family 1 +AK Power Management, (c) 2021 ANYKA +squashfs: version 4.0 (2009/01/31) Phillip Lougher +jffs2: version 2.2. @ 2001-2006 Red Hat, Inc. +io scheduler noop registered (default) +soc soc0: Anyka Unknown None detected +AKxx uart driver init, (c) 2023 ANYKA +20130000.uart0: ttySAK0 at MMIO 0x20130000 (irq = 11, base_baud = 12500000) is a AK +console [ttySAK0] enabled +sfc_nor_read_id: jedec 0x5e4017 +sfc_nor_scan: sfc frequency is 100000000 +zb25vq64 (8192 Kbytes) +mtd: spi-nor: partitioning exceeds flash size, truncating +8 cmdlinepart partitions found on MTD device spi-nor +Creating 8 MTD partitions on "spi-nor": +0x000000000000-0x000000032000 : "UBOOT" +0x000000032000-0x000000033000 : "ENV" +0x000000033000-0x000000034000 : "ENVBK" +0x000000034000-0x000000044000 : "DTB" +0x000000044000-0x0000001c4000 : "KERNEL" +0x0000001c4000-0x0000002c0000 : "ROOTFS" +0x0000002c0000-0x000000300000 : "CONFIG" +0x000000300000-0x000000800000 : "APP" +Anyka SFCv2 driver register success +i2c /dev entries driver +ak_wdt_init: watchdog register... +NET: Registered protocol family 17 +sctp: Hash tables configured (established 512 bind 1024) +hctosys: unable to open rtc device (rtc0) +squashfs: SQUASHFS error: Xattrs in filesystem, these will be ignored +squashfs: SQUASHFS error: unable to read xattr id index table +VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +devtmpfs: mounted +Freeing unused kernel memory: 140K +random: nonblocking pool is initialized +mount all file system... +************************** + Love Linux ! ! ! +************************** +/bin/mount -t squashfs /dev/mtdblocksquashfs: SQUASHFS error: Xattrs in filesystem, these will be ignored +7 /usr +squashfs: SQUASHFS error: unable to read xattr id index table +/bin/mount -t jffs2 /dev/mtdblock6 /etc/config +starting mdev... +/usr/sbin/red_led.sh: line 33: can't create /sys/class/leds/red_led/brightness: nonexistent directory +install sc3332 mipi driver +switched TF card to high-speed mode! +mipi1_error_bits_detect:0x1820 +parse_clock could not get csi1_sclk +parse_mipi mipi_lane_swap:0x532140, mipi_dndp_swap:0x0 +mipi_sel 0. pwm 0 +camera_set_sclk +camera_set_sclk csi0_sclk:24000000 +ak_ion_get_idev ok +ion_client_create ok +sc3332_probe Oct 20 2025 20:16:06 +id:cc44 +sc3332_sen_get_parameter_func param:8202 not support +sc3332_sen_get_parameter_func param:8205 not support +sc3332_sen_get_parameter_func param:8206 not support +fill_sensor_attr get sensor real_height fail +i2c i2c-0: sc3332 Probed success, subdev:c3bcce1c +umap_bridge_init +sh: 1: unknown operand +No TF-Card for F/W Update. +The Version Path "/mnt" Is Not Exist *.bin. +dd: can't open '/mnt/_ak39_factory.ini': No such file or directory +dd: can't open '/mnt/_ht_ap_mode.conf': No such file or directory +dd: can't open '/mnt/_ht_av_tuning.conf': No such file or directory +wifi run mode:sta +wifi pwr gpio:0 +wifi pwr gpio level:1 +wifi rst gpio:55 +wifi rst gpio level:1 +install wifi driver +killall: udhcpc: no process killed +killall: wpa_supplicant: no process killed +ifconfig: SIOCGIFFLAGS: No such device +killall: wpa_supplicant: no process killed +killall: udhcpc: no process killed +killall: udhcpd: no process killed +killall: hostapd: no process killed +rmmod: can't unload module 'ATBM6x6x_wifi_usb': No such file or directory +killall: wpa_supplicant: no process killed +killall: udhcpc: no process killed +killall: udhcpd: no process killed +killall: hostapd: no process killed +rmmod: can't unload module 'ATBM6x6x_wifi_usb': No such file or directory +[atbm_log]:platform_init(247) +[atbm_log]:cmd_init next bf3ac4ec bf3ac4ec +[atbm_log]:not support wifi6 +[atbm_log]:atbm_get_chiptype, chipver=0x30, g_wifi_chip_type[25] +[atbm_log]:not support wifi6 +[atbm_log]:atbm_get_chiptype, chipver=0x30, g_wifi_chip_type[25] +[atbm_log]:firmware_usb_wifi_bt_comb_ocea.h +[atbm_log]:ble_platform_probe(c2d56820) +[atbm_log]:is registered as 'phy0' +[atbm_log]:crystal:0 +[atbm_log]:==read /tmp/set_rate_power.txt fail== +[atbm_log]:==read /tmp/set_rate_power_5g.txt fail== +start service...... +cp hw setting file +find sw setting file,size:2975 +*************************************** +*****A monitor daemon has running!***** +*************************************** +killall: anyka_ipc: no process killed +killall: rtspserver: no process killed +killall: nvtservice: no process killed +[ AI][2000-01-01 00:00:13 506] [AK_MPI_AI_Enable:3542] ai version: libplat_ai V1.2.04 +[ AI][2000-01-01 00:00:13 720] [ak_ai_set_frame_length:5680] set_frame_length = 512 +set DEV volume 3 +[ AO][2000-01-01 00:00:13 723] [AK_MPI_AO_Enable:1780] ao version: libplat_ao V1.2.00 +[ VQE][2000-01-01 00:00:13 824] [AiOpenEchoLib:2518] Notice: AI echo_in.m_mode = 0x37 +[ ECHO][2000-01-01 00:00:13 825] ## --AudioFilter Version V2.03.01, Echo-- +[ ECHO][2000-01-01 00:00:13 826] ## pathId = 0 +[ ECHO][2000-01-01 00:00:13 827] ## mode = 0x37 +[ ECHO][2000-01-01 00:00:13 827] ## sample rate = 8000 +[ ECHO][2000-01-01 00:00:13 828] ## hw sr = 8000 +[ ECHO][2000-01-01 00:00:13 828] ## channels = 1 +[ ECHO][2000-01-01 00:00:13 829] ## bit depth = 16 +[ ECHO][2000-01-01 00:00:13 830] ## jitterBufLen = 8192 +[ ECHO][2000-01-01 00:00:13 830] ## syncedInputs = 0 +[ ECHO][2000-01-01 00:00:13 831] ## syncBufLen = 20480 +[ ECHO][2000-01-01 00:00:13 831] ## syncCompensate= 170 +[ ECHO][2000-01-01 00:00:13 832] ## nearDigiGain is set to 100% +[ ECHO][2000-01-01 00:00:13 833] ## _SD_Echo_Open near_path (0x19b2200), pathId:0, mode:0x37 +[ VQE][2000-01-01 00:00:13 836] [GetAslcParam:1163] aslc not open + [ VQE][2000-01-01 00:00:13 837] [GetEqParam:1109] eq not open + [ VQE][2000-01-01 00:00:13 840] [GetAgcParam:1055] agc not open + [ VQE][2000-01-01 00:00:13 843] [GetNrParam:1032] nr not open +[ VQE][2000-01-01 00:00:13 845] [VqeAiOpen:2862] Notice: exit, ps32VqeUserId = 0, EchoNearHandle = 0x19b2200 +[ ECHO][2000-01-01 00:00:13 845] ## Echo: set near_JitterBuf param +[ ECHO][2000-01-01 00:00:13 846] ## InputSampleRate = 0 +[ ECHO][2000-01-01 00:00:13 846] ## OutputSampleRate = 0 +[ ECHO][2000-01-01 00:00:13 847] ## bufSize = 0 +[ ECHO][2000-01-01 00:00:13 848] ## frameSize = 0 +[ ECHO][2000-01-01 00:00:13 848] ## upperBound = 4800 +[ ECHO][2000-01-01 00:00:13 849] ## Echo: load NR (enable) +[ ECHO][2000-01-01 00:00:13 850] ## nrEna = 1 +[ ECHO][2000-01-01 00:00:13 850] ## noiseSuppressDb = -10 +[ ECHO][2000-01-01 00:00:13 853] ## Echo: load near_Volume +[ ECHO][2000-01-01 00:00:13 854] ## limit = 100% +[ ECHO][2000-01-01 00:00:13 854] ## vol_dB = 1000/100 dB +[ ECHO][2000-01-01 00:00:13 855] ## maxLenin=128, looklen=48, sz=704 +[ ECHO][2000-01-01 00:00:13 856] ## ASLC OPEN OK ena:1, lookAheadLen:48 +[ ECHO][2000-01-01 00:00:13 858] ## Echo: set AGC param (enable) +[ ECHO][2000-01-01 00:00:13 858] ## agcEna = 1 +[ ECHO][2000-01-01 00:00:13 859] ## agcLevel = 16384 +[ ECHO][2000-01-01 00:00:13 860] ## maxGain = 4 +[ ECHO][2000-01-01 00:00:13 860] ## minGain = 0 +[ ECHO][2000-01-01 00:00:13 861] ## nearSensitivity = 40 +[ VQE][2000-01-01 00:00:13 864] [VqeSetAiAec:3118] entry... +[ VQE][2000-01-01 00:00:13 865] [EnableAec:2033] AEC: AO not open, s32AoDevId=0,s32AoChnId=0 +[ VQE][2000-01-01 00:00:13 865] [VqeSetAiAec:3151] exit..., s32Ret = 0 +[ AI][2000-01-01 00:00:13 866] [AiVqeInit:2940] SetVqeAllConf success, s32VqeId = 0 +adc get gain: 2 +[ AI][2000-01-01 00:00:13 867] [SingleMicGetGain:1568] Notice: *s32Gain = 0x3 +[ AI][2000-01-01 00:00:13 869] [AiCapturePcmThread:2177] thread id: 591 +-----dac set source +osal_loopback_open success +[ VQE][2000-01-01 00:00:14 171] [VqeLoopbackOpen:4584] osal_loopback_open + [ AO][2000-01-01 00:00:14 171] [AoDacSetParam:559] NOTICE: stPcmPars.period_bytes = 1024 +[ AO][2000-01-01 00:00:14 171] [AoDacSetParam:560] NOTICE: stPcmPars.periods = 16 +[ VQE][2000-01-01 00:00:14 175] [VqeAoOpen:2908] entry... +[ VQE][2000-01-01 00:00:14 176] [AoOpenEchoLib:2628] Notice: AO echo_in.m_mode = 0x801e +[ ECHO][2000-01-01 00:00:14 177] ## --AudioFilter Version V2.03.01, Echo-- +[ ECHO][2000-01-01 00:00:14 178] ## pathId = 8 +[ ECHO][2000-01-01 00:00:14 178] ## mode = 0x801e +[ ECHO][2000-01-01 00:00:14 179] ## sample rate = 8000 +[ ECHO][2000-01-01 00:00:14 180] ## hw sr = 8000 +[ ECHO][2000-01-01 00:00:14 180] ## channels = 1 +[ ECHO][2000-01-01 00:00:14 183] ## bit depth = 16 +[ ECHO][2000-01-01 00:00:14 183] ## jitterBufLen = 8192 +[ ECHO][2000-01-01 00:00:14 184] ## _SD_Echo_Open far_path (0x19c3d90), pathId:8, mode:0x801e +[ VQE][2000-01-01 00:00:14 189] [VqeAoOpen:2969] AoGetAiUserIdAboutAec: need open AEC +[ ECHO][2000-01-01 00:00:14 190] ## Echo: load AEC (enable) +[ ECHO][2000-01-01 00:00:14 190] ## aecEna = 1 +[ ECHO][2000-01-01 00:00:14 191] ## tail = 512 +[ ECHO][2000-01-01 00:00:14 191] ## farDigiGain = 100% +[ ECHO][2000-01-01 00:00:14 192] ## nearDigiGain = 75% +[ ECHO][2000-01-01 00:00:14 192] ## farLimit = 100% +[ ECHO][2000-01-01 00:00:14 193] ## farBreakdownThresh = 0% +[ ECHO][2000-01-01 00:00:14 194] ## nearDigiGain is set to 75% +[ VQE][2000-01-01 00:00:14 198] [GetAslcParam:1163] aslc not open + [ VQE][2000-01-01 00:00:14 200] [AecStart:1674] _SD_Echo_SetAecParam success +[ VQE][2000-01-01 00:00:14 202] [LoopbackThread:838] thread id: 592 +[ VQE][2000-01-01 00:00:14 202] [GetAslcParam:1163] aslc not open + [ VQE][2000-01-01 00:00:14 205] [GetEqParam:1109] eq not open + [ VQE][2000-01-01 00:00:14 208] [GetNrParam:1032] nr not open +[ VQE][2000-01-01 00:00:14 212] [GetHsParam:1014] howling suppress not open + [ VQE][2000-01-01 00:00:14 214] [VqeSetAoAllConfig:4784] entry... +[ VQE][2000-01-01 00:00:14 215] [SetAoAllConf:2204] entry... +[ ECHO][2000-01-01 00:00:14 216] ## Echo: load far_Volume +[ ECHO][2000-01-01 00:00:14 216] ## limit = 100% +[ ECHO][2000-01-01 00:00:14 217] ## vol_dB = 0/100 dB +[ ECHO][2000-01-01 00:00:14 217] ## maxLenin=128, looklen=48, sz=704 +[ ECHO][2000-01-01 00:00:14 218] ## ASLC OPEN OK ena:1, lookAheadLen:48 +[ VQE][2000-01-01 00:00:14 219] [SetAoAllConf:2261] exit..., s32Ret = 0 +[ VQE][2000-01-01 00:00:14 222] [GetEqParam:1109] eq not open + [ ECHO][2000-01-01 00:00:14 223] ## sync at ts 12625 +[ VQE][2000-01-01 00:00:14 229] [GetNrParam:1032] nr not open +[ VQE][2000-01-01 00:00:14 233] [GetHsParam:1014] howling suppress not open + [ VQE][2000-01-01 00:00:14 235] [VqeSetAoAllConfig:4802] exit..., s32Ret = 0 +dac get gain: 4 +[ AO][2000-01-01 00:00:14 240] [AoPlayPcmThread:817] thread id: 593 +[ ECHO][2000-01-01 00:00:14 241] ## Echo: load far_NR (enable) +[ ECHO][2000-01-01 00:00:14 242] ## nrEna = 1 +[ ECHO][2000-01-01 00:00:14 242] ## noiseSuppressDb = -10 +[ VQE][2000-01-01 00:00:14 246] [VqeSetAoAslc:3630] entry... +[ ECHO][2000-01-01 00:00:14 246] ## Echo: set far_Volume param +[ ECHO][2000-01-01 00:00:14 247] ## limit = 30% +[ ECHO][2000-01-01 00:00:14 248] ## vol_dB = 2000/100 dB +[ ECHO][2000-01-01 00:00:14 251] ## Echo: set AEC param (enable) +[ ECHO][2000-01-01 00:00:14 252] ## aecEna = 1 +[ ECHO][2000-01-01 00:00:14 252] ## tail = 512 +[ ECHO][2000-01-01 00:00:14 253] ## farDigiGain = 100% +[ ECHO][2000-01-01 00:00:14 253] ## nearDigiGain = 75% +[ ECHO][2000-01-01 00:00:14 254] ## farLimit = 30% +[ ECHO][2000-01-01 00:00:14 254] ## farBreakdownThresh = 0% +[ VQE][2000-01-01 00:00:14 261] [AecStart:1674] _SD_Echo_SetAecParam success +[ VQE][2000-01-01 00:00:14 262] [LoopbackStart:938] loopback start already + [ VQE][2000-01-01 00:00:14 268] [VqeSetAoAslc:3665] exit..., s32Ret = 0 +[ AO][2000-01-01 00:00:14 272] [ak_ao_set_gain:2249] set gain 4 +[ AO][2000-01-01 00:00:14 273] [ak_ao_set_gain:2261] leave +[ ECHO][2000-01-01 00:00:14 274] ## Echo: load far_EQ +[ ECHO][2000-01-01 00:00:14 274] ## eqmode = 7 +[ ECHO][2000-01-01 00:00:14 275] ## preGain = 0/1024 +[ ECHO][2000-01-01 00:00:14 275] ## bands = 2 +[ ECHO][2000-01-01 00:00:14 276] ## (hpf, 1000, 0, 819) +[ ECHO][2000-01-01 00:00:14 276] ## (hpf, 1200, -12288, 819) +adc get gain: 2 +[ AI][2000-01-01 00:00:14 280] [SingleMicGetGain:1568] Notice: *s32Gain = 0x3 +[ AI][2000-01-01 00:00:14 282] [SingleMicSetGain:1347] Notice: mute +[ AO][2000-01-01 00:00:14 314] [AK_MPI_AO_SetMute:2157] set mute 1 +dac get gain: 3 +[ AO][2000-01-01 00:00:14 315] [AoSetSourceAndGain:525] Notice: mute, s32Source = MUTE +[ AO][2000-01-01 00:00:14 315] [AoSetMute:476] ao gain source = DAC +-----dac set source +[ AO][2000-01-01 00:00:14 464] [AK_MPI_AO_SetMute:2173] leave +[ AI][2000-01-01 00:00:14 499] [SingleMicSetGain:1364] Notice: no mute s32Source = MIC +set DEV volume 3 +[ AENC][2000-01-01 00:00:14 501] [ak_aenc_open:1324] aenc version: libmpi_aenc V1.2.02 +[ AENC][2000-01-01 00:00:14 505] [ak_aenc_open:1324] aenc version: libmpi_aenc V1.2.02 +[ SD_AENC][2000-01-01 00:00:14 509] ## -- AudioCodec Version V2.01.00, type: 4, aac enc -- +[ SD_AENC][2000-01-01 00:00:14 510] ## sr(8000), ich(1), och(1), bitrate(16000) +[ ADEC][2000-01-01 00:00:14 551] [ak_adec_open:1262] adec version: libmpi_adec V1.2.01 +[ SD_ADEC][2000-01-01 00:00:14 552] ## -- AudioCodec Version V2.01.00, type: 2, mp3 dec (V2 32bit) -- +[ SD_ADEC][2000-01-01 00:00:14 552] ## MP3 dec V2 32bit open ok +[ SD_ADEC][2000-01-01 00:00:14 553] ## len_buf_in=20480, inbufminlen=4096 +[ SD_ADEC][2000-01-01 00:00:14 553] ## _SD_Decode_Open OK (0x19d54c8) +[ ADEC][2000-01-01 00:00:14 553] [AdecDecodeLibOpen:743] Open type mp3 +[ SD_ADEC][2000-01-01 00:00:14 553] ## _SD_SetInbufMinLen (0x19d54c8) 128 +[ SD_ADEC][2000-01-01 00:00:14 560] ## _SD_Encode_Open OK (0x19d55c0) +[ AENC][2000-01-01 00:00:14 561] [AencOpenEncodeLib:742] Open type aac +[ ADEC][2000-01-01 00:00:14 562] [ak_adec_open:1262] adec version: libmpi_adec V1.2.01 +[ AENC][2000-01-01 00:00:14 562] [AencInitBuf:1103] s32FrameLen=2048 +[ ADEC][2000-01-01 00:00:14 564] [AdecDecodeLibOpen:734] Login type is 711u +[ SD_ADEC][2000-01-01 00:00:14 564] ## -- AudioCodec Version V2.01.00, type: 18, g711 dec -- +[ SD_ADEC][2000-01-01 00:00:14 565] ## len_buf_in=20480, inbufminlen=16384 +[ SD_ADEC][2000-01-01 00:00:14 566] ## _SD_Decode_Open OK (0x19ecbb8) +[ ADEC][2000-01-01 00:00:14 566] [AdecDecodeLibOpen:743] Open type 711u +[ SD_ADEC][2000-01-01 00:00:14 567] ## _SD_SetInbufMinLen (0x19ecbb8) 128 +[ SD_ADEC][2000-01-01 00:00:14 570] ## Echo: set AGC param (enable) +[ SD_ADEC][2000-01-01 00:00:14 571] ## agcEna = 1 +[ SD_ADEC][2000-01-01 00:00:14 571] ## agcLevel = 9830 +[ SD_ADEC][2000-01-01 00:00:14 572] ## maxGain = 3 +[ SD_ADEC][2000-01-01 00:00:14 572] ## minGain = 204 +[ SD_ADEC][2000-01-01 00:00:14 573] ## nearSensitivity = 90 +[ SD_ADEC][2000-01-01 00:00:14 579] ## Echo: set NR param (enable) +[ SD_ADEC][2000-01-01 00:00:14 580] ## nrEna = 1 +[ SD_ADEC][2000-01-01 00:00:14 580] ## noiseSuppressDb = -25 +[ VQE][2000-01-01 00:00:14 583] [VqeSetAiAec:3118] entry... +[ VQE][2000-01-01 00:00:14 584] [EnableAec:1988] Notice: SaveAecParamToVqeInfo +[ VQE][2000-01-01 00:00:14 585] [EnableAec:2015] WARNING: AiChnId = 0, had enable aec +[ SD_ADEC][2000-01-01 00:00:14 585] ## Echo: set AEC param (enable) +[ SD_ADEC][2000-01-01 00:00:14 586] ## aecEna = 1 +[ SD_ADEC][2000-01-01 00:00:14 587] ## tail = 512 +[ SD_ADEC][2000-01-01 00:00:14 587] +[ SD_ADEC][2000-01-01 00:00:14 588] +[ SD_ADEC][2000-01-01 00:00:14 588] +[ SD_ADEC][2000-01-01 00:00:14 589] +[ SD_ADEC][2000-01-01 00:00:14 589] +[ VQE][2000-01-01 00:00:14 599] [AecStart:1674] _SD_Echo_SetAecParam success +[ VQE][2000-01-01 00:00:14 600] [LoopbackStart:938] loopback start already + [ VQE][2000-01-01 00:00:14 608] [VqeSetAiAec:3151] exit..., s32Ret = 0 +[ SD_ADEC][2000-01-01 00:00:14 609] ## Echo: set near_Volume param +[ SD_ADEC][2000-01-01 00:00:14 609] +[ SD_ADEC][2000-01-01 00:00:14 610] ## vol_dB = 1600/100 dB +set DEV volume 4 +[ SD_ADEC][2000-01-01 00:00:14 613] ## Echo: load near_EQ +[ SD_ADEC][2000-01-01 00:00:14 614] ## eqmode = 7 +[ SD_ADEC][2000-01-01 00:00:14 614] ## preGain = 0/1024 +[ SD_ADEC][2000-01-01 00:00:14 949] ## bands = 1 +[ SD_ADEC][2000-01-01 00:00:14 950] ## (hpf, 500, 0, 921) +[ SD_ADEC][2000-01-01 00:00:14 994] ## Echo: set far_NR param (enable) +[ SD_ADEC][2000-01-01 00:00:14 996] ## nrEna = 1 +[ SD_ADEC][2000-01-01 00:00:14 996] ## noiseSuppressDb = -25 +[ VQE][2000-01-01 00:00:14 999] [VqeSetAoAslc:3630] entry... +[ SD_ADEC][2000-01-01 00:00:15 000] ## Echo: set far_Volume param +[ SD_ADEC][2000-01-01 00:00:15 000] +[ SD_ADEC][2000-01-01 00:00:15 001] ## vol_dB = 1000/100 dB +[ SD_ADEC][2000-01-01 00:00:15 004] ## Echo: set AEC param (enable) +[ SD_ADEC][2000-01-01 00:00:15 007] ## aecEna = 1 +[ SD_ADEC][2000-01-01 00:00:15 008camera_set_vclk +] ## tailygh set vclk now + ygh set vclk finish + = 512 +[camera_set_vclk isp_clk:320000000 + SD_ADEC][2000-01-01 00:00:15 009] +[ SD_ADEC][2000-01-01 00:00:15 009] +[ SD_ADEC][2000-01-01 00:00:15 010] +[ SD_ADEC][2000-01-01 00:00:15 010] +[ VQE][2000-01-01 00:00:15 017] [AecStart:1674] _SD_Echo_SetAecParam success +[ VQE][2000-01-01 00:00:15 017] [LoopbackStart:938] loopback start already + [ VQE][2000-01-01 00:00:15 025] [VqeSetAoAslc:3665] exit..., s32Ret = 0 +[ SD_ADEC][2000-01-01 00:00:15 026] ## Echo: unload far_EQ +[ VQE][2000-01-01 00:00:15 027] [GetEqParam:1109] eq not open + [ VQE][2000-01-01 00:00:15 030] [VqeGetAoHs:4087] entry... +[ VQE][2000-01-01 00:00:15 031] [GetHsParam:1014] howling suppress not open + [ VQE][2000-01-01 00:00:15 032] [VqeGetAoHs:4100] exit..., s32Ret = 0 +[ VQE][2000-01-01 00:00:15 032] [VqeSetAoHs:4047] entry... +[ SD_ADEC][2000-01-01 00:00:15 033] ## Echo: load far_HowlingSuppress +[ SD_ADEC][2000-01-01 00:00:15 033] ## hsEna = 1 +[ SD_ADEC][2000-01-01 00:00:15 034] ## hsAlgorithm = 2 +[ SD_ADEC][2000-01-01 00:00:15 035] ## hsDurationMs = 0 +[ SD_ADEC][2000-01-01 00:00:15 035] ## paprThr = 0 +[ SD_ADEC][2000-01-01 00:00:15 036] ## pnprThr = 0 +[ SD_ADEC][2000-01-01 00:00:15 036] ## phprThr = 0 +[ SD_ADEC][2000-01-01 00:00:15 040] ## ptprThr = 0 +[ VQE][2000-01-01 00:00:15 043] [VqeSetAoHs:4073] exit..., s32Ret = 0 +[ ADEC][2000-01-01 00:00:15 044] [ak_adec_send_stream_end:1675] adec send stream no start +[ VI][2000-01-01 00:00:15 045] [ak_vi_open:500] register device, device id:[0] +[ VI][2000-01-01 00:00:15 045] new device +[ VI][2000-01-01 00:00:15 046] [vi_register_device:375] new dev=0x19f5e30 +ispsdk_lib version:libplat_isp_sdk V9.1.00 +open isp dev: /dev/isp-param-0 +--- AK_ISP_sdk_init g_isp_fd[0]=14 --- +[ VI][2000-01-01 00:00:15 060] [vi_dev_open:248] vi device open DEV0! +[ VI][2000-01-01 00:00:15 063] [vi_dev_open:269] open sensor dev: /dev/v4l-subdev0 +[ VI][2000-01-01 00:00:15 063] [vi_dev_open:279] --- vi_dev_open g_sensor_fd[0]=15 --- +[ VI][2000-01-01 00:00:15 065] [vi_dev_open_td_chn:178] vi third chn device open CHN16! +[ VI][2000-01-01 00:00:15 065] register vi device ok, dev_count=1 +[ VPSS][2000-01-01 00:00:15 066] [isp_open:65] dev:0 already opened! +[ VPSS][2000-01-01 00:00:15 074] [isp.conf]version: 6.004, sensor id: 0x3332, style id: 0 +[ VPSS][2000-01-01 00:00:15 075] isp subfile 0, modify time: 2025-11-27 18:01:11 +[ VPSS][2000-01-01 00:00:15 075] 20220301 +1.���� +20240614 +1.���֡�ʲ��������⡣ +2.MAX_FPS=25, VTS = {0x320e,0x320f} = 1360 +row time 29.6us + +[ VPSS][2000-01-01 00:00:15 076] isp subfile 1, modify time: 2025-11-27 10:40:21 +[ VPSS][2000-01-01 00:00:15 077] 20220301 +1.���� + +[ VPSS][2000-01-01 00:00:15 077] [check_file:452] check isp cfg: /tmp/sensor_isp.conf OK +[ VPSS][2000-01-01 00:00:15 080] [isp_set_attr:2453] isp_set_attr module_id:0 +[ VPSS][2000-01-01 00:00:15 081] [isp_set_attr:2453] isp_set_attr module_id:1 +[ VPSS][2000-01-01 00:00:15 084] [isp_set_attr:2453] isp_set_attr module_id:2 +[ VPSS][2000-01-01 00:00:15 085] [isp_set_attr:2453] isp_set_attr module_id:3 +[ VPSS][2000-01-01 00:00:15 086] [isp_set_attr:2453] isp_set_attr module_id:4 +[ VPSS][2000-01-01 00:00:15 087] [isp_set_attr:2498] AK_ISP_3D_NR_ATTR size:7180 +[ VPSS][2000-01-01 00:00:15 087] [isp_set_attr:2453] isp_set_attr module_id:5 +[ VPSS][2000-01-01 00:00:15 088] [isp_set_attr:2453] isp_set_attr module_id:6 +[ VPSS][2000-01-01 00:00:15 089] [isp_set_attr:2453] isp_set_attr module_id:7 +[ VPSS][2000-01-01 00:00:15 089] [isp_set_attr:2453] isp_set_attr module_id:8 +[ VPSS][2000-01-01 00:00:15 090] [isp_set_attr:2453] isp_set_attr module_id:9 +[ VPSS][2000-01-01 00:00:15 091] [isp_set_attr:2453] isp_set_attr module_id:10 +[ VPSS][2000-01-01 00:00:15 093] [isp_set_attr:2453] isp_set_attr module_id:11 +[ VPSS][2000-01-01 00:00:15 094] [isp_set_attr:2453] isp_set_attr module_id:12 +[ VPSS][2000-01-01 00:00:15 095] [isp_set_attr:2453] isp_set_attr module_id:13 +[ VPSS][2000-01-01 00:00:15 096] [isp_set_attr:2453] isp_set_attr module_id:14set isprate:320000000 line_set:8105 hblank_set:827 line_save:8820 hblank_save:900 + +[ VPSS][2000-01-01 00sc3332_core_g_ctrl cmd:8204 not support +:00:15 096] [isp_set_attr:2453] isp_set_attr module_id:15 +[ VPSS][2000-01-01 00:00:15sc3332_cropcap bounds.width:2304, bounds.height:1296 + 097] [issc3332_cropcap bounds.width:2304, bounds.height:1296 +p_set_attr:2453] isp_set_attr module_id:16 +priv_dma_alloc req_len:5599232, dma_addr:81400000, act_len:5599232 +[ VPSS][2000-01isp_param_file_mmap 6601 vm_iomap_memory ok. vm_start:0xb66a7000 dma_addr:0x81400000, size:5599232 +-01 00:00:15 098] [isp_set_attr:2453] isp_set_attr module_id:17 +[ VPSS][2000-01-01 00:00:15 432] [isp_set_attr:2453] isp_set_attr module_id:18 +[ VPSS][2000-01-01 00:00:15 432] [isp_set_attr:2453] isp_set_attr module_id:19 +[ VPSS][2000-01-01 00:00sc3332_s_crop 870, left:0, top:0, width:2304, height:1296 +:15 433] sc3332_cropcap bounds.width:2304, bounds.height:1296 +[isp_set_attr:2453] isp_set_attr module_id:20 +[ VPSS][2000-01-01 00:00:15 434] [check_fps_para:612] hight light: + frame_rate=15 max_exp_tiset_done_mode input#0 chn#0 done_mode:1 +me=2266 lset_slice_num input#0 chn#0 slice_num:3 +ow_light_gain=12 +set_block_num input#0 chn#0 block_num:4 +[ VPSS][2000-01-01 00:00:15 434] [check_fps_para:61sc3332_cropcap bounds.width:2304, bounds.height:1296 +7] low light: + frame_rate=15 max_exp_time=2266 light_gain=12 +[ VPSS][2000-01-01 00:00:15 434] [init_fps_info:755set_done_mode input#0 chn#1 done_mode:0 +] hight light fps:sc3332_cropcap bounds.width:2304, bounds.height:1296 + 15 +[ VPSS][2000-01-01 00:00:15 434] [isp_set_sensor_fps:3116] set sensor fps: 15 +[ VPSS][2000-01-01 00:00:15 435] [set_fps:200] set dev:0 fps:15 set_done_mode input#0 chn#2 done_mode:0 +ok +[ VPSS][sc3332_cropcap bounds.width:2304, bounds.height:1296 +2000-01-01 00:00:15 435] [isp_set_attr:2453] isp_set_attr module_id:21 +[ VPSS][2000-01-01 00:00:15 450] [isp_set_attr:2453] isp_set_attr module_id:2ak_vb2_dc_alloc chn#0-0 alloc big_dma_addr data_size:1493674=1*4478976 (num*size), total_alloc_size=1493674+) +2 +[ VPSS][2000-01-01 0priv_dma_alloc req_len:1493674, dma_addr:81957000, act_len:1495040 +0:00:15 4ak_vb2_dc_mmap 1598 vm_iomap_memory ok. vm_start:0xb653a000 dma_addr:0x81957000,size:1493674 +51] [isp_set_attr:2453] isp_set_attr module_id:23 +[ ak_vb2_dc_alloc chn#0-1 alloc big_dma_addr data_size:691200=2*345600 (num*size), total_alloc_size=696320+0 (alloc_size+alloc_size_other) + VPSS][2000-01-0priv_dma_alloc req_len:696320, dma_addr:81ac4000, act_len:696320 +1 00:00:15 452] [isp_module_init:1931] before load_senak_vb2_dc_mmap 1598 vm_iomap_memory ok. vm_start:0xb64e5000 dma_addr:0x81ac4000,size:348160 +sor_conf ak_vb2_dc_mmap 1598 vm_iomap_memory ok. vm_start:0xb6490000 dma_addr:0x81b19000,size:348160 + +[ VPSS][2000-01-01 00:ak_vb2_dc_alloc chn#0-2 alloc big_dma_addr data_size:172800=2*86400 (num*size), total_alloc_size=180224+0 (alloc_size+alloc_size_other) +00:15 452] [isp_module_init:1933] after load_priv_dma_alloc req_len:180224, dma_addr:81b6e000, act_len:180224 +sensor_conf +[ VI][20ak_vb2_dc_mmap 1598 vm_iomap_memory ok. vm_start:0xb647a000 dma_addr:0x81b6e000,size:90112 +00-01-01 ak_vb2_dc_mmap 1598 vm_iomap_memory ok. vm_start:0xb6464000 dma_addr:0x81b84000,size:90112 +00:00:15 463] vi_dev_get_sensor_crop 166, ret:0, w:2304, h:1296 +[ ak3918av100_factor_clk: Waiting 0xf000800c:(0x19540e1f) shift 9 mask 0x1 timeout +VI][2000-0014: mipi_top_clk_init 116 4408807f +01-01 00:pll2_dphy_rate:100000000,mipi_lanes:2 +00:15 471mipi_csi_rx_init 1027 group:0 +] vi_dev_camera_input_interface_init mipi +get_sensocamera_set_sharepin +r_crop 166, ret:0, w:2304, h:1296 +[ VI][2000-01-01 00:00:15 512] [vi_dev_set_frame_rate:542] Set dev [0] frame_rate [0] +[ VI][2000-01-01 00:00:15 532] init CROP succeedded! reset to CROP[2304, 1296] +[ VI][2000-01-01 00:00:15 536] [ak_vi_set_chn_attr_ex:1823] chn[0] frame_rate[15] frame_num[15],frame_den[0], interval[66] +[ VI][2000-01-01 00:00:15 537] [ak_vi_set_chn_attr_ex:1881] success register vi channel[0] +[ VI][2000-01-01 00:00:15 541] Set chn mode [1] +[ VI][2000-01-01 00:00:15 547] Set chn slice num [3] +[ VI][2000-01-01 00:00:15 555] Set chn block num [4] +[ VI][2000-01-01 00:00:15 555] [vi_set_channel_attr:1195] set vi channel[0] mode:[1], slice_num[3] frame_depth[2] +[ VI][2000-01-01 00:00:15 563] init CROP succeedded! reset to CROP[2304, 1296] +[ VI][2000-01-01 00:00:15 563] [vi_set_channel_attr:1208] set vi channel[0] crop: left[0] top[0] w[2304] h[1296] +[ VI][2000-01-01 00:00:15 564] [vi_dev_set_chn_res:949] chn id is[0], fd is:[16] +[ VI][2000-01-01 00:00:15 565] [vi_dev_set_chn_res:994] vi_dev_set_chn_res w:2304, h:1296 +[ VI][2000-01-01 00:00:15 565] [vi_set_channel_attr:1222] set vi channel[0] res w[2304] h[1296] +[ VI][2000-01-01 00:00:15 566] [vi_dev_set_chn_buf_size:586] Set Chn [0] buf size [4481024] +[ VI][2000-01-01 00:00:15 567] [vi_set_channel_attr:1234] set vi channel[0] buf size[4481024] +[ VI][2000-01-01 00:00:15 570] [ak_vi_set_chn_attr_ex:1823] chn[1] frame_rate[15] frame_num[15],frame_den[0], interval[66] +[ VI][2000-01-01 00:00:15 571] [ak_vi_set_chn_attr_ex:1881] success register vi channel[1] +[ VI][2000-01-01 00:00:15 575] Set chn mode [0] +[ VI][2000-01-01 00:00:15 576] [vi_set_channel_attr:1195] set vi channel[1] mode:[0], slice_num[0] frame_depth[2] +[ VI][2000-01-01 00:00:15 585] init CROP succeedded! reset to CROP[2304, 1296] +[ VI][2000-01-01 00:00:15 588] [vi_set_channel_attr:1208] set vi channel[1] crop: left[0] top[0] w[2304] h[1296] +[ VI][2000-01-01 00:00:15 588] [vi_dev_set_chn_res:949] chn id is[1], fd is:[17] +[ VI][2000-01-01 00:00:15 589] [vi_dev_set_chn_res:994] vi_dev_set_chn_res w:640, h:360 +[ VI][2000-01-01 00:00:15 590] [vi_set_channel_attr:1222] set vi channel[1] res w[640] h[360] +[ VI][2000-01-01 00:00:15 590] [vi_dev_set_chn_buf_size:586] Set Chn [1] buf size [348160] +[ VI][2000-01-01 00:00:15 591] [vi_set_channel_attr:1234] set vi channel[1] buf size[348160] +[ VI][2000-01-01 00:00:15 595] [ak_vi_set_chn_attr_ex:1823] chn[16] frame_rate[15] frame_num[15],frame_den[0], interval[66] +[ VI][2000-01-01 00:00:15 596] [ak_vi_set_chn_attr_ex:1881] success register vi channel[16] +[ VI][2000-01-01 00:00:15 601] Set chn mode [0] +[ VI][2000-01-01 00:00:15 602] [vi_set_channel_attr:1195] set vi channel[16] mode:[0], slice_num[0] frame_depth[2] +[ VI][2000-01-01 00:00:15 609] init CROP succeedded! reset to CROP[2304, 1296] +[ VI][2000-01-01 00:00:1sc3332_sen_get_parameter_func param:8199 not support +5 609] [vsc3332_sen_get_parameter_func param:8200 not support +i_set_chasc3332_sen_get_parameter_func param:8201 not support +nnel_attr:1208] set vi channel[16] crop: left[0] top[0sc3332_core_g_ctrl cmd:8204 not support +] w[2304] h[1296] +[ VI][2000-01-01 00:00:15 610] [vi_dev_set_chn_res:949] chn id is[16], fd is:[18] +[ VI][2000-01-01 00:00:15 610] [vi_dev_set_chn_res:994] vi_dev_set_chn_res w:320, h:180 +[ VI][2000-01-01 00:00:15 611] [vi_set_channel_attr:1222] set visc3332_core_g_ctrl cmd:8204 not support + channel[16] res w[320] h[180] +[ VI][2000-01-01 00:00:15 612] [vi_dev_set_chn_buf_size:586] Set Chn [16] buf size [90112] +[ VI][2000-01-01 00:00:15 612] [vi_set_channel_attr:1234] set vi channel[16] buf size[90112] +[ VI][2000-01-01 00:00:15 657] [vi_set_capture_on:1995] vi channel [0] is started! +[ VI][2000-01-01 00:00:15 702] [vi_set_capture_on:1995] vi channel [1] is started! +[ VI][2000-01-01 00:00:15 753] [vi_set_capture_on:1995] vi channel [16] is started! +[ VI][2000-01-01 00:00:15 754] [set_v4l2_qbuf:1717] i:0, userptr:0xb653a000, length:1493674 +[ SD_ADEC][2000-01-01 00:00:15 833] ## sync at ts 14234 +[ SD_ADEC][2000-01-01 00:00:15 844] ## sync at ts 14265 +[ VI][2000-01-01 00:00:16 136] [ak_vi_enable_chn:2180] set channel [0] capture on +[ VI][2000-01-01 00:00:16 137] [set_v4l2_qbuf:1717] i:0, userptr:0xb64e5000, length:348160 +[ VI][2000-01-01 00:00:16 137] [set_v4l2_qbuf:1717] i:1, userptr:0xb6490000, length:348160 +[ VI][2000-01-01 00:00:16 138] [ak_vi_enable_chn:2180] set channel [1] capture on +[ VI][2000-01-01 00:00:16 139] [ak_vi_enable_chn:2180] set channel [16] capture on +[ VI][2000-01-01 00:00:16 140] [ak_vi_set_venc_dma_alloc req_len:5897024, dma_addr:2176536576, act_len:5898240 +box_color_table:3592] color_table_yuv[0] = 4283192575! +enc_dma_alloc req_len:1119744, dma_addr:2182434816, act_len:1122304 +33m[ VI][2000-01-01 00:00:16 140] [ak_vi_set_box_color_table:3592] color_table_yuv[1] = 4287965973! +[ VI][2000-01-01 00:00:16 141] [ak_vi_set_box_color_table:3592] color_table_yuv[2] = 4280156011! +[ OSD][2000-01-01 00:00:16 148] [request_osd_dma_mem:383] size:89856 +[ OSD][2000-01venc_dma_alloc req_len:1091136, dma_addr:2183557120, act_len:1093632 +-01 00:00:16 150] [request_osd_dma_mem:474] INFO:video_ch0, osd_rect:0, dma_vaddr: 0xb6142000, phyaddr: 0x81b9a000 size: 29952 w: 1248 h: 48 +[ OSD][2000-01-01 00:00:16 150] [request_osd_dma_mem:504] get buff success ! +[ OSD][2000-01-01 00:00:16 154] [request_osd_dma_mem:383] size:19968 +[ OSD][2000-01-01 00:00:16 155] [request_osd_dma_mem:474] INFO:video_ch1, osd_rect:0, dma_vaddr: 0xb6fbf000, phyaddr: 0x81bb0000 size: 6656 w: 416 h: 32 +[ OSD][2000-01-01 00:00:16 155] [request_osd_dma_mem:504] get buff success ! +[ OSD][2000-01-01 00:00:16 164] [get_font_data_from_file:106venc_dma_alloc req_len:131072, dma_addr:2184650752, act_len:131072 +] fp:0x19ecb70 byte:32 +[ VENC][200b2e_encode_bind_isp_channel input#0,chn#0 +0-01-01 0b2e_encode_bind_isp_channel encode_format:0,isp_chn_index:0 +0:00:16 254] [ak_venc_open_ex:2727] open count = 0 +[ VENC][2000-01-01 00:00:16 267] [ak_venc_open_ex:2901] Video encoder external dma pool size [1119744] +[ VENC][2000-01-01 00:00:16 275] [ak_venc_open_ex:2918] Alloc external dma memory [11197sc3332_cropcap bounds.width:2304, bounds.height:1296 +44] bytes vaddr 0xb6017000 . +[ VENC][2000-01-01 00:00:16 277] [ak_venc_open_ex:2944] Video encoder open success,ret[0] +[ VENC][2000-01-01 00:00:16 292] [ak_venc_open_ex:2727] open count = 1 +[ VENC][2000-01-01 00:00:16 313] [ak_venc_open_nna_version libak_nna_h322ls_V1.00.04 +ex:2901] nne_version libak_nne_h322ls_V1.00.02 +Video encoder external dma pool size [131072] +[ VENC][2000-01-01 00:00:16 369] [ak_venc_open_ex:2918] Alloc external dma memory [131072] bytes vaddr 0xb5fde000 . +[ VENC][2000-01-01 00:00:16 371] [ak_venc_open_ex:2944] Video encoder open success,ret[0] +########MRD Lib V1.0.09######## +[ VI][2000-01-01 00:00:16 412] vi_dev_get_sensor_crop 166, ret:0, w:2304, h:1296 +[ MD][2000-01-01 00:00:16 419] [ak_md_set_sensitivity:691] sensitivity:60 +[ MD][2000-01-01 00:00:16 423] [md_thread:443] thread id : 606 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +[ MD][2000-01-01 00:00:16 428] [ak_md_enable:1076] enable:1 +[ OSD][2000-01-01 00:00:16 429] [ak_osd_LoadBitmap:602] success init +[ ALL][2000-01-01 00:00:16 435] [ak_npu_init:67] npu_version libplat_npu V2.0.04 +/usr/sbin/red_led.sh on +/usr/sbin/red_led.sh: line 33: can't create /sys/class/leds/red_led/brightness: nonexistent directory +/usr/sbin/state_led.sh on +touch /tmp/ircut_has_reset_flag +[ MD][2000-01-01 00:00:17 390] [ak_md_set_day_night_mode:815] day_night_mode:1 +[ VPSS][2000-01-01 00:00:17 692] [ak_vpss_set_soft_ps_param:1974] enable lock function. +[ VPSS][2000-01-01 00:00:17 693] [ak_vpss_set_soft_ps_param:1979] create lock thread. +/usr/sbin/blue_led.sh off +[Application][2000-01-01 00:00:17 707] [soft_ps_ctrl_th:1808] Thread start, id: 617 +[ VPSS][2000-01-01 00:00:17 714] [soft_ps_ctrl_th:1814] switch cnt: 0 , cnt_th :5! +[ VPSS][2000-01-01 00:00:17 720] [soft_ps_ctrl_th:1823] no need lock! +/usr/sbin/blue_led.sh: line 33: can't create /sys/class/leds/blue_led/brightness: nonexistent directory +/usr/sbin/blue_led.sh: line 39: can't create /sys/class/leds/blue_led/brightness: nonexistent directory +/usr/sbin/red_led.sh off +/usr/sbin/red_led.sh: line 33: can't create /sys/class/leds/red_led/brightness: nonexistent directory +/usr/sbin/red_led.sh: line 39: can't create /sys/class/leds/red_led/brightness: nonexistent directory +/usr/sbin/red_led.sh on +/usr/sbin/red_led.sh: line 33: can't create /sys/class/leds/red_led/brightness: nonexistent directory +/usr/sbin/state_led.sh off +/usr/sbin/state_led.sh on +killall -9 "udhcpc" > /dev/null +killall: udhcpc: no process killed +ifconfig eth0 0.0.0.0 +ifconfig: SIOCSIFADDR: No such device +[01-01 00:00:00 ty I][fc50][tal_thread.c:185] thread_create name:sys_timer,stackDepth:4096,totalstackDepth:4096,priority:5 +[01-01 00:00:00 ty I][fc50][tal_thread.c:185] thread_create name:wq_system,stackDepth:6144,totalstackDepth:10240,priority:3 +[01-01 00:00:00 ty I][fc50][tal_thread.c:185] thread_create name:wq_highpri,stackDepth:5120,totalstackDepth:15360,priority:4 +tkl_wifi_init-103 called +[01-01 00:00:00 ty I][fc50][tal_thread.c:185] thread_create name:health_monitor,stackDepth:1536,totalstackDepth:16896,priority:5 +[01-01 00:00:00 ty I][fc50][mqc_app.c:490] mqc app init ... +[01-01 00:00:00 ty E][fc50][log_seq.c:861] open err +[01-01 00:00:00 ty I][fc50][kv_storge.c:45] Init Kvs With File:/etc/config/ +wifi_status_event_cb-86 set wf event[2] +[01-01 00:00:00 ty N][fc50][tuya_tls.c:876] uni_random_init... +[01-01 00:00:00 ty N][fc50][tuya_tls.c:303] tuya_tls_rand_init ok! +[01-01 00:00:00 ty N][fc50][tuya_svc_devos.c:338] gw_cntl->gw_wsm.stat:0 +[01-01 00:00:00 ty E][fc50][tuya_wifi_reset.c:675] read wf start mode err:-6 +[01-01 00:00:00 ty E][fc50][tuya_ipc_hardware_info.c:173] NO sensor info. Please check if you need. +[01-01 00:00:00 ty E][aaa0][tuya_wifi_reset.c:675] read wf start mode err:-6 +Set Country Code:0 +WIFI Set Mode 2 +WIFI Set Mode 2 +/usr/sbin/blue_led.sh off +/usr/sbin/blue_led.sh: line 33: can't create /sys/class/leds/blue_led/brightness: nonexistent directory +/usr/sbin/blue_led.sh: line 39: can't create /sys/class/leds/blue_led/brightness: nonexistent directory +/usr/sbin/red_led.sh blink 250 250 +cat: can't open '/sys/class/leds/red_led/brightness': No such file or directory +sh: bad number +/usr/sbin/red_led.sh: line 50: can't create /sys/class/leds/red_led/trigger: nonexistent directory +/usr/sbin/red_led.sh: line 51: can't create /sys/class/leds/red_led/delay_off: nonexistent directory +/usr/sbin/red_led.sh: line 52: can't create /sys/class/leds/red_led/delay_on: nonexistent directory +/usr/sbin/state_led.sh blink 250 250 +0101-000019.952[anyka |ht_audio_codec.c:1268]sem value:0 +[ VQE][2000-01-01 00:00:19 953] [VqeSetAiAec:3118] entry... +[ VQE][2000-01-01 00:00:19 959] [DisableAec:2058] entry... +[ VQE][2000-01-01 00:00:19 961] [LoopbackStop:987] join loopback thread ... +[ VQE][2000-01-01 00:00:19 972] [LoopbackThread:890] ### thread id: 592 exit ### + +[ VQE][2000-01-01 00:00:20 037] [LoopbackStop:989] join OK +[ SD_ADEC][2000-01-01 00:00:20 037] ## Echo: set AEC param (disable) +[ SD_ADEC][2000-01-01 00:00:20 038] ## aecEna = 0 +[ SD_ADEC][2000-01-01 00:00:20 038] ## tail = 512 +[ SD_ADEC][2000-01-01 00:00:20 038] +[ SD_ADEC][2000-01-01 00:00:20 039] +[ SD_ADEC][2000-01-01 00:00:20 039] +[ SD_ADEC][2000-01-01 00:00:20 039] +[ VQE][2000-01-01 00:00:20 073] [AecStop:1706] exit... +[ VQE][2000-01-01 00:00:20 089] [DisableAec:2066] exit..., s32Ret = 0 +[ VQE][2000-01-01 00:00:20 112] [VqeSetAiAec:3151] exit..., s32Ret = 0 +/usr/sbin/blue_led.sh off +/usr/sbin/blue_led.sh: line 33: can't create /sys/class/leds/blue_led/brightness: nonexistent directory +/usr/sbin/blue_led.sh: line 39: can't create /sys/class/leds/blue_led/brightness: nonexistent directory +/usr/sbin/red_led.sh blink 250 250 +cat: can't open '/sys/class/leds/red_led/brightness': No such file or directory +sh: bad number +/usr/sbin/red_led.sh: line 50: can't create /sys/class/leds/red_led/trigger: nonexistent directory +/usr/sbin/red_led.sh: line 51: can't create /sys/class/leds/red_led/delay_off: nonexistent directory +/usr/sbin/red_led.sh: line 52: can't create /sys/class/leds/red_led/delay_on: nonexistent directory +/usr/sbin/state_led.sh blink 250 250 +[ VI][2000-01-01 00:00:20 264] [read_frame:1193] CHN [16] interrupt +[ VI][2000-01-01 00:00:20 264] [get_v4l2_ptr:1467] CHN [16] read frame failed +[ VI][2000-01-01 00:00:20 265] [vi_dev_get_frame:2374] get frame fail +[ VI][2000-01-01 00:00:20 265] [vi_get_one_frame:2740] CHN [16] vi_dev_get_frame failed! +[ VI][2000-01-01 00:00:20 265] [ak_vi_get_frame_ex:3209] CHN [16] get frame failed +/usr/sbin/blue_led.sh off +/usr/sbin/blue_led.sh: line 33: can't create /sys/class/leds/blue_led/brightness: nonexistent directory +/usr/sbin/blue_led.sh: line 39: can't create /sys/class/leds/blue_led/brightness: nonexistent directory +/usr/sbin/red_led.sh blink 250 250 +cat: can't open '/sys/class/leds/red_led/brightness': No such file or directory +sh: bad number +/usr/sbin/red_led.sh: line 50: can't create /sys/class/leds/red_led/trigger: nonexistent directory +/usr/sbin/red_led.sh: line 51: can't create /sys/class/leds/red_led/delay_off: nonexistent directory +/usr/sbin/red_led.sh: line 52: can't create /sys/class/leds/red_led/delay_on: nonexistent directory +/usr/sbin/state_led.sh blink 250 250 +[ MUX][2000-01-01 00:00:20 426] [ak_mux_open:755] mux version: libmpi_mux V2.0.01 +[ MUX][2000-01-01 00:00:20 427] [media_lib_init:317] m_bNeedSYN: 2 +[ MUX][2000-01-01 00:00:20 427] [media_lib_init:323] IndexMemSize: 300480 +[ MUX][2000-01-01 00:00:20 429] [ak_mux_open:818] mux_ctrl.user_count =1 +[ MUX][2000-01-01 00:00:20 429] [ak_mux_open:833] MUX OPEN +[ VPSS][2000-01-01 00:00:20 469] [isp_set_sensor_fps:3116] set sensor fps: 15 +[ VPSS][2000-01-01 00:00:20 470] [set_fps:200] set dev:0 fps:15 ok +adc get gain: 3 +[ AI][2000-01-01 00:00:20 477] [SingleMicGetGain:1568] Notice: *s32Gain = 0x4 +[ AI][2000-01-01 00:00:20 479] [SingleMicSetGain:1347] Notice: mute +0101-000020.506[tuya |ty_sdk_dp_handler.c:193]night_mode:ir_mode=0 +[ AO][2000-01-01 00:00:20 518] [ak_ao_set_gain:2249] set gain 2 +-----dac set source +[ AO][2000-01-01 00:00:20 668] [ak_ao_set_gain:2261] leave +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +[ AI][2000-01-01 00:00:20 700] [SingleMicSetGain:1364] Notice: no mute s32Source = MIC +set DEV volume 4 +[ SD_ADEC][2000-01-01 00:00:20 714] ## howling arises on 437Hz in path 8 +[ SD_ADEC][2000-01-01 00:00:20 748] ## howling arises on 562Hz in path 8 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +[ SD_ADEC][2000-01-01 00:00:20 958] ## howling falls on 437Hz in path 8 +WIFI Set Mode 3 +Start AP SSID:SmartLife-XXXX +Start AP ip info:[192.168.176.1-192.168.176.1-255.255.255.0] +[01-01 00:00:02 ty E][aaa0][tuya_ipc_sdk_init.c:346] wf nw status changed to [2], but not notify + +0101-000021.259[tuya |atbm_bluetooth_adapter.c:618]tkl_atbm_ble_gatt_callback_register +0101-000021.260[tuya |atbm_bluetooth_adapter.c:668]tkl_atbm_ble_gap_adv_start +error enabling advertisement; rc=6 +0101-000021.343[tuya |atbm_bluetooth_adapter.c:710]tkl_atbm_ble_gap_adv_stop +0101-000021.343[tuya |atbm_bluetooth_adapter.c:745]tkl_atbm_ble_gap_adv_rsp_data_set +0101-000021.343[tuya |atbm_bluetooth_adapter.c:668]tkl_atbm_ble_gap_adv_start +error enabling advertisement; rc=6 +nimble_port_init++[atbm_log]:ioctl_open(c3221e00)(c2d56820) + +os_mempool_module_init +msys block_count:20 +ble_npl_eventq_main +acl block_count:40 +nimble_host_task +FD_CLOEXEC set +ble_coexist_start-- +ble_hs_sync:333 +ble_hs_hci_cmd_tx:352 +ble_smart_cfg_startup!11 + +[ATBM lOG]set default tx power(0) +0101-000021.442[tuya |atbm_bluetooth_adapter.c:668]tkl_atbm_ble_gap_adv_start +pub addr xx:xx:xx:xx:xx:xx +[ VI][2000-01-01 00:00:21 800] [read_frame:1193] CHN [16] interrupt +[ VI][2000-01-01 00:00:21 801] [get_v4l2_ptr:1467] CHN [16] read frame failed +[ VI][2000-01-01 00:00:21 801] [vi_dev_get_frame:2374] get frame fail +[ VI][2000-01-01 00:00:21 801] [vi_get_one_frame:2740] CHN [16] vi_dev_get_frame failed! +[ VI][2000-01-01 00:00:21 801] [ak_vi_get_frame_ex:3209] CHN [16] get frame failed +adc get gain: 3 +[ AI][2000-01-01 00:00:22 451] [SingleMicGetGain:1568] Notice: *s32Gain = 0x4 +[ AI][2000-01-01 00:00:22 452] [SingleMicSetGain:1347] Notice: mute +[ AO][2000-01-01 00:00:22 491] [AK_MPI_AO_SetMute:2157] set mute 1 +dac get gain: 1 +[ AO][2000-01-01 00:00:22 492] [AoSetSourceAndGain:525] Notice: mute, s32Source = MUTE +[ AO][2000-01-01 00:00:22 493] [AoSetMute:476] ao gain source = DAC +-----dac set source +[ AO][2000-01-01 00:00:22 643] [AK_MPI_AO_SetMute:2173] leave +[ AI][2000-01-01 00:00:22 683] [SingleMicSetGain:1364] Notice: no mute s32Source = MIC +set DEV volume 4 +0101-000022.685[anyka |ht_audio_codec.c:1313]end play /usr/share/hutong_sound1.mp3 +[ VQE][2000-01-01 00:00:22 685] [VqeSetAiAec:3118] entry... +[ SD_ADEC][2000-01-01 00:00:22 685] ## Echo: set AEC param (enable) +[ SD_ADEC][2000-01-01 00:00:22 685] ## aecEna = 1 +[ SD_ADEC][2000-01-01 00:00:22 686] ## tail = 512 +[ SD_ADEC][2000-01-01 00:00:22 686] +[ SD_ADEC][2000-01-01 00:00:22 686] +[ SD_ADEC][2000-01-01 00:00:22 686] +[ SD_ADEC][2000-01-01 00:00:22 686] +[ VQE][2000-01-01 00:00:22 696] [VqeAoFlush:4538] entry... +[ SD_ADEC][2000-01-01 00:00:22 697] ## _SD_Echo_Flush push user handle 1 +[ VQE][2000-01-01 00:00:22 700] [VqeAoFlush:4566] exit..., s32Ret = 0 +[ SD_ADEC][2000-01-01 00:00:22 702] ## pop user handle 1 +[ VQE][2000-01-01 00:00:22 705] [AecStart:1674] _SD_Echo_SetAecParam success +[ VQE][2000-01-01 00:00:22 707] [LoopbackThread:838] thread id: 673 +[ VQE][2000-01-01 00:00:22 720] [VqeSetAiAec:3151] exit..., s32Ret = 0 +[ SD_ADEC][2000-01-01 00:00:22 725] ## sync at ts 21145 +killall -9 "udhcpc" > /dev/null +killall: udhcpc: no process killed +ifconfig eth0 0.0.0.0 +ifconfig: SIOCSIFADDR: No such device