Skip to content

Create an ingenic-t23-6.12 branch (Ingenic T23 on CIP 6.12.114-cip34) #254

Closed

Description

@difanz

Hi @widgetii,

I'd like to contribute an OpenIPC Ingenic T23 port based on CIP Linux 6.12 (6.12.114-cip34), replacing the frozen 3.10.14 vendor SDK kernel and binary libimp stack with in-kernel drivers (V4L2/MC + ALSA + standard SoC peripherals). Since this is effectively a fresh kernel port for T23 with an unrelated git history, I'd like to ask for a base branch in OpenIPC/linux before opening the PR.

The request

Please create ingenic-t23-6.12 in OpenIPC/linux from commit 36226b6091bffd759f9e73ff9ce00e05b02130fc ("Linux 6.12.114-cip34"). It is in my fork as ingenic-t23-6.12-base (https://github.com/difanz/openipc-linux/tree/ingenic-t23-6.12-base):

git fetch https://github.com/difanz/openipc-linux.git ingenic-t23-6.12-base
git push https://github.com/OpenIPC/linux.git FETCH_HEAD:refs/heads/ingenic-t23-6.12

(Alternatively, if you prefer to keep the unversioned ingenic-t23 branch name by archiving the existing 3.10.14 branch or targeting another branch name, I'm happy to adjust the firmware defconfig to match.)

Once ingenic-t23-6.12 exists, I will open the PR OpenIPC:ingenic-t23-6.12 ← difanz:ingenic-t23-6.12 (https://github.com/difanz/openipc-linux/tree/ingenic-t23-6.12), which is 83 commits, 185 files, +33061/−144 at 5d76dc03155ee85016a49346436aebf8ef31c427.

Why a separate base branch

  • The existing ingenic-t23 branch is the frozen 3.10.14 vendor SDK tree. This port is built on CIP 6.12 (v6.12.114-cip34), an actively maintained SLTS branch whose git history is unrelated to 3.10.14.
  • The base commit is a single-commit import of the unmodified kernel.org release tarball linux-cip-6.12.114-cip34.tar.xz. Its tree hash is b0dd934438ff34f83d639eb116327748aae7791c, identical to tag v6.12.114-cip34^{tree} and the extracted tarball, so it can be verified independently. Every T23 and OpenIPC change sits on top as an individual, reviewable commit.
  • Keeping the T23 series cleanly stacked above the vanilla CIP base makes future CIP stable updates a straightforward rebase.

What the port includes

No vendor SDK binary blobs or out-of-tree modules are required:

  • Device trees, bindings & configs: t23.dtsi, t23-openipc.dts (generic 8 MiB NOR board with GC2053 + 24 MiB alloc-ranges CMA pool), ja-a10.dts (T23DL), ja-a12.dts (T23N), t23-qemu*.dts camera profiles, bindings for all new blocks, and t23_defconfig (vmlinux.bin < 4.5 MiB U-Boot decompression limit with built-in boot/NOR/I2C/watchdog drivers and modular media/GMAC/PHY).
  • SoC & core peripherals: MACH_INGENIC_T23 + TCU watchdog restart, XBurst BTB invalidation + scache DMA range fixes, CGU clocks & divider/bus-stop reset handshakes, INTC, pinctrl/GPIO, system OST (ingenic-sysost), PWM, WDT, RTC, PDMA (jz4780-dma), SFC v1 SPI-MEM flash controller (+ Zbit ZB25VQ64/128), SSI SPI, I2C (jz4780), 8250 UART, USB OTG PHY + DWC2 params, MSC/MMC (jz4740_mmc), GMAC (dwmac-ingenic), SAR ADC (IIO), eFuse (NVMEM), AES (ingenic-crypto), DTRNG (ingenic-trng), DDR register window mapping, and RISC-V coprocessor remoteproc skeleton.
  • Media (standard V4L2 / Media Controller / M2M): MIPI CSI-2 receiver + D-PHY, VIC, Tiziano ISP core + 3-channel MSCA scaler/DMA capture pipeline + UAPI metadata/params formats (v4l2-t23-isp-stats / v4l2-t23-isp-params), Helix hardware H.264/JPEG/MJPEG V4L2 M2M encoder, IPU v1.3 M2M converter, GPIO PTZ motor driver, and sensor drivers for GC2053, SC1A4T, SC2336, and SC2337P.
  • Audio (ASoC): T23 internal codec driver and AIC I2S / reference-capture additions.
  • OpenIPC rootfs handling: Port of OpenIPC's mtd/split_layout.c and root_dev_from_flash for firmware.bin images.

(Companion userland branches that replace libimp/majestic for t23_lite — opt-in T23 V4L2/Helix HAL in difanz/openipc-divinus:ingenic-t23-v4l2 and t23-ipa + t23_lite wiring in difanz/openipc-firmware:ingenic/t23-6.12 — will follow once the kernel branch lands.)

Verification so far

  • make ARCH=mips W=1 dtbs builds all 6 T23 DTBs with 0 warnings.
  • Full OpenIPC BOARD=t23_lite Buildroot build succeeds within 8 MiB SPI NOR limits (uImage 1479 KB / 1983 KB, rootfs.squashfs 4064 KB / 5120 KB, firmware.bin 5632 KB / 7616 KB).
  • End-to-end 2-boot QEMU -M t23 verification (u-boot-t23n-nor.bin + firmware.bin) boots Boot 1 (osmem=40M -> load_ingenic updates osmem=64M -> watchdog reboot), Boot 2 (mem=64M, 24576 kB CMA, eth0 DHCP, JFFS2 /overlay), runs t23-ipa + divinus, serves 1920x1080 HTTP JPEG snapshots, and decodes 15 RTSP H.264 frames with ffmpeg -err_detect explode (0 errors).

Thanks!

Activity

  1. widgetii commented on Nov 18, 2026

    @widgetii
    Member

    Created ingenic-t23-6.12 at 36226b6091bffd759f9e73ff9ce00e05b02130fc ("Linux 6.12.114-cip34").

    Verified before pushing: it is a root commit with tree b0dd934438ff34f83d639eb116327748aae7791c, identical to v6.12.114-cip34^{tree} from the CIP project tree. That matches how hisilicon-hi3516ev200-6.6 is laid out (vanilla release import, then the port on top).

    The existing 3.10.14 ingenic-t23 branch stays as is. Please go ahead and open the PR against ingenic-t23-6.12.

  2. difanz commented on Nov 18, 2026

    @difanz
    ContributorAuthor

    Thank you, #261 created.

  3. openipc-ai commented on Nov 20, 2026

    @openipc-ai

    For the record: #261 is now rebase-merged into ingenic-t23-6.12 (78 commits on top of 6.12.114-cip34, tip 89719ddefba7). Follow-ups are listed in the approving review on #261.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions