Files
openipc-builder/devices/gk7205v200_lite_cpplus-cp-unc-ta21l2c/NOTES.md
T
edb7251bf3 devices: add CP Plus CP-UNC-TA21L2C (gk7205v200_lite, SC223A) (#106)
Dahua-OEM 2 MP camera. The SC223A is on hardware I2C0 routed to the
VI-RAW pads (0x112c0060/0x64 func2) rather than the default mipi-sensor
pads (0x30/0x34 func1) the SDK probes, and needs a 27 MHz MCLK
(0x120100f0=0x19; SDK default 0x11/div4 leaves it unresponsive).
S71devmem re-muxes the pads, selects the SENSOR_RSTN reset (GPIO8_7
func2) and fixes MCLK after S70vendor/load_goke; the stock
open_sensor_i2c then reaches the sensor over /dev/i2c-0. No kernel
module needed.

Verified on hardware: chip-id 0xcb3e over HW I2C0, MIPI lock 1920x1080
zero errors, majestic streams correct colour 1080p.

Co-authored-by: build <build@local>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-27 07:37:44 +03:00

1.5 KiB

OpenIPC logo

OpenIPC Builder

Experimental system for building OpenIPC firmware for known devices

Release notes for the device

CP Plus CP-UNC-TA21L2C — Dahua-OEM 2 MP full-colour bullet/turret camera.

SoC Goke gk7205v200 (lite), ARM Cortex-A7
Sensor SmartSens SC223A (chip-id 0xcb3e), 2-lane MIPI, 1080p30
Flash 16 MiB SPI-NOR (XM25QH128); built with the standard 8 MiB layout
Wi-Fi none (wired-only)
Audio present on the hardware; not wired up in this profile yet

Board specifics

The SC223A on this board is on the SoC's hardware I2C0, routed to the VI-RAW pads (0x112c0060/0x64, func2) instead of the default mipi-sensor pads (0x112c0030/0x34, func1) that the SDK board=demo bring-up probes. The sensor also needs a 27 MHz MCLK (0x120100f0 = 0x19, div6); the SDK default 0x11 (div4) leaves it unresponsive. Both are handled in general/overlay/etc/init.d/S71devmem, which runs after S70vendor (load_goke) and before S95majestic. No kernel module is required — the stock open_sensor_i2c reaches the sensor over /dev/i2c-0 once the pads are muxed. Sensor reset/enable is GPIO8_7 (SENSOR_RSTN, func2).

Verified on hardware: chip-id 0xcb3e over HW I2C0, MIPI PHY lock at 1920x1080 with zero error counters, majestic streams correct colour 1080p.

TODO

  • Characterise and wire up the IR-cut / night-mode GPIOs.
  • Enable audio.