Skip to content

T23: add the gc1084 driver and detect it in sinfo - #58

Merged
openipc-ai merged 4 commits into
masterfrom
t23-gc1084
Nov 28, 2026
Merged

openipc-ai merged 4 commits into
masterfrom
t23-gc1084

Conversation

@openipc-ai

@openipc-ai openipc-ai commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Closes #57.

Problem

The Vstarcam C8622 is a T23N with a GalaxyCore GC1084 (MIPI, 1 lane, 1280x720) at I2C0 0x37. openingenic has a gc1084 driver for T31 only, so a T23 image has no sensor_gc1084_t23.ko. sinfo has no gc1084 entry either, so load_ingenic reports "sensor not found" on that camera. OpenIPC/builder#278 adds the board and carries its own copy of the driver as an ingenic-opensdk patch until this lands.

Change

kernel/sensors/t23/gc1084/: the T31 driver, with the settings of Ingenic's T23 driver for this sensor, H20240222a:

T31 (this repo) T23
MCLK 27 MHz from vpll 24 MHz from sclka or mpll, as the other T23 drivers here do
PLL 0x03f8 0x2c 0x32, for the 24 MHz input (27 x 44 = 1188, 24 x 50 = 1200)
MIPI 396 Mbps, adaptive settle 400 Mbps, settle_time_apative_en = 0
HTS 0x0d05:0x0d06 2200 2222, SCLK 2222 x 750 x 30
integration limit 734 746 (VTS - 4)
max_again 456839 393216 (64x), with the T23 gain table's ISP values
again write toggles 0x031d around 0x0dc1 no toggle
exposure margin in set_fps VTS - 16 VTS - 4
mirror/flip 0x0d15 bit 1 and column start 0x0192 the same value written to 0x0015 and 0x0d15
shvflip default 0 1 (Vstarcam's firmware loads it with shvflip=1)

The rest of the init table is the same register for register. Like sc1346, sc1a4t and sc2336 here (Ingenic's other T23 drivers), it handles only the combined TX_ISP_EVENT_SENSOR_EXPO and leaves expo_fs unset. The driver is also added to kernel/sensors/t23/Kbuild.

one_line_expr_in_us is 44, not H20240222a's 22. A row at HTS 2222 and a 49.995 MHz SCLK takes 44.4 us. The older H20221126a driver in Vstarcam's own T23 firmware (owner dump r-3qy8n67z) also says 44, at its 2200 / 49.5 MHz. That driver keeps the T31 clocking (27 MHz MCLK, PLL 0x2c, HTS 2200, VTS 900, 396 Mbps) and also differs in 0x0d0a (3) and 0x0153 (0xa0). This PR follows the newer release for those.

kernel/sinfo/sensor_info.c: {"gc1084", 0x37, ..., {0x10, 0x84}, ..., {0x03f0, 0x03f1}, 2, 2}. The table is shared, so a T31 gc1084 camera now reports gc1084 instead of "sensor not found". The generic T31 build ships neither its driver nor a tuning file, so it still has no video, as before.

The SDK's tuning file, gc1084-t23.bin, goes into ingenic-osdrv-t23 in OpenIPC/firmware#2997.

Evidence

Built with the toolchain.ingenic-t31 GCC 13.3 toolchain against openipc/linux ingenic-t23, with t23.generic.config and the firmware's GCC 13 kernel patches. The module has no warnings of its own:

  CC [M]  kernel/sensors/t23/gc1084/gc1084.o
  LD [M]  kernel/sensor_gc1084_t23.ko
vermagic=3.10.14__isvp_pike_1.0__ preempt mod_unload MIPS32_R1 32BIT

A t23_lite image built from OpenIPC/firmware#2997 with INGENIC_OPENSDK_OVERRIDE_SRCDIR pointing at this branch boots in qemu-bench's t23 machine. The machine has the GC1084 model from OpenIPC/qemu-bench#396: chip ID 0x1084 at 0x03f0, plus the GC2083 shutter, frame-length and MIPI-enable registers, which the GC1084 shares. qemu-boot/test-ingenic-isp.sh --soc t23 --sensor gc1084 runs the rootfs's own load_ingenic and a libimp FrameSource client:

[    1.963278] sinfo: Successful sensor detection: gc1084, I2C Bus: 0, I2C Address: 0x37
ISPTEST sinfo: sensor: gc1084
ISPTEST modules: sensor_gc1084_t23 tx_isp_t23
isp-snap: frames PASS
ch0-39.nv12: 1280x720 counter 72 ... ok
  advanced from 55: yes
ch1-39.nv12: 640x360 counter 59 ... ok
  advanced from 54: yes
PASS

The same image with --sensor gc2053 still detects and streams a gc2053. The new sinfo line is probed before gc2053's, at the same address:

[   10.850375] sinfo: Successful sensor detection: gc2053, I2C Bus: 0, I2C Address: 0x37
ISPTEST modules: sensor_gc2053_t23 tx_isp_t23
PASS

Hardware tested on

Not by me. OpenIPC/builder#278's driver patch is thingino's T23 gc1084.c (H20240222a) verbatim, so it has this PR's register settings and clocking, except the 22 us row time. Its author reports video, IR cut and pan/tilt working on the C8622.

Ported from the T31 driver with the changes Ingenic's T23 driver
H20240222a makes: a 24 MHz MCLK from sclka or mpll instead of 27 MHz
from vpll, PLL 0x03f8 = 0x32 to match, 400 Mbps MIPI without adaptive
settle time, HTS 2222, again up to 64x with the T23 gain table, no
0x031d toggling around the 0x0dc1 write, a 4-line exposure margin, and
mirror/flip written to both 0x0015 and 0x0d15.

The Vstarcam C8622 (T23N) carries this sensor (#57).
GC1084 answers 0x10 0x84 at 0x03f0/0x03f1 on I2C address 0x37. Without
this entry load_ingenic finds no sensor on a gc1084 camera and the
owner has to set `fw_setenv sensor gc1084` by hand (#57).
At HTS 2222 and a 49.995 MHz SCLK a row takes 2222 / 49.995 MHz =
44.4 us. Ingenic's H20240222a says 22. The older H20221126a driver a
Vstarcam T23 ships with this sensor says 44, which matches its own
2200 / 49.5 MHz.
@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

Add T23 GC1084 driver and automatic sensor detection

✨ Enhancement 🐞 Bug fix 🕐 20-40 Minutes

Grey Divider

AI Description

• Add a T23 GC1084 driver so supported cameras can stream 720p video.
• Register GC1084 in sinfo so load_ingenic can identify the sensor automatically.
• Use T23-specific clocking, timing, gain, and orientation settings, including a corrected 44 µs row
 time.
Merge Risk 🟡 Medium

Blast radius 🟢 Low 💥 1 capability

  • 1 affected end-to-end capability after fault-specific containment; implementation boundaries do not widen its functional scope.
  • The build registration, sensor identification entry, I2C protocol, mode initialization, streaming, and runtime controls jointly implement one bounded GC1084 camera integration.
  • Sensor discovery is a prerequisite hop for the same camera outcome rather than an independent business capability.
Sources

kernel/sensors/t23/Kbuild[1-1]

include $(src)/sensors/$(SOC)/gc1084/Kbuild

kernel/sensors/t23/gc1084/Kbuild[1-12]

MODULE_NAME := sensor_gc1084_$(SOC)
OUT := $(MODULE_NAME)

DIR=sensors/$(SOC)/gc1084

SRCS := $(DIR)/gc1084.c

OBJS := $(SRCS:%.c=%.o) $(ASM_SRCS:%.S=%.o)

$(OUT)-objs := $(OBJS)

obj-m += $(OUT).o

kernel/sensors/t23/gc1084/gc1084.c[516-522]

	ret = gc1084_write_array(sd, wsize->regs);
	if (ret)
		return ret;
	ret = tx_isp_call_subdev_notify(sd, TX_ISP_EVENT_SYNC_SENSOR_ATTR, &sensor->video);
	sensor->priv = wsize;

	return 0;
Behavioral complexity 🟡 Medium 🧩 Coordinated invariants, Interacting branches

  • Before, the T23 tree had no GC1084 capability.
  • After, probe/discovery, register-table initialization, stream lifecycle, runtime controls, and ISP metadata are coordinated for one new sensor.
  • The new correctness condition is that the two-byte I2C identity/configuration protocol, programmed timing values, advertised 1280x720/30fps attributes, and stream/control callbacks remain mutually consistent across probe, initialization, and runtime transitions.
  • Existing generic I2C and TX-ISP helpers are reused, but the new sensor-specific register map and state coordination materially add these conditions.
Sources

kernel/sensors/t23/Kbuild[1-1]

include $(src)/sensors/$(SOC)/gc1084/Kbuild

kernel/sensors/t23/gc1084/Kbuild[1-12]

MODULE_NAME := sensor_gc1084_$(SOC)
OUT := $(MODULE_NAME)

DIR=sensors/$(SOC)/gc1084

SRCS := $(DIR)/gc1084.c

OBJS := $(SRCS:%.c=%.o) $(ASM_SRCS:%.S=%.o)

$(OUT)-objs := $(OBJS)

obj-m += $(OUT).o

kernel/sensors/t23/gc1084/gc1084.c[516-522]

	ret = gc1084_write_array(sd, wsize->regs);
	if (ret)
		return ret;
	ret = tx_isp_call_subdev_notify(sd, TX_ISP_EVENT_SYNC_SENSOR_ATTR, &sensor->video);
	sensor->priv = wsize;

	return 0;
Potential damage 🟡 Medium 🩹 Temporary loss

  • If the newly integrated GC1084 behavior regresses, the affected camera may fail discovery, initialization, streaming, or runtime sensor control.
  • The evidence supports one camera capability, not unrelated sensors or ISP functions.
  • Reverting the code and reinitializing the sensor should restore operation; no persistent application data or external transaction is changed by this path.
  • A code revert can stop new failures and restore the previous image, assuming the prior kernel and compatible sensor configuration remain available.
  • The source shows no persistent GC1084 state or external side effect requiring data repair; hardware registers are reprogrammed during initialization.
Sources

kernel/sensors/t23/Kbuild[1-1]

include $(src)/sensors/$(SOC)/gc1084/Kbuild

kernel/sensors/t23/gc1084/gc1084.c[516-522]

	ret = gc1084_write_array(sd, wsize->regs);
	if (ret)
		return ret;
	ret = tx_isp_call_subdev_notify(sd, TX_ISP_EVENT_SYNC_SENSOR_ATTR, &sensor->video);
	sensor->priv = wsize;

	return 0;
Assessed commit 30426f0
Diagram

sequenceDiagram
    participant HW as GC1084 sensor
    participant SI as sinfo
    participant LO as load_ingenic
    participant DR as T23 driver
    participant ISP as TX ISP
    SI->>HW: Read chip ID
    HW-->>SI: Return 0x1084
    SI-->>LO: Report gc1084
    LO->>DR: Load sensor module
    DR->>HW: Configure sensor
    DR->>ISP: Provide sensor ops
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Share a parameterized T23/T31 GC1084 driver
  • ➕ Reduces duplicated sensor logic and future maintenance.
  • ➖ Requires cross-SoC build and runtime changes for different clocks, timing, gain, and control behavior.
  • ➖ Broadens regression risk for the existing T31 driver.

Recommendation: Keep the separate T23 port for this PR: it follows the repository's SoC-specific driver layout and limits risk to T31 behavior. Consider sharing code later if both drivers need sustained parallel maintenance.

Files changed (4) +964 / -0

Enhancement (1) +950 / -0
gc1084.cImplement the T23 GC1084 sensor driver +950/-0

Implement the T23 GC1084 sensor driver

• Ports GC1084 support with T23-specific 24 MHz clocking, 720p MIPI configuration, gain and exposure controls, FPS adjustment, and mirror/flip handling. Sets the row-time attribute to 44 µs based on the configured pixel clock and line width.

kernel/sensors/t23/gc1084/gc1084.c

Bug fix (1) +1 / -0
sensor_info.cIdentify GC1084 through sinfo +1/-0

Identify GC1084 through sinfo

• Adds the GC1084 I2C address and chip-ID registers to the shared detection table, allowing automatic identification instead of requiring a manually specified sensor.

kernel/sinfo/sensor_info.c

Other (2) +13 / -0
KbuildInclude GC1084 in T23 sensor builds +1/-0

Include GC1084 in T23 sensor builds

• Includes the new GC1084 Kbuild file so the T23 build can produce its sensor module.

kernel/sensors/t23/Kbuild

KbuildDefine the T23 GC1084 kernel module +12/-0

Define the T23 GC1084 kernel module

• Builds gc1084.c as sensor_gc1084_t23.ko using the existing sensor-module convention.

kernel/sensors/t23/gc1084/Kbuild

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0) 🎨 UX issues (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (0)

Grey Divider


Action required

1. Missing clocks can crash sensor probe ✓ Resolved
Description
gc1084_probe() passes the results of both auxiliary clk_get() calls to clk_get_rate() without
checking for error pointers. If either clock is unavailable on a T23 configuration, probe uses an
invalid pointer instead of failing cleanly.

2. Zero frame rates can fault the kernel ✓ Resolved
Description
gc1084_set_fps() divides by the requested frame-rate denominator before validating the request. A
zero denominator passed through the sensor frame-rate event reaches that division before the range
check can reject it.


Remediation recommended

3. Removing the sensor leaves clock references ✓ Resolved
Description
gc1084_probe() acquires sclka and mpll but never releases either reference. Each successful
probe followed by removal releases only sensor->mclk, so repeated binding retains auxiliary clock
references.

4. Unsupported streams report success ✓ Resolved
Description
gc1084_s_stream() logs an unsupported-interface error but returns its unchanged zero status. When
data_interface is set to a non-MIPI value, both stream-on and stream-off report success without
performing the requested operation.

5. Exposure errors print an invalid string ✓ Resolved
Description
gc1084_set_expo() supplies no argument for the %s in its register-write error message. Any
failed exposure or gain write reaches the ISP formatter with a missing string argument, obscuring
the original I²C failure with invalid diagnostic output.

View review recommended (1)
6. Discovery can write to older sensors ✓ Resolved
Description
The new gc1084 entry probes a two-byte register address at 0x37 before the existing
one-byte-address GC2023 and GC2033 entries. On those sensors, the 0x03, 0xf0 address message has
the shape of a write to configuration register 0x03; its effect can persist into later discovery
when reset is disabled or unavailable.

Grey Divider

Tip of the day
💡 Did you know, you can turn these tips off under Display > Comment parts

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

openipc-ai added a commit to PeterBeklemishev/oipc-builder that referenced this pull request Nov 28, 2026
OpenIPC/openingenic#58 adds sensor_gc1084_t23 and its sinfo entry, and
OpenIPC/firmware#2997 adds gc1084.yaml with the SDK's gc1084-t23.bin.
Once openingenic has them, the board's ingenic-opensdk patch no longer
applies: it creates kernel/sensors/t23/gc1084 and adds the same sinfo
line. The yaml is the same as firmware's.

The board keeps its gc1084-t23.bin. That is the camera's stock tune,
the same bytes as Vstarcam's own T23 firmware ships, and it overrides
the SDK file through the device overlay.
- set_fps rejects a zero numerator or denominator before dividing.
- probe checks sclka and mpll before reading their rates. Without
  them it only sets MCLK's rate. It also puts both clocks once MCLK's
  parent is chosen.
- s_stream and PREPARE_CHANGE return an error for a non-MIPI
  data_interface instead of 0.
- set_expo's write error passes the %s it prints.
- sinfo stops at the first match, and gc1084's ID read sends a
  two-byte register address. On the one-byte gc2023/gc2033 at the
  same 0x37, that is a write of 0xf0 to their register 0x03. The
  gc1084 line now comes after theirs, beside the other two-byte probe
  at 0x37, gc2083.
@openipc-ai

Copy link
Copy Markdown
Contributor Author

All six findings are fixed in 30426f0:

  1. and 3. sclka/mpll are checked with IS_ERR() before their rates are read, and both are clk_put() once MCLK's parent is chosen. Without them, MCLK keeps its parent and only its rate is set.
  2. set_fps rejects a zero numerator or denominator before dividing.
  3. s_stream (on and off) and PREPARE_CHANGE return an error for a non-MIPI data_interface.
  4. The set_expo error passes __func__ for its %s.
  5. The gc1084 line in sinfo now follows gc2023/gc2033, next to gc2083, the other two-byte probe at 0x37. sinfo stops at the first match, so those sensors are matched before gc1084's two-byte ID read can reach them.

Re-tested on a t23_lite image rebuilt with this commit, in qemu-bench's t23 machine (OpenIPC/qemu-bench#396):

--sensor gc1084: sinfo: Successful sensor detection: gc1084, I2C Bus: 0, I2C Address: 0x37
                 ISPTEST modules: sensor_gc1084_t23 tx_isp_t23
                 PASS
--sensor gc2053: sinfo: Successful sensor detection: gc2053, I2C Bus: 0, I2C Address: 0x37
                 ISPTEST modules: sensor_gc2053_t23 tx_isp_t23
                 PASS

@openipc-ai
openipc-ai merged commit e9abe04 into master Nov 28, 2026
@openipc-ai
openipc-ai deleted the t23-gc1084 branch November 28, 2026 19:38
PeterBeklemishev added a commit to PeterBeklemishev/oipc-builder that referenced this pull request Nov 29, 2026
Ingenic T23 + GC1084, AIC8800DC USB wifi, 8MB NOR.

The GC1084 driver comes from openingenic HEAD (added for t23 in
OpenIPC/openingenic#58); the profile only ships the board's ISP
tuning (gc1084.yaml + params/gc1084-t23.bin) through the
ingenic-osdrv-t23 files seam.

Pan/tilt and the IR-cut filter hang off a GC6153F 5-channel driver
(dual SPI/I2C chip, wired in i2c mode at 0x10, bit-banged on PB21/PB20
from userspace): the new gc6153 package initialises the chip at boot,
and a majestic-af patch adds the gc6153 actuator, which also swings
the ircut by watching the nightMode lamp pin. The board pins
majestic-af ahead of the firmware's pin (3852baf, needs the ptzpos
position hook) via a package .mk override; drop it once the firmware
pin catches up. IR lamp on GPIO61, white lamp on GPIO50, both gated
by the shared PB17 brightness line; speaker amp on GPIO63.

WiFi builds from openipc/aic8800 through an aic8800-openipc .mk
override that tracks the same HEAD as the stock package and only adds
installing the repo's fw/aic8800DC into /lib/firmware, so no prebuilt
modules or firmware blobs ship in the overlay; the /etc/wireless/usb
arm modprobes the modules and reports wlan0 only when it appears, so
a unit without the radio falls back to the wired port.

yaml-cli stays pinned to e683dd2e30: the C rewrite at HEAD breaks
cli -s scalar round-trips, which the customizer relies on.
PeterBeklemishev added a commit to PeterBeklemishev/oipc-builder that referenced this pull request Nov 29, 2026
Ingenic T23 + GC1084, AIC8800DC USB wifi, 8MB NOR.

The GC1084 driver comes from openingenic HEAD (added for t23 in
OpenIPC/openingenic#58); the profile only ships the board's ISP
tuning (gc1084.yaml + params/gc1084-t23.bin) through the
ingenic-osdrv-t23 files seam.

IR lamp on GPIO61, white lamp on GPIO50, both gated by the shared
PB17 brightness line that muxes.sh holds high; speaker amp on
GPIO63; reset button on GPIO58.

WiFi builds from openipc/aic8800 through an aic8800-openipc .mk
override that tracks the same HEAD as the stock package and only
adds installing the repo's fw/aic8800DC into /lib/firmware, so no
prebuilt modules or firmware blobs ship in the overlay; the
/etc/wireless/usb arm modprobes the modules and reports wlan0 only
when it appears, so a unit without the radio falls back to the wired
port.

Pan/tilt and the IR-cut filter hang off a GC6153F stepper driver
chip this profile does not drive yet; the gc6153 userspace package
and the majestic-af actuator patch are staged on the
vstarcam-c8622-ptz branch.
PeterBeklemishev added a commit to PeterBeklemishev/oipc-builder that referenced this pull request Nov 29, 2026
Ingenic T23 + GC1084, AIC8800DC USB wifi, 8MB NOR.

The GC1084 driver comes from openingenic HEAD (added for t23 in
OpenIPC/openingenic#58) and gc1084.yaml from firmware#2997; the
profile only overrides params/gc1084-t23.bin with the camera's stock
tune, the same bytes Vstarcam's own T23 firmware ships.

IR lamp on GPIO61, white lamp on GPIO50, both gated by the shared
PB17 brightness line that muxes.sh holds high; speaker amp on
GPIO63; reset button on GPIO58.

WiFi builds from openipc/aic8800 through an aic8800-openipc .mk
override that tracks the same HEAD as the stock package and only
adds installing the repo's fw/aic8800DC into /lib/firmware, so no
prebuilt modules or firmware blobs ship in the overlay; the
/etc/wireless/usb arm modprobes the modules and reports wlan0 only
when it appears, so a unit without the radio falls back to the wired
port.

Pan/tilt and the IR-cut filter hang off a GC6153F stepper driver
chip this profile does not drive yet; the gc6153 userspace package
and the majestic-af actuator patch are staged on the
vstarcam-c8622-ptz branch.
PeterBeklemishev added a commit to PeterBeklemishev/oipc-builder that referenced this pull request Nov 29, 2026
Ingenic T23 + GC1084, AIC8800DC USB wifi, 8MB NOR.

The GC1084 driver comes from openingenic HEAD (added for t23 in
OpenIPC/openingenic#58) and gc1084.yaml from firmware#2997; the
profile only overrides params/gc1084-t23.bin with the camera's stock
tune, the same bytes Vstarcam's own T23 firmware ships.

IR lamp on GPIO61, white lamp on GPIO50, both gated by the shared
PB17 brightness line that muxes.sh holds high; speaker amp on
GPIO63; reset button on GPIO58.

WiFi builds from openipc/aic8800 through an aic8800-openipc .mk
override that tracks the same HEAD as the stock package and only
adds installing the repo's fw/aic8800DC into /lib/firmware, so no
prebuilt modules or firmware blobs ship in the overlay. The
/etc/wireless/usb arm loads the modules and waits for wlan0; on a
unit resoldered to wired ethernet there is no radio, and the
loaded-but-unprobed stack wedges the vendor driver load that runs
after S40network, so the arm unloads everything again on timeout and
the camera falls back to eth0.

Pan/tilt and the IR-cut filter hang off a GC6153F stepper driver
chip this profile does not drive yet; the gc6153 userspace package
and the majestic-af actuator patch are staged on the
vstarcam-c8622-ptz branch.
PeterBeklemishev added a commit to PeterBeklemishev/oipc-builder that referenced this pull request Nov 29, 2026
Ingenic T23 + GC1084, AIC8800DC USB wifi, 8MB NOR.

The GC1084 driver comes from openingenic HEAD (added for t23 in
OpenIPC/openingenic#58); the profile only ships the board's ISP
tuning (gc1084.yaml + params/gc1084-t23.bin) through the
ingenic-osdrv-t23 files seam.

Pan/tilt and the IR-cut filter hang off a GC6153F 5-channel driver
(dual SPI/I2C chip, wired in i2c mode at 0x10, bit-banged on PB21/PB20
from userspace): the new gc6153 package initialises the chip at boot,
and a majestic-af patch adds the gc6153 actuator, which also swings
the ircut by watching the nightMode lamp pin. The board pins
majestic-af ahead of the firmware's pin (3852baf, needs the ptzpos
position hook) via a package .mk override; drop it once the firmware
pin catches up. IR lamp on GPIO61, white lamp on GPIO50, both gated
by the shared PB17 brightness line; speaker amp on GPIO63.

WiFi builds from openipc/aic8800 through an aic8800-openipc .mk
override that tracks the same HEAD as the stock package and only adds
installing the repo's fw/aic8800DC into /lib/firmware, so no prebuilt
modules or firmware blobs ship in the overlay; the /etc/wireless/usb
arm modprobes the modules and reports wlan0 only when it appears, so
a unit without the radio falls back to the wired port.

yaml-cli stays pinned to e683dd2e30: the C rewrite at HEAD breaks
cli -s scalar round-trips, which the customizer relies on.
PeterBeklemishev added a commit to PeterBeklemishev/oipc-builder that referenced this pull request Nov 29, 2026
Ingenic T23 + GC1084, AIC8800DC USB wifi, 8MB NOR.

The GC1084 driver comes from openingenic HEAD (added for t23 in
OpenIPC/openingenic#58); the profile only ships the board's ISP
tuning (gc1084.yaml + params/gc1084-t23.bin) through the
ingenic-osdrv-t23 files seam.

Pan/tilt and the IR-cut filter hang off a GC6153F 5-channel driver
(dual SPI/I2C chip, wired in i2c mode at 0x10, bit-banged on PB21/PB20
from userspace): the new gc6153 package initialises the chip at boot,
and a majestic-af patch adds the gc6153 actuator, which also swings
the ircut by watching the nightMode lamp pin. The board pins
majestic-af ahead of the firmware's pin (3852baf, needs the ptzpos
position hook) via a package .mk override; drop it once the firmware
pin catches up. IR lamp on GPIO61, white lamp on GPIO50, both gated
by the shared PB17 brightness line; speaker amp on GPIO63.

WiFi builds from openipc/aic8800 through an aic8800-openipc .mk
override that tracks the same HEAD as the stock package and only adds
installing the repo's fw/aic8800DC into /lib/firmware, so no prebuilt
modules or firmware blobs ship in the overlay; the /etc/wireless/usb
arm modprobes the modules and reports wlan0 only when it appears, so
a unit without the radio falls back to the wired port.

yaml-cli stays pinned to e683dd2e30: the C rewrite at HEAD breaks
cli -s scalar round-trips, which the customizer relies on.
PeterBeklemishev added a commit to PeterBeklemishev/oipc-builder that referenced this pull request Nov 29, 2026
Ingenic T23 + GC1084, AIC8800DC USB wifi, 8MB NOR.

The GC1084 driver comes from openingenic HEAD (added for t23 in
OpenIPC/openingenic#58) and gc1084.yaml from firmware#2997; the
profile only overrides params/gc1084-t23.bin with the camera's stock
tune, the same bytes Vstarcam's own T23 firmware ships.

IR lamp on GPIO61, white lamp on GPIO50, both gated by the shared
PB17 brightness line that muxes.sh holds high; speaker amp on
GPIO63; reset button on GPIO58.

WiFi builds from openipc/aic8800 through an aic8800-openipc .mk
override that tracks the same HEAD as the stock package and only
adds installing the repo's fw/aic8800DC into /lib/firmware, so no
prebuilt modules or firmware blobs ship in the overlay; the
/etc/wireless/usb arm modprobes the modules and reports wlan0 once
it appears.

Pan/tilt and the IR-cut filter hang off a GC6153F stepper driver
chip this profile does not drive yet; the gc6153 userspace package
and the majestic-af actuator patch are staged on the
vstarcam-c8622-ptz branch.
PeterBeklemishev added a commit to PeterBeklemishev/oipc-builder that referenced this pull request Nov 29, 2026
Ingenic T23 + GC1084, AIC8800DC USB wifi, 8MB NOR.

The GC1084 driver comes from openingenic HEAD (added for t23 in
OpenIPC/openingenic#58); the profile only ships the board's ISP
tuning (gc1084.yaml + params/gc1084-t23.bin) through the
ingenic-osdrv-t23 files seam.

Pan/tilt and the IR-cut filter hang off a GC6153F 5-channel driver
(dual SPI/I2C chip, wired in i2c mode at 0x10, bit-banged on PB21/PB20
from userspace): the new gc6153 package initialises the chip at boot,
and a majestic-af patch adds the gc6153 actuator, which also swings
the ircut by watching the nightMode lamp pin. The board pins
majestic-af ahead of the firmware's pin (3852baf, needs the ptzpos
position hook) via a package .mk override; drop it once the firmware
pin catches up. IR lamp on GPIO61, white lamp on GPIO50, both gated
by the shared PB17 brightness line; speaker amp on GPIO63.

WiFi builds from openipc/aic8800 through an aic8800-openipc .mk
override that tracks the same HEAD as the stock package and only adds
installing the repo's fw/aic8800DC into /lib/firmware, so no prebuilt
modules or firmware blobs ship in the overlay; the /etc/wireless/usb
arm modprobes the modules and reports wlan0 only when it appears, so
a unit without the radio falls back to the wired port.

yaml-cli stays pinned to e683dd2e30: the C rewrite at HEAD breaks
cli -s scalar round-trips, which the customizer relies on.
PeterBeklemishev added a commit to PeterBeklemishev/oipc-builder that referenced this pull request Nov 29, 2026
Ingenic T23 + GC1084, AIC8800DC USB wifi, 8MB NOR.

The GC1084 driver comes from openingenic HEAD (added for t23 in
OpenIPC/openingenic#58) and gc1084.yaml from firmware#2997; the
profile only overrides params/gc1084-t23.bin with the camera's stock
tune, the same bytes Vstarcam's own T23 firmware ships.

IR lamp on GPIO61, white lamp on GPIO50, both gated by the shared
PB17 brightness line that muxes.sh holds high; speaker amp on
GPIO63; reset button on GPIO58.

WiFi builds from openipc/aic8800 through an aic8800-openipc .mk
override that tracks the same HEAD as the stock package and only
adds installing the repo's fw/aic8800DC into /lib/firmware, so no
prebuilt modules or firmware blobs ship in the overlay; the
/etc/wireless/usb arm modprobes the modules and reports wlan0 once
it appears.

Pan/tilt and the IR-cut filter hang off a GC6153F stepper driver
chip this profile does not drive yet; the gc6153 userspace package
and the majestic-af actuator patch are staged on the
vstarcam-c8622-ptz branch.
PeterBeklemishev added a commit to PeterBeklemishev/oipc-builder that referenced this pull request Nov 29, 2026
Ingenic T23 + GC1084, AIC8800DC USB wifi, 8MB NOR.

The GC1084 driver comes from openingenic HEAD (added for t23 in
OpenIPC/openingenic#58); the profile only ships the board's ISP
tuning (gc1084.yaml + params/gc1084-t23.bin) through the
ingenic-osdrv-t23 files seam.

Pan/tilt and the IR-cut filter hang off a GC6153F 5-channel driver
(dual SPI/I2C chip, wired in i2c mode at 0x10, bit-banged on PB21/PB20
from userspace): the new gc6153 package initialises the chip at boot,
and a majestic-af patch adds the gc6153 actuator, which also swings
the ircut by watching the nightMode lamp pin. The board pins
majestic-af ahead of the firmware's pin (3852baf, needs the ptzpos
position hook) via a package .mk override; drop it once the firmware
pin catches up. IR lamp on GPIO61, white lamp on GPIO50, both gated
by the shared PB17 brightness line; speaker amp on GPIO63.

WiFi builds from openipc/aic8800 through an aic8800-openipc .mk
override that tracks the same HEAD as the stock package and only adds
installing the repo's fw/aic8800DC into /lib/firmware, so no prebuilt
modules or firmware blobs ship in the overlay; the /etc/wireless/usb
arm modprobes the modules and reports wlan0 only when it appears, so
a unit without the radio falls back to the wired port.

yaml-cli stays pinned to e683dd2e30: the C rewrite at HEAD breaks
cli -s scalar round-trips, which the customizer relies on.
PeterBeklemishev added a commit to PeterBeklemishev/oipc-builder that referenced this pull request Nov 29, 2026
Ingenic T23 + GC1084, AIC8800DC USB wifi, 8MB NOR.

GC1084 support is entirely upstream: the sensor driver from
openingenic HEAD (added for t23 in OpenIPC/openingenic#58), and
gc1084.yaml with the ISP tuning bin from firmware#2997.

IR lamp on GPIO61, white lamp on GPIO50, both gated by the shared
PB17 brightness line that muxes.sh holds high; speaker amp on
GPIO63; reset button on GPIO58.

WiFi builds from openipc/aic8800 through an aic8800-openipc .mk
override that tracks the same HEAD as the stock package and only
adds installing the repo's fw/aic8800DC into /lib/firmware, so no
prebuilt modules or firmware blobs ship in the overlay; the
/etc/wireless/usb arm modprobes the modules and reports wlan0 once
it appears.

Pan/tilt and the IR-cut filter hang off a GC6153F stepper driver
chip this profile does not drive yet; the gc6153 userspace package
and the majestic-af actuator patch are staged on the
vstarcam-c8622-ptz branch.
PeterBeklemishev added a commit to PeterBeklemishev/oipc-builder that referenced this pull request Nov 29, 2026
Ingenic T23 + GC1084, AIC8800DC USB wifi, 8MB NOR.

GC1084 support is entirely upstream: the sensor driver from
openingenic HEAD (added for t23 in OpenIPC/openingenic#58), and
gc1084.yaml with the ISP tuning bin from firmware#2997.

Pan/tilt and the IR-cut filter hang off a GC6153F 5-channel driver
(dual SPI/I2C chip, wired in i2c mode at 0x10, bit-banged on PB21/PB20
from userspace): the new gc6153 package initialises the chip at boot,
and a majestic-af patch adds the gc6153 actuator, which also swings
the ircut by watching the nightMode lamp pin. The board pins
majestic-af ahead of the firmware's pin (3852baf, needs the ptzpos
position hook) via a package .mk override; drop it once the firmware
pin catches up. IR lamp on GPIO61, white lamp on GPIO50, both gated
by the shared PB17 brightness line; speaker amp on GPIO63.

WiFi builds from openipc/aic8800 through an aic8800-openipc .mk
override that tracks the same HEAD as the stock package and only adds
installing the repo's fw/aic8800DC into /lib/firmware, so no prebuilt
modules or firmware blobs ship in the overlay; the /etc/wireless/usb
arm modprobes the modules and reports wlan0 once it appears.

Staged separately from the main profile while the gc6153 actuator
and the majestic-af pin bump are reviewed upstream.
PeterBeklemishev added a commit to PeterBeklemishev/oipc-builder that referenced this pull request Nov 29, 2026
Ingenic T23 + GC1084, AIC8800DC USB wifi, 8MB NOR.

GC1084 support is entirely upstream: the sensor driver from
openingenic HEAD (added for t23 in OpenIPC/openingenic#58), and
gc1084.yaml with the ISP tuning bin from firmware#2997.

IR lamp on GPIO61, white lamp on GPIO50, both gated by the shared
PB17 brightness line that muxes.sh holds high; speaker amp on
GPIO63; reset button on GPIO58.

WiFi builds from openipc/aic8800 through an aic8800-openipc .mk
override that tracks the same HEAD as the stock package and only
adds installing the repo's fw/aic8800DC into /lib/firmware, so no
prebuilt modules or firmware blobs ship in the overlay; the
/etc/wireless/usb arm modprobes the modules and reports wlan0 once
it appears.

Pan/tilt and the IR-cut filter hang off a GC6153F stepper driver
chip this profile does not drive yet; the gc6153 userspace package
and the majestic-af actuator patch are staged on the
vstarcam-c8622-ptz branch.
PeterBeklemishev added a commit to PeterBeklemishev/oipc-builder that referenced this pull request Nov 29, 2026
Ingenic T23 + GC1084, AIC8800DC USB wifi, 8MB NOR.

GC1084 support is entirely upstream: the sensor driver from
openingenic HEAD (added for t23 in OpenIPC/openingenic#58), and
gc1084.yaml with the ISP tuning bin from firmware#2997.

Pan/tilt and the IR-cut filter hang off a GC6153F 5-channel driver
(dual SPI/I2C chip, wired in i2c mode at 0x10, bit-banged on PB21/PB20
from userspace): the new gc6153 package initialises the chip at boot,
and a majestic-af patch adds the gc6153 actuator, which also swings
the ircut by watching the nightMode lamp pin. The board pins
majestic-af ahead of the firmware's pin (3852baf, needs the ptzpos
position hook) via a package .mk override; drop it once the firmware
pin catches up. IR lamp on GPIO61, white lamp on GPIO50, both gated
by the shared PB17 brightness line; speaker amp on GPIO63.

WiFi builds from openipc/aic8800 through an aic8800-openipc .mk
override that tracks the same HEAD as the stock package and only adds
installing the repo's fw/aic8800DC into /lib/firmware, so no prebuilt
modules or firmware blobs ship in the overlay; the /etc/wireless/usb
arm modprobes the modules and reports wlan0 once it appears.

Staged separately from the main profile while the gc6153 actuator
and the majestic-af pin bump are reviewed upstream.
PeterBeklemishev added a commit to PeterBeklemishev/oipc-builder that referenced this pull request Nov 29, 2026
Ingenic T23 + GC1084, AIC8800DC USB wifi, 8MB NOR.

GC1084 support is entirely upstream: the sensor driver from
openingenic HEAD (added for t23 in OpenIPC/openingenic#58), and
gc1084.yaml with the ISP tuning bin from firmware#2997.

IR lamp on GPIO61, white lamp on GPIO50, both gated by the shared
PB17 brightness line that muxes.sh holds high; speaker amp on
GPIO63; reset button on GPIO58.

WiFi builds from openipc/aic8800 through an aic8800-openipc .mk
override that tracks the same HEAD as the stock package and only
adds installing the repo's fw/aic8800DC into /lib/firmware, so no
prebuilt modules or firmware blobs ship in the overlay; the
/etc/wireless/usb arm modprobes the modules and reports wlan0 once
it appears.

Pan/tilt and the IR-cut filter hang off a GC6153F stepper driver
chip this profile does not drive yet; the gc6153 userspace package
and the majestic-af actuator patch are staged on the
vstarcam-c8622-ptz branch.
PeterBeklemishev added a commit to PeterBeklemishev/oipc-builder that referenced this pull request Nov 29, 2026
Ingenic T23 + GC1084, AIC8800DC USB wifi, 8MB NOR.

GC1084 support is entirely upstream: the sensor driver from
openingenic HEAD (added for t23 in OpenIPC/openingenic#58), and
gc1084.yaml with the ISP tuning bin from firmware#2997.

Pan/tilt and the IR-cut filter hang off a GC6153F 5-channel driver
(dual SPI/I2C chip, wired in i2c mode at 0x10, bit-banged on PB21/PB20
from userspace): the new gc6153 package initialises the chip at boot,
and a majestic-af patch adds the gc6153 actuator, which also swings
the ircut by watching the nightMode lamp pin. The board pins
majestic-af ahead of the firmware's pin (3852baf, needs the ptzpos
position hook) via a package .mk override; drop it once the firmware
pin catches up. IR lamp on GPIO61, white lamp on GPIO50, both gated
by the shared PB17 brightness line; speaker amp on GPIO63.

WiFi builds from openipc/aic8800 through an aic8800-openipc .mk
override that tracks the same HEAD as the stock package and only adds
installing the repo's fw/aic8800DC into /lib/firmware, so no prebuilt
modules or firmware blobs ship in the overlay; the /etc/wireless/usb
arm modprobes the modules and reports wlan0 once it appears.

Staged separately from the main profile while the gc6153 actuator
and the majestic-af pin bump are reviewed upstream.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for GC1084 @ T23N

1 participant